joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e260
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x90
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [ebp + 0x3c8]
push edi
mov edi, dword [ebp]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x43e2e9
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.0048b710
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 0x148], edx
mov ecx, dword [esi + 0x14c]
cmp ecx, 4
jge 0x43e325
push str.Received_too_short_packet
mov eax, edi
call fcn.00433ce0
add esp, 4
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488f53
add esp, 0x90
ret
mov edx, dword [esi + 0x15c]
movzx ax, byte [edx]
movzx edx, byte [edx + 1]
shl ax, 8
movzx eax, ax
or eax, edx
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x43e34b
jmp dword [eax*4 + 0x43e46c]
cmp ecx, 4
jle case.0x43e34b.4
mov eax, dword [esi + 0x15c]
movzx dx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl dx, 8
movzx edx, dx
or edx, eax
movzx eax, word [esi + 0x40]
inc eax
and eax, 0xffff
cmp eax, edx
jne case.0x43e34b.4
mov edx, dword [esi + 0x15c]
add edx, 4
push edx
add ecx, 0xfffffffc
mov edx, 1
mov eax, ebp
call fcn.004340c0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43e3ba
mov ecx, 5
mov eax, esi
call fcn.0043df50
mov eax, ebx
jmp 0x43e30c
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x38], eax
mov eax, dword [edi + 0x38]
adc dword [edi + 0x3c], edx
mov dword [edi + 0x458], eax
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x45c], ecx
jmp case.0x43e34b.4
mov eax, dword [esi + 0x15c]
movzx dx, byte [eax + 2]
shl dx, 8
movzx ecx, dx
movzx edx, byte [eax + 3]
mov eax, dword [esi + 0x15c]
or ecx, edx
add eax, 4
push eax
mov dword [esi + 8], ecx
push 0x4baaa4
mov ecx, edi
call fcn.00433c20
jmp 0x43e442
add ecx, 0xfffffffe
push ecx
mov ecx, dword [esi + 0x15c]
add ecx, 2
push ecx
push esi
call fcn.0043d170
add esp, 0xc
test eax, eax
je case.0x43e34b.4
jmp 0x43e30c
push str.Internal_error:_Unexpected_packet
push 0x4badd0
mov eax, edi
call fcn.00433ce0
add esp, 8
push ebp
call fcn.00439c90
add esp, 4
test eax, eax
je 0x43e30a
mov ecx, 5
mov eax, esi
call fcn.0043df50
mov eax, 0x2a
jmp 0x43e30c
Function at 0x43e510
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov ebx, dword [edi + 0x3c8]
lea eax, [esp + 0xc]
push eax
mov eax, edi
mov dword [esp + 0x18], esi
call fcn.0043e480
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], 0
test eax, eax
jg 0x43e565
push str.TFTP_response_timeout
mov eax, esi
call fcn.00433ce0
add esp, 4
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x43e597
mov eax, ebx
call fcn.0043df50
test eax, eax
jne 0x43e6d4
cmp dword [ebx], 3
mov edx, dword [ebp + 0xc]
sete al
mov dword [edx], eax
test eax, eax
je 0x43e6d2
mov eax, edi
jmp 0x43e6bb
mov edi, dword [ebx + 0x14]
cmp edi, 0xffffffff
je 0x43e6d2
mov eax, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], eax
mov dword [esp + 0x228], 0
lea esi, [edi + 1]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x43e618
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x43e5cc
cmp dword [0x4cbda8], 0
jne 0x43e652
cmp eax, 0x2714
je 0x43e5cc
jmp 0x43e652
test eax, eax
jl 0x43e652
je 0x43e6d2
lea ecx, [esp + 0x18]
push ecx
push edi
xor esi, esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43e638
mov esi, 1
lea edx, [esp + 0x120]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43e64d
or esi, 4
cmp esi, 0xffffffff
jne 0x43e688
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 8]
push ecx
mov edi, eax
call fcn.00452ce0
add esp, 4
push eax
mov eax, dword [esp + 0x18]
push 0x4badd0
call fcn.00433ce0
add esp, 8
mov dword [ebx + 0xc], 5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x43e6d2
mov esi, dword [ebp + 8]
push esi
call fcn.0043e260
add esp, 4
test eax, eax
jne 0x43e6d4
mov ecx, dword [ebx + 0xc]
mov eax, ebx
call fcn.0043df50
test eax, eax
jne 0x43e6d4
cmp dword [ebx], 3
mov edx, dword [ebp + 0xc]
sete al
mov dword [edx], eax
test eax, eax
je 0x43e6d2
mov eax, esi
push 0
push 0
push 0
or edx, 0xffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
or ecx, edx
call fcn.0044a0f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443140
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
sub esp, 0x24
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x138]
mov ebp, dword [edi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
or esi, 0xffffffff
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x443197
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov esi, eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4431b9
cmp ebx, dword [edi + 0x138]
jne 0x4431f5
cmp dword [edi + 0x140], 0
je 0x4431f5
mov dword [edi + 0x140], 0
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call fcn.00431cb0
add esp, 4
cmp esi, 0xffffffff
jne 0x443201
push str.Error_accept__ing_server_connect
mov eax, ebp
call fcn.00433ce0
add esp, 4
mov eax, 0x1e
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00488f53
add esp, 0x24
ret
mov ecx, dword [edi + 0x2c]
push ebx
push ecx
call eax
add esp, 8
jmp 0x4431c9
push str.Connection_accepted_from_server_n
mov ecx, ebp
call fcn.00433c20
add esp, 4
lea edx, [esp + 0x18]
push edx
push 0x8004667e
mov ebx, 1
push esi
mov dword [edi + 0x138], esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [edi + 0x140], ebx
mov eax, dword [ebp + 0x16c]
test eax, eax
je 0x443279
mov ecx, dword [ebp + 0x170]
push ebx
push esi
push ecx
call eax
add esp, 0xc
test eax, eax
je 0x443279
mov eax, edi
call fcn.0042fcf0
mov dword [edi + 0x138], 0xffffffff
lea eax, [ebx + 0x29]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00488f53
add esp, 0x24
ret
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00488f53
add esp, 0x24
ret
Function at 0x4458e0
Capabilities:
Check http status code

Disassembly:
push ecx
push ebx
mov ebx, eax
mov ecx, dword [ebx]
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
push ebp
mov ebp, dword [esp + 0x10]
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
cmp eax, 2
je 0x44591b
push str.Couldnt_set_desired_mode
mov eax, ecx
call fcn.00433ce0
add esp, 4
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp edi, 0xc8
je 0x445931
push edi
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.00433c20
add esp, 8
cmp ebp, 0x13
jne 0x445946
push ebx
call fcn.00444700
add esp, 4
mov esi, eax
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ebp, 0x14
jne 0x44595b
push ebx
call fcn.00444790
add esp, 4
mov esi, eax
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ebp, 0x15
jne 0x445973
push 0xd
push 1
call fcn.00444ba0
add esp, 8
mov esi, eax
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ebp, 0x16
jne 0x445986
push 0xe
push 1
call fcn.00444ba0
add esp, 8
mov esi, eax
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4484c0
Capabilities:
Parse pe header

Disassembly:
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x4484cb
jmp dword [ecx*4 + 0x448520]
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 0x44a200
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x44a236
push eax
push str.WSAStartup_failed___d_
mov eax, esi
call fcn.00433ce0
add esp, 8
jmp 0x44a270
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp]
cmp al, 2
jne 0x44a261
shr eax, 8
test al, al
jne 0x44a261
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00488f53
add esp, 0x19c
ret
push str.insufficient_winsock_version_to_support_telnet
mov eax, esi
call fcn.00433ce0
add esp, 4
mov ecx, dword [esp + 0x194]
xor ecx, esp
mov eax, 2
call fcn.00488f53
add esp, 0x19c
ret

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

Disassembly:
push ecx
mov edx, dword [edi + 0x134]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x44a495
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
mov eax, esi
call fcn.00433ce0
add esp, 8
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.0044a350
add esp, 4
pop esi
pop ecx
ret
Function at 0x44ae60
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x910
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x90c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x91c]
push esi
mov esi, dword [ebp]
mov ebx, dword [esi + 0x8684]
mov eax, dword [ebx + 0x1eb4]
sub eax, dword [ebx + 0x1eb0]
push edi
add eax, 2
push eax
lea eax, [ebx + 0x1cb0]
push 0x3c
mov dword [esp + 0x1c], esi
call fcn.0044a8c0
mov eax, dword [ebx + 0x1eb0]
movzx ecx, byte [eax]
inc eax
add esp, 8
mov dword [ebx + 0x1eb0], eax
cmp ecx, 0x18
je 0x44afca
cmp ecx, 0x23
je 0x44afa7
cmp ecx, 0x27
jne 0x44b061
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea ecx, [esp + 0x12c]
push 0x800
push ecx
call sym.SGWPNote.exe_curl_msnprintf
mov esi, dword [ebx + 0x1cac]
add esp, 0x1c
mov edi, 4
test esi, esi
je 0x44af7b
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44af17
sub eax, ebx
lea ebx, [eax + edi + 1]
cmp ebx, 0x7fa
jae 0x44af74
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x9c]
push ecx
push str._127_____127s
push edx
call fcn.0048d213
lea edx, [esp + 0x28]
push edx
push 1
lea eax, [esp + 0xb0]
push eax
push 0
mov ecx, 0x800
push str._c_s_c_s
sub ecx, edi
push ecx
lea edx, [esp + edi + 0x140]
push edx
call sym.SGWPNote.exe_curl_msnprintf
add esp, 0x2c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x44af10
push 0xf0
push 0xff
mov eax, 0x800
push 0x4be540
sub eax, edi
push eax
lea ecx, [esp + edi + 0x128]
push ecx
call sym.SGWPNote.exe_curl_msnprintf
add esp, 0x14
add edi, 2
jmp 0x44b014
lea ecx, [ebx + 0x1c28]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44afb2
push 0xf0
push 0xff
push ecx
push 0
push 0x23
jmp 0x44afeb
lea ecx, [ebx + 0x1c08]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44afd5
push 0xf0
push 0xff
push ecx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
lea ecx, [esp + 0x138]
sub eax, esi
push 0x800
push ecx
lea edi, [eax + 6]
call sym.SGWPNote.exe_curl_msnprintf
add esp, 0x28
mov eax, dword [ebp + 0x134]
push 0
push edi
lea edx, [esp + 0x120]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x44b048
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [esp + 0x18]
push str.Sending_data_failed___d_
call fcn.00433ce0
add esp, 8
mov esi, dword [esp + 0x14]
add edi, 0xfffffffe
push edi
push 0x3e
lea eax, [esp + 0x122]
call fcn.0044a8c0
add esp, 8
mov ecx, dword [esp + 0x91c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488f53
add esp, 0x910
ret
Function at 0x44b080
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
mov eax, dword [eax]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x8684]
mov dword [esp + 0x10], eax
jne 0x44b1c7
lea ebp, [edi + 0x1cb0]
lea esi, [edi + 0x1eb0]
mov dword [esi], ebp
cmp ebp, esi
jae 0x44b0b8
mov byte [ebp], 0xff
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x44b0c3
mov byte [eax], 0xfa
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x44b0ce
mov byte [eax], 0x1f
inc dword [esi]
movzx ecx, word [edi + 0x1ca8]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
movzx edx, word [edi + 0x1caa]
push edx
movzx ebx, ax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
mov eax, dword [esi]
cmp eax, esi
jae 0x44b0fa
mov byte [eax], bl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x44b104
mov byte [eax], bh
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x44b10e
mov byte [eax], cl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x44b118
mov byte [eax], ch
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x44b123
mov byte [eax], 0xff
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x44b12e
mov byte [eax], 0xf0
inc dword [esi]
mov eax, dword [esi]
mov ebx, dword [esp + 0x10]
mov ecx, eax
sub ecx, ebp
sub ecx, 2
push ecx
mov dword [edi + 0x1eb4], eax
mov dword [esi], ebp
lea eax, [edi + 0x1cb2]
push 0x3e
mov esi, ebx
call fcn.0044a8c0
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x134]
add esp, 8
push 0
push 3
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_send]
push edx
call ebp
test eax, eax
jge 0x44b188
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
mov eax, ebx
call fcn.00433ce0
add esp, 8
lea eax, [edi + 0x1cb3]
push 4
push eax
call fcn.0044b6a0
mov ecx, dword [esi + 0x134]
add esp, 8
push 0
push 2
add edi, 0x1cb7
push edi
push ecx
call ebp
test eax, eax
jge 0x44b1c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
mov eax, ebx
call fcn.00433ce0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x44bcf0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.0048d2bc
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x44bd55
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x44bd55
lea edx, [esp]
push edx
call dword [0x4c9978]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00488f53
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00488f53
add esp, 0x108
ret
Function at 0x44d380
Capabilities:
Get hostname

Disassembly:
sub esp, 0x408
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x8658]
cmp byte [ecx], 0
jne 0x44d3e6
push 0x401
lea ecx, [esp + 8]
push ecx
mov byte [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esp + 0x404], 0
test eax, eax
jne 0x44d3e1
lea edx, [esp + 4]
push 0x2e
push edx
call fcn.0048f7a0
add esp, 8
test eax, eax
je 0x44d3db
mov byte [eax], 0
lea ecx, [esp + 4]
jmp 0x44d3e6
mov ecx, str.localhost
push 1
push 0
add esi, 0x408
push esi
xor eax, eax
call fcn.00442f50
mov ecx, dword [esp + 0x414]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.00488f53
add esp, 0x408
ret
Function at 0x4533e0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
push ebx
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x18], ebx
xor ebp, ebp
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x453580
push edi
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x45355e
push esi
cmp dword [edi + 4], 2
jne 0x4534db
cmp dword [edi + 0x18], ebx
je 0x4534db
mov eax, dword [edi + 0x10]
cmp eax, ebx
jbe 0x4534db
cmp eax, 0x10
jb 0x4534db
push 0x20
call dword [0x4c996c]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4534e8
mov edx, dword [edi]
mov dword [esi], edx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
push 0x10
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
call dword [0x4c996c]
add esp, 4
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x4534f2
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x4534c8
push eax
call dword [0x4c9978]
add esp, 4
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x453506
cmp dword [esp + 0x10], ebx
jne 0x4534d2
mov dword [esp + 0x10], esi
cmp ebp, ebx
je 0x4534d9
mov dword [ebp + 0x1c], esi
mov ebp, esi
mov edi, dword [edi + 0x1c]
cmp edi, ebx
jne 0x453423
jmp 0x453522
mov dword [esp + 0x14], 8
jmp 0x453522
push esi
mov dword [esp + 0x18], 8
call dword [0x4c9970]
add esp, 4
jmp 0x453522
mov edx, dword [esi + 0x18]
push edx
mov dword [esp + 0x18], 8
call dword [0x4c9970]
push esi
call dword [0x4c9970]
add esp, 8
mov eax, dword [esp + 0x18]
pop esi
cmp eax, ebx
je 0x453532
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [esp + 0x10], ebx
je 0x453558
mov eax, dword [esp + 0xc]
call fcn.004533a0
mov ecx, dword [esp + 0x24]
mov eax, ebx
pop edi
pop ebp
mov dword [esp + 4], ebx
mov dword [ecx], eax
mov eax, dword [esp + 8]
pop ebx
add esp, 0xc
ret
cmp dword [esp + 0xc], ebx
jne 0x453571
push 0x2af9
mov dword [esp + 0x14], 0x2af9
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x453fc0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
sub esp, 8
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x453ff5
mov edx, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454000
push 0
sub eax, edx
push eax
mov eax, dword [esp + 0xc]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push edx
call fcn.00453f60
add esp, 0x10
ret
Function at 0x454f70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebx, eax
mov eax, dword [ebx + 0x2c]
push esi
push edi
mov edi, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1a8]
test eax, eax
jne 0x454f8f
mov eax, dword [ebx + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
call ebp
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov esi, edx
shr esi, 6
mov edx, esi
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
mov eax, ecx
sub eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
mov edx, eax
mov eax, 0x10624dd3
imul edx
sub ecx, esi
imul ecx, ecx, 0x3e8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, dword [esp + 0x14]
cmp dword [edi + 0x19c], 0
mov ebx, ecx
je 0x455048
call ebp
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov esi, edx
shr esi, 6
mov edx, esi
imul edx, edx, 0x3e8
sub ecx, edx
mov edx, dword [esp + 0x18]
imul ecx, ecx, 0x3e8
mov eax, ecx
sub eax, dword [edx + 0x128]
mov ecx, dword [edx + 0x124]
mov edx, eax
mov eax, 0x10624dd3
imul edx
sub ecx, esi
imul ecx, ecx, 0x3e8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, dword [edi + 0x19c]
mov eax, ecx
cmp ebx, eax
jge 0x45504a
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x4569b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x2c
mov ebx, eax
mov edi, ecx
call dword [0x4c996c]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4569d2
pop edi
pop esi
pop ebx
add esp, 8
ret
lea eax, [esi + 0xc]
lea ecx, [eax + 8]
mov dword [esi], 0x4b38d4
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
cmp ebx, 0x40
jbe 0x456a15
push eax
call dword [0x4b38d4]
mov edx, dword [esi + 4]
push ebx
push edi
push edx
call dword [0x4b38d8]
mov edi, dword [esi + 8]
mov eax, dword [esi + 4]
push eax
add edi, 8
push edi
call dword [0x4b38dc]
add esp, 0x18
mov ebx, 0x10
mov ecx, dword [esi + 4]
push ecx
call dword [0x4b38d4]
mov edx, dword [esi + 8]
push edx
call dword [0x4b38d4]
add esp, 8
xor eax, eax
test ebx, ebx
jbe 0x456a87
push ebp
mov ebp, ebx
mov dword [esp + 0x14], ebx
lea esp, [esp]
movzx eax, byte [edi]
xor al, 0x36
push 1
lea ecx, [esp + 0x17]
mov byte [esp + 0x17], al
mov edx, dword [esi + 4]
push ecx
push edx
call dword [0x4b38d8]
movzx eax, byte [edi]
xor al, 0x5c
push 1
lea ecx, [esp + 0x23]
mov byte [esp + 0x23], al
mov edx, dword [esi + 8]
push ecx
push edx
inc edi
call dword [0x4b38d8]
add esp, 0x18
sub ebp, 1
jne 0x456a40
pop ebp
cmp ebx, 0x40
jae 0x456aba
mov eax, dword [esp + 0x10]
mov edi, 0x40
sub edi, eax
mov edi, edi
mov eax, dword [esi + 4]
push 1
push 0x4b3878
push eax
call dword [0x4b38d8]
mov ecx, dword [esi + 8]
push 1
push 0x4b3879
push ecx
call dword [0x4b38d8]
add esp, 0x18
sub edi, 1
jne 0x456a90
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4575b0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [ebp + 4]
xor ebx, ebx
push edi
mov edi, eax
cmp esi, ebx
je 0x4575d6
mov ecx, esi
call fcn.00476860
push esi
call fcn.00488f48
add esp, 4
mov dword [ebp + 4], ebx
cmp edi, ebx
je 0x45762e
cmp byte [ebp], bl
jne 0x4576b5
push 0x4c0748
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x20], ebx
call fcn.0048ebb9
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x45762e
push 2
push ebx
push eax
call fcn.00491287
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call fcn.0049156a
mov esi, eax
add esp, 4
cmp esi, ebx
jg 0x457637
mov edx, dword [esp + 0x14]
push edx
call fcn.0048dfbb
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [esp + 0x14]
push ebx
push ebx
push eax
call fcn.00491287
lea ecx, [esi + 1]
add esp, 0xc
push ecx
call fcn.0048811b
mov edi, eax
add esp, 4
mov byte [esi + edi], bl
mov edx, dword [esp + 0x14]
push edx
push esi
push 1
push edi
call fcn.0048adde
add esp, 0x10
cmp eax, esi
je 0x45768b
mov eax, dword [esp + 0x14]
push eax
call fcn.0048dfbb
add esp, 4
push edi
call fcn.0048aa26
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0048dfbb
add esp, 4
push esi
push edi
mov eax, ebp
call fcn.004576c0
push edi
mov bl, al
call fcn.0048aa26
add esp, 4
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 4