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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push ebx
push edi
mov edi, dword [ebp + 0x1c]
push dword [ebp + 8]
mov dword [edi], 0
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x42623e
cmp word [ebx + 8], 2
push esi
jne 0x426212
cmp word [ebx + 0xa], 4
jne 0x426212
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x426212
nop dword [eax + eax]
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004260d0
mov dword [edi], eax
test eax, eax
je 0x426232
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x4261f0
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.0044c4bf
add esp, 0x10
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
pop esi
pop edi
mov eax, 8
pop ebx
pop ebp
ret 0x18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x42624e.11001
jmp dword [eax*4 + 0x426278]
pop edi
mov eax, 0x2af9
pop ebx
pop ebp
ret 0x18
pop edi
mov eax, 0x2afa
pop ebx
pop ebp
ret 0x18
pop edi
mov eax, 0x2afb
pop ebx
pop ebp
ret 0x18

Function at 0x427920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.0044c6d5
add esp, 0x18
test eax, eax
je 0x427942
cmp eax, 0xffffffff
jne 0x427944
xor eax, eax
pop ebp
ret
Function at 0x42f9f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x60de7c]
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 0x42fa3d
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.00421b40
add esp, 0xc
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004162c6
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x42fa65
shr eax, 8
test al, al
jne 0x42fa65
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004162c6
mov esp, ebp
pop ebp
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.00421b40
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 2
pop esi
call fcn.004162c6
mov esp, ebp
pop ebp
ret

Function at 0x4301e0
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 0x430228
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.00421b40
add esp, 0xc
push dword [ebp + 0x10]
push ebx
push str.SENT
push dword [esi]
call fcn.0042fb60
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x430450
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x60de7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x90c], edi
mov ebx, dword [edi]
mov dword [ebp - 0x908], ebx
mov esi, dword [ebx + 0x8664]
mov eax, dword [esi + 0x1ab0]
sub eax, dword [esi + 0x1aac]
add eax, 2
push eax
lea eax, [esi + 0x18ac]
push eax
push 0x3c
push ebx
call fcn.0042fc60
mov eax, dword [esi + 0x1aac]
add esp, 0x10
movzx ecx, byte [eax]
inc eax
mov dword [esi + 0x1aac], eax
cmp ecx, 0x18
je 0x430608
cmp ecx, 0x23
je 0x4305e4
cmp ecx, 0x27
jne 0x430696
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.004239d0
mov esi, dword [esi + 0x18a8]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x430583
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430510
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x430571
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push str._127_____127s
push edx
call fcn.00418770
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.004239d0
add esp, 0x2c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x430504
mov ebx, dword [ebp - 0x908]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push 0x45fe98
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.004239d0
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [ebp - 0x904]
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0x130]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4305de
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00421b40
add esp, 0xc
push edi
jmp 0x430684
lea edx, [esi + 0x1828]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4305f0
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x430629
lea edx, [esi + 0x1808]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430613
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x904]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.004239d0
add esp, 0x28
lea eax, [ebp - 0x904]
push 0
push esi
push eax
push dword [edi + 0x130]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x430680
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00421b40
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x902]
push eax
push 0x3e
push ebx
call fcn.0042fc60
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004162c6
mov esp, ebp
pop ebp
ret
Function at 0x431590
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x60de7c]
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]
lea ebx, [esi + 0x15c]
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 [ebx]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x431623
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.0043fdb0
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [esi + 0x148], eax
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x431656
push str.Received_too_short_packet
push edi
call fcn.00421b40
add esp, 8
mov dword [esi + 0xc], 7
push ebx
call fcn.00430eb0
movzx eax, ax
add esp, 4
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x431671
jmp dword [eax*4 + 0x431788]
cmp edx, 4
jle case.0x431671.4
push ebx
call fcn.00430e90
movzx eax, ax
ror byte [ecx + 0x38b0846], 0x83
rol byte [eax + edx*2], 0x68
lodsb al, byte [esi]
mov byte [ebp], 0x57
lea eax, [edx - 2]
push eax
mov eax, dword [ebx]
add eax, 2
push eax
push esi
call fcn.00431310
add esp, 0xc
test eax, eax
je case.0x431671.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004162c6
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x45ce78
push edi
call fcn.00421b40
add esp, 0xc
push dword [ebp - 0x8c]
call fcn.0042de10
add esp, 4
test eax, eax
je 0x431643
push 5
push esi
call fcn.00431e80
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x2a
pop edi
pop esi
pop ebx
call fcn.004162c6
mov esp, ebp
pop ebp
ret
Function at 0x4317a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
cmp eax, 4
ja case.0x4317bd.4
jmp dword [eax*4 + 0x4319bc]
lea eax, [edi + 0x15c]
push eax
call fcn.00430e90
movzx ecx, ax
add esp, 4
movzx eax, word [edi + 0x40]
inc eax
movzx eax, ax
cmp eax, ecx
je 0x4317f9
push eax
push ecx
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
push ebx
call fcn.00421be0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
lea esi, [edi + 0x160]
mov word [edi + 0x40], cx
push 4
push esi
mov dword [edi + 0x18], 0
call fcn.00430ef0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.00430ed0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x43192f
mov eax, dword [edi + 0x154]
xor ecx, ecx
add eax, 4
cmp dword [edi + 0x14c], eax
lea eax, [edi + 0x38]
push eax
setl cl
lea ecx, [ecx*2 + 1]
mov dword [edi], ecx
call fcn.004499ed
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
lea esi, [edi + 0x160]
push 4
push esi
mov word [edi + 0x40], ax
mov dword [edi + 0x18], eax
call fcn.00430ef0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.00430ed0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x43192f
lea eax, [edi + 0x38]
mov dword [edi], 1
push eax
call fcn.004499ed
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
movzx eax, word [edi + 0x40]
inc dword [edi + 0x18]
inc eax
push dword [edi + 0x18]
movzx eax, ax
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebx
call fcn.00421be0
mov eax, dword [edi + 0x18]
add esp, 0x10
cmp eax, dword [edi + 0x20]
jle 0x43190b
mov dword [edi + 8], 0xffffff9d
xor eax, eax
mov dword [edi], 3
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [edi + 0x148]
lea eax, [edi + 0xc8]
push eax
push 0
push 4
push dword [edi + 0x160]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x431995
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [edi + 0x10]
call fcn.00426420
push eax
push 0x45ce78
push ebx
call fcn.00421b40
add esp, 0x14
mov eax, 0x37
pop edi
pop esi
pop ebx
pop ebp
ret
lea esi, [edi + 0x160]
push 5
push esi
call fcn.00430ef0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.00430ed0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [edi], 3
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push str.tftp_rx:_internal_error
push 0x45ce78
push ebx
call fcn.00421b40
add esp, 0xc
mov eax, 0x47
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x431e80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x431e92
jmp dword [edx*4 + 0x431ee8]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004319d0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004317a0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00432090
push str.TFTP_finished
push 0x45c6ac
push eax
call fcn.00421be0
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x45ce78
push eax
call fcn.00421b40
add esp, 0xc
mov eax, 0x47
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x431e92
jmp dword [edx*4 + 0x431ee8]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004319d0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004317a0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00432090
push str.TFTP_finished
push 0x45c6ac
push eax
call fcn.00421be0
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x45ce78
push eax
call fcn.00421b40
add esp, 0xc
mov eax, 0x47
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x431e92
jmp dword [edx*4 + 0x431ee8]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004319d0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004317a0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00432090
push str.TFTP_finished
push 0x45c6ac
push eax
call fcn.00421be0
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x45ce78
push eax
call fcn.00421b40
add esp, 0xc
mov eax, 0x47
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x431e92
jmp dword [edx*4 + 0x431ee8]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004319d0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004317a0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00432090
push str.TFTP_finished
push 0x45c6ac
push eax
call fcn.00421be0
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x45ce78
push eax
call fcn.00421b40
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x433980
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x60de7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax]
or ebx, 0xffffffff
mov edi, dword [eax + 0x134]
push 1
push 0
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x10
call fcn.00422430
mov ecx, eax
add esp, 0xc
test ecx, ecx
js 0x4339f5
nop
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push edi
call fcn.0042ec80
add esp, 0xc
cmp eax, 0xffffffff
je 0x433aa9
test eax, eax
jne 0x433a19
push 1
push eax
push esi
call fcn.00422430
mov ecx, eax
add esp, 0xc
test ecx, ecx
jns 0x4339c0
push str.Timeout_while_waiting_for_server_connect
push esi
call fcn.00421b40
add esp, 8
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004162c6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x433a44
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push edi
mov edi, dword [ebp - 0x1c]
push edi
call fcn.00422130
add esp, 8
cmp ebx, 0xffffffff
jne 0x433a7a
push str.Error_accept__ing_server_connect
push esi
call fcn.00421b40
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004162c6
mov esp, ebp
pop ebp
ret
push str.Connection_accepted_from_server_n
push esi
call fcn.00421be0
push 1
push ebx
mov dword [edi + 0x134], ebx
call fcn.0043aef0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004162c6
mov esp, ebp
pop ebp
ret
push str.Error_while_waiting_for_server_connect
push esi
call fcn.00421b40
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x1e
pop edi
pop esi
pop ebx
call fcn.004162c6
mov esp, ebp
pop ebp
ret

Function at 0x435d70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ecx - 0xc8]
mov edx, dword [edi]
cmp eax, 0x64
jb 0x435d9f
push str.Couldnt_set_desired_mode
push edx
call fcn.00421b40
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebp
ret
cmp ecx, 0xc8
je 0x435db6
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edx
call fcn.00421be0
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x435dcd
push edi
call fcn.004358b0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x14
jne 0x435de1
push edi
call fcn.004353a0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x15
jne 0x435df5
push edi
call fcn.00435810
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x16
jne 0x435e05
push edi
call fcn.00435890
mov esi, eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x438fd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438f50
Function at 0x43c160
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov 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 0x43ce10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
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 [0x60de94]
mov edi, eax
add esp, 4
test edi, edi
jne 0x43ce3d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
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 0x43ce84
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x43ce8a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x43ceeb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x43ceb0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x43cf17
mov eax, dword [esi + 4]
push 1
push 0x462754
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x462755
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x43cef0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43cf40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x43cf73
push 0x2e
push edi
call fcn.00440ca0
add esp, 8
test eax, eax
je 0x43cf71
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x43d970
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x60de7c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00440330
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jg 0x43d9e2
cmp dword [ebp - 0x118], 2
jg 0x43d9e2
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004162c6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004162c6
mov esp, ebp
pop ebp
ret

Function at 0x43da40
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 0x43da6c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x43da5d
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x43daa0
cmp dword [esi + 8], 0
jne 0x43da90
push 0x4628fc
push dword [eax + 8]
call fcn.00444201
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x43da90
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.00449c87
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x43dac2
mov eax, dword [esi + 8]
test eax, eax
je 0x43dabc
push eax
call fcn.00443f6e
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x44ff29
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044fbe9

Function at 0x452fb1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00452e30
Function at 0x10001740
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push esi
xor esi, esi
push esi
push 4
push esi
push 0x1000161b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xfffffffffffffff1
push eax
mov dword [0x100032b4], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x10001777
push dword [0x100032b4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1000178a
push esi
push dword [0x100032b4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x100032b4], esi
pop esi
ret

Function at 0x427e1e
Capabilities:
Encode data using xor

Disassembly:
jno 0x427de0
cmp eax, 0xbd78c030
inc ebp
imul ebp, dword [ecx - 0x4287cff3], 0x42067a3d
xor dword [eax], ebx
pop ebp
aaa
cmp eax, 0xbd78c030
inc ebp
pop ebp
test eax, 0xbd78300d
cmp eax, 0x31420686
sbb byte [ecx + 0x37], cl
inc edx
xor dword [eax], ebx
dec ecx
aaa
cmp eax, 0xbd78c030
inc ebp
cdq
test al, 0xd
xor byte [eax - 0x43], bh
cmp eax, 0x31420692
sbb byte [0xc0303d37], dh
or eax, 0x3dbd7830
xchg edx, eax
push es
inc edx
xor dword [eax], ebx
xor eax, 0xc0303d37
sar byte [eax - 0x43], 0x45
js 0x427da7
mov ebp, 0xda88d45
xor byte [eax - 0x43], bh
inc ebp
lea ebp, [eax - 0x4287cff3]
cmp eax, 0x3142069e
sbb byte [ecx], ah
cmp eax, 0xbd78c030
inc ebp
mov dword [eax - 0x4287cff3], ebp
cmp eax, 0x314206aa
sbb byte [0xc0303d36], cl
js 0x427dcf
cmp eax, 0x30f6089d
js 0x427dcc
hlt
xchg esi, eax
xor ah, bh
cld
cld
cld
js 0x427dd9
sbb al, 0x58
js 0x427de7
inc ebp
insd dword es:[edi], dx
test al, 0xd
xor byte [eax - 0x43], bh
cmp eax, 0x3142039e
sbb cl, ah
cmp eax, 0xbd78c030
inc ebp
jno 0x427de9
or eax, 0x3dbd7830
stosb byte es:[edi], al
add eax, dword [edx + 0x31]
sbb ch, cl
cmp eax, 0xbd78c030
int 0x36
cmp eax, 0xbd78c030
inc ebp
insd dword es:[edi], dx
test al, 0xd
xor byte [eax - 0x43], bh
cmp eax, 0x314203b6
sbb byte [ecx - 0x3fcfc2ca], bh
js 0x427e23
inc ebp
imul ebp, dword [eax - 0x4287cff3], 0x4203c23d
xor dword [eax], ebx
movsd dword es:[edi], dword [esi]
cmp eax, 0xbd78c030
inc ebp
test al, 0xd
xor byte [eax - 0x43], bh
cmp eax, 0x314203ce
sbb byte [ecx - 0x3fcfc2ca], dl
js 0x427e4b
inc ebp
adc dword [eax - 0x4287cff3], ebp
cmp eax, 0x314203da
sbb byte [ebp + 0x36], bh
inc edx
xor dword [eax], ebx
jge 0x427ed3
cmp eax, 0xbd78c030
inc ebp
sbb eax, 0x78300da8
mov ebp, 0x4203e63d
xor dword [eax], ebx
imul esi, dword [esi], 0x78c0303d
mov ebp, 0xda82945
xor byte [eax - 0x43], bh
cmp eax, 0x314203f2
sbb byte [ebp + 0x36], dl
cmp eax, 0xbd78c030
inc ebp
and eax, 0x78300da8
mov ebp, 0x4203fe3d
xor dword [eax], ebx
inc ecx
cmp eax, 0xbd78c030
add eax, dword [edx + 0x31]
sbb byte [ecx + 0x36], al
cmp eax, 0xbd78c030
cmp eax, 0x30f607f1
js 0x427e98
hlt