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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov ebx, dword [eax + 0x174]
mov esi, dword [edi + 0x2b4]
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x4340ae
mov eax, dword [eax + 0x170]
mov ebx, eax
test eax, eax
jne 0x4340ae
mov ebx, 0x493e0
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10]
push ecx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esi + 0x14]
push eax
mov dword [esi + 0x10], 0
call ebx
mov dword [esi + 0x14], 0
mov bl, 1
test ebp, ebp
jne 0x434111
mov ecx, dword [esi]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x434167
mov edx, dword [esi]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ebp, [esi + 8]
mov byte [edi + 0x2ac], bl
mov dword [ebp], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x434131
mov edx, dword [edi + 0x2a8]
mov dword [eax], edx
xor esi, esi
cmp dword [edi + 0x2a8], esi
jne 0x43420f
mov ebp, dword [ebp]
cmp ebp, 0x1b
jne 0x434183
push ebp
mov esi, ebp
call fcn.00428590
push eax
mov eax, dword [esp + 0x1c]
push str.Could_not_resolve_host:__s
push eax
call fcn.00425ca0
add esp, 0x10
jmp 0x43420f
mov eax, dword [edi + 0x2b0]
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esi]
lea ebp, [esi + 8]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x434121
cmp byte [edi + 0x2ac], 0
je 0x4341e3
cmp byte [edi + 0x10f], 0
mov ecx, dword [edi + 0x2b0]
push ecx
push edi
je 0x4341c0
call fcn.00428eb0
mov edx, dword [edi + 0x70]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Could_not_resolve_proxy:__s___s
push eax
call fcn.00425ca0
add esp, 0x18
mov esi, 5
jmp 0x43420f
call fcn.00428eb0
mov edx, dword [edi + 0x5c]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Could_not_resolve_host:__s___s
push eax
call fcn.00425ca0
add esp, 0x18
mov esi, 6
jmp 0x43420f
cmp ebp, 0xffffffff
je 0x4341f4
cmp dword [edi + 0x2b0], 0x2afc
jne 0x43420a
mov ecx, dword [edi + 0x5c]
mov edx, dword [esp + 0x14]
push ecx
push str.Resolving_host_timed_out:__s
push edx
call fcn.00425ca0
add esp, 0xc
mov esi, 0x1c
lea eax, [edi + 0x2a0]
push eax
call fcn.00433e00
add esp, 4
cmp dword [edi + 0x2a8], 0
pop ebp
mov eax, esi
jne 0x434230
mov byte [edi + 0x10c], bl
pop edi
pop esi
pop ebx
ret
Function at 0x4342e0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi]
push esi
mov dword [eax], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x434316
mov ecx, dword [esp + 0x18]
push ecx
push esi
push eax
call fcn.00429290
add esp, 0xc
pop edi
pop esi
pop ebx
ret
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push esi
call fcn.00433ee0
add esp, 8
test al, al
je 0x43433a
mov edx, dword [esp + 0x20]
pop ebp
pop edi
pop esi
mov dword [edx], 1
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.00428eb0
push eax
push esi
push str.init_resolve_thread___failed_for__s___s_n
push ebx
call fcn.00425c10
add esp, 0x18
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x434387
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.00428eb0
push eax
push ebp
push esi
push str.gethostbyname_2__failed_for__s:_d___s_n
push ebx
call fcn.00425c10
add esp, 0x1c
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret
push ebp
push eax
call fcn.00438300
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x438550
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0xc]
push ebp
mov ebp, dword [eax]
mov eax, dword [esp + 8]
sub eax, 3
push edi
je 0x43860a
sub eax, 2
je 0x4385ad
sub eax, 1
je 0x438589
push str.tftp_rx:_internal_error
push 0x4daabc
push ebp
call fcn.00425ca0
add esp, 0xc
pop edi
mov eax, 0x47
pop ebp
ret
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebp
call fcn.00425c10
mov ecx, dword [esi + 0x14]
add esp, 0xc
cmp ecx, dword [esi + 0x1c]
jle 0x4385b8
mov dword [esi + 8], 0xffffff9d
pop edi
mov dword [esi], 3
xor eax, eax
pop ebp
ret
mov edx, dword [esi + 0x138]
push edx
mov edx, dword [esi + 0x10]
lea eax, [esi + 0xb8]
push eax
push 0
push 4
lea ecx, [esi + 0x348]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x4386e5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [esi + 0xc]
push eax
call fcn.00428eb0
push eax
push 0x4daabc
push ebp
call fcn.00425ca0
add esp, 0x14
pop edi
mov eax, 0x37
pop ebp
ret
movzx cx, byte [esi + 0x146]
movzx edx, byte [esi + 0x147]
movzx eax, word [esi + 0x30]
shl cx, 8
movzx edi, cx
or edi, edx
inc eax
cmp eax, edi
je 0x438661
push edi
push str.Received_unexpected_DATA_packet_block__d_n
push ebp
call fcn.00425c10
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jle 0x438661
movzx ecx, word [esi + 0x30]
inc ecx
push ecx
push str.tftp_rx:_giving_up_waiting_for_block__d
push ebp
call fcn.00425ca0
add esp, 0xc
pop edi
mov eax, 0x47
pop ebp
ret
lea eax, [esi + 0x348]
mov word [esi + 0x30], di
mov dword [esi + 0x14], 0
mov byte [eax], 0
mov byte [eax + 1], 4
movzx ecx, word [esi + 0x30]
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov ecx, dword [esi + 0x138]
push ecx
lea edx, [esi + 0xb8]
push edx
push 0
push 4
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x4386d0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.00428eb0
push eax
push 0x4daabc
push ebp
call fcn.00425ca0
add esp, 0x14
pop edi
mov eax, 0x37
pop ebp
ret
xor edx, edx
cmp dword [esi + 0x13c], 0x204
setl dl
lea edx, [edx + edx + 1]
mov dword [esi], edx
pop edi
xor eax, eax
pop ebp
ret
Function at 0x4386f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0xc]
push ebx
mov ebx, dword [eax]
mov eax, dword [esp + 8]
push ebp
push edi
xor edi, edi
sub eax, 4
je 0x4387b4
sub eax, 1
je 0x43874e
sub eax, 1
je 0x43872a
push str.tftp_tx:_internal_error
push 0x4daabc
push ebx
call fcn.00425ca0
add esp, 0xc
pop edi
pop ebp
xor eax, eax
pop ebx
ret
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebx
call fcn.00425c10
mov ecx, dword [esi + 0x14]
add esp, 0xc
cmp ecx, dword [esi + 0x1c]
jle 0x43875a
mov dword [esi + 8], 0xffffff9d
pop edi
pop ebp
mov dword [esi], 3
xor eax, eax
pop ebx
ret
mov edx, dword [esi + 0x138]
mov ecx, dword [esi + 0x140]
push edx
lea eax, [esi + 0xb8]
push eax
mov eax, dword [esi + 0x10]
push edi
add ecx, 4
push ecx
lea edx, [esi + 0x348]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x4388f7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.00428eb0
push eax
push 0x4daabc
push ebx
call fcn.00425ca0
add esp, 0x14
pop edi
pop ebp
mov eax, 0x37
pop ebx
ret
movzx cx, byte [esi + 0x146]
movzx edx, byte [esi + 0x147]
shl cx, 8
movzx eax, cx
movzx ecx, word [esi + 0x30]
or eax, edx
movzx edx, cx
cmp eax, edx
je 0x43886c
push edx
push eax
push str.Received_ACK_for_block__d__expecting__d_n
push ebx
call fcn.00425c10
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp eax, dword [esi + 0x1c]
jle 0x438814
movzx eax, word [esi + 0x30]
push eax
push str.tftp_tx:_giving_up_waiting_for_block__d_ack
push ebx
call fcn.00425ca0
add esp, 0xc
mov edi, 0x37
mov eax, edi
pop edi
pop ebp
pop ebx
ret
mov ecx, dword [esi + 0x138]
mov eax, dword [esi + 0x140]
push ecx
lea edx, [esi + 0xb8]
push edx
mov edx, dword [esi + 0x10]
push edi
add eax, 4
push eax
lea ecx, [esi + 0x348]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x438866
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [esi + 0xc]
push eax
call fcn.00428eb0
push eax
push 0x4daabc
push ebx
call fcn.00425ca0
add esp, 0x14
mov edi, 0x37
mov eax, edi
pop edi
pop ebp
pop ebx
ret
mov dword [esi + 0x14], edi
inc ecx
mov word [esi + 0x30], cx
lea edi, [esi + 0x348]
mov byte [edi], 0
mov byte [edi + 1], 3
movzx eax, word [esi + 0x30]
mov ecx, eax
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 3], al
cmp word [esi + 0x30], 1
jbe 0x4388a7
cmp dword [esi + 0x140], 0x200
jl 0x43874e
mov edx, dword [esi + 0xc]
lea ebp, [esi + 0x140]
push ebp
push 0x200
push edx
call fcn.0042da00
add esp, 0xc
test eax, eax
jne 0x43890a
mov eax, dword [esi + 0x138]
mov edx, dword [ebp]
push eax
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0xb8]
push ecx
push 0
add edx, 4
push edx
push edi
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jl 0x43878c
mov eax, dword [ebp]
cdq
add dword [ebx + 0x40], eax
adc dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x40]
push edx
push eax
push ebx
call fcn.00434b70
add esp, 0xc
xor eax, eax
pop edi
pop ebp
pop ebx
ret
Function at 0x439a00
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x14], eax
push ebp
mov ebp, dword [esi]
push edi
mov edi, dword [esi + 0xa4]
push 1
push 0
push esi
call fcn.00431750
add esp, 0xc
test eax, eax
jge 0x439a4d
push str.Timed_out_before_server_could_connect_to_us
push ebp
call fcn.00425ca0
add esp, 8
pop edi
mov eax, 0x1c
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00497164
add esp, 0x18
ret
push eax
push 0xffffffffffffffff
push edi
call fcn.0043d9d0
add esp, 0xc
cmp eax, 0xffffffff
je 0x439b2b
test eax, eax
je 0x439b07
push ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
or ebx, 0xffffffff
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x439aa6
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp ebx, 0xffffffff
jne 0x439ad7
push str.Error_accept__ing_server_connect
push ebp
call fcn.00425ca0
add esp, 8
pop ebx
pop edi
mov eax, 0x1e
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00497164
add esp, 0x18
ret
push str.Connection_accepted_from_server_n
push ebp
call fcn.00425c10
push 1
push ebx
mov dword [esi + 0xa4], ebx
call fcn.00431800
add esp, 0x10
pop ebx
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00497164
add esp, 0x18
ret
push str.Timeout_while_waiting_for_server_connect
push ebp
call fcn.00425ca0
add esp, 8
pop edi
mov eax, 0x1e
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00497164
add esp, 0x18
ret
push str.Error_while_waiting_for_server_connect
push ebp
call fcn.00425ca0
mov ecx, dword [esp + 0x24]
add esp, 8
pop edi
pop ebp
xor ecx, esp
mov eax, 0x1e
call fcn.00497164
add esp, 0x18
ret
Function at 0x43d9d0
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x320
push ebp
mov ebp, dword [esp + 0x328]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x334]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
cmp ebp, 0xffffffff
jne 0x43da32
cmp edi, ebp
jne 0x43da32
mov eax, dword [esp + 0x338]
cmp eax, esi
je 0x43da26
jge 0x43da1f
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x320
ret
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x320
ret
push ebx
mov ebx, dword [esp + 0x33c]
cmp ebx, esi
jle 0x43da4d
mov esi, ebx
call fcn.004343a0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor ecx, ecx
xor eax, eax
or edx, 0xffffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x128], eax
cmp ebp, 0xffffffff
je 0x43da81
mov ecx, 1
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x128], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ecx
mov edx, ebp
mov dword [esp + 0x22c], eax
cmp edi, 0xffffffff
je 0x43dac7
mov dword [esp + 0x230], edi
mov dword [esp + 0x22c], 1
test ecx, ecx
jbe 0x43daae
cmp dword [esp + eax*4 + 0x28], edi
je 0x43daae
inc eax
cmp eax, ecx
jb 0x43daa3
cmp eax, ecx
jne 0x43dabf
cmp ecx, 0x40
jae 0x43dabf
mov dword [esp + eax*4 + 0x28], edi
inc dword [esp + 0x24]
xor eax, eax
cmp edi, edx
jbe 0x43dac7
mov edx, edi
xor ecx, ecx
cmp ebx, eax
setl cl
lea edi, [esp + 0x18]
dec ecx
and ecx, edi
inc edx
mov ebp, ecx
mov dword [esp + 0x20], edx
jmp 0x43dae2
xor eax, eax
cmp ebx, eax
jle 0x43db11
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
mov edx, esi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x1c], edx
jmp 0x43db1b
jne 0x43db1b
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebp
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x134]
push edx
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43db7d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x43db54
cmp eax, 0x2714
jne 0x43db7d
test ebx, ebx
jle 0x43dae0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.004343a0
push edx
push eax
call fcn.004343d0
mov esi, ebx
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x43dae0
pop ebx
test edi, edi
jl 0x43da12
je 0x43da26
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x43dbc3
lea eax, [esp + 0x124]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43dbb1
mov esi, 1
lea ecx, [esp + 0x20]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43dbc3
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x43dbf6
lea edx, [esp + 0x228]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43dbe4
or esi, 2
lea eax, [esp + 0x20]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43dbf6
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x320
ret
Function at 0x43dc10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [eax], 0
call fcn.004343a0
mov ecx, dword [esi + 0x9c]
push ecx
mov ecx, dword [esi + 0x98]
push ecx
push edx
push eax
call fcn.004343d0
add esp, 0x10
cmp eax, ebx
jg 0x43dcb6
mov edi, edi
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x14]
push edx
push 0xffffffffffffffff
push eax
call fcn.0043d9d0
add esp, 0xc
test eax, eax
jle 0x43dcb6
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push edi
push ebp
push edx
push esi
call fcn.00425910
add esp, 0x14
test eax, eax
jne 0x43dcb9
mov eax, dword [esp + 0xc]
cmp edi, eax
je 0x43dcbf
test eax, eax
je 0x43dcb6
add dword [esp + 8], eax
sub edi, eax
add ebp, eax
call fcn.004343a0
mov ecx, dword [esi + 0x9c]
push ecx
mov ecx, dword [esi + 0x98]
push ecx
push edx
push eax
call fcn.004343d0
add esp, 0x10
cmp eax, ebx
jle 0x43dc50
or eax, 0xffffffff
pop edi
pop ebp
add esp, 8
ret
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
add eax, edx
pop edi
mov dword [ecx], eax
xor eax, eax
pop ebp
add esp, 8
ret

Function at 0x43e800
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.0049eea2
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x43e865
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x43e865
lea edx, [esp]
push edx
call dword [0x50c150]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00497164
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00497164
add esp, 0x108
ret
jmp 0x43e800

Function at 0x43e880
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.0049eea2
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x43e865
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x43e865
lea edx, [esp]
push edx
call dword [0x50c150]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00497164
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00497164
add esp, 0x108
ret
jmp 0x43e800
Function at 0x442350
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x64]
push esi
mov eax, edx
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4423a0
sub eax, esi
push edx
lea esi, [esp + 0xc]
call fcn.004421d0
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.00442270
mov ecx, dword [esp + 0x60]
pop edi
pop esi
xor ecx, esp
call fcn.00497164
add esp, 0x5c
ret

Function at 0x443300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.0049f1f0
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x3c], 0
test esi, esi
jne 0x443347
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00497164
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.0049f359
mov edi, eax
add esp, 8
mov eax, 8
call fcn.0049f1f0
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call fcn.00443170
add esp, 0x10
test edi, edi
jl 0x443330
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x443330
push 0x4dab94
push esi
call fcn.0049a962
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x443421
jmp 0x4433a4
mov eax, dword [esp + 0x40]
test ebx, ebx
jle 0x4433b2
cmp ebx, 0x400
mov esi, ebx
jl 0x4433b7
mov esi, 0x400
push eax
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.0049bb8f
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
test edi, edi
jle 0x443405
fild dword [esp + 0x44]
mov eax, 8
call fcn.0049f1f0
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call fcn.00443170
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x4433a0
sub ebx, esi
test ebx, ebx
jg 0x4433a0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0049a11d
lea edx, [esp + 0x7c]
push 0x400
push edx
call fcn.0044c4d0
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00497164
mov esp, ebp
pop ebp
ret
Function at 0x443620
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x74
call fcn.0049f1f0
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
mov ebx, eax
push edi
mov dword [esp + 0x48], ebx
call esi
push 0xa
push edi
mov dword [esp + 0x4c], eax
call esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
push 0x10
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push ebx
mov dword [esp + 0x50], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x50]
push ecx
push 0x18
push esi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
movzx esi, word [esp + 0x60]
imul esi, dword [esp + 0x58]
imul esi, dword [esp + 0x5c]
push 0x2bb
push str..crypto_rand_rand_win.c
push esi
call fcn.004471b0
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x443768
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
xor ebx, ebx
mov dword [esp + 0x38], ecx
test ecx, ecx
jle 0x44375b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push 0xcc0020
push ebx
push 0
push edi
push 0x10
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push ecx
push esi
push edx
call dword [sym.imp.GDI32.dll_GetBitmapBits]
push 0
call fcn.0044b4c0
mov ecx, dword [esp + 0x40]
push eax
push 0
lea eax, [esp + 0x74]
push eax
push esi
push ecx
call fcn.0044b870
add esp, 0x18
mov eax, 8
call fcn.0049f1f0
fldz
fstp qword [esp]
lea edx, [esp + 0x70]
push 0x14
push edx
call fcn.00443170
add ebx, 0x10
add esp, 0x10
cmp ebx, dword [esp + 0x38]
jl 0x4436e3
mov eax, dword [esp + 0x3c]
push eax
call fcn.00447360
mov ebx, dword [esp + 0x44]
add esp, 4
mov eax, dword [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00497164
mov esp, ebp
pop ebp
ret
Function at 0x443e50
Capabilities:
Capture screenshot

Disassembly:
call fcn.004437a0
jmp fcn.00443620

Function at 0x449830
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret