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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x4130cc
push edi
mov edi, dword [ebp - 0xc]
cmp edi, ebx
je 0x4130b1
push esi
cmp dword [edi + 4], 2
jne 0x41304b
cmp dword [edi + 0x18], ebx
je 0x41304b
mov eax, dword [edi + 0x10]
cmp eax, ebx
jbe 0x41304b
cmp eax, 0x10
jb 0x41304b
push 0x20
call dword [0x5476e4]
mov esi, eax
pop ecx
cmp esi, ebx
je 0x413058
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 0x10
mov dword [esi + 0xc], eax
pop eax
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
call dword [0x5476e4]
pop ecx
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x413061
push 0x10
push dword [edi + 0x18]
push eax
call fcn.00443e60
mov eax, dword [edi + 0x14]
add esp, 0xc
cmp eax, ebx
je 0x413036
push eax
call dword [0x5476f0]
pop ecx
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x413071
cmp dword [ebp - 4], ebx
jne 0x41303e
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x413048
mov dword [eax + 0x1c], esi
mov dword [ebp - 0x10], esi
mov edi, dword [edi + 0x1c]
cmp edi, ebx
jne 0x412fac
jmp 0x41308a
mov dword [ebp - 8], 8
jmp 0x41308a
push esi
mov dword [ebp - 8], 8
call dword [0x5476e8]
jmp 0x413089
push dword [esi + 0x18]
mov dword [ebp - 8], 8
call dword [0x5476e8]
push esi
call dword [0x5476e8]
pop ecx
pop ecx
pop esi
cmp dword [ebp - 0xc], ebx
je 0x413099
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 8], ebx
je 0x4130ac
push dword [ebp - 4]
call fcn.00412f2e
pop ecx
mov dword [ebp - 4], ebx
jmp 0x4130c0
cmp dword [ebp - 4], ebx
jne 0x4130c0
mov eax, 0x2af9
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret

Function at 0x414459
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.00446b1f
add esp, 0x18
test eax, eax
je 0x41447b
cmp eax, 0xffffffff
jne 0x41447d
xor eax, eax
pop ebp
ret
Function at 0x414d7d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 8]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x414d8c
jmp dword [eax*4 + 0x414e01]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret
mov al, byte [ebp + 8]
pop ebp
ret
Function at 0x41ee71
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push edi
push 3
pop ebx
sub eax, ebx
mov dword [ebp - 4], edx
je 0x41efb5
dec eax
dec eax
je 0x41ef71
dec eax
je 0x41ef18
dec eax
je 0x41eeb8
push str.tftp_rx:_internal_error
push 0x500750
push edx
call fcn.00410708
add esp, 0xc
push 0x47
jmp 0x41f058
movzx eax, word [esi + 0x40]
inc dword [esi + 0x18]
push dword [esi + 0x18]
inc eax
and eax, 0xffff
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push edx
call fcn.0041069e
mov eax, dword [esi + 0x18]
add esp, 0x10
cmp eax, dword [esi + 0x20]
jle 0x41eeeb
mov dword [esi + 8], 0xffffff9d
jmp 0x41efae
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push 0
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x41f091
jmp 0x41f036
xor eax, eax
and dword [esi + 0x18], eax
mov word [esi + 0x40], ax
push 4
pop ecx
lea eax, [esi + 0x160]
call fcn.0041ebe8
mov cx, word [esi + 0x40]
lea eax, [esi + 0x160]
call fcn.0041ebf9
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push 0
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x41f036
mov dword [esi], 1
jmp 0x41f075
push 5
pop ecx
lea eax, [esi + 0x160]
call fcn.0041ebe8
mov cx, word [esi + 0x40]
lea eax, [esi + 0x160]
call fcn.0041ebf9
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push 0
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esi], ebx
jmp 0x41f091
lea eax, [esi + 0x15c]
call fcn.0041ec1a
movzx edi, ax
movzx eax, word [esi + 0x40]
lea ecx, [eax + 1]
and ecx, 0xffff
cmp ecx, edi
jne 0x41efda
and dword [esi + 0x18], 0
jmp 0x41eff1
cmp eax, edi
jne 0x41f081
push edi
push str.Received_last_DATA_packet_block__d_again._n
push edx
call fcn.0041069e
add esp, 0xc
push 4
pop ecx
lea eax, [esi + 0x160]
mov word [esi + 0x40], di
call fcn.0041ebe8
mov cx, word [esi + 0x40]
lea eax, [esi + 0x160]
call fcn.0041ebf9
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push 0
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x41f05b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esi + 0x10]
call fcn.00414bcb
push eax
push 0x500750
push dword [ebp - 4]
call fcn.00410708
add esp, 0x14
push 0x37
pop eax
jmp 0x41f093
mov eax, dword [esi + 0x154]
xor ecx, ecx
add eax, 4
cmp dword [esi + 0x14c], eax
setl cl
lea ecx, [ecx + ecx + 1]
mov dword [esi], ecx
add esi, 0x38
push esi
call fcn.00447021
pop ecx
jmp 0x41f091
push ecx
push edi
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
push edx
call fcn.0041069e
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f67b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x10]
push str.Connected_for_receive
push 0x500944
push dword [eax]
call fcn.0041069e
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.0041eaa5
test eax, eax
jne 0x41f6ae
mov eax, esi
pop ebp
jmp fcn.0041ee71
pop ebp
ret
Function at 0x41f9bb
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x547e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
push esi
mov esi, dword [eax + 0x420]
push edi
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 0x41fa4c
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.00443e60
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [esi + 0x148], eax
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x41fa7c
push str.Received_too_short_packet
push ebx
call fcn.00410708
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.00446098
leave
ret
lea eax, [esi + 0x15c]
call fcn.0041ec0b
movzx eax, ax
mov dword [esi + 0xc], eax
sub eax, 3
je 0x41fafd
dec eax
je 0x41fb6b
dec eax
je 0x41fad5
dec eax
je 0x41fab4
push str.Internal_error:_Unexpected_packet
push 0x500750
push ebx
call fcn.00410708
jmp 0x41fb68
mov eax, dword [esi + 0x15c]
add edx, 0xfffffffe
push edx
add eax, 2
push eax
push esi
call fcn.0041ec99
add esp, 0xc
test eax, eax
je 0x41fb6b
jmp 0x41fa6d
lea eax, [esi + 0x15c]
call fcn.0041ec1a
movzx eax, ax
mov dword [esi + 8], eax
mov eax, dword [esi + 0x15c]
add eax, 4
push eax
push 0x500944
push ebx
call fcn.0041069e
jmp 0x41fb68
cmp edx, 4
jle 0x41fb6b
lea eax, [esi + 0x15c]
call fcn.0041ec1a
movzx ecx, word [esi + 0x40]
inc ecx
cmp cx, ax
jne 0x41fb6b
mov eax, dword [esi + 0x15c]
add edx, 0xfffffffc
push edx
add eax, 4
push eax
push 1
push dword [ebp - 0x8c]
call fcn.0041095e
mov edi, eax
add esp, 0x10
test edi, edi
je 0x41fb4c
push 5
mov eax, esi
call fcn.0041f94c
pop ecx
mov eax, edi
jmp 0x41fa6d
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x70], eax
adc dword [ebx + 0x74], edx
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push ebx
call fcn.00417a2a
add esp, 0xc
push dword [ebp - 0x8c]
call fcn.00417ae8
pop ecx
test eax, eax
je 0x41fa6b
push 5
mov eax, esi
call fcn.0041f94c
pop ecx
push 0x2a
pop eax
jmp 0x41fa6d

Function at 0x42104b
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x547e80]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x421082
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.00410708
add esp, 0xc
jmp 0x4210af
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [ebp - 0x194], 2
jne 0x4210a2
mov eax, dword [ebp - 0x194]
shr eax, 8
test al, al
jne 0x4210a2
xor eax, eax
jmp 0x4210b2
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.00410708
pop ecx
pop ecx
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446098
leave
ret
Function at 0x4211ec
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
mov al, byte [ebp + 8]
push 0
mov byte [ebp - 3], al
push 3
lea eax, [ebp - 4]
mov esi, ecx
mov edi, dword [esi]
push eax
push dword [esi + 0x154]
mov byte [ebp - 4], 0xff
mov byte [ebp - 2], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x421233
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.00410708
add esp, 0xc
mov edx, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, ebx
mov ebx, str.SENT
call fcn.00421123
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421a12
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x910
mov eax, dword [0x547e80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x7f
xor edi, edi
lea eax, [ebp - 0x103]
push edi
push eax
mov byte [ebp - 0x104], 0
call fcn.004463e0
push 0x7f
lea eax, [ebp - 0x83]
push edi
push eax
mov byte [ebp - 0x84], 0
call fcn.004463e0
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x128]
mov eax, dword [esi + 0x1eb4]
sub eax, dword [esi + 0x1eb0]
mov dword [ebp - 0x908], ecx
add eax, 2
push eax
push 0x3c
lea eax, [esi + 0x1cb0]
push ecx
call fcn.004214ac
mov eax, dword [esi + 0x1eb0]
movzx ecx, byte [eax]
add esp, 0x24
inc eax
mov dword [esi + 0x1eb0], eax
cmp ecx, 0x18
je 0x421bcb
cmp ecx, 0x23
je 0x421ba7
cmp ecx, 0x27
jne 0x421c5d
push edi
push ecx
push 0xfa
mov edi, 0xff
push edi
push 0x504b98
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.00413966
mov esi, dword [esi + 0x1cac]
add esp, 0x1c
mov dword [ebp - 0x910], 4
jmp 0x421b6b
push dword [esi]
call fcn.00445aa0
inc eax
add eax, dword [ebp - 0x910]
pop ecx
mov dword [ebp - 0x90c], eax
cmp eax, 0x7fa
jae 0x421b68
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push str._127_____127s
push dword [esi]
call fcn.004470e0
add esp, 0x10
test eax, eax
je 0x421b68
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x910]
push 0
mov ecx, 0x800
sub ecx, eax
push str._c_s_c_s
push ecx
lea eax, [ebp + eax - 0x904]
push eax
call fcn.00413966
mov eax, dword [ebp - 0x90c]
add esp, 0x1c
mov dword [ebp - 0x910], eax
mov esi, dword [esi + 4]
test esi, esi
jne 0x421aea
mov eax, dword [ebp - 0x910]
push 0xf0
push edi
mov ecx, 0x800
sub ecx, eax
push 0x504b74
push ecx
lea eax, [ebp + eax - 0x904]
push eax
call fcn.00413966
mov esi, dword [ebp - 0x910]
add esp, 0x14
add esi, 2
jmp 0x421c0f
add esi, 0x1c28
push esi
mov dword [ebp - 0x90c], esi
call fcn.00445aa0
push 0xf0
mov edi, 0xff
push edi
push esi
push 0
push 0x23
jmp 0x421bed
add esi, 0x1c08
push esi
mov dword [ebp - 0x90c], esi
call fcn.00445aa0
push 0xf0
mov edi, 0xff
push edi
push esi
push 0
push 0x18
push 0xfa
push edi
push str._c_c_c_c_s_c_c
lea esi, [eax + 6]
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.00413966
add esp, 0x2c
push 0
push esi
lea eax, [ebp - 0x904]
push eax
push dword [ebx + 0x154]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x421c43
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push dword [ebp - 0x908]
call fcn.00410708
add esp, 0xc
add esi, 0xfffffffe
push esi
push 0x3e
push dword [ebp - 0x908]
lea eax, [ebp - 0x902]
call fcn.004214ac
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00446098
leave
ret
Function at 0x421d8e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0x1f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
mov ebx, dword [eax + 0x128]
mov dword [ebp - 4], eax
jne 0x421edb
push esi
push edi
lea edi, [ebx + 0x1cb0]
lea esi, [ebx + 0x1eb0]
mov dword [esi], edi
cmp edi, esi
jae 0x421dc4
mov byte [edi], 0xff
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x421dcf
mov byte [eax], 0xfa
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x421dda
mov byte [eax], 0x1f
inc dword [esi]
movzx eax, word [ebx + 0x1ca8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [ebp + 0xc], eax
movzx eax, word [ebx + 0x1caa]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
mov eax, dword [esi]
cmp eax, esi
jae 0x421e0c
mov dl, byte [ebp + 0xc]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x421e19
mov dl, byte [ebp + 0xd]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x421e23
mov byte [eax], cl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x421e2d
mov byte [eax], ch
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x421e38
mov byte [eax], 0xff
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x421e43
mov byte [eax], 0xf0
inc dword [esi]
mov ecx, dword [esi]
mov eax, ecx
sub eax, edi
sub eax, 2
push eax
push 0x3e
push dword [ebp - 4]
lea eax, [ebx + 0x1cb2]
mov dword [ebx + 0x1eb4], ecx
mov dword [esi], edi
call fcn.004214ac
mov esi, dword [sym.imp.WS2_32.dll_send]
add esp, 0xc
push 0
push 3
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x154]
call esi
test eax, eax
jns 0x421e99
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push dword [ebp - 4]
call fcn.00410708
add esp, 0xc
lea eax, [ebx + 0x1cb3]
push 4
push eax
call fcn.00421c6b
pop ecx
pop ecx
push 0
push 2
add ebx, 0x1cb7
push ebx
mov eax, edi
push dword [eax + 0x154]
call esi
pop edi
pop esi
test eax, eax
jns 0x421edb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push dword [ebp - 4]
call fcn.00410708
add esp, 0xc
pop ebx
leave
ret
Function at 0x4227df
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x547e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x158]
push ebx
push edi
mov edi, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x1c], eax
or ebx, 0xffffffff
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x422833
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push dword [ebp - 0x1c]
push esi
call fcn.00412787
pop ecx
pop ecx
cmp ebx, 0xffffffff
jne 0x422855
push str.Error_accept__ing_server_connect
push edi
call fcn.00410708
pop ecx
pop ecx
push 0x1e
pop eax
jmp 0x4228ab
push str.Connection_accepted_from_server_n
push edi
call fcn.0041069e
push 1
push ebx
mov dword [esi + 0x158], ebx
call fcn.0042f2fd
xor ecx, ecx
inc ecx
mov dword [esi + 0x168], ecx
mov eax, dword [edi + 0x1b0]
add esp, 0x10
test eax, eax
je 0x4228a9
push ecx
push ebx
push dword [edi + 0x1b4]
call eax
add esp, 0xc
test eax, eax
je 0x4228a9
push ebx
push esi
call fcn.00412787
or dword [esi + 0x158], 0xffffffff
pop ecx
pop ecx
push 0x2a
jmp 0x422852
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00446098
leave
ret
Function at 0x425918
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x64
cdq
pop ebx
idiv ebx
mov ecx, dword [esi]
xor edi, edi
cmp eax, 2
je 0x425941
push str.Couldnt_set_desired_mode
push ecx
call fcn.00410708
pop ecx
pop ecx
push 0x11
pop eax
jmp 0x425997
cmp dword [ebp + 8], 0xc8
je 0x42595b
push dword [ebp + 8]
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ecx
call fcn.0041069e
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp eax, 0x13
jne 0x42596c
push esi
call fcn.004258b1
pop ecx
jmp 0x425993
cmp eax, 0x14
jne 0x425979
push esi
call fcn.004231e2
jmp 0x425969
cmp eax, 0x15
jne 0x425987
mov eax, esi
call fcn.00425900
jmp 0x425993
cmp eax, 0x16
jne 0x425995
mov eax, esi
call fcn.0042590c
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop ebp
ret

Function at 0x42bb4c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.004103aa
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004527f2
add esp, 0x10
pop ebp
ret

Function at 0x42f49d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1ec]
test esi, esi
jne 0x42f4b8
mov esi, dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.00410335
push edx
push eax
call fcn.0041034b
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x1e0], 0
je 0x42f501
push dword [ebx + 0x148]
push dword [ebx + 0x144]
call fcn.00410335
push edx
push eax
call fcn.0041034b
mov edi, dword [edi + 0x1e0]
sub edi, eax
add esp, 0x10
cmp esi, edi
jl 0x42f501
mov esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x4316f4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
cmp dword [eax + 4], 2
push edi
jne 0x43171a
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x43170b
xor eax, eax
jmp 0x43176d
push dword [eax + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call ecx
jmp 0x43174b
cmp dword [esi + 8], 0
jne 0x43173b
push 0x508154
push dword [eax + 8]
call fcn.0044892c
pop ecx
pop ecx
mov dword [esi + 8], eax
test eax, eax
jne 0x43173b
or eax, 0xffffffff
jmp 0x43176d
push dword [esi + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0044734c
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x43176b
mov eax, dword [esi + 8]
test eax, eax
je 0x431765
push eax
call fcn.004486c4
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 ebp
ret
Function at 0x432b74
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x5476e4]
mov edi, eax
pop ecx
test edi, edi
je 0x432c52
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xc]
add ecx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x432bd6
push eax
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov ebx, dword [edi + 8]
add ebx, dword [esi + 0xc]
push dword [edi + 4]
push ebx
call dword [esi + 8]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esi + 0x14]
add esp, 0x18
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
and dword [ebp - 4], 0
pop ecx
pop ecx
test ebx, ebx
je 0x432c25
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov al, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
inc ebx
mov dword [ebp + 0xc], ebx
call dword [esi + 4]
add esp, 0x18
dec dword [ebp - 8]
jne 0x432bf0
pop ebx
jmp 0x432c48
push 1
push 0x5084f7
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x5084f8
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x10]
jb 0x432c28
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x43e45e
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push 0x2b8
mov eax, 0x4fcba0
call fcn.00446110
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0xf
pop edi
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
lea eax, [ebp - 0x2c0]
push eax
push 0x202
mov dword [ebp - 4], ebx
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x43e4bd
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00402245
jmp 0x43e51b
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.004463e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x114]
push eax
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x43e4a5
lea eax, [ebp - 0x114]
push eax
call sub.WS2_32.dll_gethostbyname
xor edi, edi
cmp eax, ebx
je 0x43e50e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.WS2_32.dll_inet_ntoa
mov edi, eax
call sub.WS2_32.dll_WSACleanup
push edi
mov ecx, esi
call fcn.004021e8
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.0040152e
mov eax, esi
call fcn.00446193
ret 4