joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aa499
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x10], esi
mov dword [esi], 0x4b514c
call fcn.0040ae00
xor ebp, ebp
lea ecx, [esi + 0x3c]
mov dword [esp + 0x1c], ebp
call fcn.0040a720
lea ecx, [esi + 0x58]
mov byte [esp + 0x1c], 1
call fcn.00465670
lea edi, [esi + 0x1088]
mov ecx, edi
mov byte [esp + 0x1c], 2
mov dword [esi + 0x1084], 0x4b5148
call fcn.004346e0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea ebx, [esi + 0x1094]
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
lea edi, [esi + 0x10a4]
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.0043eed0
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea ecx, [esi + 0x10b0]
mov byte [esp + 0x1c], 5
call fcn.0040a720
mov byte [esp + 0x1c], 6
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
xor eax, eax
lea ecx, [esi + 0x30]
mov dl, 0xff
mov byte [esi + eax + 0x2c], dl
mov dword [ecx], ebp
inc eax
add ecx, 4
cmp eax, 3
jl 0x44cd87
push 0x400
mov ecx, ebx
call fcn.0044bc90
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x456c60
Capabilities:
Create udp socket

Disassembly:
sub esp, 0x18
mov eax, dword [0x4d1788]
push esi
push 0x11
push 2
push 2
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x456cc5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Could_not_create_a_UDP_socket:
push 0x4d60d0
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.004543a0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00454510
mov ecx, esi
call fcn.00453d40
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x14]
call fcn.0047e6cd
add esp, 0x18
ret
xor eax, eax
push ebx
mov dword [esp + 0xc], eax
push ebp
mov dword [esp + 0x14], eax
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x1c], eax
push eax
mov dword [esp + 0x24], eax
mov word [esp + 0x18], 2
call edi
mov ebp, dword [esp + 0x2c]
push ebp
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x30]
test esi, esi
mov bl, byte [esp + 0x34]
mov word [esp + 0x16], ax
je 0x456d72
cmp esi, 0x100007f
je 0x456d72
push esi
call edi
test bl, bl
mov dword [esp + 0x18], eax
je 0x456d72
push 0x456a80
push esi
call edi
push eax
push 0x4b543c
push 0x456aa0
push str.Binding_to_interface
push 0x4d6170
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.00456ac0
push eax
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.00456af0
mov ecx, eax
call fcn.00456ac0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00454510
mov ecx, esi
call fcn.00453d40
mov esi, dword [esp + 0x10]
push 0x10
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x456e4b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
sub eax, 0
je 0x456e13
sub eax, 0x2740
je 0x456df1
dec eax
je 0x456de6
push esi
call fcn.004813d8
add esp, 4
push eax
push 0x4b4000
push esi
push str.Error
push str.Could_not_bind_UDP_receive_port
push 0x4d60d0
call fcn.00453f10
add esp, 8
push eax
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.004543a0
push eax
call fcn.00453f10
add esp, 8
push eax
jmp 0x456e1d
test bl, bl
je 0x456e37
push str.Cannot_assign_requested_address
jmp 0x456e18
push str._for_receiving_UDP_is_in_use
push ebp
push str.Port
push 0x4d60d0
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.00454230
push eax
jmp 0x456e1d
push str.Could_not_bind_socket
push 0x4d60d0
call fcn.00453f10
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00454510
mov ecx, esi
call fcn.00453d40
pop edi
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x14]
call fcn.0047e6cd
add esp, 0x18
ret
mov ecx, dword [esp + 0x24]
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
call fcn.0047e6cd
add esp, 0x18
ret
Function at 0x456e60
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4d1788]
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
push ebx
push edx
mov dword [esp + 0x44], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x456eea
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2736
je 0x456ede
sub ecx, 0x10
je 0x456ed2
push eax
push str.Socket_Error
push 0x4d60d0
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.004543a0
jmp 0x456f44
push str.Error_connection_reset___host_not_reachable
push 0x4d60d0
jmp 0x456f3c
push str.Error_fd_not_a_socket
push 0x4d60d0
jmp 0x456f3c
test eax, eax
jge 0x456ef5
push str.socket_closed__negative_len
jmp 0x456f37
jne 0x456efe
push str.socket_closed__zero_len
jmp 0x456f37
mov eax, dword [esp + 0xe]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push edx
mov word [ecx], ax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov esi, dword [esi]
lea edx, [esi + 1]
cmp edx, edi
jl 0x456f68
mov al, byte [esp + 0x38]
test al, al
je 0x456f56
push str.Received_a_message_that_was_too_large
push 0x4d6170
call fcn.00453f10
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00454510
mov ecx, esi
call fcn.00453d40
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
call fcn.0047e6cd
add esp, 0x14
ret
mov ecx, dword [esp + 0x1c]
pop edi
mov byte [esi + ebx], 0
pop esi
mov al, 1
pop ebx
call fcn.0047e6cd
add esp, 0x14
ret
Function at 0x456f80
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4d1788]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
test ax, ax
push esi
jne 0x456faf
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
push esi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x457001
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
push eax
mov dword [esp + 0x14], edx
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 6], ax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 8]
push ecx
push 0
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x457078
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esi - 0x273f]
cmp eax, 0x12
ja case.0x457020.10048
movzx ecx, byte [eax + 0x457110]
jmp dword [ecx*4 + 0x457104]
push str.err_EAFNOSUPPORT_in_send
push 0x4d60d0
jmp 0x4570ca
push str._in_send
push esi
call fcn.004813d8
add esp, 4
push eax
push 0x4b4000
push esi
push str.err
push 0x4d60d0
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.004543a0
push eax
call fcn.00453f10
add esp, 8
push eax
call fcn.00453f10
add esp, 8
jmp 0x4570c9
test eax, eax
jne 0x457088
push str.no_data_sent_in_send
push 0x4d60d0
jmp 0x4570ca
cmp eax, esi
je 0x4570f4
mov cl, byte [esp + 0x30]
test cl, cl
je case.0x457020.10061
push str._bytes_sent
push esi
push str._out_of
push eax
push str.only
push 0x4d60d0
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.004543a0
push eax
call fcn.00453f10
add esp, 8
mov ecx, eax
call fcn.004543a0
push eax
call fcn.00453f10
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00454510
mov ecx, esi
call fcn.00453d40
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
call fcn.0047e6cd
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov al, 1
pop esi
call fcn.0047e6cd
add esp, 0x14
ret
Function at 0x457280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aaaab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0xc]
mov ecx, esi
mov dword [esp + 8], edi
mov dword [edi], 0x4b5578
call fcn.0040d9e0
xor ecx, ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], ecx
mov dword [esi], 0x4b23b4
mov dword [esi + 0x44], ecx
mov eax, dword [esp + 0x1c]
mov dword [edi + 8], eax
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x48], 5
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
inc edx
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esi + 0x40], edx
je 0x457307
cmp dword [esi + 0x40], ecx
je 0x45731b
mov eax, dword [esi + 0x30]
xor edx, edx
div dword [esi + 0x40]
mov dword [esi + 0x38], eax
jmp 0x45731b
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
ja 0x45731b
mov dword [esi + 0x40], ecx
mov edx, dword [esi + 0x34]
mov dword [esi + 0x38], edx
mov dword [esi + 0x34], ecx
push ecx
push 0x3e8
push ecx
push ecx
mov ecx, esi
call fcn.0040d980
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4574b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aaad0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x28]
push 8
push 0
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x30], 1
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x457516
push eax
call fcn.00401100
mov eax, dword [esp + 0x10]
test eax, eax
push edi
mov edi, eax
je 0x45752a
push eax
call fcn.0047e9ef
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.00401b00
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x459a10
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4aad40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov ebp, ecx
lea esi, [ebp + 4]
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 1
call fcn.0040a7d0
lea ecx, [esp + 0xc]
mov dword [esi + 0x24], 0
call fcn.0040a830
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x459ab3
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x30], eax
je 0x459ab3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x459aa7
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jbe 0x459aa7
push eax
push ebx
mov ecx, esi
call fcn.0040b2f0
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov eax, dword [esp + 0x28]
mov ebp, dword [ebp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459ad9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459aff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

Function at 0x459d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ab258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00459b80
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00434350
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x459d92
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45b300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aaed2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x4b5a24
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov dword [esp + 0x10], 0
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x10], 1
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x10], 2
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x10], 4
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x34], eax
mov ecx, esi
mov byte [esp + 0x10], 5
call fcn.0045aa40
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45d7c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ab2fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov eax, dword [0x4d1788]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x244], eax
mov dword [esp + 0x14], esi
call fcn.0040d9e0
xor ebp, ebp
lea ecx, [esi + 0x38]
mov dword [esp + 0x250], ebp
mov dword [esi], 0x4b5fb8
call fcn.0040a720
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
lea edi, [esi + 0x64]
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebp
lea ecx, [edi + 4]
mov byte [esp + 0x250], 1
mov dword [esp + 0x10], edi
mov dword [edi], 0x4b5a28
call fcn.004944d7
mov byte [esp + 0x250], 2
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ebx, dword [sym.imp.ole32.dll_CoInitialize]
add eax, 0x10
push ebp
mov dword [edi + 0x18], eax
call ebx
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], ebp
mov dword [esi + 0x94], ebp
mov dword [esi + 0x98], ebp
lea ecx, [esi + 0x9c]
mov byte [esp + 0x250], 4
call fcn.0040a720
lea edi, [esi + 0xb8]
mov ecx, edi
mov byte [esp + 0x250], 5
call fcn.004346e0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea ecx, [esi + 0xc4]
mov byte [esp + 0x250], 6
call fcn.0040a720
lea ecx, [esi + 0xe0]
mov byte [esp + 0x250], 7
call fcn.0045a360
push ebp
mov byte [esp + 0x254], 8
call ebx
mov dword [esi + 0x80], 5
mov dword [esi + 0x84], 0x14
mov dword [esi + 0x30], ebp
mov dword [esi + 0x54], 0x48010000
mov dword [esi + 0x58], ebp
mov eax, dword [esi + 0x80]
xor edi, edi
cmp eax, ebp
jbe 0x45d92c
push ebp
push 0x493e0
push ebp
push ebp
mov ecx, esi
call fcn.0040d980
mov eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jb 0x45d912
mov ecx, dword [0x4d2c78]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.0049a8a7
test eax, eax
je 0x45d969
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
jmp 0x45d978
push ebp
call fcn.00480539
add esp, 4
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.http:__ku6.com
call fcn.00404200
lea ecx, [esi + 0x64]
call fcn.0045d0d0
mov ecx, dword [esp + 0x248]
mov dword [esi + 0x34], ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x244]
mov eax, esi
call fcn.0047e6cd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x244
ret
Function at 0x45f180
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4d1788]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45f248
push ebx
push ebp
push esi
push edi
mov esi, eax
mov edi, dword [esi]
lea edx, [ecx + 0xbc]
mov dword [edx], edi
mov edi, dword [esi + 4]
mov dword [edx + 4], edi
mov edi, dword [esi + 8]
mov dword [edx + 8], edi
mov esi, dword [esi + 0xc]
mov dword [edx + 0xc], esi
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov esi, 1
mov edi, 2
mov dword [esp + 0x18], edx
mov ebp, 3
xor edx, edx
sub esi, eax
sub edi, eax
sub ebp, eax
lea eax, [esp + edx + 0x10]
mov ebx, edx
and ebx, 7
mov bl, byte [ebx + 0x4cfd8c]
xor byte [eax], bl
lea ebx, [esi + eax]
and ebx, 7
mov bl, byte [ebx + 0x4cfd8c]
xor byte [eax + 1], bl
lea ebx, [edi + eax]
and ebx, 7
mov bl, byte [ebx + 0x4cfd8c]
xor byte [eax + 2], bl
lea ebx, [eax + ebp]
and ebx, 7
mov bl, byte [ebx + 0x4cfd8c]
xor byte [eax + 3], bl
add edx, 4
cmp edx, 0x10
jl 0x45f1f0
mov edx, dword [ecx]
push 0x10
lea eax, [esp + 0x14]
push eax
push 0xe
call dword [edx + 8]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
call fcn.0047e6cd
add esp, 0x14
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4ab51b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
mov eax, dword [0x4d1788]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x240], eax
mov edi, ecx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x4b6230
push edx
mov dword [esp + 0x25c], esi
call fcn.004022f0
mov esi, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0049a8a7
mov edi, dword [esp + 0x254]
test eax, eax
mov dword [esp + 0x24c], 0xffffffff
lea eax, [esi - 0x10]
je 0x45ff36
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], edx
jmp 0x45ff3b
mov dword [edi], ebx
mov dword [edi + 4], ebp
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ff52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x244]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x234]
pop ebx
call fcn.0047e6cd
add esp, 0x240
ret 4
Function at 0x460270
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x4ab58e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
mov eax, dword [0x4d1788]
push ebp
push esi
push edi
mov dword [esp + 0x268], eax
mov edi, ecx
mov eax, dword [esp + 0x27c]
mov ecx, dword [eax - 0xc]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x274], esi
jne 0x4602c3
lea ecx, [edi + 0x10]
push ecx
lea ecx, [esp + 0x280]
call fcn.00402060
push str..
lea edx, [esp + 0x280]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.004023c0
add esp, 0xc
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x27c], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4603be
lea eax, [esp + 0x44]
push 0x4af818
push eax
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x4603a3
lea ecx, [esp + 0x44]
push 0x4b4018
push ecx
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x4603a3
test byte [esp + 0x18], 0x10
je 0x46039f
push 0x4af0b4
lea edx, [esp + 0x280]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004023c0
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
lea edx, [esp + 0x48]
push edx
push eax
push ecx
mov byte [esp + 0x284], 2
call fcn.004023c0
add esp, 0xc
mov ecx, edi
call fcn.00460270
add esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x274], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4603a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4603a3
add esi, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460300
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x274], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4603e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x27c]
add eax, 0xfffffff0
mov dword [esp + 0x274], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460410
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x268]
mov eax, esi
call fcn.0047e6cd
pop edi
pop esi
pop ebp
add esp, 0x26c
ret 4