joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003b55d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x1003b5fc
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x1003b5fc
push edi
push 0x20
push 7
push 0x100080
push dword [ebp + 8]
call fcn.1003b29d
mov ebx, eax
add esp, 0x14
xor eax, eax
cmp ebx, 0xffffffff
je 0x1003b5fe
push 9
mov dword [ebp - 0x28], edi
pop ecx
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
push 0x28
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1003a406
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1003b5f1
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x20], eax
push ebx
call dword [0x10261db0]
mov eax, edi
jmp 0x1003b5fe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003bd4f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x1025c2b8], esi
jne 0x1003bebe
lea eax, [ebp - 0x208]
push eax
push dword [0x10236eb8]
mov dword [0x1025c2b8], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x208], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x208], esi
je 0x1003be1d
xor eax, eax
push 0x1fc
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push esi
push eax
call fcn.10093270
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push esi
push dword [0x10236eb4]
mov dword [ebp - 0x20c], 0x1fe
push dword [ebp - 0x208]
call edi
push dword [ebp - 0x208]
call ebx
lea eax, [ebp - 0x204]
push eax
push dword [0x10236eb0]
call fcn.10093a3f
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [0x1025c2b4], eax
jmp 0x1003be22
mov eax, dword [0x1025c2b4]
cmp eax, esi
jne 0x1003bec3
lea eax, [ebp - 0x208]
push eax
push dword [0x10236eb8]
mov dword [ebp - 0x208], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x208], esi
je 0x1003bebe
xor eax, eax
push 0x1fc
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push esi
push eax
call fcn.10093270
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push esi
push dword [0x10236eac]
mov dword [ebp - 0x20c], 0x1fe
push dword [ebp - 0x208]
call edi
push dword [ebp - 0x208]
call ebx
lea eax, [ebp - 0x204]
push eax
push dword [0x10236eb0]
call fcn.10093a3f
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [0x1025c2b4], eax
jmp 0x1003bec3
mov eax, dword [0x1025c2b4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret
Function at 0x1003c39c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWARETECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003c430
cmp dword [ebp - 4], ebx
je 0x1003c430
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.OutlookMailDebug
push dword [ebp - 4]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x1003c407
cmp dword [ebp - 0xc], 1
sete al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ebx
push str.OutlookMailDebugLogLevel
push dword [ebp - 4]
mov dword [ebp - 8], esi
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
jmp 0x1003c432
xor eax, eax
pop ebx
leave
ret 4

Function at 0x1003c60b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
cmp ebx, esi
je 0x1003c6cd
cmp edi, esi
je 0x1003c6cd
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10093270
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push ebx
call fcn.1001b00a
lea eax, [ebp - 0x20c]
push eax
call fcn.10093856
add esp, 0x20
test eax, eax
je 0x1003c6cd
push esi
push esi
push 3
push esi
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1003c6c5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x1003c6bc
mov dword [ebp - 0x210], 1
jmp 0x1003c6be
mov dword [edi], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
jmp 0x1003c6cf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret 8

Function at 0x1003c869
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
je 0x1003c8d3
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10093270
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push esi
call fcn.1001b00a
lea eax, [ebp - 0x20c]
push eax
call fcn.10093856
add esp, 0x20
test eax, eax
je 0x1003c8d3
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1009314a
leave
ret 4
Function at 0x1003c8e2
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x1003c9af
test ebx, ebx
je 0x1003c9af
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.10093270
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x418]
call fcn.1001b00a
xor eax, eax
push edi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10093270
push esi
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push ebx
call fcn.1001b00a
lea eax, [ebp - 0x414]
push eax
call fcn.10093856
add esp, 0x3c
pop edi
pop esi
test eax, eax
je 0x1003c9af
lea eax, [ebp - 0x20c]
push eax
call fcn.10093856
pop ecx
test eax, eax
je 0x1003c9af
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1003c9b1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret 8

Function at 0x1003c9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x1003ca7e
cmp ebx, esi
je 0x1003ca7e
cmp dword [ebp + 0x10], esi
je 0x1003ca7e
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10093270
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push edi
call fcn.1001b00a
lea eax, [ebp - 0x20c]
push eax
call fcn.10093856
add esp, 0x20
test eax, eax
je 0x1003ca7e
push esi
push esi
push 2
push esi
push esi
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003ca7a
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x210], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1003ca80
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009314a
leave
ret 0xc
Function at 0x1003f2f4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x618
mov eax, 0x101c69fc
call fcn.100931c2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x61c]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfiles
mov edi, reloc.WS2_32.dll_accept
xor ebx, ebx
push edi
mov dword [ebp - 0x61c], ebx
call esi
cmp eax, ebx
jne 0x1003f48e
cmp dword [ebp - 0x61c], ebx
je 0x1003f48e
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.10093270
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.DefaultProfile
push dword [ebp - 0x61c]
mov dword [ebp - 0x620], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x61c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x61c], ebx
call fcn.10093856
pop ecx
test eax, eax
je 0x1003f48e
push 0x101d9c6c
lea ecx, [ebp - 0x624]
call fcn.100c8110
mov dword [ebp - 4], ebx
push str.9375CFF0413111d3B88A00104B2A6676
lea eax, [ebp - 0x218]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfiles
lea eax, [ebp - 0x624]
push 0x101e8628
push eax
call fcn.100cb830
add esp, 0x14
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x624]
push edi
call esi
cmp eax, ebx
jne 0x1003f47f
cmp dword [ebp - 0x61c], ebx
je 0x1003f47f
push 0x3ff
lea eax, [ebp - 0x617]
push ebx
push eax
mov byte [ebp - 0x618], bl
call fcn.10093270
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x618]
push eax
push ebx
push ebx
push str.ED475418_B0D6_11D2_8C3B_00104B2A6676
push dword [ebp - 0x61c]
mov dword [ebp - 0x620], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1003f451
mov dword [ebp - 0x620], ebx
push dword [ebp - 0x61c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x620]
mov dword [ebp - 0x61c], ebx
shr esi, 2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.100c88b0
mov eax, esi
jmp 0x1003f490
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.100c88b0
xor eax, eax
call fcn.10093245
ret
Function at 0x100402e7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xcc
mov eax, 0x101c6d07
call fcn.100931c2
mov edi, dword [ebp + 8]
push 0x101d9c6c
lea ecx, [ebp - 0xd8]
call fcn.100c8110
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x1025c30c]
cmp ecx, ebx
je 0x10040381
sub eax, ecx
cmp eax, 0xea60
jae 0x10040381
push dword [0x1025c308]
lea eax, [ebp - 0xd8]
push dword [0x10236fec]
push str.Outlook_2003_IsMailRule____d_____d_
push eax
call fcn.100cb830
push ebx
push 1
push dword [ebp - 0xd8]
call fcn.1005d425
add esp, 0x1c
cmp edi, ebx
je 0x10040362
mov eax, dword [0x1025c308]
mov dword [edi], eax
mov esi, dword [0x10236fec]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.100c88b0
mov eax, esi
call fcn.10093245
ret 4
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0xd4]
mov dword [0x1025c30c], eax
mov dword [0x10236fec], esi
mov dword [0x1025c308], ebx
call fcn.10028ad3
mov byte [ebp - 4], 1
push 0x68
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
call fcn.10093270
push ebx
lea eax, [ebp - 0x7c]
push eax
push 3
lea eax, [ebp - 0xd4]
push 7
push eax
call fcn.1000ca5c
add esp, 0x20
test eax, eax
je 0x100403e8
test byte [ebp - 0x6c], 8
je 0x100403ee
call fcn.100259c4
test eax, eax
je 0x100403ee
mov dword [0x1025c308], esi
jmp 0x100403ee
mov dword [0x10236fec], ebx
cmp edi, ebx
je 0x100403f9
mov eax, dword [0x1025c308]
mov dword [edi], eax
cmp dword [0x10258d48], ebx
je 0x10040426
push dword [0x1025c308]
push dword [0x10236fec]
push str.CAddin::HasMailRule__MailRule:_d__SCI:_d_
push str.outlook
push 0xffffffffffffffff
push 0x10258cdc
call fcn.10023e40
add esp, 0x18
mov esi, dword [0x10236fec]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xd4]
call fcn.10028b5d
jmp 0x10040368
Function at 0x10056fb1
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c9e4f
mov eax, dword fs:[0]
push eax
mov eax, 0x1004c
call fcn.10099d40
mov eax, dword [0x10239420]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp dword [eax - 8], ebx
jne 0x10056ff6
xor eax, eax
jmp 0x1005718e
push 1
lea eax, [esi + 0x40]
push eax
lea ecx, [ebp - 0x1003c]
call fcn.100d53a0
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10058]
call fcn.100395c4
mov byte [ebp - 4], 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x10030]
call fcn.100104a4
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x3c]
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push esi
mov dword [ebp - 0x10024], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1005715c
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x1005714b
push 0xffff
lea eax, [ebp - 0x1000f]
push ebx
push eax
mov byte [ebp - 0x10010], bl
call fcn.10093270
mov dword [ebp - 0x1001c], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
mov dword [ebp - 0x10020], ebx
mov dword [ebp - 0x10018], ebx
push ebx
push ebx
push dword [ebp - 0x1001c]
push edi
call esi
push ebx
lea eax, [ebp - 0x10014]
push eax
push 0x10000
lea eax, [ebp - 0x10010]
push eax
push edi
mov dword [ebp - 0x10014], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10057137
cmp dword [ebp - 0x10014], 0x10000
jae 0x100570de
mov dword [ebp - 0x10020], 1
cmp dword [ebp - 0x10014], ebx
je 0x10057137
push ebx
push ebx
push dword [ebp - 0x10018]
push edi
call esi
push ebx
lea eax, [ebp - 0x10028]
push eax
push dword [ebp - 0x10014]
lea eax, [ebp - 0x10010]
push eax
push edi
mov dword [ebp - 0x10028], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10057137
mov ecx, dword [ebp - 0x10028]
mov eax, dword [ebp - 0x10014]
cmp ecx, eax
jne 0x10057137
add dword [ebp - 0x1001c], eax
add dword [ebp - 0x10018], ecx
cmp dword [ebp - 0x10020], ebx
je 0x10057090
push ebx
push ebx
push dword [ebp - 0x10018]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x10057155
mov dword [ebp - 0x10024], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10030]
call fcn.100104d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10058]
call fcn.100396a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1003c]
call fcn.100d5400
mov eax, dword [ebp - 0x10024]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009314a
leave
ret 4
Function at 0x100571aa
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x101c9e8f
call fcn.10093159
mov esi, ecx
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x10057274
cmp dword [ebp + 8], ebx
je 0x10057274
push 1
lea eax, [esi + 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.100d53a0
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
call fcn.100395c4
mov byte [ebp - 4], 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.100104a4
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x3c]
push ebx
push ebx
push 4
push ebx
push ebx
push 0xc0000000
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1005724d
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0xc], ebx
je 0x10057243
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
jmp 0x10057246
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.100104d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.100396a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100d5400
mov eax, edi
jmp 0x10057276
xor eax, eax
call fcn.10093231
ret 8
Function at 0x1005727e
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x3c
mov eax, 0x101c9ec2
call fcn.10093159
mov esi, ecx
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp dword [eax - 8], ebx
jne 0x100572a0
xor eax, eax
call fcn.10093231
ret 0xc
push 1
lea eax, [esi + 0x40]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100d53a0
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
call fcn.100395c4
mov byte [ebp - 4], 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.100104a4
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x3c]
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocStringLen
push esi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10057391
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], ebx
ja 0x10057396
cmp dword [ebp + 0x10], ebx
je 0x10057317
cmp eax, 0xa00000
ja 0x10057396
inc eax
push eax
call fcn.100958c4
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x10057358
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.100104d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
call fcn.100396a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100d5400
mov eax, esi
jmp 0x10057298
mov eax, dword [ebp - 0x14]
inc eax
push eax
push ebx
push esi
call fcn.10093270
add esp, 0xc
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov esi, dword [ebp - 0x14]
jmp 0x1005732e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.100104d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
call fcn.100396a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100d5400
jmp 0x10057296

Function at 0x10057a63
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x10057a76
push 0xd
pop eax
jmp 0x10057aa1
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10057a79
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1005cab2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x101cab50
call fcn.100931f8
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x1005cb0b
call fcn.100577ce
mov esi, eax
jmp 0x1005cc26
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x1005cb24
call fcn.100577ce
jmp 0x1005cc18
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x1005cb1a
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1005cb91
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1005cb73
lea ecx, [ebp - 0x418]
call fcn.10058205
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.1003d7ef
mov eax, esi
call fcn.10093254
ret 0x10
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.1005af7e
mov dword [ebp - 4], 1
jmp 0x1005cbca
cmp dword [ebp - 0x418], ebx
jne 0x1005cbd9
mov esi, 0x8007000e
jmp 0x1005cc1a
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x1005cb1a
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1005c689
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1005cb78
lea ecx, [ebp - 0x418]
call fcn.10058205
jmp 0x1005cb78

Function at 0x1005df33
Capabilities:
Get file size

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0xffffffff
push edi
jne 0x1005df9f
mov eax, dword [esi + 0x28]
xor edi, edi
cmp eax, edi
je 0x1005df60
push edi
push 0x80
push 4
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
jne 0x1005df6c
xor eax, eax
jmp 0x1005dfa2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x1005df92
push edi
push edi
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1005df9f
push 2
push edi
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
inc eax
pop edi
pop esi
ret