joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419d24
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 0xffffffffffffffff
push dword [edi]
mov dword [ebp - 8], edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.00419c9a
mov esi, eax
cmp esi, 0xffffffff
je 0x419e18
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
sub dword [ebp - 0x18], eax
cmp edi, 0x100000
jbe 0x419dff
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
jbe 0x419df3
sub eax, edi
mov edi, eax
push edi
call fcn.0044f6d6
cmp eax, ebx
pop ecx
mov dword [ebp + 0xc], eax
je 0x419dd9
push ebx
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419dd9
cmp dword [ebp - 4], edi
jne 0x419dd9
lea edx, [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x14], 0x14
call fcn.00419b50
push ebx
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x419de3
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.00419c38
cmp dword [ebp + 0xc], ebx
je 0x419e0c
push dword [ebp + 0xc]
call fcn.0044f6db
pop ecx
jmp 0x419e0c
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.00419c38
jmp 0x419e0c
lea edx, [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.00419b50
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 8
Function at 0x41abec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x14]
push 0
mov dword [ebp - 4], ecx
add ebx, 0x15
push ebx
mov ecx, esi
call fcn.00407b8c
mov esi, dword [esi + 4]
push 0x14
push 0
push esi
call fcn.004370b0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
push 0x14
pop edx
mov dword [esi + 4], edx
mov dword [esi], ebx
mov al, byte [eax + 0x60]
mov byte [esi + 0x10], al
cmp dword [edi + 0x18], 0x10
mov ecx, dword [edi + 0x14]
lea eax, [edi + 4]
mov dword [ebp + 8], eax
jb 0x41ac44
mov eax, dword [eax]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 4]
add eax, edx
inc ecx
push ecx
push dword [ebp + 0xc]
push eax
call fcn.00436500
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebx + 4]
mov dl, byte [esi + 0x10]
lea eax, [ecx + eax + 0x14]
xor byte [eax], dl
inc ecx
cmp ecx, dword [edi + 0x14]
jbe 0x41ac5f
cmp dword [edi + 0x18], 0x10
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 8]
jb 0x41ac7f
mov ecx, dword [ecx]
lea edx, [eax + 1]
call fcn.004199f7
pop edi
mov dword [esi + 8], eax
pop esi
pop ebx
leave
ret 0xc

Function at 0x41af17
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0041a524
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.00401050
and dword [ebp - 4], 0
call fcn.0041b4d1
test al, al
je 0x41af66
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.0041ac91
test al, al
je 0x41afba
cmp dword [ebp - 4], 0
jne 0x41af6f
cmp byte [esi + 0x85], 0
jne 0x41afba
lea edi, [esi + 0x90]
cmp dword [edi], 0xffffffff
je 0x41af83
call ebx
sub eax, dword [ebp - 8]
cmp eax, dword [edi]
jae 0x41afba
cmp byte [esi + 0x84], 0
je 0x41afba
cmp dword [ebp - 4], 0
je 0x41af9a
mov eax, dword [esi + 0x88]
jmp 0x41afa0
mov eax, dword [esi + 0x8c]
push eax
push dword [esi + 0x94]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41afba
cmp byte [esi + 0x84], 0
jne 0x41af44
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41afd6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x40], 0
push edi
mov byte [esi + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x41b119
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x41b129
xor al, al
jmp 0x41b18b
mov eax, dword [ebp + 8]
mov dword [esi + 0x80], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0x84], al
mov al, byte [ebp + 0x10]
mov byte [esi + 0x85], al
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp + 0x1c]
push 0x477a34
lea ecx, [esi + 0x64]
mov byte [esi + 0x3c], 1
mov dword [esi + 0x90], eax
call fcn.0040145b
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push 0x41b10d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
mov al, 1
pop esi
pop ebp
ret 0x18

Function at 0x41b190
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, ecx
xor ebx, ebx
push edi
push str.SENSAPI.DLL
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 8], ebx
call ebp
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
je 0x41b1ca
push str.IsNetworkAlive
push eax
call edi
mov dword [esi + 8], eax
push str.WININET.DLL
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call ebp
cmp eax, ebx
mov dword [esi + 4], eax
je 0x41b216
push str.InternetGetConnectedStateEx
push eax
call edi
push 0x477a68
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push 0x477a54
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push str.InternetGetConnectedState
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x41b21d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareWildTangent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41b24b
push 2
pop eax
leave
ret
push ebx
mov ebx, dword [ebp - 4]
push esi
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.ConnectionStatusOverride
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 8], esi
jne 0x41b284
test eax, eax
jne 0x41b284
mov esi, dword [ebp - 0x10]
cmp esi, 3
jb 0x41b287
push 2
pop esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b399
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push ebx
lea eax, [ebp - 0x290]
push eax
push 0x101
xor bl, bl
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x41b3be
xor al, al
jmp 0x41b425
push 0x100
lea eax, [ebp - 0x100]
push eax
call sub.WS2_32.dll_gethostname
test eax, eax
jne 0x41b41e
push esi
lea eax, [ebp - 0x100]
push eax
call sub.WS2_32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x41b41d
cmp word [esi + 0xa], 4
jne 0x41b41d
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x41b41d
push edi
xor edi, edi
push dword [eax]
call sub.WS2_32.dll_ntohl
test eax, eax
je 0x41b40b
cmp eax, 0x7f000001
jne 0x41b41a
mov eax, dword [esi + 0xc]
add edi, 4
mov eax, dword [edi + eax]
test eax, eax
jne 0x41b3f9
jmp 0x41b41c
mov bl, 1
pop edi
pop esi
call sub.WS2_32.dll_WSACleanup
mov al, bl
pop ebx
leave
ret

Function at 0x41f916
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f974
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProgramFilesDir
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f974
cmp esi, ebx
je 0x41f96d
mov byte [edi + esi - 1], bl
mov dword [ebp - 8], 1
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x41f985
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x41fac4
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x460e3c
call fcn.00437048
sub esp, 0x124
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], 0xf
call fcn.00401034
push 1
push 0x26
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x41fb30
mov edx, 0x104
lea ecx, [ebp - 0x130]
call fcn.0041f916
test eax, eax
lea eax, [ebp - 0x130]
jne 0x41fb36
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x41fb39
lea eax, [ebp - 0x130]
push eax
jmp 0x41fb3e
push 0x476b84
lea ecx, [ebp - 0x28]
call fcn.0040145b
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00404da1
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401050
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41fd46
Capabilities:
Create directory

Disassembly:
mov eax, 0x460e3c
call fcn.00437048
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41fd66
call fcn.0041fce3
test al, al
je 0x41fd6a
mov al, 1
jmp 0x41fdbc
push ebx
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004014b8
mov eax, dword [ebp - 0x14]
and dword [ebp - 4], 0
cmp eax, dword [esi + 0x14]
jne 0x41fd8c
cmp dword [esi + 0x18], 0x10
jb 0x41fd9c
mov esi, dword [esi + 4]
jmp 0x41fd9f
lea ecx, [ebp - 0x28]
call fcn.0041fd46
test al, al
jne 0x41fd81
xor bl, bl
jmp 0x41fdad
add esi, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401050
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4204b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3b4]
mov edi, 0xa8
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x3b4]
call fcn.0041fe59
mov ecx, dword [esi + 0x3b4]
xor eax, eax
mov dword [ecx + 0xa4], eax
mov ecx, dword [esi + 0x3b4]
mov byte [ecx + 0xfd], al
cmp dword [esi + 0x3a0], eax
jne 0x420528
lea ecx, [ebp - 4]
push ecx
push eax
push dword [esi + 0x3b4]
mov dword [esi + 0x3ac], 1
push 0x42037b
push 0xfa0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3a0], eax
mov eax, dword [esi + 0x3b4]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
leave
ret

Function at 0x421a08
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3b4]
mov edi, 0xa8
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4219c6
mov eax, dword [esi + 0x3b4]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4219f2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x3b4]
and dword [esi + 0x3a0], 0
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 0x3b4]
mov ecx, esi
call fcn.00421807
pop edi
pop esi
ret
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3b4]
mov edi, 0xa8
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x3b4]
add eax, edi
cmp dword [esi + 0x3a0], 0
push eax
jne 0x421a42
mov byte [esi + 0x390], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret
mov dword [esi + 0x3ac], 4
mov dword [esi + 0x3b0], 2
mov byte [esi + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x7d0
mov ecx, esi
call fcn.00420077
lea eax, [esi + 0x390]
cmp byte [eax], 0
jne 0x421a3f
pop edi
mov ecx, esi
mov byte [eax], 1
pop esi
jmp 0x421993
Function at 0x429c8f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x18], 0x10
jb 0x429c9a
mov ecx, dword [ecx + 4]
jmp 0x429c9d
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x429cb0
test al, 0x10
je 0x429cb0
mov al, 1
ret
xor al, al
ret
Function at 0x42a2ac
Capabilities:
Create directory

Disassembly:
mov eax, 0x461dba
call fcn.00437048
sub esp, 0x3a8
push ebx
push esi
push edi
mov esi, edx
xor ebx, ebx
mov edi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
call fcn.00429d98
cmp dword [esi + 0x18], 0x10
jb 0x42a2de
mov eax, dword [esi + 4]
jmp 0x42a2e1
lea eax, [esi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x42a504
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 3
pop edi
sub eax, edi
je 0x42a49e
dec eax
dec eax
mov esi, str.unknown
push esi
je 0x42a442
sub eax, 0x52
je 0x42a3e0
sub eax, 0x60
je 0x42a37f
lea ecx, [ebp - 0x130]
call fcn.00401496
push esi
lea ecx, [ebp - 0x168]
mov dword [ebp - 4], ebx
call fcn.00401496
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00401496
lea eax, [ebp - 0x130]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 2
call fcn.004262f2
push 0x4873bc
lea eax, [ebp - 0x348]
push eax
jmp 0x42a523
lea ecx, [ebp - 0x114]
call fcn.00401496
push esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], edi
call fcn.00401496
push str.Directory_already_exists
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 4
call fcn.00401496
lea eax, [ebp - 0x114]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.004263c4
push 0x487ea4
lea eax, [ebp - 0x270]
jmp 0x42a379
lea ecx, [ebp - 0xf8]
call fcn.00401496
push esi
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], 0xc
call fcn.00401496
push str.Invalid_argument
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.00401496
lea eax, [ebp - 0xf8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xe
call fcn.00426399
push 0x487700
lea eax, [ebp - 0x2dc]
jmp 0x42a379
lea ecx, [ebp - 0x50]
call fcn.00401496
push esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 9
call fcn.00401496
push str.Unauthorized_Access
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
call fcn.00401496
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 0xb
call fcn.0042636e
push 0x487dc0
lea eax, [ebp - 0x3b4]
jmp 0x42a379
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
mov dword [ebp - 4], 6
call fcn.00404da1
lea edi, [ebp - 0xdc]
call fcn.0042a212
mov edx, eax
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 7
call fcn.0042a2ac
lea ecx, [ebp - 0x1c4]
call fcn.00429755
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00401050
mov edx, esi
lea ecx, [ebp - 0x204]
call fcn.0042a2ac
lea ecx, [ebp - 0x204]
call fcn.00429755
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
push esi
call fcn.00429a4d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
call fcn.00437067
int3
Function at 0x42d322
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x42d375
call fcn.00458296
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x42d375
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x42d36b
xor eax, eax
jmp 0x42d48e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x42d3a5
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x42d3a5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x42d48b
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x42d3d2
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0042ed90
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x42d48b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42d41b
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x42d41b
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x42d415
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0042ed90
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x42d47b
and dword [ebp + 0xc], 0
jmp 0x42d47b
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x42d47b
push 0xc
call fcn.0044f6ab
mov esi, eax
test esi, esi
pop ecx
je 0x42d45d
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x42d45f
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x42d476
push dword [ebp - 8]
call fcn.0044f17e
jmp 0x42d47b
call fcn.0044f155
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x42d3e0
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x437432
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00437670
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4374cd
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4947b8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4374cd
cmp eax, 1
je 0x4374ee
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4374cd
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x43749a
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4374c9
xor eax, eax
inc eax
jmp 0x43750d
cmp edi, eax
jae 0x4374d1
xor eax, eax
jmp 0x43750d
cmp eax, esi
jae 0x4374d8
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4947b8]
jmp 0x4374f1
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x437e4c
Capabilities:
Terminate process

Disassembly:
push 8
push 0x47be20
call fcn.00437518
push 8
call fcn.0043d89b
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4947f8], esi
jne 0x437e80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x4947f4], esi
mov al, byte [ebp + 0x10]
mov byte [0x4947f0], al
cmp dword [ebp + 0xc], edi
jne 0x437eca
cmp dword [0x49624c], edi
je 0x437eba
mov eax, dword [0x496248]
sub eax, 4
mov dword [0x496248], eax
cmp eax, dword [0x49624c]
jb 0x437eba
mov eax, dword [eax]
cmp eax, edi
je 0x437e9b
call eax
jmp 0x437e9b
push 0x48d134
mov eax, 0x48d12c
call fcn.00437dca
pop ecx
push 0x48d140
mov eax, 0x48d138
call fcn.00437dca
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.00437efb
cmp dword [ebp + 0x10], edi
jne 0x437f09
mov dword [0x4947f8], esi
push dword [ebp + 8]
call fcn.00437d88
xor edi, edi
xor esi, esi
inc esi
call fcn.00437553
ret