joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d5e1
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
mov ebx, dword [eax + 0x9c]
test ebx, ebx
push esi
push edi
mov edi, dword [ebp + 0x334]
mov dword [esp + 0x18], eax
jne 0x44d612
mov eax, dword [eax + 0x98]
test eax, eax
mov ebx, eax
jne 0x44d612
mov ebx, 0x12c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul ebx, ebx, 0x3e8
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [edi + 0x18]
call esi
push dword [edi + 0x14]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [edi + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [edi + 0x18]
and dword [edi + 0x14], 0
call ebx
xor ebx, ebx
cmp dword [esp + 0x10], ebx
mov dword [edi + 0x18], ebx
jne 0x44d66f
push 0x1388
push dword [edi]
call esi
cmp eax, 0x102
jne 0x44d6ba
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ebx, [edi + 8]
mov byte [ebp + 0x32c], 1
or dword [ebx], 0xffffffff
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
je 0x44d68e
mov ecx, dword [ebp + 0x328]
mov dword [eax], ecx
cmp dword [ebp + 0x328], edi
jne 0x44d726
mov ebx, dword [ebx]
push 0x1b
pop edi
cmp ebx, edi
jne 0x44d6d4
mov esi, dword [esp + 0x18]
push str.out_of_memory
push str.Could_not_resolve_host:__s
call fcn.00444475
pop ecx
pop ecx
jmp 0x44d726
push dword [ebp + 0x330]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea ebx, [edi + 8]
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x44d67c
cmp ebx, 0xffffffff
je 0x44d710
mov ebx, dword [ebp + 0x330]
cmp ebx, 0x2afc
je 0x44d710
cmp byte [ebp + 0x32c], 0
je 0x44d723
mov eax, ebp
call fcn.0044cb88
mov esi, dword [esp + 0x18]
push eax
push dword [ebp + 0x34]
push str.Could_not_resolve_host:__s___s
call fcn.00444475
add esp, 0xc
push 6
jmp 0x44d725
push dword [ebp + 0x34]
mov esi, dword [esp + 0x1c]
push str.Resolving_host_timed_out:__s
call fcn.00444475
pop ecx
pop ecx
push 0x1c
pop edi
lea eax, [ebp + 0x320]
push eax
call fcn.0044d3c8
cmp dword [ebp + 0x328], 0
pop ecx
jne 0x44d743
mov byte [ebp + 0xe4], 1
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x44d77c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
mov esi, dword [edi]
mov ebx, eax
and dword [ebx], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
push dword [ebp + 0xc]
push dword [ebp + 8]
je 0x44d7a7
push eax
call fcn.00456f56
add esp, 0xc
jmp 0x44d81b
push edi
call fcn.0044d481
add esp, 0xc
test al, al
je 0x44d7be
mov dword [ebx], 1
xor eax, eax
jmp 0x44d81b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, edi
call fcn.0044cb88
push eax
push dword [ebp + 8]
push str.init_resolve_thread___failed_for__s___s_n
call fcn.0044440b
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x44d810
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov eax, edi
call fcn.0044cb88
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.gethostbyname_2__failed_for__s:_d___s_n
call fcn.0044440b
add esp, 0x10
jmp 0x44d7ba
push dword [ebp + 0xc]
mov ebx, eax
call fcn.00456fc1
pop ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x44d959
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0xc]
mov esi, dword [eax]
cmp byte [esi + 0x18c], 0
mov ebx, dword [eax + 0x50]
mov dword [ebp - 4], str.octet
je 0x44d982
mov dword [ebp - 4], str.netascii
mov eax, dword [ebp + 8]
sub eax, 0
push 3
pop ecx
je 0x44d9f7
sub eax, ecx
je 0x44d9d4
dec eax
je 0x44d9a9
dec eax
je 0x44da09
dec eax
je 0x44d9f7
push str.tftp_send_first:_internal_error_n
call fcn.00444475
jmp 0x44dae5
push str.Connected_for_transmit
push 0x4bb6f8
call fcn.0044440b
mov dword [edi], 2
call fcn.0044d81f
push 4
mov ebx, edi
call fcn.0044dc58
add esp, 0xc
jmp 0x44dae6
push str.Connected_for_receive
push 0x4bb6f8
call fcn.0044440b
mov dword [edi], 1
call fcn.0044d81f
push 3
call fcn.0044daeb
jmp 0x44d9cc
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x1c]
jle 0x44da10
mov dword [edi + 8], 9
mov dword [edi], ecx
jmp 0x44dae6
cmp byte [esi + 0x199], 0
je 0x44da69
push 2
call dword [sym.imp.WS2_32.dll_htons]
push ebx
mov word [edi + 0x268], ax
call fcn.0047be60
pop ecx
mov ecx, ebx
call fcn.00456e7d
mov ecx, dword [edi + 0xc]
mov ebx, eax
lea eax, [edi + 0x26c]
mov dword [ecx + 0x1fc], eax
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x44da78
push ecx
push eax
mov eax, esi
call fcn.0044e8d1
pop ecx
pop ecx
jmp 0x44da78
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 0x268], ax
push 0
push dword [ebp - 4]
lea eax, [edi + 0x26a]
push 0
push ebx
push str._s_c_s_c
push eax
call fcn.0044c1d1
push ebx
call fcn.0047be60
add esp, 0x1c
push dword [ebp - 4]
mov ebx, eax
call fcn.0047be60
pop ecx
lea ecx, [ebx + eax + 4]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x10]
push dword [eax + 0x10]
push dword [eax + 0x14]
lea eax, [edi + 0x268]
push 0
push ecx
push eax
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x44dae6
call fcn.00481eba
push dword [eax]
call fcn.0049ca14
pop ecx
push eax
push 0x4bb6f8
call fcn.00444475
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44daeb
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi + 0xc]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 8]
push 3
pop ebx
sub eax, ebx
mov dword [ebp - 4], esi
je 0x44db7b
dec eax
dec eax
je 0x44db32
dec eax
je 0x44db11
push str.tftp_rx:_internal_error
jmp 0x44db6a
inc dword [edi + 0x14]
push dword [edi + 0x14]
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
call fcn.0044440b
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x1c]
pop ecx
pop ecx
jle 0x44db39
mov dword [edi + 8], 8
mov dword [edi], ebx
jmp 0x44dc35
push dword [edi + 0x58]
lea eax, [edi + 0x48]
push eax
push 0
push 4
lea eax, [edi + 0x268]
push eax
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x44dc35
call fcn.00481eba
push dword [eax]
call fcn.0049ca14
pop ecx
push eax
push 0x4bb6f8
call fcn.00444475
pop ecx
pop ecx
jmp 0x44dc35
movzx eax, word [edi + 0x66]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ebx, ax
movzx eax, word [edi + 0x30]
inc eax
cmp eax, ebx
je 0x44dbc1
push ebx
push str.Received_unexpected_DATA_packet_block__d_n
call fcn.0044440b
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x1c]
pop ecx
pop ecx
jle 0x44dbc1
movzx eax, word [edi + 0x30]
inc eax
push eax
push str.tftp_rx:_giving_up_waiting_for_block__d_n
call fcn.00444475
pop ecx
pop ecx
jmp 0x44dc54
mov esi, dword [sym.imp.WS2_32.dll_htons]
and dword [edi + 0x14], 0
mov word [edi + 0x30], bx
push 4
lea ebx, [edi + 0x268]
call esi
mov word [ebx], ax
movzx eax, word [edi + 0x30]
push eax
call esi
push dword [edi + 0x58]
mov word [edi + 0x26a], ax
lea eax, [edi + 0x48]
push eax
push 0
push 4
push ebx
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x44dc20
call fcn.00481eba
push dword [eax]
call fcn.0049ca14
mov esi, dword [ebp - 4]
pop ecx
push eax
push 0x4bb6f8
call fcn.00444475
pop ecx
pop ecx
mov esi, dword [ebp - 4]
xor eax, eax
cmp dword [edi + 0x5c], 0x204
setl al
lea eax, [eax + eax + 1]
mov dword [edi], eax
movzx eax, word [edi + 0x30]
push 0
cdq
push 0x200
push edx
push eax
call fcn.004839b0
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x1fc], edx
pop esi
pop ebx
leave
ret
Function at 0x44dc58
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov eax, dword [ebx + 0xc]
push ebp
push esi
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
sub eax, 4
push edi
je 0x44dcb5
dec eax
je 0x44dc9b
dec eax
je 0x44dc7a
push str.tftp_tx:_internal_error
jmp 0x44dd8b
inc dword [ebx + 0x14]
push dword [ebx + 0x14]
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
call fcn.0044440b
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x1c]
pop ecx
pop ecx
jle 0x44dca6
mov dword [ebx + 8], 8
mov dword [ebx], 3
jmp 0x44dd97
push dword [ebx + 0x58]
lea eax, [ebx + 0x48]
push eax
mov eax, dword [ebx + 0x60]
jmp 0x44dd63
movzx eax, word [ebx + 0x66]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
movzx eax, word [ebx + 0x30]
movzx edx, ax
cmp ecx, edx
je 0x44dd08
push edx
push ecx
push str.Received_ACK_for_block__d__expecting__d_n
call fcn.0044440b
add esp, 0xc
inc dword [ebx + 0x14]
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x1c]
jle 0x44ddb6
movzx eax, word [ebx + 0x30]
push eax
push str.tftp_tx:_giving_up_waiting_for_block__d_ack
push 0x4bb6f8
call fcn.00444475
add esp, 0xc
jmp 0x44ddb6
mov edi, dword [sym.imp.WS2_32.dll_htons]
and dword [ebx + 0x14], 0
push 3
pop ebp
inc eax
push ebp
mov word [ebx + 0x30], ax
call edi
mov word [ebx + 0x268], ax
movzx eax, word [ebx + 0x30]
push eax
call edi
cmp word [ebx + 0x30], 1
mov word [ebx + 0x26a], ax
jbe 0x44dd46
cmp dword [ebx + 0x60], 0x200
jge 0x44dd46
mov dword [ebx], ebp
jmp 0x44ddb6
mov edi, dword [ebx + 0xc]
lea ebp, [ebx + 0x60]
push 0x200
mov ecx, ebp
call fcn.004490ca
pop ecx
push dword [ebx + 0x58]
lea eax, [ebx + 0x48]
push eax
mov eax, dword [ebp]
push 0
add eax, 4
push eax
lea eax, [ebx + 0x268]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x44dd97
call fcn.00481eba
push dword [eax]
call fcn.0049ca14
pop ecx
push eax
push 0x4bb6f8
call fcn.00444475
pop ecx
pop ecx
movzx eax, word [ebx + 0x30]
push 0
cdq
push 0x200
push edx
push eax
call fcn.004839b0
mov dword [esi + 0x200], eax
mov dword [esi + 0x204], edx
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x44e1fb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [edi + 0x16c]
push 0x5c
push dword [ebx]
call fcn.0048b5e0
mov esi, dword [edi]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
pop ecx
pop ecx
mov dword [ebp - 8], eax
call fcn.0044ef02
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x200], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x204], eax
lea eax, [esi + 0x2f4]
mov dword [edi + 0x1fc], eax
mov eax, dword [ebp - 8]
test eax, eax
mov dword [ebp - 0x14], edx
jne 0x44e25f
push 0x25
pop eax
jmp 0x44e33d
cmp byte [eax + 1], 0
je 0x44e257
push 0x4b95c8
push dword [ebx]
call fcn.004806b9
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 8], eax
jne 0x44e28c
push dword [ebx]
push str.Cant_open__s_for_writing
call fcn.00444475
pop ecx
pop ecx
push 0x17
jmp 0x44e259
mov eax, dword [esi + 0xa8]
cmp eax, 0xffffffff
mov ecx, dword [esi + 0xac]
jne 0x44e2a1
cmp ecx, eax
je 0x44e2ac
push ecx
push eax
mov eax, esi
call fcn.0044e8d1
pop ecx
pop ecx
push 0x4000
lea ecx, [ebp - 4]
call fcn.004490ca
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x44e332
cmp dword [ebp - 4], eax
jbe 0x44e320
push dword [ebp - 8]
lea eax, [esi + 0x2f4]
push dword [ebp - 4]
push 1
push eax
call fcn.0048124b
mov ecx, dword [ebp - 4]
add esp, 0x10
cmp eax, ecx
jne 0x44e31d
add dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x200], eax
adc dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov dword [esi + 0x204], eax
call fcn.0044e8ff
test eax, eax
jne 0x44e32f
push dword [ebp - 0x14]
mov eax, esi
push dword [ebp - 0x18]
call fcn.0045714c
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x44e2ac
jmp 0x44e332
push 0x37
pop ebx
test ebx, ebx
jne 0x44e332
mov ecx, edi
call fcn.0044e8ff
test eax, eax
je 0x44e332
push 0x2a
pop ebx
push dword [ebp - 8]
call fcn.00480d35
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44f6e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d0620]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 0xa4]
mov dword [ebp - 0x18], edi
call fcn.0044ef02
push edx
push eax
call fcn.0044ef02
push edx
push eax
call fcn.0044ef28
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [esi + 0x9c]
add esp, 0x10
test ecx, ecx
jne 0x44f72f
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x44f74b
sub ecx, eax
test ecx, ecx
jg 0x44f747
push str.Timed_out_before_server_could_connect_to_us
call fcn.00444475
pop ecx
push 0x1c
jmp 0x44f7e0
mov eax, ecx
jmp 0x44f74e
push 0x3c
pop eax
imul eax, eax, 0x3e8
push edi
or edi, 0xffffffff
call fcn.004569ed
or edi, 0xffffffff
cmp eax, edi
pop ecx
je 0x44f7d3
test eax, eax
je 0x44f7cc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x44f798
lea eax, [ebp - 0x1c]
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]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp edi, 0xffffffff
jne 0x44f7ad
push str.Error_accept__ing_server_connect
jmp 0x44f7d8
push str.Connection_accepted_from_server_n
call fcn.0044440b
pop ecx
xor eax, eax
push edi
inc eax
mov dword [ebx + 0xa4], edi
call fcn.0044c20f
pop ecx
xor eax, eax
jmp 0x44f7e1
push str.Timeout_while_waiting_for_server_connect
jmp 0x44f7d8
push str.Error_while_waiting_for_server_connect
call fcn.00444475
pop ecx
push 0x1e
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047b9fe
leave
ret
Function at 0x450c29
Capabilities:
Check http status code

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
push 0x64
cdq
pop ecx
idiv ecx
mov esi, dword [edi]
xor ebx, ebx
cmp eax, 2
je 0x450c4f
push str.Couldnt_set_desired_mode
call fcn.00444475
pop ecx
push 0x11
pop eax
jmp 0x450caa
cmp dword [esp + 0x10], 0xc8
je 0x450c69
push dword [esp + 0x10]
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.0044440b
pop ecx
pop ecx
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jne 0x450c7b
mov eax, edi
call fcn.00450316
jmp 0x450ca6
cmp eax, 0x11
jne 0x450c89
mov esi, edi
call fcn.00450350
jmp 0x450ca6
cmp eax, 0x12
jne 0x450c94
push 1
push 0xa
jmp 0x450c9d
cmp eax, 0x13
jne 0x450ca8
push 1
push 0xb
pop ebx
mov eax, edi
call fcn.004505dc
pop ecx
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
pop ecx
ret
Function at 0x455884
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4d0620]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x198]
push eax
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4558bb
push eax
push str.WSAStartup_failed___d_
call fcn.00444475
pop ecx
jmp 0x4558e1
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [ebp - 0x198], 2
jne 0x4558d7
cmp byte [ebp - 0x197], 0
jne 0x4558d7
xor eax, eax
jmp 0x4558e5
push str.insufficient_winsock_version_to_support_telnet
call fcn.00444475
pop ecx
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047b9fe
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x4d0620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebx]
push esi
mov esi, dword [ebx + 0x16c]
mov eax, dword [esi + 0x1ab0]
sub eax, dword [esi + 0x1aac]
push edi
inc eax
inc eax
push eax
lea eax, [esi + 0x18ac]
push 0x3c
mov dword [ebp - 0x90c], ebx
mov dword [ebp - 0x910], ecx
call fcn.00455cc8
mov eax, dword [esi + 0x1aac]
pop ecx
pop ecx
movzx ecx, byte [eax]
inc eax
cmp ecx, 0x18
mov dword [esi + 0x1aac], eax
je 0x456245
cmp ecx, 0x23
je 0x456220
cmp ecx, 0x27
jne 0x4562bb
push 0
push ecx
push 0xfa
mov edi, 0xff
push edi
push str._c_c_c_c
lea eax, [ebp - 0x908]
push 0x800
push eax
call fcn.0044c06d
mov esi, dword [esi + 0x18a8]
add esp, 0x1c
push 4
pop ebx
jmp 0x4561d3
push dword [esi]
call fcn.0047be60
inc eax
add eax, ebx
cmp eax, 0x7fa
pop ecx
mov dword [ebp - 0x914], eax
jae 0x4561d0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
push str._127_____127s
push dword [esi]
call fcn.00481335
lea eax, [ebp - 0x88]
push eax
push 1
lea eax, [ebp - 0x108]
push eax
push 0
mov eax, 0x800
sub eax, ebx
push str._c_s_c_s
push eax
lea eax, [ebp + ebx - 0x908]
push eax
call fcn.0044c06d
mov ebx, dword [ebp - 0x914]
add esp, 0x2c
mov esi, dword [esi + 4]
test esi, esi
jne 0x456169
push 0xf0
push edi
mov eax, 0x800
sub eax, ebx
push 0x4bea1c
push eax
lea eax, [ebp + ebx - 0x908]
push eax
call fcn.0044c06d
add esp, 0x14
push esi
inc ebx
inc ebx
push ebx
lea eax, [ebp - 0x908]
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0xa0]
call dword [sym.imp.WS2_32.dll_send]
add ebx, 0xfffffffe
push ebx
jmp 0x4562a6
add esi, 0x1828
push esi
mov dword [ebp - 0x90c], esi
call fcn.0047be60
pop ecx
push 0xf0
mov edi, 0xff
push edi
push esi
push 0
push 0x23
jmp 0x456268
add esi, 0x1808
push esi
mov dword [ebp - 0x90c], esi
call fcn.0047be60
pop ecx
push 0xf0
mov edi, 0xff
push edi
push esi
push 0
push 0x18
push 0xfa
push edi
mov esi, eax
push str._c_c_c_c_s_c_c
lea eax, [ebp - 0x908]
push 0x800
push eax
add esi, 6
call fcn.0044c06d
add esp, 0x28
push 0
push esi
lea eax, [ebp - 0x908]
push eax
push dword [ebx + 0xa0]
call dword [sym.imp.WS2_32.dll_send]
add esi, 0xfffffffe
push esi
mov ecx, dword [ebp - 0x910]
push 0x3e
lea eax, [ebp - 0x906]
call fcn.00455cc8
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047b9fe
leave
ret
Function at 0x4569ed
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
cdq
mov ecx, 0x3e8
idiv ecx
push ebx
push esi
xor esi, esi
or ecx, 0xffffffff
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x21c], esi
imul edx, edx, 0x3e8
mov dword [ebp - 8], edx
xor edx, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc edx
cmp eax, 0xffffffff
je 0x456a42
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], edx
mov ecx, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x324], esi
je 0x456a99
xor eax, eax
cmp dword [ebp - 0x114], esi
mov dword [ebp - 0x320], edi
mov dword [ebp - 0x324], edx
jbe 0x456a75
cmp dword [ebp + eax*4 - 0x110], edi
je 0x456a75
inc eax
cmp eax, dword [ebp - 0x114]
jb 0x456a63
cmp eax, dword [ebp - 0x114]
jne 0x456a93
cmp dword [ebp - 0x114], 0x40
jae 0x456a93
mov dword [ebp + eax*4 - 0x110], edi
inc dword [ebp - 0x114]
cmp edi, ecx
jbe 0x456a99
mov ecx, edi
lea ebx, [ecx + 1]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
jne 0x456ace
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 4
je 0x456a9c
test esi, esi
jge 0x456ad7
or eax, 0xffffffff
jmp 0x456b3e
jne 0x456add
xor eax, eax
jmp 0x456b3e
xor esi, esi
cmp dword [ebp + 8], 0xffffffff
je 0x456b0f
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x456af9
inc esi
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x456b0f
or esi, 4
cmp edi, 0xffffffff
je 0x456b3c
lea eax, [ebp - 0x324]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x456b28
or esi, 2
lea eax, [ebp - 0x114]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x456b3c
or esi, 4
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4585a6
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 8], 0
jne 0x4585c8
mov eax, dword [esi]
push 0x4bee3c
push dword [eax + 8]
call fcn.004806b9
test eax, eax
pop ecx
pop ecx
mov dword [esi + 8], eax
jne 0x4585c8
or eax, 0xffffffff
ret
push edi
push dword [esi + 8]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0048351a
mov edi, eax
add esp, 0x10
cmp edi, dword [esp + 0xc]
je 0x4585f9
push dword [esi + 8]
call fcn.00480d35
mov eax, dword [esi]
and dword [esi + 8], 0
mov eax, dword [eax]
pop ecx
mov dword [esi], eax
mov eax, edi
pop edi
ret
Function at 0x45b7b0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
movzx ecx, di
shr edi, 0x10
test esi, esi
mov ebx, eax
jne 0x45b7ca
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
ret
test ebx, ebx
jbe 0x45b8cc
push ebp
cmp ebx, 0x15b0
mov eax, ebx
jb 0x45b7e2
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x45b88b
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x45b800
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x45b800
test eax, eax
je 0x45b89f
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x45b890
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x45b7d3
pop ebp
mov eax, edi
pop edi
shl eax, 0x10
pop esi
or eax, ecx
pop ebx
ret

Function at 0x45bda0
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x45bda7
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.0045bdb0