joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e524
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push edi
xor edi, edi
and dword [ebp - 0xc], edi
and dword [eax], edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x42e68e
push esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], esi
test esi, esi
je 0x42e67a
push ebx
cmp dword [esi + 4], 2
jne 0x42e619
cmp dword [esi + 0x18], 0
je 0x42e619
cmp dword [esi + 0x10], 0
jbe 0x42e619
cmp dword [esi + 0x10], 0x10
jb 0x42e619
push 0x20
call dword [section..data]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x42e66e
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
and dword [ebx + 0x18], 0
and dword [ebx + 0x14], 0
and dword [ebx + 0x1c], 0
push 0x10
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0x10
call dword [section..data]
mov dword [ebx + 0x18], eax
pop ecx
test eax, eax
je 0x42e662
mov esi, dword [esi + 0x18]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0x14], 0
je 0x42e601
push dword [esi + 0x14]
call dword [0x48e00c]
mov dword [ebx + 0x14], eax
pop ecx
test eax, eax
je 0x42e64b
mov edi, dword [ebp - 4]
test edi, edi
mov eax, dword [ebp - 0xc]
cmove edi, ebx
mov dword [ebp - 4], edi
test eax, eax
je 0x42e616
mov dword [eax + 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov esi, dword [esi + 0x1c]
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x42e566
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 8], 0
pop ebx
je 0x42e63a
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x42e673
push dword [ebp - 4]
call fcn.0042e4e3
pop ecx
xor edi, edi
jmp 0x42e686
push 8
pop esi
push dword [ebx + 0x18]
call dword [0x48e004]
push ebx
call dword [0x48e004]
pop ecx
pop ecx
jmp 0x42e62a
push 8
pop esi
push ebx
call dword [0x48e004]
jmp 0x42e65f
push 8
pop esi
jmp 0x42e62a
mov edi, dword [ebp - 4]
test edi, edi
jne 0x42e686
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x42fc66
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
call fcn.0045b7bb
add esp, 0x18
test eax, eax
je 0x42fc86
cmp eax, 0xffffffff
jne 0x42fc88
xor eax, eax
pop ebp
ret
Function at 0x435ff9
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x48e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x320], esi
mov dword [ebp - 0x31c], esi
mov dword [ebp - 0x314], esi
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x436042
cmp edi, 0xffffffff
jne 0x436042
push ebx
call fcn.0043623f
pop ecx
jmp 0x43622e
test ebx, ebx
jle 0x436060
mov dword [ebp - 0x314], ebx
call fcn.0042e4cd
mov dword [ebp - 0x320], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x31c], edx
mov ecx, esi
mov dword [ebp - 0x20c], esi
or edx, 0xffffffff
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x324], 1
cmp eax, 0xffffffff
je 0x4360a0
mov ecx, dword [ebp - 0x324]
mov edx, eax
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x310], esi
cmp edi, 0xffffffff
je 0x4360ea
mov dword [ebp - 0x30c], edi
mov eax, esi
mov dword [ebp - 0x310], 1
test ecx, ecx
je 0x4360cf
cmp dword [ebp + eax*4 - 0x104], edi
je 0x4360cf
inc eax
cmp eax, ecx
jb 0x4360c1
cmp eax, ecx
jne 0x4360e5
cmp ecx, 0x40
jae 0x4360e5
mov dword [ebp + eax*4 - 0x104], edi
inc dword [ebp - 0x108]
cmp edi, edx
cmova edx, edi
xor ecx, ecx
lea eax, [ebp - 0x32c]
test ebx, ebx
cmovs eax, ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x330], ecx
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x318], eax
test ebx, ebx
jle 0x436134
mov eax, ecx
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x32c], eax
imul eax, edx, 0x3e8
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x318]
jmp 0x436142
jne 0x436142
mov dword [ebp - 0x32c], esi
mov dword [ebp - 0x328], esi
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x330]
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x4361be
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x43617a
cmp eax, 0x2714
jne 0x4361c2
mov ecx, dword [ebp - 0x314]
mov eax, dword [ebp - 0x318]
test ebx, ebx
jle 0x436134
push dword [ebp - 0x31c]
push dword [ebp - 0x320]
call fcn.0042e4cd
push edx
push eax
call fcn.0042e477
mov ecx, ebx
add esp, 0x10
sub ecx, eax
mov dword [ebp - 0x314], ecx
test ecx, ecx
jle 0x4361c2
mov eax, dword [ebp - 0x318]
jmp 0x43610c
test eax, eax
jns 0x4361c7
or eax, 0xffffffff
jmp 0x43622e
jne 0x4361cd
xor eax, eax
jmp 0x43622e
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
je 0x4361ff
lea eax, [ebp - 0x20c]
push eax
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
lea eax, [ebp - 0x108]
push eax
cmovne esi, dword [ebp - 0x324]
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4361ff
or esi, 4
cmp edi, 0xffffffff
je 0x43622c
lea eax, [ebp - 0x310]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x436218
or esi, 2
lea eax, [ebp - 0x108]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43622c
or esi, 4
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a31d
mov esp, ebp
pop ebp
ret
Function at 0x436c6e
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x48e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x436ca9
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.0042b67c
add esp, 0xc
jmp 0x436cd1
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x436cc4
shr eax, 8
test al, al
jne 0x436cc4
xor eax, eax
jmp 0x436cd4
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.0042b67c
pop ecx
pop ecx
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044a31d
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov byte [ebp + 0xa], al
lea eax, [ebp + 8]
mov edi, dword [esi]
push 3
push eax
push dword [esi + 0x130]
mov byte [ebp + 8], 0xff
mov byte [ebp + 9], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43740f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0042b67c
add esp, 0xc
push dword [ebp + 0x10]
push ebx
push str.SENT
push dword [esi]
call fcn.00436de5
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4374ce
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x48e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x90c], ebx
mov esi, dword [ebx]
mov dword [ebp - 0x908], esi
mov edi, dword [esi + 0x8664]
mov eax, dword [edi + 0x1ab0]
sub eax, dword [edi + 0x1aac]
add eax, 2
push eax
lea eax, [edi + 0x18ac]
push eax
push 0x3c
push esi
call fcn.00436ece
mov eax, dword [edi + 0x1aac]
add esp, 0x10
movzx ecx, byte [eax]
inc eax
mov dword [edi + 0x1aac], eax
cmp ecx, 0x18
je 0x43767b
cmp ecx, 0x23
je 0x437657
cmp ecx, 0x27
jne 0x437706
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.0042cfac
mov edi, dword [edi + 0x18a8]
add esp, 0x1c
push 4
pop ebx
test edi, edi
je 0x4375ef
mov ecx, dword [edi]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437580
sub ecx, edx
lea esi, [ebx + 1]
add esi, ecx
cmp esi, 0x7fa
jae 0x4375e2
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push str._127_____127s
push dword [edi]
call fcn.00423c04
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov eax, 0x800
sub eax, ebx
push str._c_s_c_s
push eax
lea eax, [ebp - 0x904]
add eax, ebx
push eax
call fcn.0042cfac
add esp, 0x2c
mov ebx, esi
mov edi, dword [edi + 4]
test edi, edi
jne 0x43757b
mov esi, dword [ebp - 0x908]
push 0xf0
push 0xff
mov eax, 0x800
sub eax, ebx
push 0x47a460
push eax
lea eax, [ebp - 0x904]
add eax, ebx
push eax
call fcn.0042cfac
add esp, 0x14
lea eax, [ebp - 0x904]
add ebx, 2
push 0
push ebx
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0x130]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43764f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0042b67c
add esp, 0xc
lea eax, [ebx - 2]
jmp 0x4376f3
lea edx, [edi + 0x1828]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437662
push 0xf0
mov eax, 0xff
push eax
push edx
push 0
push 0x23
jmp 0x43769d
lea edx, [edi + 0x1808]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437686
push 0xf0
mov eax, 0xff
push eax
push edx
push 0
push 0x18
push 0xfa
push eax
push str._c_c_c_c_s_c_c
sub ecx, edi
lea eax, [ebp - 0x904]
push 0x800
push eax
lea edi, [ecx + 6]
call fcn.0042cfac
add esp, 0x28
lea eax, [ebp - 0x904]
push 0
push edi
push eax
push dword [ebx + 0x130]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4376f0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0042b67c
add esp, 0xc
lea eax, [edi - 2]
push eax
lea eax, [ebp - 0x902]
push eax
push 0x3e
push esi
call fcn.00436ece
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a31d
mov esp, ebp
pop ebp
ret
Function at 0x4383cb
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x48e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x3d0]
mov edi, dword [eax]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [esi + 0x154]
push 0
add eax, 4
push eax
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x43845c
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.0044ba40
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [esi + 0x148], eax
mov ebx, dword [esi + 0x14c]
cmp ebx, 4
jge 0x43848e
push str.Received_too_short_packet
push edi
call fcn.0042b67c
pop ecx
pop ecx
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a31d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x15c]
movzx eax, byte [ecx]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 1]
or edx, eax
mov dword [esi + 0xc], edx
sub edx, 3
je 0x438516
sub edx, 1
je 0x438586
sub edx, 1
je 0x4384ef
sub edx, 1
je 0x4384d4
push str.Internal_error:_Unexpected_packet
push 0x489d8c
push edi
call fcn.0042b67c
jmp 0x438583
lea eax, [ebx - 2]
push eax
lea eax, [ecx + 2]
push eax
push esi
call fcn.0043817e
add esp, 0xc
test eax, eax
je 0x438586
jmp 0x43847d
mov edx, ecx
movzx eax, byte [edx + 2]
shl ax, 8
movzx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
lea eax, [edx + 4]
push eax
push 0x4769dc
push edi
mov dword [esi + 8], ecx
call fcn.0042b712
jmp 0x438583
cmp ebx, 4
jle 0x438586
movzx eax, byte [ecx + 2]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 3]
or edx, eax
movzx eax, word [esi + 0x40]
inc eax
movzx eax, ax
cmp eax, edx
jne 0x438586
lea eax, [ebx - 4]
push eax
lea eax, [ecx + 4]
push eax
push 1
push dword [ebp - 0x8c]
call fcn.0042b46f
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x438567
push 5
push esi
call fcn.00438c20
pop ecx
pop ecx
mov eax, ebx
jmp 0x43847d
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x38], eax
adc dword [edi + 0x3c], edx
push dword [edi + 0x3c]
push dword [edi + 0x38]
push edi
call fcn.00435104
add esp, 0xc
push dword [ebp - 0x8c]
call fcn.004352fc
pop ecx
test eax, eax
je 0x43847b
push 5
push esi
call fcn.00438c20
pop ecx
pop ecx
push 0x2a
pop eax
jmp 0x43847d
Function at 0x43a26e
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x48e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov dword [ebp - 0x1c], 0x10
mov eax, dword [ebx + 0x134]
mov esi, dword [ebx]
mov dword [ebp - 0x18], eax
jmp 0x43a2c0
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
call fcn.00435ff9
add esp, 0xc
cmp eax, 0xffffffff
je 0x43a367
test eax, eax
jne 0x43a2f4
push 1
push 0
push esi
call fcn.0042bdf8
mov ecx, eax
add esp, 0xc
test ecx, ecx
jns 0x43a29b
push str.Timeout_while_waiting_for_server_connect
push esi
call fcn.0042b67c
pop ecx
pop ecx
push 0x1c
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a31d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x43a323
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
push dword [ebp - 0x18]
push ebx
call fcn.0042bb9b
pop ecx
pop ecx
cmp edi, 0xffffffff
jne 0x43a344
push str.Error_accept__ing_server_connect
push esi
call fcn.0042b67c
pop ecx
pop ecx
push 0x1e
jmp 0x43a2e2
push str.Connection_accepted_from_server_n
push esi
call fcn.0042b712
push 1
push edi
mov dword [ebx + 0x134], edi
call fcn.00440751
add esp, 0x10
xor eax, eax
jmp 0x43a2e3
push str.Error_while_waiting_for_server_connect
jmp 0x43a338

Function at 0x43c136
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x64
cdq
xor esi, esi
pop ebx
idiv ebx
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
cmp eax, 2
je 0x43c163
push str.Couldnt_set_desired_mode
push ecx
call fcn.0042b67c
pop ecx
pop ecx
push 0x11
pop eax
jmp 0x43c1ba
cmp dword [ebp + 0xc], 0xc8
je 0x43c17d
push dword [ebp + 0xc]
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ecx
call fcn.0042b712
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x43c18e
push edi
call fcn.0043bd4d
pop ecx
jmp 0x43c1b6
cmp eax, 0x14
jne 0x43c19b
push edi
call fcn.0043b90d
jmp 0x43c18b
cmp eax, 0x15
jne 0x43c1a4
push 0xd
jmp 0x43c1ab
cmp eax, 0x16
jne 0x43c1b8
push 0xe
push 1
push edi
call fcn.0043bdc7
add esp, 0xc
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x440e76
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax + 0x2c]
mov edi, dword [ebx]
mov esi, dword [edi + 0x1a4]
test esi, esi
jne 0x440e91
mov esi, dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.0042e4cd
push edx
push eax
call fcn.0042e477
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x19c], 0
je 0x440edb
push dword [ebx + 0x124]
push dword [ebx + 0x120]
call fcn.0042e4cd
push edx
push eax
call fcn.0042e477
mov ecx, dword [edi + 0x19c]
add esp, 0x10
sub ecx, eax
cmp esi, ecx
cmovl ecx, esi
mov esi, ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x441b2b
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
pop ecx
test edi, edi
je 0x441c17
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x441b94
push ecx
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
call dword [esi + 8]
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x441b9a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
pop ecx
pop ecx
test eax, eax
je 0x441c0f
mov dword [ebp - 8], eax
mov ebx, eax
mov eax, dword [ebp - 4]
push 1
mov al, byte [eax]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov ecx, dword [ebp - 4]
push 1
mov al, byte [ecx]
xor al, 0x5c
inc ecx
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
mov dword [ebp - 4], ecx
call dword [esi + 4]
add esp, 0x18
sub ebx, 1
jne 0x441bb4
mov ebx, dword [ebp - 8]
jmp 0x441c0f
push 1
push 0x47c974
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x47c975
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc ebx
cmp ebx, dword [esi + 0x10]
jb 0x441bf1
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x441c6e
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x442d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x442d8a
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x442d7b
xor eax, eax
jmp 0x442ddd
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x442dbb
cmp dword [esi + 8], 0
jne 0x442dab
push 0x489434
push dword [eax + 8]
call fcn.00452dd5
mov dword [esi + 8], eax
pop ecx
pop ecx
test eax, eax
jne 0x442dab
or eax, 0xffffffff
jmp 0x442ddd
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.00454575
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x442ddb
cmp dword [esi + 8], eax
je 0x442dd5
push dword [esi + 8]
call fcn.0044ffa7
and dword [esi + 8], edi
pop ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x44597d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x48e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], ebx
jge 0x4459b4
xor eax, eax
jmp 0x445aca
mov eax, dword [0x48eeb0]
inc eax
push edi
xor edi, edi
mov dword [0x48eeb0], eax
mov dword [ebp - 0x24], edi
cmp eax, 1
jne 0x4459dd
push edi
call fcn.00452aa1
xor eax, 0xbb40e64e
push eax
call fcn.0045c70a
pop ecx
pop ecx
push ebx
push esi
push dword [ebp - 0x2c]
call fcn.00445afc
mov dword [ebp - 0x28], edi
add esp, 0xc
mov edi, ebx
call fcn.0045c6e9
sar eax, 7
movzx edx, al
push edi
push esi
mov dword [ebp - 0x20], edx
call fcn.00445ada
push edx
push edi
push esi
mov ebx, eax
call fcn.00445b38
mov ecx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x20]
xor al, bl
mov byte [ebp + ecx - 0x10], al
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0xa
jl 0x4459ef
push edi
push esi
push dword [ebp - 0x2c]
call fcn.00445afc
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov edi, dword [ebp - 0x24]
add esp, 0xc
sub eax, ecx
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x18]
push edx
push esi
call fcn.00445ada
movzx ecx, byte [ebp + edi - 0x10]
mov ebx, eax
push ecx
push edx
push esi
call fcn.00445b38
mov cl, byte [ebp + edi - 0x10]
add esp, 0x14
mov eax, dword [ebp - 0x20]
xor cl, bl
add eax, edi
inc edi
mov byte [ebp + eax - 0x10], cl
cmp edi, 0xa
jl 0x445a41
mov edx, dword [ebp - 0x18]
push edx
push esi
call fcn.00445ada
mov esi, dword [ebp + 0x1c]
mov ebx, esi
shr ebx, 0x10
movzx ecx, bl
push ecx
push edx
push dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
call fcn.00445b38
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
xor bl, byte [ebp - 0x24]
mov edx, dword [ebp - 0x30]
push edx
mov byte [eax + edi], bl
call fcn.00445ada
shr esi, 0x18
mov ebx, eax
push esi
push dword [ebp - 0x18]
push edx
call fcn.00445b38
mov ecx, dword [ebp - 0x1c]
mov eax, esi
add esp, 0x28
xor al, bl
mov byte [ecx + edi + 1], al
lea eax, [edi + 2]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a31d
mov esp, ebp
pop ebp
ret

Function at 0x445b38
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, ecx
xor eax, dword [ebp + 0x10]
mov edx, dword [edi + 8]
movzx eax, al
shr ecx, 8
mov eax, dword [esi + eax*4]
xor eax, ecx
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx ecx, al
mov eax, dword [ebp + 0x10]
xor edx, dword [esi + ecx*4]
mov dword [edi + 8], edx
pop edi
pop esi
pop ebp
ret