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

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x41cd92
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0x39
add eax, 0xffffffff
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x41cef0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x140]
test ecx, ecx
je 0x41cf0b
mov edx, dword [esi + 0xe4]
push edx
push edi
push ebx
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
jl 0x41cf3f
cmp eax, 2
jg 0x41cf3f
mov ecx, dword [esi + 0xe0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x4522e4]
push 2
push edx
call fcn.00431cf7
mov eax, dword [esi + 0xe0]
push eax
push 1
push edi
push ebx
call fcn.00431cf7
add esp, 0x20
xor eax, eax
ret

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

Disassembly:
mov eax, dword [edi + eax*4 + 0xd4]
push esi
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41d1b5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x41d19b
xor eax, eax
pop esi
ret
push eax
push edi
call fcn.0042c280
push eax
mov eax, dword [edi]
push str.Send_failure:__s
push eax
call fcn.0041d0d0
add esp, 0x14
mov eax, esi
pop esi
ret
Function at 0x41d920
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, dword [edi]
movzx eax, byte [esi + 0x27e]
push 4
lea ecx, [esp + 8]
push ecx
push 1
push 6
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x41d964
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.0042c280
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.0041d040
add esp, 0x14
pop esi
pop ecx
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.0041d040
add esp, 8
pop esi
pop ecx
ret
Function at 0x41ddb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x460]
cmp eax, 0xffffffff
je 0x41de16
mov ecx, dword [ecx + 0x454]
mov edx, dword [ecx]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x41de16
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov eax, dword [eax]
je 0x41dddc
mov dword [ecx], eax
mov ecx, dword [eax + 0xd4]
push esi
mov esi, dword [esp + 0xc]
mov dword [esi], ecx
cmp byte [eax + 0xdc], 0
jne 0x41de0c
mov eax, dword [eax + 0xd4]
push 2
push 1
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x41de12
mov dword [esi], 0xffffffff
pop esi
xor eax, eax
ret
mov ecx, dword [esp + 8]
mov dword [ecx], 0xffffffff
xor eax, eax
ret
Function at 0x41f7d0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push esi
push 1
push 0x24
call dword [0x461010]
xor ebx, ebx
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
jne 0x41f802
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
mov eax, dword [edi + 0x2bc]
push ebp
lea ebp, [edi + 0x2bc]
push eax
mov dword [esp + 0x10], ebp
call fcn.00414110
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x46100c]
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
jne 0x41f849
push esi
call dword [0x461004]
add esp, 4
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x20]
push ebx
push 1
mov dword [edi + 0x2c0], edx
mov byte [edi + 0x2c8], bl
mov dword [edi + 0x2cc], ebx
mov dword [edi + 0x2c4], ebx
mov dword [edi + 0x2d0], esi
push ebx
mov dword [esi + 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x41f886
push ebp
jmp 0x41f8d9
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x41f8d4
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x1c], eax
jne 0x41f8b1
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x41f8d9
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x20], eax
jne 0x41f8c6
mov edx, dword [esp + 0xc]
push edx
jmp 0x41f8d9
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x18], eax
jne 0x41f8f2
mov eax, dword [esp + 0xc]
push eax
call fcn.0041f6f0
add esp, 4
push 0xb
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
lea ecx, [esi + 4]
push ecx
push ebx
push edi
push 0x41f620
push ebx
push ebx
call fcn.00435912
add esp, 0x18
cmp eax, ebx
mov dword [esi], eax
jne 0x41f931
call fcn.004357c8
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0xc]
push eax
call fcn.0041f6f0
add esp, 4
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x18]
push edx
push 2
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push ebx
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
pop ebp
mov dword [esi + 0xc], eax
pop esi
mov al, 1
pop ebx
add esp, 0xc
ret
Function at 0x41f970
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x174]
test eax, eax
mov esi, dword [edi + 0x2d0]
mov dword [esp + 0x14], ecx
jne 0x41f99d
mov eax, dword [ecx + 0x170]
test eax, eax
jne 0x41f99d
mov eax, 0x493e0
push eax
mov eax, dword [esi + 0x14]
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
test ebp, ebp
mov dword [esi + 0x14], 0
mov bl, 1
jne 0x41f9f9
mov ecx, dword [esi]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41fa4f
mov edx, dword [esi]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ebp, [esi + 8]
mov byte [edi + 0x2c8], bl
mov dword [ebp], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41fa19
mov edx, dword [edi + 0x2c4]
mov dword [eax], edx
xor esi, esi
cmp dword [edi + 0x2c4], esi
jne 0x41fb00
mov ebp, dword [ebp]
cmp ebp, 0x1b
jne 0x41fa6b
push ebp
mov esi, ebp
call fcn.0042b940
push eax
mov eax, dword [esp + 0x1c]
push str.Could_not_resolve_host:__s
push eax
call fcn.0041d0d0
add esp, 0x10
jmp 0x41fb00
mov eax, dword [edi + 0x2cc]
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 0x41fa09
cmp byte [edi + 0x2c8], 0
je 0x41fad1
cmp byte [edi + 0x12b], 0
mov ecx, dword [edi + 0x2cc]
push ecx
push edi
je 0x41faab
call fcn.0042c280
mov edx, dword [edi + 0xa0]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Could_not_resolve_proxy:__s___s
push eax
call fcn.0041d0d0
add esp, 0x18
mov esi, 5
jmp 0x41fb00
call fcn.0042c280
mov edx, dword [edi + 0x8c]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Could_not_resolve_host:__s___s
push eax
call fcn.0041d0d0
add esp, 0x18
mov esi, 6
jmp 0x41fb00
cmp ebp, 0xffffffff
je 0x41fae2
cmp dword [edi + 0x2cc], 0x2afc
jne 0x41fafb
mov ecx, dword [edi + 0x8c]
mov edx, dword [esp + 0x14]
push ecx
push 0x4525b8
push edx
call fcn.0041d0d0
add esp, 0xc
mov esi, 0x1c
lea eax, [edi + 0x2bc]
push eax
call fcn.0041f6f0
add esp, 4
cmp dword [edi + 0x2c4], 0
mov eax, esi
jne 0x41fb20
mov byte [edi + 0x128], bl
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41fbd0
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]
lea ecx, [esp + 0x10]
push ecx
push esi
push 2
mov dword [eax], 0
call fcn.0042c4a0
add esp, 0xc
test eax, eax
jle 0x41fc14
mov edx, dword [esp + 0x18]
push edx
push esi
lea eax, [esp + 0x18]
push eax
push 2
call fcn.0041f440
add esp, 0x10
pop edi
pop esi
pop ebx
ret
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push esi
call fcn.0041f7d0
add esp, 8
test al, al
je 0x41fc38
mov ecx, dword [esp + 0x20]
pop ebp
pop edi
pop esi
mov dword [ecx], 1
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.0042c280
push eax
push esi
push str.init_resolve_thread___failed_for__s___s_n
push ebx
call fcn.0041d040
add esp, 0x18
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x41fc85
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.0042c280
push eax
push ebp
push esi
push str.gethostbyname_2__failed_for__s:_d___s_n
push ebx
call fcn.0041d040
add esp, 0x1c
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret
push ebp
push eax
call fcn.0041f310
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x420960
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x461194]
xor eax, esp
mov dword [esp + 0x14], eax
push ebp
mov ebp, dword [esi]
push edi
mov edi, dword [esi + 0xd8]
push 1
push 0
push esi
call fcn.0041d4a0
add esp, 0xc
test eax, eax
jge 0x4209ad
push str.Timed_out_before_server_could_connect_to_us
push ebp
call fcn.0041d0d0
add esp, 8
pop edi
mov eax, 0x1c
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00430e4c
add esp, 0x18
ret
push eax
push 0xffffffffffffffff
push edi
call fcn.00427830
add esp, 0xc
cmp eax, 0xffffffff
je 0x420a8b
test eax, eax
je 0x420a67
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 0x420a06
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 0x420a37
push str.Error_accept__ing_server_connect
push ebp
call fcn.0041d0d0
add esp, 8
pop ebx
pop edi
mov eax, 0x1e
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00430e4c
add esp, 0x18
ret
push str.Connection_accepted_from_server_n
push ebp
call fcn.0041d040
push 1
push ebx
mov dword [esi + 0xd8], ebx
call fcn.0041d550
add esp, 0x10
pop ebx
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00430e4c
add esp, 0x18
ret
push str.Timeout_while_waiting_for_server_connect
push ebp
call fcn.0041d0d0
add esp, 8
pop edi
mov eax, 0x1e
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00430e4c
add esp, 0x18
ret
push str.Error_while_waiting_for_server_connect
push ebp
call fcn.0041d0d0
mov ecx, dword [esp + 0x24]
add esp, 8
pop edi
pop ebp
xor ecx, esp
mov eax, 0x1e
call fcn.00430e4c
add esp, 0x18
ret
Function at 0x422b40
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebp
mov ebp, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
cmp eax, 2
push edi
mov edi, dword [ebx]
je 0x422b7a
push str.Couldnt_set_desired_mode
push edi
call fcn.0041d0d0
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x422b91
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edi
call fcn.0041d040
add esp, 0xc
cmp ebp, 0x11
jne 0x422ba4
mov eax, ebx
call fcn.00422200
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x12
jne 0x422bb5
call fcn.00422250
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x13
jne 0x422bc8
mov eax, ebx
call fcn.00421070
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x422bd6
mov eax, ebx
call fcn.00421080
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x423170
Capabilities:
Check http status code

Disassembly:
cmp byte [esp + 4], 0
push ebx
sete bl
lea ebx, [ebx*8 + 0x41]
cmp byte [esi + 0x310], bl
jne 0x4231a2
mov eax, edi
mov ecx, esi
call fcn.00421030
pop ebx
mov dword [esp + 4], edi
mov ecx, 0xc8
mov eax, esi
jmp fcn.00422b40
movsx eax, bl
push eax
push str.TYPE__c
push esi
call fcn.004215f0
add esp, 0xc
test eax, eax
jne 0x4231c9
mov eax, edi
mov ecx, esi
call fcn.00421030
mov byte [esi + 0x310], bl
xor eax, eax
pop ebx
ret
Function at 0x427830
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x31c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [esp + 0x32c]
push esi
xor esi, esi
cmp ebx, 0xffffffff
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
jne 0x427870
cmp ebp, ebx
jne 0x427870
mov eax, dword [esp + 0x334]
call fcn.00427810
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
push edi
mov edi, dword [esp + 0x338]
cmp edi, esi
jle 0x42788b
mov esi, edi
call fcn.00428ff0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x124], eax
je 0x4278bf
mov ecx, 1
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov edx, ebx
cmp ebp, 0xffffffff
mov dword [esp + 0x228], eax
je 0x427906
test ecx, ecx
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x228], 1
jbe 0x4278ee
cmp dword [esp + eax*4 + 0x24], ebp
je 0x4278ee
add eax, 1
cmp eax, ecx
jb 0x4278e1
cmp eax, ecx
jne 0x427900
cmp ecx, 0x40
jae 0x427900
mov dword [esp + eax*4 + 0x24], ebp
add dword [esp + 0x20], 1
cmp ebp, edx
jbe 0x427906
mov edx, ebp
xor ebx, ebx
test edi, edi
setl bl
lea eax, [esp + 0x18]
lea ebp, [edx + 1]
sub ebx, 1
and ebx, eax
lea esp, [esp]
xor eax, eax
cmp edi, eax
jle 0x427951
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 ecx, esi
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [esp + 0x1c], ecx
jmp 0x42795b
jne 0x42795b
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x130]
push ecx
push ebp
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x4279c5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x42798e
cmp eax, 0x2714
jne 0x4279c9
test edi, edi
jle 0x427920
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00428ff0
push edx
push eax
call fcn.00429020
mov esi, edi
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x427920
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
test eax, eax
jge 0x4279d7
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
jne 0x4279e6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x31c
ret
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x427a1d
lea ecx, [esp + 0x124]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x427a0b
mov esi, 1
lea edx, [esp + 0x20]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x427a1d
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x427a50
lea eax, [esp + 0x228]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x427a3e
or esi, 2
lea ecx, [esp + 0x20]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x427a50
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
Function at 0x428480
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [eax], 0
call fcn.00428ff0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0xd0]
push ecx
mov ecx, dword [esi + 0xcc]
push ecx
push edx
push eax
call fcn.00429020
mov ebx, dword [esp + 0x40]
add esp, 0x10
cmp eax, ebx
jg 0x428535
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
lea ebx, [ebx]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x20]
push edx
push 0xffffffffffffffff
push eax
call fcn.00427830
add esp, 0xc
test eax, eax
jle 0x428535
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
push edx
call fcn.0041cd60
add esp, 0x10
test eax, eax
jne 0x428538
mov eax, dword [esp + 0x14]
cmp edi, eax
je 0x428540
test eax, eax
je 0x428535
add dword [esp + 0x10], eax
sub edi, eax
add ebp, eax
call fcn.00428ff0
mov ecx, dword [esi + 0xd0]
push ecx
mov ecx, dword [esi + 0xcc]
push ecx
push edx
push eax
call fcn.00429020
add esp, 0x10
cmp eax, ebx
jle 0x4284d0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
add eax, edx
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x429c80
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x429c8f
jmp dword [ecx*4 + 0x429ce4]
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 0x429e70
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x461194]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00436422
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x429ed5
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x429ed5
lea edx, [esp]
push edx
call dword [0x46100c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00430e4c
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00430e4c
add esp, 0x108
ret
jmp 0x429e70
Function at 0x429ef0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x461194]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00436422
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x429ed5
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x429ed5
lea edx, [esp]
push edx
call dword [0x46100c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00430e4c
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00430e4c
add esp, 0x108
ret
jmp 0x429e70

Function at 0x42c9a0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 2
sete bl
test bl, bl
je 0x42c9c5
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0xc]
push eax
push ebp
push 1
push edi
call ecx
jmp 0x42c9f7
cmp dword [esi + 8], 0
jne 0x42c9ea
mov edx, dword [eax + 8]
push 0x45c824
push edx
call fcn.004339c3
add esp, 8
test eax, eax
mov dword [esi + 8], eax
jne 0x42c9ea
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esi + 8]
push eax
push ebp
push 1
push edi
call fcn.00433ccd
mov edi, eax
add esp, 0x10
test edi, edi
je 0x42ca04
cmp edi, ebp
jbe 0x42ca21
test bl, bl
jne 0x42ca1b
mov ecx, dword [esi + 8]
push ecx
call fcn.00431b19
add esp, 4
mov dword [esi + 8], 0
mov edx, dword [esi]
mov eax, dword [edx]
mov dword [esi], eax
mov eax, edi
pop edi
pop ebp
pop ebx
ret
Function at 0x42d440
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
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
Function at 0x430e4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461194]
jne 0x430e56
repz ret
jmp fcn.0043990d

Function at 0x4402fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00439b92
and dword [ebp - 4], 0
cmp dword [0x463b30], 0
mov ebx, eax
jne 0x4403ad
push 0x459f14
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x44045e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x459f08
push edi
call esi
test eax, eax
je 0x44045e
push eax
call fcn.00439b20
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463b30], eax
call esi
push eax
call fcn.00439b20
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463b34], eax
call esi
push eax
call fcn.00439b20
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x463b38], eax
call esi
push eax
call fcn.00439b20
pop ecx
mov dword [0x463b40], eax
test eax, eax
je 0x4403ad
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439b20
pop ecx
mov dword [0x463b3c], eax
mov eax, dword [0x463b3c]
cmp eax, ebx
je 0x440405
cmp dword [0x463b40], ebx
je 0x440405
push eax
call fcn.00439b9b
push dword [0x463b40]
mov esi, eax
call fcn.00439b9b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x440405
test edi, edi
je 0x440405
call esi
test eax, eax
je 0x4403fc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4403fc
test byte [ebp - 0xc], 1
jne 0x440405
or dword [ebp + 0x10], 0x200000
jmp 0x44043e
mov eax, dword [0x463b34]
cmp eax, ebx
je 0x44043e
push eax
call fcn.00439b9b
pop ecx
test eax, eax
je 0x44043e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44043e
mov eax, dword [0x463b38]
cmp eax, ebx
je 0x44043e
push eax
call fcn.00439b9b
pop ecx
test eax, eax
je 0x44043e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463b30]
call fcn.00439b9b
pop ecx
test eax, eax
je 0x44045e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x440460
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448057
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00439b92
and dword [ebp - 4], 0
cmp dword [0x463ba0], 0
mov ebx, eax
jne 0x448108
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4481b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4481b9
push eax
call fcn.00439b20
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463ba0], eax
call esi
push eax
call fcn.00439b20
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463ba4], eax
call esi
push eax
call fcn.00439b20
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x463ba8], eax
call esi
push eax
call fcn.00439b20
pop ecx
mov dword [0x463bb0], eax
test eax, eax
je 0x448108
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439b20
pop ecx
mov dword [0x463bac], eax
mov eax, dword [0x463bac]
cmp eax, ebx
je 0x448160
cmp dword [0x463bb0], ebx
je 0x448160
push eax
call fcn.00439b9b
push dword [0x463bb0]
mov esi, eax
call fcn.00439b9b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x448160
test edi, edi
je 0x448160
call esi
test eax, eax
je 0x448157
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x448157
test byte [ebp - 0xc], 1
jne 0x448160
or dword [ebp + 0x10], 0x200000
jmp 0x448199
mov eax, dword [0x463ba4]
cmp eax, ebx
je 0x448199
push eax
call fcn.00439b9b
pop ecx
test eax, eax
je 0x448199
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x448199
mov eax, dword [0x463ba8]
cmp eax, ebx
je 0x448199
push eax
call fcn.00439b9b
pop ecx
test eax, eax
je 0x448199
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463ba0]
call fcn.00439b9b
pop ecx
test eax, eax
je 0x4481b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4481bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret