joyce8/EMBER2024-capa huggingface dataset:
Function at 0x591858
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x591914
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
je 0x591926
cmp eax, 0x3e5
je 0x5918bc
mov eax, edi
call fcn.00591934
jmp 0x591926
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call sub.kernel32.dll_WaitForMultipleObjects
sub eax, 0xffffffff
je 0x591902
dec eax
je 0x591926
dec eax
je 0x5918d8
jmp 0x59190b
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x30]
push eax
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
jne 0x591914
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
je 0x591926
mov eax, edi
call fcn.00591934
jmp 0x591926
mov eax, edi
call fcn.00591934
jmp 0x591926
mov eax, edi
call fcn.00591934
jmp 0x591926
sub ebx, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
test ebx, ebx
ja 0x591886
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x591d78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov eax, dword [ebp + 8]
call fcn.00404ed4
xor eax, eax
push ebp
push 0x591dce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cec
test eax, eax
jle 0x591db6
mov edx, 1
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edx - 1]
xor ebx, ecx
inc edx
dec eax
jne 0x591da8
xor ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x591dd5
lea eax, [ebp + 8]
call fcn.00404a34
ret
Function at 0x5a69fc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x5a6a4d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x5a6a34
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x5a6a24
jmp 0x5a6a4d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x5a6a35
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c1254
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ed4
mov eax, dword [ebp - 8]
call fcn.00404ed4
xor eax, eax
push ebp
push 0x5c1464
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
test edi, edi
jl 0x5c143c
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebx + 0x98]
call fcn.00404cec
cmp eax, 5
jge 0x5c12db
lea eax, [ebx + 0x98]
mov edx, 0x5c1480
call fcn.00404a88
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00409a04
test al, al
je 0x5c1434
mov ax, word [ebx + 0x106]
push eax
push dword [ebx + 0x102]
push dword [ebx + 0xfe]
lea edx, [ebp - 0x14]
mov eax, 0x5c1490
call fcn.0040be14
mov eax, dword [ebp - 0x14]
mov edx, 0x5c1490
call fcn.00404e30
jne 0x5c1434
mov ax, word [ebx + 0xe8]
push eax
push dword [ebx + 0xe4]
push dword [ebx + 0xe0]
lea edx, [ebp - 0x18]
mov eax, 0x5c1490
call fcn.0040be14
mov eax, dword [ebp - 0x18]
push eax
mov ax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov eax, 0x5c1490
call fcn.0040be14
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00404e30
jne 0x5c1434
mov edx, dword [ebx + 0x8c]
mov eax, dword [ebp - 8]
call fcn.00409a04
test al, al
je 0x5c1434
mov eax, dword [ebx + 0x20]
mov edx, 0x5c14a0
call fcn.00404e30
je 0x5c1434
mov eax, dword [ebx + 0x78]
mov edx, 0x5c14ac
call fcn.00404e30
je 0x5c1434
mov eax, dword [ebx + 0x78]
mov edx, 0x5c14b8
call fcn.00404e30
je 0x5c1434
mov eax, dword [ebx + 0xa8]
mov edx, 0x5c14c4
call fcn.00404e30
je 0x5c1434
mov eax, dword [ebx + 0xac]
mov edx, 0x5c14d0
call fcn.00404e30
je 0x5c1434
mov eax, dword [ebx + 0x3c]
mov edx, 0x5c14dc
call fcn.00404e30
je 0x5c1434
mov eax, dword [ebx + 0x30]
mov edx, 0x5c14dc
call fcn.00404e30
je 0x5c1434
lea eax, [ebp - 0x20]
push eax
mov ecx, 3
mov edx, 0x5c14e8
mov eax, dword [ebx + 0xc8]
call fcn.004daa30
mov eax, dword [ebp - 0x20]
mov edx, 0x5c14dc
call fcn.00404e30
je 0x5c1434
mov eax, dword [ebx + 0x98]
cmp byte [eax + 4], 0x59
je 0x5c1434
mov dword [ebp - 0x10], esi
jmp 0x5c143c
inc esi
dec edi
jne 0x5c12af
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c146b
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404a58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a58
ret
Function at 0x5d0ac7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x7078e6
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5d0b1f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x707907
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x5d0b15
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x5d0b23
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x5f0268
Capabilities:
Set socket configuration

Disassembly:
push ebx
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
mov eax, dword [0x709be4]
push eax
lea eax, [esp + 4]
push eax
push 0x1005
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
mov eax, dword [0x709be4]
push eax
lea eax, [esp + 4]
push eax
push 0x1006
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
mov eax, dword [0x709be4]
push eax
lea eax, [esp + 8]
push eax
push 0x1002
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
mov eax, dword [0x709be4]
push eax
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
pop ecx
pop edx
pop ebx
ret
Function at 0x5f03b0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 5], cl
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404ed4
xor eax, eax
push ebp
push 0x5f052d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp - 4], 0
je 0x5f050a
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005efe7c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404acc
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.004032d8
mov word [ebx], 2
push edi
call sub.wsock32.dll_htons
mov word [ebx + 2], ax
mov eax, dword [ebp - 4]
call fcn.005efd14
test al, al
je 0x5f0448
mov eax, dword [ebp - 4]
call fcn.00404ee4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebx + 4], eax
jmp 0x5f0485
lea ecx, [ebp - 0x14]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.005f0678
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00404acc
cmp dword [ebp - 4], 0
jne 0x5f0474
mov dword [esi], 0x271e
jmp 0x5f050a
mov eax, dword [ebp - 4]
call fcn.00404ee4
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebx + 4], eax
mov al, byte [ebp - 5]
dec al
jne 0x5f04a6
push esi
mov ecx, 0x11
mov edx, 2
mov eax, 2
call fcn.005f0150
mov dword [ebp - 0xc], eax
jmp 0x5f050a
push esi
mov ecx, 6
mov edx, 1
mov eax, 2
call fcn.005f0150
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x5f04d7
cmp byte [ebp + 0x10], 0
jne 0x5f04d7
mov ecx, esi
mov dl, byte [ebp + 0x10]
mov eax, dword [ebp - 0xc]
call fcn.005f0190
cmp dword [ebp - 0xc], 0xffffffff
je 0x5f050a
mov ecx, esi
mov edx, 0x1f4
mov eax, dword [ebp - 0xc]
call fcn.005f0208
push 0x10
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x5f050a
call sub.wsock32.dll_WSAGetLastError
mov dword [esi], eax
lea eax, [ebp - 0xc]
call fcn.005f032c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f0534
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404a58
lea eax, [ebp - 4]
call fcn.00404a34
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp + 0xc]
push ebx
lea ebx, [ebp - 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push ebx
push ecx
push edx
push eax
call sub.wsock32.dll_sendto
mov ebx, eax
mov eax, ebx
call fcn.005f0184
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5f0600
Capabilities:
Get socket status

Disassembly:
push esi
push edi
add esp, 0xfffffef4
mov esi, ecx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
test dl, dl
je 0x5f0632
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
jmp 0x5f0643
push esp
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
call sub.wsock32.dll_select
add esp, 0x10c
pop edi
pop esi
ret

Function at 0x5f0678
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00404ed4
xor eax, eax
push ebp
push 0x5f0714
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404ee4
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x5f06f7
movsx edx, word [eax + 0xa]
test edx, edx
jns 0x5f06ba
add edx, 3
sar edx, 2
cmp esi, edx
jg 0x5f06ee
dec esi
mov edx, esi
shl edx, 2
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
add eax, edx
lea edx, [ebp - 4]
mov ecx, 4
call fcn.00402b24
mov eax, dword [ebp - 4]
call fcn.005f0d50
mov edx, eax
mov eax, ebx
call fcn.00404c24
jmp 0x5f06fe
mov eax, ebx
call fcn.00404a34
jmp 0x5f06fe
mov eax, ebx
call fcn.00404a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f071b
lea eax, [ebp - 8]
call fcn.00404a34
ret

Function at 0x5f48ac
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ed4
xor eax, eax
push ebp
push 0x5f49fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x5f49d6
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.0040ac0c
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x5f49bf
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5f49b9
mov ebx, dword [edx]
test ebx, ebx
je 0x5f49b3
lea eax, [ebp - 0x29c]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x5f4a18
call fcn.0040b320
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.00404a88
mov byte [ebp - 5], 1
jmp 0x5f49c3
mov byte [ebp - 5], 0
jmp 0x5f49c3
mov byte [ebp - 5], 0
jmp 0x5f49c3
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f49dd
call sub.wsock32.dll_WSACleanup
ret
Function at 0x60407c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428c6c
cmp ebx, dword [ebp - 8]
jge 0x6040df
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004290ac
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004290ac
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004290d8
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x6040a5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x6040e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428c6c
cmp ebx, dword [ebp - 8]
jge 0x60414b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004290ac
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004290ac
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004290d8
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x604111
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x60b08c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404ed4
xor eax, eax
push ebp
push 0x60b1ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, 1
jmp 0x60b1a0
mov eax, dword [ebp - 4]
mov bl, byte [eax + edi - 1]
push ebx
call sub.kernel32.dll_IsDBCSLeadByte
test eax, eax
je 0x60b174
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi - 1]
shl eax, 8
mov edx, dword [ebp - 4]
movzx edx, byte [edx + edi]
add eax, edx
lea edx, [ebp - 0x10]
call fcn.0040a0f0
push 0
push 0
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
mov eax, dword [ebp - 0x10]
call fcn.00404cec
mov esi, eax
test esi, esi
jle 0x60b15a
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
movzx eax, byte [eax + edx - 1]
mov bl, byte [eax + 0x709d8c]
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
mov byte [ebp - 9], al
push 0
push 0
mov al, byte [ebp - 9]
push eax
push ebx
call sub.user32.dll_keybd_event
push 0
push 2
mov al, byte [ebp - 9]
push eax
push ebx
call sub.user32.dll_keybd_event
inc dword [ebp - 8]
dec esi
jne 0x60b118
push 0
push 2
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
add edi, 2
jmp 0x60b1a0
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
mov byte [ebp - 9], al
push 0
push 1
mov al, byte [ebp - 9]
push eax
push ebx
call sub.user32.dll_keybd_event
push 0
push 3
mov al, byte [ebp - 9]
push eax
push ebx
call sub.user32.dll_keybd_event
inc edi
mov eax, dword [ebp - 4]
call fcn.00404cec
cmp edi, eax
jle 0x60b0bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60b1d5
lea eax, [ebp - 0x10]
call fcn.00404a34
lea eax, [ebp - 4]
call fcn.00404a34
ret
Function at 0x60b724
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov esi, eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x60b48c]
call fcn.00467628
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x300], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x304], eax
mov edx, esi
mov eax, ebx
call fcn.0060be28
mov dl, byte [ebp - 1]
mov eax, ebx
call fcn.0060be50
mov dl, byte [0x709dc8]
mov eax, ebx
call fcn.0060bf38
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x2f0]
mov edx, dword [eax + 0x48]
mov ecx, esi
mov eax, ebx
call fcn.0060bff0
mov eax, dword [ebp - 8]
mov edi, dword [ebx + 0x2f0]
sub eax, dword [edi + 0x4c]
mov esi, eax
test esi, esi
jle 0x60b7bc
mov eax, dword [ebx + 0x2f0]
mov edx, dword [eax + 0x4c]
add edx, esi
mov eax, edi
call fcn.0044ddb4
mov edx, dword [ebx + 0x4c]
add edx, esi
mov eax, ebx
call fcn.0044ddb4
push 4
mov eax, ebx
call fcn.00454e9c
push eax
call sub.user32.dll_ShowWindow
push 0x213
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, ebx
call fcn.00454e9c
push eax
call sub.user32.dll_SetWindowPos
xor edx, edx
mov eax, ebx
call fcn.0060b8a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x610af8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x610c10
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4192cc]
call fcn.00403b14
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x610beb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [0x70ae7c]
mov eax, dword [eax]
mov edx, dword [eax + 0xb68]
lea eax, [ebp - 4]
mov ecx, 0x610c28
call fcn.004d9780
lea edx, [ebp - 0x18]
mov eax, dword [0x70ac0c]
mov eax, dword [eax]
call fcn.0046f568
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040a990
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0x610c38
call fcn.00404d38
mov eax, dword [ebp - 0x10]
call fcn.0040a700
test al, al
jne 0x610b8c
mov eax, dword [ebp - 0x10]
call fcn.0040ab58
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x610be1
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0040aa58
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404d38
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404ee4
push eax
mov eax, dword [ebp - 8]
call fcn.00404ee4
push eax
call sub.kernel32.dll_CopyFileA
inc esi
dec ebx
jne 0x610b9e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x610bf5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x610c17
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404a58
ret
Function at 0x62ba4c
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x62ba54
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62bcbd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x3a4]
call fcn.0053864c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00405bb4
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x374]
call fcn.0053864c
lea edx, [ebp - 0x20]
lea eax, [esi + 4]
call fcn.00405bb4
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x32c]
call fcn.0053864c
lea edx, [ebp - 0x30]
lea eax, [esi + 8]
call fcn.00405bb4
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x330]
call fcn.0053864c
lea edx, [ebp - 0x40]
lea eax, [esi + 0xc]
call fcn.00405bb4
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x394]
call fcn.0053864c
lea edx, [ebp - 0x50]
lea eax, [esi + 0x10]
call fcn.00405bb4
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x3c0]
call fcn.0053864c
lea edx, [ebp - 0x60]
lea eax, [esi + 0x14]
call fcn.00405bb4
lea edx, [ebp - 0x70]
mov eax, dword [ebx + 0x3d4]
call fcn.0053864c
lea edx, [ebp - 0x70]
lea eax, [esi + 0x18]
call fcn.00405bb4
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x38c]
call fcn.00538590
push dword [ebp - 0x74]
push 0x62bcd4
lea edx, [ebp - 0x78]
mov eax, dword [ebx + 0x3d8]
call fcn.00538590
push dword [ebp - 0x78]
lea eax, [esi + 0x1c]
mov edx, 3
call fcn.00404dac
lea edx, [ebp - 0x7c]
mov eax, dword [ebx + 0x3c8]
call fcn.00538590
push dword [ebp - 0x7c]
push 0x62bcd4
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0x3dc]
call fcn.00538590
push dword [ebp - 0x80]
lea eax, [esi + 0x20]
mov edx, 3
call fcn.00404dac
lea edx, [ebp - 0x90]
mov eax, dword [ebx + 0x3cc]
call fcn.0053864c
lea eax, [ebp - 0x90]
call fcn.00405b8c
mov dword [esi + 0x40], eax
lea edx, [ebp - 0xa0]
mov eax, dword [ebx + 0x3d0]
call fcn.0053864c
lea eax, [ebp - 0xa0]
call fcn.00405ba4
fstp xword [esi + 0x48]
wait
lea edx, [ebp - 0xb0]
mov eax, dword [ebx + 0x3a8]
call fcn.0053864c
lea edx, [ebp - 0xb0]
lea eax, [esi + 0x28]
call fcn.00405bb4
lea edx, [ebp - 0xc0]
mov eax, dword [ebx + 0x3b8]
call fcn.0053864c
lea edx, [ebp - 0xc0]
lea eax, [esi + 0x2c]
call fcn.00405bb4
lea edx, [ebp - 0xd0]
mov eax, dword [ebx + 0x3b4]
call fcn.0053864c
lea edx, [ebp - 0xd0]
lea eax, [esi + 0x30]
call fcn.00405bb4
lea edx, [ebp - 0xd4]
mov eax, dword [ebx + 0x300]
call fcn.00598cf4
mov edx, dword [ebp - 0xd4]
lea eax, [esi + 0x34]
call fcn.00404a88
lea ecx, [ebp - 0xd8]
mov eax, dword [0x70ae7c]
mov eax, dword [eax]
mov edx, dword [eax + 0xb8]
mov eax, dword [esi + 0x34]
call fcn.005a4488
mov edx, dword [ebp - 0xd8]
lea eax, [esi + 0x38]
call fcn.00404a88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62bcc4
lea eax, [ebp - 0xd8]
mov edx, 2
call fcn.00404a58
lea eax, [ebp - 0xd0]
mov edx, dword [0x40114c]
mov ecx, 5
call fcn.00405694
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.00404a58
lea eax, [ebp - 0x70]
mov edx, dword [0x40114c]
mov ecx, 7
call fcn.00405694
ret