joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455a1d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
call fcn.00454f7a
push 0x4eb7f8
push dword [ebp + 8]
call dword [0x4ea814]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x455a98
and dword [ebp - 4], 0
push edi
push esi
push 1
lea eax, [ebp - 4]
push 2
push eax
call dword [0x4ea818]
push esi
mov edi, eax
call dword [0x4ea80c]
add esp, 0x14
cmp edi, 1
pop edi
jne 0x455a94
cmp word [ebp - 4], 0xfeff
je 0x455a88
cmp word [ebp - 4], 0x5b
je 0x455a88
cmp word [ebp - 4], 0x7f
jbe 0x455a88
push dword [ebp + 8]
mov ecx, ebx
call fcn.004552a3
jmp 0x455a9a
push dword [ebp + 8]
mov ecx, ebx
call fcn.00455651
jmp 0x455a9a
mov al, 1
jmp 0x455a9a
xor al, al
pop esi
pop ebx
leave
ret 4

Function at 0x458e86
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e0181
call fcn.004d0500
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.xl::win32::net::asyn_tcp_socket.0
call dword [0x4ea6d4]
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [ebp - 4], edi
call dword [0x4ea6d4]
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call dword [0x4ea6d4]
mov eax, dword [ebp + 8]
or dword [esi + 0x10], 0xffffffff
or dword [esi + 0x70], 0xffffffff
push 0x400
mov dword [esi + 8], eax
lea eax, [esi + 0x74]
push edi
push eax
mov dword [esi + 0xc], edi
mov dword [esi + 4], edi
mov dword [esi + 0x30], edi
mov word [esi + 0x6c], di
call fcn.004d05b6
or dword [esi + 0x478], 0xffffffff
mov ecx, dword [ebp - 0xc]
add esp, 0xc
or dword [esi + 0x47c], 0xffffffff
mov dword [esi + 0x474], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4590ac
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x52d320]
push ebx
push esi
push edi
push 0x10
pop edi
xor eax, ebp
xor ebx, ebx
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.004d05b6
push edi
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004d05b6
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x10]
mov dword [ebp - 0x28], edi
call sub.WS2_32.dll_getpeername
test eax, eax
jne 0x459110
push dword [ebp - 0x12]
call sub.WS2_32.dll_ntohs
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x10]
mov dword [ebp - 0x28], edi
call sub.WS2_32.dll_getsockname
test eax, eax
jne 0x459135
push dword [ebp - 0x22]
call sub.WS2_32.dll_ntohs
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
push dword [esi + 0x478]
mov ecx, esi
mov dword [esi + 4], 3
call fcn.00458f63
push dword [ebp - 0x30]
mov ecx, dword [esi + 8]
push dword [ebp - 0x2c]
mov eax, dword [ecx]
push dword [ebp - 0x34]
push ebx
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret
Function at 0x45927c
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52d320]
push esi
xor eax, ebp
push 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push 0
push eax
mov esi, ecx
call fcn.004d05b6
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x10], eax
xor eax, eax
mov ax, word [esi + 0x6c]
add esp, 0xc
mov word [ebp - 0x14], 2
push eax
call sub.WS2_32.dll_htons
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x10]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x4592e6
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4592e6
push 1
push eax
mov ecx, esi
call fcn.0045916a
jmp 0x4592ed
mov dword [esi + 4], 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004d0557
leave
ret

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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x459394
push ebx
lea ebx, [esi + 0x14]
push edi
mov ecx, dword [esi + 0x30]
sub eax, ecx
cmp eax, 0x2000
jb 0x45931e
mov eax, 0x2000
cmp dword [ebx + 0x18], 0x10
jb 0x459329
mov edx, dword [ebx + 4]
jmp 0x45932c
lea edx, [ebx + 4]
push 0
push eax
add ecx, edx
push ecx
push dword [esi + 0x10]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x45936c
add dword [esi + 0x30], eax
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x28]
cmp edi, eax
jne 0x45930d
mov eax, dword [0x4ea4b8]
push dword [eax]
mov ecx, ebx
push 0
call dword [0x4ea4c0]
mov ecx, dword [esi + 8]
and dword [esi + 0x30], 0
mov eax, dword [ecx]
push edi
call dword [eax + 8]
jmp 0x459392
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x459388
push dword [esi + 0x28]
mov ecx, dword [esi + 8]
push dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x459392
push 0
push eax
mov ecx, esi
call fcn.0045916a
pop edi
pop ebx
pop esi
ret
Function at 0x459396
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov eax, 0xa00c
lea ebp, [esp - 0x9f8c]
call fcn.004d06c0
mov eax, dword [0x52d320]
push ebx
push esi
xor eax, ebp
push 0
mov dword [ebp + 0x9f88], eax
push 0xa000
lea eax, [ebp - 0x78]
mov esi, ecx
push eax
push dword [esi + 0x10]
call sub.WS2_32.dll_recv
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4593f2
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x459479
push 0
push eax
mov ecx, esi
call fcn.0045916a
jmp 0x459479
test ebx, ebx
mov ecx, esi
jne 0x459407
call fcn.00459028
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x459479
push edi
push dword [esi + 0x478]
call fcn.00458f63
push ebx
lea eax, [ebp - 0x78]
lea edi, [esi + 0x34]
push eax
mov ecx, edi
call dword [0x4ea748]
cmp dword [edi + 0x18], 0x10
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x7c], eax
jb 0x459434
mov ecx, dword [edi + 4]
jmp 0x459437
lea ecx, [edi + 4]
lea ebx, [ebp - 0x7c]
push ebx
mov dword [ebp - 0x80], ecx
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push eax
push dword [ebp - 0x80]
call dword [edx + 0x10]
test eax, eax
jne 0x459478
push esi
call dword [0x4ea1c8]
test eax, eax
jne 0x459478
cmp dword [esi + 0x10], 0xffffffff
je 0x459478
cmp dword [esi + 4], 3
jne 0x459478
mov eax, dword [ebp - 0x7c]
cmp dword [esi + 0x48], eax
jb 0x459478
push eax
push 0
mov ecx, edi
call dword [0x4ea4c0]
pop edi
mov ecx, dword [ebp + 0x9f88]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
add ebp, 0x9f8c
leave
ret

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

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0x10
jb 0x45923b
mov eax, dword [esi + 0x54]
jmp 0x45923e
lea eax, [esi + 0x54]
push 0x400
lea ecx, [esi + 0x74]
push ecx
push eax
mov eax, dword [esi + 0xc]
push 0x402
push dword [eax + 4]
call sub.WS2_32.dll_WSAAsyncGetHostByName
test eax, eax
mov dword [esi + 0x474], eax
jne 0x459273
call sub.WS2_32.dll_WSAGetLastError
push 1
push eax
mov ecx, esi
call fcn.0045916a
pop esi
ret
mov dword [esi + 4], 1
pop esi
ret
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x45964f
push eax
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x459615
mov ecx, dword [esi + 0xc]
push 0x3f
push 0x401
push dword [ecx + 4]
push eax
call sub.WS2_32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
jne 0x459626
call sub.WS2_32.dll_WSAGetLastError
push 1
push eax
mov ecx, esi
call fcn.0045916a
pop esi
ret
cmp dword [esi + 0x68], 0x10
jb 0x459631
mov eax, dword [esi + 0x54]
jmp 0x459634
lea eax, [esi + 0x54]
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esi + 0x70], eax
mov ecx, esi
pop esi
jne 0x45964a
jmp 0x45922d
jmp fcn.0045927c
cmp eax, 3
jne 0x459624
mov ecx, esi
pop esi
jmp fcn.004592fa

Function at 0x46103c
Capabilities:
Set global application hook

Disassembly:
push esi
mov esi, ecx
call dword [0x4ea278]
push eax
push 0
push 0x460fe4
push 3
call dword [0x4eabfc]
test eax, eax
mov dword [esi + 0x14], eax
jne 0x461060
xor al, al
pop esi
ret
mov dword [0x532b48], esi
mov al, 1
pop esi
ret
Function at 0x462d50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e097f
call fcn.004d0500
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
inc ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], ebx
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
mov dword [esi], vtable.xl::xml::basic_xml_element_char_.0
call dword [0x4ea6d4]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], bl
call dword [0x4ea6d4]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 2
call dword [0x4ea6d4]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 8], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x46ed87
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4e15c7
call fcn.004d0500
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 8], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.xl::win32::net::asyn_http_file_event.0
mov dword [esi], method.xl::win32::net::asyn_tcp_socket_event.virtual_4
mov dword [esi + 4], 0x4f932c
mov dword [esi + 0x14], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], 0x4f9248
mov dword [esi + 0x1c], edi
lea ebx, [esi + 0x20]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0045f6d1
mov dword [ebx], 0x4f74a8
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call dword [0x4ea6b0]
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 4
call fcn.0042d8c6
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x50], edi
mov dword [esi + 0xc], edi
pop edi
mov dword [esi + 0x18], esi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x477bc7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e221e
call fcn.004d0500
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], 0x4f5c64
mov dword [esi + 8], 0x4f5c64
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], esi
mov dword [esi], method.xl::win32::net::asyn_tcp_socket_event.virtual_4
mov dword [esi + 4], 0x4f9d2c
mov dword [esi + 8], 0x4f9d28
call fcn.0043f62c
mov dword [ebp - 4], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 2
call fcn.0043f62c
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.0043f62c
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 6
call dword [0x4ea6b0]
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 7
call dword [0x4ea6b0]
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 8
call dword [0x4ea6b0]
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 9
call dword [0x4ea6b0]
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0xa
call dword [0x4ea6b0]
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 0xb
call fcn.0043f62c
lea eax, [esi + 0x138]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0x14c]
mov byte [ebp - 4], 0xd
mov dword [esi + 0x148], ebx
call fcn.004744c6
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov byte [esi + 0x20], bl
mov byte [esi + 0xfc], bl
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov byte [esi + 0xfe], bl
mov dword [esi + 0x124], ebx
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x128], bl
mov byte [esi + 0xff], bl
mov byte [esi + 0xfd], bl
mov byte [esi + 0x15c], bl
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], 0x96
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x479471
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
mov eax, 0x4e24e6
call fcn.004d0500
sub esp, 0x2f0
mov eax, dword [0x52d320]
push ebx
xor eax, ebp
mov ebx, ecx
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebx + 0x28]
push eax
lea ecx, [ebp - 0x3c]
call dword [0x4ea4ec]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
and dword [ebp - 4], 0
cmp eax, ecx
mov dword [ebp - 0x78], eax
je 0x479551
mov esi, 0x4fa140
push edi
lea edi, [eax + 0xc]
push edi
lea eax, [ebp - 0xcc]
push esi
push eax
call fcn.00417759
add esp, 0xc
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call dword [0x4ea6b8]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0
call dword [0x4ea4f8]
push dword [edi + 0x1c]
lea eax, [ebp - 0xb0]
push eax
call fcn.00452e3b
push eax
lea eax, [ebp - 0x94]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.00417759
add esp, 0x14
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call dword [0x4ea6b8]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call dword [0x4ea4f8]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call dword [0x4ea4f8]
lea ecx, [ebp - 0x78]
call fcn.00472d6a
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x78]
cmp eax, ecx
jne 0x4794b6
pop edi
lea ecx, [ebp - 0x74]
call dword [0x4ea6d4]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call dword [0x4ea6a4]
push eax
call fcn.0044f54c
add esp, 0xc
lea ecx, [ebp - 0x2fc]
call fcn.004d2f62
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
mov byte [ebp - 0x20], 0x22
mov byte [ebp - 0x1f], 0x41
mov byte [ebp - 0x1e], 0x27
mov byte [ebp - 0x1d], 0x34
mov byte [ebp - 0x1c], 0x59
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x25
mov byte [ebp - 0x19], 0x5e
mov byte [ebp - 0x18], 0x62
mov byte [ebp - 0x17], 0x16
mov byte [ebp - 0x16], 0x22
mov byte [ebp - 0x15], 0x5e
mov byte [ebp - 0x14], 0x20
mov byte [ebp - 0x13], 0x21
mov byte [ebp - 0x12], 0x7d
mov byte [ebp - 0x11], 0x86
call dword [0x4ea6d4]
push 0x80
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 6
call fcn.004d2f65
lea eax, [ebp - 0x58]
push eax
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.004d3095
test al, al
je 0x479640
push 0x4fa138
lea ecx, [ebx + 0xc]
call dword [0x4ea6a4]
push eax
call dword [0x4ea814]
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x58]
call dword [0x4ea704]
push eax
push 1
lea ecx, [ebp - 0x58]
call dword [0x4ea4e0]
push eax
call dword [0x4ea810]
push esi
call dword [0x4ea80c]
add esp, 0x14
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call dword [0x4ea4dc]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 4
call fcn.0049a79c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call dword [0x4ea4dc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call dword [0x4ea4f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret
Function at 0x47b5bf
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x52d320]
xor eax, esp
push esi
mov dword [esp + 0x194], eax
lea eax, [esp + 4]
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x47b5ee
xor al, al
jmp 0x47b5f5
mov ecx, esi
call fcn.0047b421
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.004d0557
add esp, 0x194
ret

Function at 0x483263
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x52d320]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], eax
je 0x483312
cmp ebx, edi
je 0x483312
cmp dword [ebp + 0x10], edi
jbe 0x483312
push esi
call dword [0x4eaadc]
test eax, eax
je 0x483312
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push edi
push 2
push 0x400
push esi
push 1
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call dword [0x4ea0c8]
test eax, eax
je 0x483312
mov esi, dword [0x4ea0c0]
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push 6
push dword [ebp - 0x2c]
call esi
test eax, eax
je 0x4832f5
push dword [ebp - 0x38]
call fcn.004d00df
cmp eax, edi
pop ecx
mov dword [ebp - 0x34], eax
jne 0x483323
cmp dword [ebp - 0x30], edi
je 0x483304
push edi
push dword [ebp - 0x30]
call dword [0x4ea0c4]
cmp dword [ebp - 0x2c], edi
je 0x483312
push dword [ebp - 0x2c]
call dword [0x4ea0cc]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
push 6
push dword [ebp - 0x2c]
call esi
test eax, eax
jne 0x483357
cmp dword [ebp - 0x30], edi
je 0x483343
push edi
push dword [ebp - 0x30]
call dword [0x4ea0c4]
cmp dword [ebp - 0x2c], edi
je 0x4833ce
push dword [ebp - 0x2c]
call dword [0x4ea0cc]
jmp 0x4833ce
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0xc]
lea eax, [edx + edx + 1]
cmp dword [ebp + 0x10], eax
jb 0x483334
push 8
pop ecx
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
xor ecx, ecx
cmp edx, esi
jbe 0x4833aa
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
sub eax, ecx
movzx eax, byte [eax + edx - 1]
mov edi, eax
shr edi, 4
mov di, word [ebp + edi*2 - 0x28]
and eax, 0xf
mov ax, word [ebp + eax*2 - 0x28]
mov word [ebx + ecx*4], di
mov word [ebx + ecx*4 + 2], ax
inc ecx
cmp ecx, edx
jb 0x48337d
cmp dword [ebp - 0x30], esi
mov word [ebx + ecx*4], si
je 0x4833bd
push esi
push dword [ebp - 0x30]
call dword [0x4ea0c4]
cmp dword [ebp - 0x2c], esi
je 0x4833cb
push dword [ebp - 0x2c]
call dword [0x4ea0cc]
xor edi, edi
inc edi
push dword [ebp - 0x34]
call fcn.004d05e0
pop ecx
mov eax, edi
jmp 0x483314
Function at 0x4833de
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x52d320]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
test esi, esi
mov dword [ebp - 4], eax
je 0x483455
test ebx, ebx
je 0x483455
push esi
call dword [0x4eaadc]
test eax, eax
je 0x483455
and word [ebp - 0x418], 0
push edi
xor eax, eax
mov ecx, 0x104
lea edi, [ebp - 0x416]
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00483263
add esp, 0xc
test eax, eax
pop edi
je 0x483455
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [0x4ea834]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x483457
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret

Function at 0x4869c1
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4e338c
call fcn.004d0500
push ecx
mov eax, dword [0x4eac50]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x38]
mov dword [ebp - 4], edi
mov dword [esi], 0x4fb324
call fcn.00452a09
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
lea eax, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x90]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xb0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 9
call dword [0x4ea6b0]
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 0xa
call fcn.0048673d
lea ecx, [esi + 0x188]
mov byte [ebp - 4], 0xb
call dword [0x4ea6b0]
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0xc
call dword [0x4ea6b0]
lea ecx, [esi + 0x1c0]
mov byte [ebp - 4], 0xd
call dword [0x4ea6b0]
lea ecx, [esi + 0x1dc]
mov byte [ebp - 4], 0xe
call dword [0x4ea6b0]
lea ecx, [esi + 0x200]
mov byte [ebp - 4], 0xf
call fcn.0043f62c
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
inc eax
or dword [esi + 0x1fc], 0xffffffff
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x58], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4890af
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e3843
call fcn.004d0500
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], eax
call fcn.0048a4c1
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 3
call fcn.00452a09
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x48a16c
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4e396a
call fcn.004d0500
sub esp, 0x20
mov eax, dword [0x52d320]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push 0x4eb7dc
push eax
mov edi, ecx
call dword [0x4ea814]
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x48a1a2
xor al, al
jmp 0x48a1f0
lea ecx, [ebp - 0x2c]
call dword [0x4ea6d4]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.0047a577
push esi
lea ecx, [ebp - 0x2c]
call dword [0x4ea704]
push eax
push 1
lea ecx, [ebp - 0x2c]
call dword [0x4ea4e0]
push eax
call dword [0x4ea810]
push esi
call dword [0x4ea80c]
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x2c]
call dword [0x4ea4dc]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d0557
leave
ret 4

Function at 0x48d4cc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e3eca
call fcn.004d0500
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
leave
ret

Function at 0x48f6b9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e4151
call fcn.004d0500
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0xc], edi
mov dword [ebp - 0x10], esi
mov dword [eax], vtable.xl::win32::net::asyn_http_file_event.0
mov dword [ebp - 4], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004512d1
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x5e0], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret