joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9ad0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push eax
push ebp
mov esi, dword [ebp + eax*4 + 0x1a4]
call fcn.004a9f80
add esp, 8
push 0
push dword [esp + 0xa0]
push dword [esp + 0xa0]
push esi
call dword [sym.imp.WSOCK32.DLL_send]
mov ebx, dword [esp + 0xa0]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x4a9b77
push edi
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x4a9b44
pop edi
pop esi
pop ebp
mov dword [ebx], 0x51
xor eax, eax
pop ebx
add esp, 0x80
ret
push pe_nt_image_headers32
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004c3880
push eax
push str.Send_failure:__s
push dword [ebp]
call fcn.004a9780
mov eax, dword [ebp]
add esp, 0x18
mov dword [eax + 0xc54], edi
mov eax, esi
mov dword [ebx], 0x37
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x4a9f80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
shl eax, 4
mov ebp, dword [ebx + ecx*4 + 0x1a4]
lea esi, [ebx + 0x1c8]
add esi, eax
mov eax, dword [ebx + 0x2c0]
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x4aa036
cmp dword [ebx + ecx*4 + 0x1b8], 0x4a9a00
jne 0x4aa036
cmp dword [esi], 0
je 0x4a9fcc
test edi, edi
je 0x4aa036
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.004b1a90
add esp, 0x10
cmp eax, 0xffffffff
je 0x4aa036
test al, 1
je 0x4aa036
cmp dword [esi], 0
jne 0x4aa01f
mov eax, dword [ebx]
mov eax, dword [eax + 0x8d0]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x51f608]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
jne 0x4aa01f
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebp
call dword [sym.imp.WSOCK32.DLL_recv]
test eax, eax
jle 0x4aa036
add dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4b08f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
push ebx
mov ebx, dword [esp + 0x190]
cmp dword [ebx + 0x90], 3
jne 0x4b0ac8
cmp byte [ebx + 0x289], 0
push ebp
push esi
push edi
jne 0x4b0abc
cmp byte [ebx + 0x2a1], 0
jne 0x4b0abc
mov esi, dword [esp + 0x1a0]
lea eax, [esp + 0x10]
mov ebp, dword [ebx]
push eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x14], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.WSOCK32.DLL_getpeername]
test eax, eax
je 0x4b0984
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push esi
call fcn.004c3880
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.004a9780
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
push pe_nt_image_headers32
lea eax, [esp + 0x9c]
mov dword [esp + 0x18], pe_nt_image_headers32
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x9c]
push eax
push esi
call dword [sym.imp.WSOCK32.DLL_getsockname]
test eax, eax
je 0x4b09ee
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push esi
call fcn.004c3880
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.004a9780
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
lea eax, [ebx + 0x138]
push eax
lea esi, [ebx + 0x10a]
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x124]
push eax
call fcn.004afd10
add esp, 0x10
test al, al
jne 0x4b0a4f
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
mov edi, eax
call esi
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push dword [edi]
call fcn.004c3880
push eax
push dword [esi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.004a9780
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
lea edi, [ebx + 0x5c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x16c]
push eax
lea eax, [ebx + 0x13c]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0xa4]
movsw word es:[edi], word [esi]
push eax
call fcn.004afd10
add esp, 0x10
test al, al
jne 0x4b0abc
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
mov edi, eax
call esi
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push dword [edi]
call fcn.004c3880
push eax
push dword [esi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.004a9780
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
push ebx
call fcn.004b05d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
Function at 0x4b1420
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, dword [esp + 0x20]
push 4
cmp byte [esi + 0xa9f], al
setne al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x4b146a
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.004a9840
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret
push dword [esi + 0xa3c]
mov dword [esp + 0x10], 1
call fcn.004afc90
push dword [esi + 0xa40]
imul eax, eax, 0x3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
call fcn.004afc90
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.DLL_WSAIoctl]
test eax, eax
je 0x4b14e1
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.004a9840
add esp, 0x10
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4b14f0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x84
mov eax, dword [esp + 0x88]
push esi
push 4
mov dword [esp + 8], 1
mov esi, dword [eax]
lea eax, [esp + 8]
push eax
push 1
push 6
push dword [esp + 0xa0]
call dword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x4b1551
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push eax
call fcn.004c3880
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.004a9840
add esp, 0x18
pop esi
add esp, 0x84
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.004a9840
add esp, 8
pop esi
add esp, 0x84
ret
Function at 0x4bc280
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1000
call fcn.0040b160
push dword [esp + 0x1004]
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x4bc2cd
push 0x1000
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x4bc2cd
lea eax, [esp]
push eax
call dword [0x51f614]
add esp, 4
add esp, 0x1000
ret
xor eax, eax
add esp, 0x1000
ret
Function at 0x4c2d60
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [eax], ebp
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.DLL_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4c2ef3
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4c2edd
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x4c2daf
lea ebx, [eax + 0xe]
jmp 0x4c2dbb
cmp eax, 0x17
jne 0x4c2e6a
lea ebx, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x4c2e6a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4c2e6a
cmp eax, ebx
jb 0x4c2e6a
push 0x20
call dword [0x51f608]
mov esi, eax
add esp, 4
test esi, esi
je 0x4c2ed2
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x51f608]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x4c2ec1
push ebx
push dword [edi + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x4c2e55
push eax
call dword [0x51f614]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x4c2ea7
test ebp, ebp
jne 0x4c2e5b
mov ebp, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c2e66
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4c2da2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x4c2e89
push eax
call dword [sym.imp.WS2_32.DLL_freeaddrinfo]
test ebx, ebx
je 0x4c2ed9
push ebp
call fcn.004c2d20
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebp, ebp
mov dword [eax], ebp
mov eax, ebx
pop edi
pop ebx
pop ebp
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebx, 8
call dword [0x51f60c]
push esi
call dword [0x51f60c]
add esp, 8
jmp 0x4c2e79
push esi
mov ebx, 8
call dword [0x51f60c]
add esp, 4
jmp 0x4c2e79
mov ebx, 8
jmp 0x4c2e79
test ebp, ebp
jne 0x4c2ee9
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WSOCK32.DLL_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x4c7530
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [sym.imp.WSOCK32.DLL_socket]
push edi
push 6
push 1
push 2
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x14], 1
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x4c7562
pop edi
or eax, eax
pop esi
add esp, 0x30
ret
xor eax, eax
mov dword [esp + 0x10], eax
push ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, 2
push 0x7f000001
mov word [esp + 0x18], ax
call dword [sym.imp.WSOCK32.DLL_htonl]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
xor eax, eax
push 4
mov word [esp + 0x1a], ax
lea eax, [esp + 0x10]
push eax
push 4
push 0xffff
push edi
mov dword [ebx + 4], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.WSOCK32.DLL_setsockopt]
cmp eax, 0xffffffff
je 0x4c76f7
push 0x10
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WSOCK32.DLL_bind]
cmp eax, 0xffffffff
je 0x4c76f7
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WSOCK32.DLL_getsockname]
cmp eax, 0xffffffff
je 0x4c76f7
push 1
push edi
call dword [sym.imp.WSOCK32.DLL_listen]
cmp eax, 0xffffffff
je 0x4c76f7
push 0
push 1
push 2
call esi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x4c76f7
push 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.WSOCK32.DLL_connect]
cmp eax, 0xffffffff
je 0x4c76f7
push 0
push 0
push edi
call dword [sym.imp.WSOCK32.DLL_accept]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x4c76f7
push ebx
push 0x4fdb60
lea eax, [esp + 0x2c]
push 0xc
push eax
call fcn.004baec0
lea esi, [esp + 0x34]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4c7664
push 0
sub esi, ecx
lea eax, [esp + 0x28]
push esi
push eax
push dword [ebx]
call dword [sym.imp.WSOCK32.DLL_send]
cmp eax, esi
jne 0x4c76f7
push 0
push 0xc
lea eax, [esp + 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.WSOCK32.DLL_recv]
cmp eax, esi
jne 0x4c76f7
lea ecx, [esp + 0x24]
lea edx, [esp + 0x30]
sub esi, 4
jb 0x4c76b5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4c76ba
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4c76a4
cmp esi, 0xfffffffc
je 0x4c76e7
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4c76f7
cmp esi, 0xfffffffd
je 0x4c76e7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4c76f7
cmp esi, 0xfffffffe
je 0x4c76e7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4c76f7
cmp esi, 0xffffffff
je 0x4c76e7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4c76f7
push edi
call dword [sym.imp.WSOCK32.DLL_closesocket]
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret
mov esi, dword [sym.imp.WSOCK32.DLL_closesocket]
push edi
call esi
push dword [ebx]
call esi
push dword [ebx + 4]
call esi
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x30
ret
Function at 0x4d2bdf
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x522d2c], 0
push ebx
push esi
mov esi, 0x522d34
jne 0x4d2c0b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x522d4c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x522d2c], 1
push dword [0x522d4c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4d2ca8
push 0x14
push 8
push dword [0x521bbc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4d2cd2
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x522d30]
test eax, eax
je 0x4d2c4d
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x522d30], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4d2cd7
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x522d4c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x521bbc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4d2cd2
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x525060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xce000]
push edi
jmp 0x52507a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x525081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x525070
mov eax, 1
add ebx, ebx
jne 0x525093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5250a4
jne 0x5250c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5250c3
dec eax
add ebx, ebx
jne 0x5250b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x525088
add ebx, ebx
jne 0x5250bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x525115
xor ecx, ecx
sub eax, 3
jb 0x5250db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52514a
sar eax, 1
mov ebp, eax
jmp 0x5250e6
add ebx, ebx
jne 0x5250e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5250b4
inc ecx
add ebx, ebx
jne 0x5250f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5250b4
add ebx, ebx
jne 0x525101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5250f6
jne 0x525112
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5250f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x525134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x525126
jmp 0x525076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x525134
add edi, ecx
jmp 0x525076
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x525152
cmp byte [edi], 0x11
jne 0x525152
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x525157
lea edi, [esi + 0x11e000]
mov eax, dword [edi]
or eax, eax
je 0x5251cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x170e70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x170fec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x525184
mov ecx, edi
jns 0x5251b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x170ff0]
or eax, eax
je 0x5251c9
mov dword [ebx], eax
add ebx, 4
jmp 0x5251a1
call dword [esi + 0x171000]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x525200
cmp al, 0xef
ja 0x5251f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5251d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5251e2
mov ebp, dword [esi + 0x170ff4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x525234
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6b734672
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xe2425e4
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x412820
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, dl
xor eax, ecx
imul eax, eax, 0x1000193
ret
Function at 0x428970
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
mov eax, 1
mov dword [0x5305f4], edx
nop
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5305f4], edx
inc eax
cmp eax, 0x270
jb 0x428980
mov dword [0x5305f0], 0x270
ret 8

Function at 0x42bf60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax]
lea eax, [eax + 4]
xor edx, dword [eax - 8]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x42bf70
pop esi
ret

Function at 0x42bfb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, 0xe3
mov ebx, dword [edi + 0x9c4]
lea esi, [edi + 0x9c4]
mov eax, ebx
lea esi, [esi + 4]
mov ebx, dword [esi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x630]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub ebp, 1
jne 0x42bfc7
mov ebx, dword [edi + 0xd50]
lea esi, [edi + 0xd50]
mov ebp, 0x18c
mov eax, ebx
lea esi, [esi + 4]
mov ebx, dword [esi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub ebp, 1
jne 0x42c010
mov eax, dword [edi + 0x1380]
mov ecx, dword [edi + 4]
xor ecx, eax
mov dword [edi], ebp
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x50abc0
Capabilities:
Create thread

Disassembly:
sub esp, 8
mov eax, dword [0x52f010]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push ecx
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0041e690
mov ecx, dword [esp + 0x14]
call fcn.0041edb0
mov edx, eax
lea ecx, [esp + 8]
call fcn.0050ad90
lea edi, [esi + 4]
push edi
push 0
lea ecx, [esp + 0x10]
call fcn.0040b3a0
push eax
push 0x50add0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x50ac3d
lea ecx, [esp + 8]
call fcn.0050ad00
lea ecx, [esp + 8]
call fcn.0050ad20
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.00527df2
add esp, 8
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x50fdd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x52f010]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
call fcn.0042cd30
mov ecx, edi
mov esi, eax
call fcn.0042cce0
push esi
push eax
push 0
push 0
lea ecx, [esp + 0x7c]
call fcn.0042c310
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x10]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
call fcn.0041fa60
mov ecx, eax
call fcn.0041e8f0
push eax
lea ecx, [esp + 0x58]
call fcn.0041ed30
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
call fcn.0041faa0
mov ecx, eax
call fcn.0041e8f0
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x80]
call fcn.0041fae0
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
call fcn.0041fb40
mov ecx, eax
call fcn.0041e8f0
push eax
push 3
lea ecx, [esp + 0x84]
call fcn.0041ec80
push 2
push 0
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x60]
call fcn.0041e9f0
lea ecx, [esp + 0x94]
call fcn.0041ed20
lea ecx, [esp + 0x7c]
call fcn.0041ed20
lea ecx, [esp + 0x54]
call fcn.0041ed20
lea eax, [esp + 0x3c]
push eax
push ecx
push 3
lea eax, [esp + 0x78]
mov ecx, edi
push eax
call fcn.0042cf10
mov ecx, dword [esp + 0x40]
xor edi, edi
test ecx, ecx
je 0x50ff61
mov eax, dword [esp + 0x3c]
nop
mov esi, dword [esp + 0x44]
xor edx, edx
imul esi, edi
add esi, dword [esp + 0x4c]
test eax, eax
je 0x50ff5c
mov eax, dword [esi + edx*4]
movzx ecx, al
add ecx, 0xffffff88
cmp ecx, 0x5a
ja 0x50ff47
and eax, 0xff00
cmp eax, 0x5000
jb 0x50ff47
cmp eax, 0xa000
ja 0x50ff47
or eax, 0xffffffff
jmp 0x50ff4c
mov eax, 0xff000000
mov dword [esi + edx*4], eax
inc edx
mov eax, dword [esp + 0x3c]
cmp edx, eax
jb 0x50ff21
mov ecx, dword [esp + 0x40]
inc edi
cmp edi, ecx
jb 0x50ff10
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
call fcn.0042cf40
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.00527df2
mov esp, ebp
pop ebp
ret