joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446980
Capabilities:
Initialize winsock library

Disassembly:
mov al, byte [0x490a38]
sub esp, 0x218
test al, al
jne 0x446998
mov al, 1
add esp, 0x218
ret
push ebx
push ebp
push esi
mov ebp, dword [sym.imp.WS2_32.dll_WSAStartup]
push edi
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x98]
push eax
push 0x909
call ebp
mov esi, eax
cmp esi, 0x276c
jne 0x446a5d
mov ebx, 5
mov dword [esp + 0x10], 2
cmp ebx, 1
jl 0x446a26
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jns 0x4469f5
mov dword [esp + 0x10], 9
dec ebx
test ebx, ebx
je 0x446a26
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x98]
xor edx, edx
mov dh, byte [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x98]
mov dl, bl
push ecx
push edx
call ebp
mov esi, eax
cmp esi, 0x276c
je 0x4469dc
test esi, esi
jne 0x446a65
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push eax
push ebx
push str.Using_ws2_32.dll_version__d__d
push ecx
call fcn.0045d4a4
mov ecx, dword [esp + 0x23c]
add esp, 0x10
lea eax, [esp + 0x48]
mov edx, dword [ecx]
push eax
push str.ws2_32_DLL_Version
call dword [edx + 0x28]
jmp 0x446b0a
test esi, esi
je 0x446b0a
cmp esi, 0x276b
jne 0x446a80
mov ecx, dword [esp + 0x22c]
push str.The_underlying_network_subsystem_is_not_ready_for_network_communication.
mov edx, dword [ecx]
jmp 0x446b07
cmp esi, 0x276c
jne 0x446a9b
mov ecx, dword [esp + 0x22c]
push str.The_version_of_Windows_Sockets_support_requested_is_not_provided_by_this_particular_Windows_Sockets_implementation.
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x446b0a
cmp esi, 0x2734
jne 0x446ab3
mov ecx, dword [esp + 0x22c]
push str.A_blocking_Windows_Sockets_1.1_operation_is_in_progress.
mov edx, dword [ecx]
jmp 0x446b07
cmp esi, 0x2753
jne 0x446ace
mov ecx, dword [esp + 0x22c]
push str.Limit_on_the_number_of_tasks_supported_by_the_Windows_Sockets_implementation_has_been_reached.
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x446b0a
cmp esi, 0x271e
jne 0x446ae6
mov ecx, dword [esp + 0x22c]
push str.The_lpWSAData_is_not_a_valid_pointer.
mov edx, dword [ecx]
jmp 0x446b07
push esi
lea eax, [esp + 0x18]
push str.WSAStartup_error:_0x_x
push eax
call fcn.0045d4a4
mov ecx, dword [esp + 0x238]
add esp, 0xc
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
mov byte [0x490a38], 0
pop ebx
sete al
add esp, 0x218
ret
Function at 0x446b50
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470b28
push eax
mov al, byte [0x490a38]
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
test al, al
je 0x446b89
push edi
call fcn.00446980
add esp, 4
test al, al
je 0x446c3d
push edi
push 1
mov ecx, esi
call fcn.00448770
push 0
push 1
push 2
mov bl, 1
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x4c], eax
jne 0x446bba
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push edi
push eax
mov ecx, esi
call fcn.00447030
xor bl, bl
mov al, byte [esp + 0x24]
test al, al
je 0x446c3b
lea ebp, [esi + 0xe4]
mov ecx, ebp
call fcn.00443b10
test eax, eax
je 0x446c3b
mov ebx, dword [edi]
mov ecx, ebp
call fcn.00443b00
push eax
push str.BindIpAddr
mov ecx, edi
call dword [ebx + 0x28]
push edi
mov ecx, ebp
call fcn.00443b00
push eax
mov ecx, esi
call fcn.00448680
mov bl, al
test bl, bl
jne 0x446c3b
mov eax, dword [edi]
push str.Failed_to_bind_to_local_IP_address
mov ecx, edi
call dword [eax + 0x10]
lea ecx, [esp + 0x24]
call fcn.0041bf90
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0
push ecx
push 2
mov ecx, esi
call fcn.00448770
or eax, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esi + 0x4c], eax
mov dword [esp + 0x18], eax
call fcn.0041bfd0
mov al, bl
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x448290
Capabilities:
Get socket status

Disassembly:
mov eax, dword [ecx + 0x4c]
sub esp, 0x10c
cmp eax, 0xffffffff
jne 0x4482ba
mov ecx, dword [esp + 0x114]
push str.invalid_socket__not_ready_for_writing.
mov eax, dword [ecx]
call dword [eax + 0x10]
xor al, al
add esp, 0x10c
ret 8
mov ecx, dword [esp + 0x110]
test ecx, ecx
jne 0x4482ca
mov ecx, 0x5460
mov dword [esp], ecx
lea ecx, [esp]
push ecx
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x448319
mov ecx, dword [esp + 0x114]
push str.select_returned_a_socket_error
mov eax, dword [ecx]
call dword [eax + 0x10]
xor al, al
add esp, 0x10c
ret 8
cmp eax, 1
jne 0x448329
mov al, al
add esp, 0x10c
ret 8
mov ecx, dword [esp + 0x114]
push str.socket_is_not_ready_for_writing.
mov edx, dword [ecx]
call dword [edx + 0x10]
xor al, al
add esp, 0x10c
ret 8

Function at 0x448350
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [ecx + 0x4c]
cmp esi, 0xffffffff
jne 0x44837c
mov ecx, dword [esp + 0x118]
push str.invalid_socket__not_ready_for_writing.
mov eax, dword [ecx]
call dword [eax + 0x10]
xor al, al
pop esi
add esp, 0x10c
ret 8
mov ecx, dword [esp + 0x114]
test ecx, ecx
jne 0x44838c
mov ecx, 0x1499700
mov eax, 0x10624dd3
mov dword [esp + 0x10], esi
mul ecx
shr edx, 6
mov dword [esp + 4], edx
mov dword [esp + 0xc], 1
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
sub ecx, edx
lea edx, [esp + 0xc]
lea eax, [ecx + ecx*4]
lea ecx, [esp + 4]
push ecx
push 0
lea eax, [eax + eax*4]
push edx
push 0
push 0
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x4483fc
mov ecx, dword [esp + 0x118]
push str.select_returned_a_socket_error
mov eax, dword [ecx]
call dword [eax + 0x10]
xor al, al
pop esi
add esp, 0x10c
ret 8
cmp eax, 1
jne 0x44840d
mov al, al
pop esi
add esp, 0x10c
ret 8
mov ecx, dword [esp + 0x118]
push str.socket_is_not_ready_for_writing
mov edx, dword [ecx]
call dword [edx + 0x10]
xor al, al
pop esi
add esp, 0x10c
ret 8
Function at 0x4488a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x11c]
push esi
push edi
mov edi, dword [esp + 0x120]
mov esi, ecx
test edi, edi
mov byte [ebx], 0
je 0x4488f5
push 0x78
push 0
mov ecx, edi
call fcn.004212e0
mov ecx, edi
call fcn.00421150
test al, al
je 0x4488f5
mov ecx, dword [esp + 0x128]
push str.Wait_for_data_aborted_by_app
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10c
ret 0x14
mov edi, dword [esi + 0x4c]
cmp edi, 0xffffffff
jne 0x44891f
mov ecx, dword [esp + 0x128]
push str.Wait_for_data_passed_invalid_socket.
mov edx, dword [ecx]
call dword [edx + 0x10]
pop edi
mov byte [ebx], 1
pop esi
xor al, al
pop ebx
add esp, 0x10c
ret 0x14
mov ecx, dword [esp + 0x11c]
test ecx, ecx
jne 0x44892f
mov ecx, 0x14
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, edx
neg eax
shl eax, 2
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
cmp eax, 0x7a120
jbe 0x448957
mov eax, 0x7a120
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
test edx, edx
jne 0x448970
test eax, eax
jne 0x448970
mov eax, 0x3e8
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edx
push ecx
push 0
lea edx, [esp + 0x1c]
push 0
push edx
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x4489e2
mov ecx, dword [esp + 0x128]
mov byte [ebx], 1
push str.The_peer_has_closed_the_socket__TCP__connection
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x4c]
push 2
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0x4c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x4c], 0xffffffff
mov byte [esi + 0x48], 0
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10c
ret 0x14
test eax, eax
pop edi
pop esi
setne al
pop ebx
add esp, 0x10c
ret 0x14
Function at 0x448a00
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x110
push ebx
mov ebx, dword [esp + 0x118]
push ebp
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, ecx
mov byte [eax], 0
mov ecx, dword [esp + 0x138]
mov byte [esi], 0
test ebx, ebx
mov byte [ecx], 0
je 0x448a3c
cmp ebx, 0x32
jae 0x448a3c
mov ebx, 0x32
mov ebp, dword [esp + 0x128]
test ebp, ebp
jne 0x448a4c
mov ebp, 0x1499700
cmp dword [edi + 0x4c], 0xffffffff
jne 0x448a75
mov ecx, dword [esp + 0x13c]
push str.Invalid_socket.
mov edx, dword [ecx]
call dword [edx + 0x10]
mov byte [esi], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret 0x1c
xor eax, eax
mov cl, 1
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x448a89
cmp eax, ebp
jae 0x448bbe
test ebx, ebx
mov esi, ebx
jne 0x448a91
mov esi, ebp
test ebp, ebp
je 0x448aa7
cmp ebp, eax
jbe 0x448aa7
mov esi, ebp
sub esi, eax
test ebx, ebx
je 0x448aa7
cmp esi, ebx
jbe 0x448aa7
mov esi, ebx
test cl, cl
je 0x448ab7
shr esi, 1
cmp esi, 0x32
jae 0x448ab7
mov esi, 0x32
mov eax, 0x10624dd3
mov dword [esp + 0x1c], 1
mul esi
shr edx, 6
mov dword [esp + 0x14], edx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov ecx, eax
mov eax, esi
sub eax, ecx
lea ecx, [esp + 0x14]
push ecx
push 0
lea eax, [eax + eax*4]
push 0
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4c]
shl edx, 3
mov dword [esp + 0x24], edx
lea edx, [esp + 0x28]
push edx
push 0
mov dword [esp + 0x34], eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x448b64
test eax, eax
jne 0x448baf
mov ecx, dword [esp + 0x10]
add ecx, esi
test ebp, ebp
mov dword [esp + 0x10], ecx
je 0x448b31
mov eax, ecx
cmp eax, ebp
jae 0x448bbe
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x448b59
test ebx, ebx
je 0x448b59
push 0x73
push ebx
mov ecx, esi
call fcn.00421270
mov ecx, esi
call fcn.00421150
test al, al
jne 0x448bf7
mov eax, dword [esp + 0x10]
xor cl, cl
jmp 0x448a7d
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x13c]
push str.Error_waiting_for_socket_to_become_ready_for_reading.
mov byte [eax], 1
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [edi + 0x4c]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [edi + 0x4c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x4c], 0xffffffff
mov byte [edi + 0x48], 0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret 0x1c
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x110
ret 0x1c
mov esi, dword [esp + 0x13c]
push str.Timeout_waiting_to_read_socket_or_accept_connection
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x10]
mov eax, dword [esi]
push ebp
push str.timeoutMs
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov byte [ecx], 1
xor al, al
pop ebx
add esp, 0x110
ret 0x1c
mov edx, dword [esp + 0x134]
mov ecx, dword [esp + 0x13c]
push str.socket_operation_aborted_by_application_callback
mov byte [edx], 1
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret 0x1c
Function at 0x449340
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470d28
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x1c
mov byte [eax], 0
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, ecx
push edi
mov byte [ebp], 0
cmp dword [esi + 0x4c], 0xffffffff
jne 0x44939a
mov ecx, dword [esp + 0x40]
push str.This_socket_is_not_connected
mov dword [ecx], 0
mov ecx, dword [esp + 0x50]
mov byte [ebp], 1
mov edx, dword [ecx]
call dword [edx + 0x10]
mov byte [esi + 0x48], 0
xor al, al
jmp 0x449540
mov eax, dword [esi + 0xb8]
test eax, eax
jne 0x4493a9
mov eax, 0xea60
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push 0xabc
push 0
push 0
push ebx
push edi
push eax
mov ecx, esi
call fcn.004487b0
test al, al
jne 0x44940b
cmp dword [esi + 0x4c], 0xffffffff
je 0x4493f2
mov eax, dword [edi]
push str.WaitForData_timed_out.
mov ecx, edi
call dword [eax + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
xor al, al
mov byte [ecx], 1
mov dword [edx], 0
jmp 0x449540
mov edx, dword [esp + 0x40]
mov byte [ebp], 1
mov byte [esi + 0x48], 0
xor al, al
mov dword [edx], 0
jmp 0x449540
lea eax, [esp + 0x4c]
lea ecx, [esi + 0x90]
push eax
push ebx
push 0
mov byte [esp + 0x58], 0
call fcn.00457de0
mov al, byte [esp + 0x4c]
test al, al
je 0x449448
mov edx, dword [edi]
push str.Aborted_by_application_while_download_throttling__1_
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esp + 0x40]
mov dword [eax], 0
xor al, al
jmp 0x449540
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push 0
mov edx, dword [ecx]
mov ecx, dword [esi + 0x4c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ebp, eax
mov eax, dword [esp + 0x40]
test ebp, ebp
mov dword [eax], 0
jne 0x4494ab
mov edx, dword [edi]
push str.The_peer_has_closed_the_socket__TCP__connection
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esi + 0x4c]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 0x4c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [esp + 0x48]
mov dword [esi + 0x4c], 0xffffffff
mov byte [esi + 0x48], 0
xor al, al
mov byte [edx], 1
jmp 0x449540
cmp ebp, 0xffffffff
jne 0x4494fc
lea ecx, [esp + 0x10]
call fcn.004146b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.004159e0
mov ebx, dword [edi]
lea ecx, [esp + 0x10]
call fcn.00443b00
push eax
mov ecx, edi
call dword [ebx + 0x10]
mov eax, dword [edi]
push str.Failed_to_receive_on_the_TCP_socket
mov ecx, edi
call dword [eax + 0x10]
lea ecx, [esp + 0x10]
mov byte [esi + 0x48], 0
mov dword [esp + 0x34], ebp
call fcn.004149a0
xor al, al
jmp 0x449540
test ebp, ebp
mov dword [eax], ebp
jle 0x449522
push ebp
lea ecx, [esi + 0x90]
call fcn.00457d80
mov al, byte [esi + 0x100]
test al, al
je 0x449522
push ebx
push ebp
lea ecx, [esi + 8]
call fcn.00458150
test ebx, ebx
je 0x44953e
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov eax, dword [edx]
mov byte [esp + 0x48], 0
push eax
call fcn.00421510
mov al, 1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x18
Function at 0x449960
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x470d88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x7d0
call fcn.0045d5c0
add esp, 4
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebp
jae 0x4499a5
mov ebp, eax
jmp 0x4499b0
sub eax, ebp
cmp eax, 0x64
ja 0x449a94
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x13]
lea ebx, [edi + 0x90]
push eax
push ecx
push 0
mov ecx, ebx
call fcn.00457de0
mov al, byte [esp + 0x13]
test al, al
jne 0x449a36
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x4c]
push 0
push 0x7d0
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
je 0x449a48
cmp esi, 0xffffffff
je 0x449a7a
test esi, esi
jle 0x449a1a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
mov al, byte [edi + 0x100]
test al, al
je 0x449a1a
mov ecx, dword [esp + 0x4c]
push ecx
push esi
lea ecx, [edi + 8]
call fcn.00458150
push esi
mov ecx, ebx
call fcn.00457d80
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
push esi
push edx
call fcn.0041cba0
jmp 0x449997
mov ecx, dword [esp + 0x48]
push str.Aborted_by_application_while_download_throttling__3_
mov eax, dword [ecx]
call dword [eax + 0x10]
xor al, al
jmp 0x449a96
mov ecx, dword [edi + 0x4c]
push 2
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [edi + 0x4c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esp + 0x14]
mov dword [edi + 0x4c], 0xffffffff
push eax
mov byte [edi + 0x48], 0
call fcn.0045ccbf
add esp, 4
xor al, al
jmp 0x449a96
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x449aab
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0045ccbf
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
lea ecx, [esp + 0x18]
call fcn.004146b0
push str.SOCKET_ERROR:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0
call fcn.004141f0
lea ecx, [esp + 0x18]
call fcn.004159e0
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x18]
mov edi, dword [esi]
call fcn.00443b00
push eax
mov ecx, esi
call dword [edi + 0x10]
mov edx, dword [esi]
push str.Failed_to_accumulate_data_on_socket.
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esp + 0x14]
push eax
call fcn.0045ccbf
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004149a0
xor al, al
jmp 0x449a96
Function at 0x44ac90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470eb0
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebp
push esi
push edi
mov edi, ecx
push eax
lea ebp, [edi + 0xc]
mov ecx, ebp
call fcn.00415650
mov ecx, dword [esp + 0x30]
lea esi, [edi + 0x28]
push ecx
mov ecx, esi
call fcn.00415650
push 0x481f7c
mov ecx, esi
call fcn.00415940
test al, al
je 0x44ad09
lea ecx, [esp + 0xc]
call fcn.0042a9c0
push 0
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.0042bdd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0042a9f0
push 0x481f78
mov ecx, esi
call fcn.00415940
test al, al
je 0x44ad47
lea ecx, [esp + 0x14]
call fcn.0042a9c0
push 0
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 1
call fcn.0042bdd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.0042a9f0
push 0xa
mov ecx, esi
call fcn.004140b0
test al, al
je 0x44ad76
push 0x499e5c
push 0x484b90
mov ecx, esi
call fcn.00415030
push 0x499e5c
push 0x491c54
mov ecx, esi
call fcn.00415030
push str.user_agent
mov ecx, ebp
call fcn.00415c30
test al, al
jne 0x44ada6
push str.accept
mov ecx, ebp
call fcn.00415c30
test al, al
jne 0x44ada6
push str.accept_charset
mov ecx, ebp
call fcn.00415c30
test al, al
je 0x44adaa
mov byte [edi + 8], 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x44b9a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
je 0x44b9cb
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4

Function at 0x44c810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
mov byte [ebx], 0
call fcn.0041bf90
push 0x4e24
mov dword [esp + 0x1c], 0
call fcn.0045d5c0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x24]
lea ecx, [esi + 0xed]
push eax
push ebx
lea edx, [esp + 0x30]
push ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x3c], 0x4e20
call fcn.0044c8d0
mov esi, dword [esp + 0x20]
mov bl, al
test bl, bl
je 0x44c88f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x44c88f
push eax
push edi
mov ecx, esi
call fcn.0041cba0
push edi
call fcn.0045ccbf
add esp, 4
mov ecx, esi
call fcn.0041c000
test eax, eax
je 0x44c8a5
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0041bfd0
mov ecx, dword [esp + 0x10]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x452960
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x471370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x6c]
lea eax, [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
mov ebp, 1
push esi
push ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov byte [esp + 0x70], 0
test edi, edi
jne 0x452b07
mov eax, dword [esp + 0x10]
test eax, eax
je 0x452b56
push eax
call fcn.0045d5c0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4529dc
xor al, al
jmp 0x452b5a
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push ebp
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x452aa9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, 4
jne 0x452a47
cmp ecx, 4
jne 0x452a8b
mov ecx, dword [ebp]
lea edx, [esp + 0x18]
push ecx
push 0x4933e0
push edx
call fcn.0045d4a4
mov ecx, dword [esp + 0x80]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call fcn.004141f0
push ebp
mov byte [esp + 0x74], 1
call fcn.0045ccbf
add esp, 4
jmp 0x452b56
cmp eax, 1
jne 0x452a69
mov ecx, dword [esp + 0x74]
push ebp
call fcn.004141f0
push ebp
mov byte [esp + 0x74], 1
call fcn.0045ccbf
add esp, 4
jmp 0x452b56
cmp eax, 2
jne 0x452a8b
mov ecx, dword [esp + 0x74]
push ebp
call fcn.004141f0
push ebp
mov byte [esp + 0x74], 1
call fcn.0045ccbf
add esp, 4
jmp 0x452b56
push ecx
mov ecx, dword [esp + 0x78]
push ebp
call fcn.00413ca0
push ebp
mov byte [esp + 0x74], 1
call fcn.0045ccbf
add esp, 4
jmp 0x452b56
lea ecx, [esp + 0x18]
call fcn.004146b0
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0
call fcn.00415a10
mov edi, dword [esp + 0x78]
lea ecx, [esp + 0x18]
mov ebx, dword [edi]
call fcn.00443b00
push eax
push str.RegistryQueryError2
mov ecx, edi
call dword [ebx + 0x28]
mov edx, dword [edi]
push esi
push str.ValueName
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], 0xffffffff
call fcn.004149a0
push ebp
call fcn.0045ccbf
add esp, 4
jmp 0x452b56
lea ecx, [esp + 0x40]
call fcn.004146b0
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], ebp
call fcn.00415a10
mov edi, dword [esp + 0x78]
lea ecx, [esp + 0x40]
mov ebx, dword [edi]
call fcn.00443b00
push eax
push str.RegistryQueryError
mov ecx, edi
call dword [ebx + 0x28]
mov eax, dword [edi]
push esi
push str.ValueName
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [esp + 0x40]
mov dword [esp + 0x64], 0xffffffff
call fcn.004149a0
mov al, byte [esp + 0x70]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x10