joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418be0
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x480a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x34]
lea eax, [esi + 0x20]
push 1
push eax
mov ecx, edi
mov dword [edi + 8], 0
call fcn.004636c0
lea ecx, [esi + 0x44]
push 0x20
push ecx
mov ecx, edi
call fcn.004636c0
lea edx, [esi + 0x64]
push 0x20
push edx
mov ecx, edi
call fcn.004636c0
lea eax, [esi + 0x18]
push 4
push eax
mov ecx, edi
call fcn.004636c0
mov eax, dword [esi + 0x30]
mov ecx, edi
push eax
call fcn.00463710
lea ecx, [esi + 0x84]
push 4
push ecx
mov ecx, edi
call fcn.004636c0
lea edx, [esi + 0x88]
push 4
push edx
mov ecx, edi
call fcn.004636c0
lea ecx, [esp + 8]
call fcn.004633b0
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
call fcn.004679c0
lea ecx, [esp + 8]
push ecx
mov ecx, edi
call fcn.004636f0
mov esi, dword [esi + 0x3c]
mov ecx, edi
push esi
call fcn.00463710
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004634a0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x419160
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x480ac8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
mov esi, ecx
xor ebx, ebx
mov dword [edi + 8], ebx
cmp dword [esi + 8], ebx
jne 0x4191a1
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0xc]
call fcn.004633b0
mov eax, dword [esp + 0x3c]
push 0x80
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], ebx
call fcn.004636c0
mov eax, dword [esi + 8]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jbe 0x4191fc
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jae 0x4191da
mov edx, dword [esi + 4]
mov ecx, dword [edx + ecx*8]
jmp 0x4191dc
xor ecx, ecx
push edi
call fcn.00418be0
push edi
lea ecx, [esp + 0x10]
call fcn.004636f0
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov ecx, eax
mov eax, dword [esi + 8]
cmp ecx, eax
jb 0x4191cb
lea eax, [esp + 0xc]
push edi
push eax
push str.ct_copyright_lsls
call fcn.00465de0
add esp, 0xc
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.004634a0
mov ecx, dword [esp + 0x28]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4194c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x480b18
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x419505
mov eax, dword [esp + 0x34]
push eax
call fcn.004645e0
add esp, 4
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov ecx, dword [esp + 0x34]
push 0x49b18c
push ecx
call fcn.00464530
mov esi, eax
add esp, 8
test esi, esi
jne 0x419532
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push ebx
lea ecx, [esp + 0xc]
call fcn.004633b0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.00419160
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push esi
push ecx
push 1
push edx
call fcn.004252ff
push esi
mov edi, eax
call fcn.00425282
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp edi, eax
lea ecx, [esp + 0xc]
sete bl
mov dword [esp + 0x30], 0xffffffff
call fcn.004634a0
mov ecx, dword [esp + 0x28]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4195b0
Capabilities:
Access peb ldr_data
Get file attributes
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x480b38
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call fcn.0041d1f0
mov esi, dword [esp + 0x38]
push esi
call fcn.00463f00
add esp, 4
test al, al
jne 0x4195f7
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x419617
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
test eax, 0xffffffdf
je 0x419640
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x419640
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
lea eax, [esp + 8]
push eax
push esi
call fcn.00463fe0
add esp, 8
test al, al
jne 0x419665
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
cmp dword [esp + 8], 0x9c4000
jbe 0x419684
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
push 0x49c9a0
push esi
call fcn.004263d3
mov esi, eax
add esp, 8
test esi, esi
jne 0x4196ad
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.00463410
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x34], 0
call fcn.004639a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
push esi
push eax
push 1
push ecx
call fcn.0042628b
push esi
mov dword [esp + 0x1c], eax
call fcn.00425282
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add esp, 0x14
cmp edx, eax
je 0x419722
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004634a0
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov eax, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.00419240
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x34], 0xffffffff
call fcn.004634a0
mov ecx, dword [esp + 0x2c]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x41a7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push str._db_nml.db
lea eax, [esp + 0xc]
push 0x4a6f4c
mov esi, ecx
push eax
call fcn.00462850
add esp, 0xc
mov eax, dword [eax + 4]
push 0x4a7250
push eax
lea ecx, [esi + 0x118]
mov dword [esp + 0x30], 0
call fcn.004194c0
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
call fcn.00462600
pop esi
test bl, bl
pop ebx
jne 0x41a87e
push str._db_nml.db
mov ecx, 0x4a6f4c
call fcn.00462710
call fcn.0047617e
test eax, eax
je 0x41a839
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x41a83b
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x49b14c
lea ecx, [esp + 0x10]
push 0x4a6f4c
push ecx
call fcn.00462850
mov edx, dword [eax + 4]
add esp, 0xc
push 0x10
push 0x49b138
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
call fcn.00462600
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x435e70
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x435eaa
mov ax, word [esp]
cmp al, 2
jne 0x435ea4
xor ecx, ecx
mov cl, ah
cmp cl, al
jne 0x435ea4
xor eax, eax
add esp, 0x190
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
add esp, 0x190
ret

Function at 0x440fa0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push 0
push ecx
mov eax, dword [esi + eax*4 + 0x130]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x24]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebx], 0
jne 0x44101a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x440ff4
pop edi
pop esi
mov dword [ebx], 0x51
pop ebp
xor eax, eax
pop ebx
ret
push ebp
push esi
call fcn.00443d70
push eax
mov eax, dword [esi]
push str.Send_failure:__s
push eax
call fcn.00440dc0
mov ecx, dword [esi]
add esp, 0x14
mov dword [ecx + 0x857c], ebp
mov dword [ebx], 0x37
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x441301
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and al, 0xe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret
Function at 0x4416e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, dword [esp + 0x110]
push edi
mov eax, dword [esi + 0x1a4]
mov edi, dword [esi]
test eax, eax
jne 0x441829
mov ebx, dword [esp + 0x118]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x44174d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
push ebx
push esi
call fcn.00443d70
push eax
push ebx
push str.getpeername___failed_with_errno__d:__s
push edi
call fcn.00440dc0
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x104
ret
lea edx, [esp + 0xc]
lea eax, [esp + 0x90]
push edx
push eax
push ebx
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x441796
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
push ebx
push esi
call fcn.00443d70
push eax
push ebx
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.00440dc0
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x104
ret
lea ecx, [esi + 0xcc]
lea edx, [esi + 0x9e]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00441840
add esp, 0xc
test eax, eax
jne 0x4417de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push esi
call fcn.00443d70
push eax
push ebx
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.00440dc0
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x104
ret
lea ecx, [esi + 0x100]
lea edx, [esi + 0xd0]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
call fcn.00441840
add esp, 0xc
test eax, eax
jne 0x441829
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push esi
call fcn.00443d70
push eax
push ebx
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.00440dc0
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x104
ret
push esi
call fcn.00441680
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x441c30
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 4]
push eax
push ecx
push 0x1001
push 0xffff
push esi
mov dword [esp + 0x1c], 0x4020
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x441c7b
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, eax
jg 0x441c93
lea eax, [esp + 8]
push 4
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
add esp, 0xc
ret
Function at 0x442010
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
push edi
mov ecx, dword [esi + 0x3f8]
mov edi, dword [esp + 0x10]
test ecx, ecx
lea ecx, [esp + 0xc]
push 4
push ecx
push 8
setne al
push 0xffff
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x442053
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00440d50
add esp, 0xc
pop edi
pop esi
ret
Function at 0x442400
Capabilities:
Set socket configuration

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 4
mov esi, dword [edi]
push ecx
push 1
push 6
mov eax, dword [esi + 0x304]
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x44244b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.00443d70
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00440d50
add esp, 0x14
pop edi
pop esi
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00440d50
add esp, 8
pop edi
pop esi
ret

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

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov eax, dword [ecx + 0x540]
cmp eax, 0xffffffff
je 0x442631
mov ecx, dword [ecx + 0x534]
mov edx, dword [ecx]
mov eax, dword [edx + eax*4]
test eax, eax
je 0x442631
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x442609
mov dword [ecx], eax
mov ecx, dword [eax + 0x150]
mov esi, dword [eax + 0x130]
test ecx, ecx
jne 0x442631
push 2
lea eax, [esp + 0xc]
push 1
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x442631
mov eax, esi
pop esi
ret
or eax, 0xffffffff
pop esi
ret

Function at 0x442750
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.00426dcd
add esp, 0x18
test eax, eax
je 0x442773
cmp eax, 0xffffffff
jne 0x442775
xor eax, eax
ret
Function at 0x44bda0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x10], 0x80
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
mov ebx, dword [edi + 0x3d0]
mov esi, dword [edi]
push eax
push ecx
mov edx, dword [ebx + 0x144]
mov eax, dword [ebx + 0x14c]
mov ecx, dword [ebx + 0x14]
lea ebp, [ebx + 0x14c]
add edx, 4
push 0
push edx
push eax
push ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebx + 0x13c], eax
mov eax, dword [ebx + 0x138]
test eax, eax
jne 0x44be33
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x18]
mov edx, ecx
lea edi, [ebx + 0xb8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
mov dword [ebx + 0x138], eax
cmp dword [ebx + 0x13c], 4
jge 0x44be5e
push str.Received_too_short_packet
push esi
call fcn.00440dc0
add esp, 8
mov dword [ebx + 0xc], 7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
push ebp
call fcn.0044bfb0
and eax, 0xffff
add esp, 4
mov dword [ebx + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x44be7b
jmp dword [eax*4 + 0x44bf94]
cmp dword [ebx + 0x13c], 4
jle case.0x44be7b.4
push ebp
call fcn.0044ba50
mov cx, word [ebx + 0x30]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x44be7b.4
mov edx, dword [ebx + 0x13c]
mov eax, dword [ebp]
sub edx, 4
add eax, 4
push edx
push eax
push 1
push edi
call fcn.00441100
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x44bee0
push 5
push ebx
call fcn.0044b310
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov eax, dword [ebx + 0x13c]
mov ebp, dword [esi + 0x38]
sub eax, 4
cdq
add ebp, eax
mov dword [esi + 0x38], ebp
mov ecx, dword [esi + 0x3c]
adc ecx, edx
mov dword [esi + 0x3c], ecx
mov edx, dword [esi + 0x38]
push ecx
push edx
push esi
call fcn.0045ac60
jmp 0x44bf65
push ebp
call fcn.0044ba50
and eax, 0xffff
mov dword [ebx + 8], eax
mov eax, dword [ebp]
add eax, 4
push eax
push 0x4a1bd0
push esi
call fcn.00440d50
add esp, 0x10
jmp case.0x44be7b.4
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ebp]
sub ecx, 2
add edx, 2
push ecx
push edx
push ebx
call fcn.0044bfd0
add esp, 0xc
test eax, eax
je case.0x44be7b.4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
push str.Internal_error:_Unexpected_packet
push 0x4a1a18
push esi
call fcn.00440dc0
add esp, 0xc
push edi
call fcn.0045ad20
add esp, 4
test eax, eax
je 0x44be51
push 5
push ebx
call fcn.0044b310
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x44e5f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov al, byte [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
lea ecx, [esp + 0x14]
mov edx, dword [esi + 0x130]
mov edi, dword [esi]
push 3
push ecx
push edx
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], al
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x44e63d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.00440dc0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
push ebx
push str.SENT
push ecx
call fcn.0044e660
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x44f780
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push edi
mov eax, dword [eax]
mov dword [esp + 8], eax
mov edi, dword [eax + 0x8674]
mov eax, dword [esp + 0x14]
cmp eax, 0x1f
jne 0x44f8e9
push ebp
push esi
lea ebp, [edi + 0x1cb0]
lea esi, [edi + 0x1eb0]
cmp ebp, esi
mov dword [esi], ebp
jae 0x44f7bd
mov byte [ebp], 0xff
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x44f7cb
mov byte [eax], 0xfa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x44f7d9
mov byte [eax], 0x1f
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov cx, word [edi + 0x1ca8]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push ecx
call ebx
mov dx, word [edi + 0x1caa]
mov dword [esp + 0x1c], eax
push edx
call ebx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x44f808
mov dl, byte [esp + 0x1c]
mov byte [ecx], dl
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x44f819
mov dl, byte [esp + 0x1d]
mov byte [ecx], dl
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x44f826
mov byte [ecx], al
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x44f833
mov byte [ecx], ah
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x44f841
mov byte [eax], 0xff
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x44f84f
mov byte [eax], pe_nt_image_headers32
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, dword [esp + 0x10]
mov ecx, eax
lea edx, [edi + 0x1cb2]
sub ecx, ebp
mov dword [edi + 0x1eb4], eax
sub ecx, 2
mov dword [esi], ebp
push ecx
push edx
push 0x3e
push ebx
call fcn.0044f470
add esp, 0x10
mov esi, dword [sym.imp.WS2_32.dll_send]
push 0
push 3
push ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x130]
push eax
call esi
test eax, eax
jge 0x44f8a8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00440dc0
add esp, 0xc
lea ecx, [edi + 0x1cb3]
push 4
push ecx
push ebp
call fcn.0044f8f0
mov edx, dword [ebp + 0x130]
add esp, 0xc
add edi, 0x1cb7
push 0
push 2
push edi
push edx
call esi
pop esi
pop ebp
test eax, eax
jge 0x44f8e9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00440dc0
add esp, 0xc
pop edi
pop ebx
pop ecx
ret
Function at 0x458d40
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x458d4f
jmp dword [ecx*4 + 0x458da4]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
Function at 0x45be70
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
mov eax, dword [esp + 0x108]
push eax
call fcn.0042f5de
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x45bebd
lea ecx, [esp]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov al, byte [esp]
test al, al
je 0x45bebd
lea edx, [esp]
push edx
call dword [0x4a0db0]
add esp, 4
add esp, 0x104
ret
xor eax, eax
add esp, 0x104
ret

Function at 0x45e8c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x466480
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x4679c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x38]
mov dword [ebx + 8], ebp
mov eax, dword [esi + 8]
push 4
push ecx
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.004636c0
lea ecx, [esp + 0xc]
call fcn.004633b0
mov eax, dword [esi + 8]
mov dword [esp + 0x30], ebp
cmp eax, ebp
mov dword [esi + 0x10], ebp
jbe 0x467a5f
push edi
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jae 0x467a22
mov edx, dword [esi + 4]
mov edi, dword [edx + ecx*8]
jmp 0x467a24
xor edi, edi
mov dword [esp + 0x18], ebp
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x14]
call fcn.00463710
mov edi, dword [edi + 0x10]
lea ecx, [esp + 0x10]
push edi
call fcn.00463710
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004636f0
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 8]
inc edi
mov ecx, edi
mov dword [esi + 0x10], edi
cmp ecx, eax
jb 0x467a13
pop edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004634a0
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x467c60
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0
test eax, eax
jbe 0x467ca5
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jae 0x467c81
mov eax, dword [esi + 4]
mov edi, dword [eax + ecx*8]
jmp 0x467c83
xor edi, edi
push edi
push str.skey
call fcn.004628d0
add esp, 8
test al, al
jne 0x467caa
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 8]
inc edi
mov ecx, edi
mov dword [esi + 0x10], edi
cmp ecx, eax
jb 0x467c72
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [edi + 0x10]
mov eax, 0x1505
mov cl, byte [edx]
test cl, cl
je 0x467cce
mov esi, eax
shl esi, 5
movsx ecx, cl
add esi, eax
add esi, ecx
mov cl, byte [edx + 1]
inc edx
mov eax, esi
test cl, cl
jne 0x467cb8
pop edi
and eax, 0x7fffffff
pop esi
ret