joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013cf
Capabilities:
Encode data using xor

Disassembly:
jmp 0x411f5d
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x412080
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebx, str.Soviet_aristo_baristo
mov ebp, 0x4f9448
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0x3b
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0x4f
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0xa2
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
xor byte [esi + edi], 0xc0
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0x5e
push ebx
push ebp
call fcn.00403490
add esp, 0x44
push eax
call fcn.004013b6
xor byte [esi + edi], 0xdf
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0xec
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0x7d
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
xor byte [esi + edi], 0xcb
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
xor byte [esi + edi], 0x68
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0xda
add esp, 0x40
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0xed
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0xe0
push ebx
push ebp
call fcn.00403490
push eax
call fcn.004013b6
add byte [esi + edi], 0x58
add esp, 0x24
inc esi
cmp esi, dword [esp + 0x18]
jb 0x411f7b
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x402946
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x412674
sub esp, 0x20
mov eax, dword [0x4f7024]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + esi + 0x78]
add edi, esi
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
add ebx, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4126f3
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401e2e
push str.Hardline
push 0x4f9530
call fcn.00402d60
push eax
call fcn.00406082
lea eax, [esp + 0x20]
push 0x36c
push eax
call fcn.00402cc5
add esp, 0x14
cmp eax, dword [esp + 0x38]
je 0x41270d
lea ecx, [esp + 0x14]
add ebx, 4
call fcn.00402982
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x4126a5
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403030
add esp, 0x20
ret 8
mov eax, dword [edi + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402982
jmp 0x4126f5
Function at 0x10003f80
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 0
push 0
push 0xa0000
push 0xa0000
push 0xff
push 0
push 0x40000003
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004081
push ebx
push edi
push 0
push 0
push 1
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push esi
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x10004055
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x217
je 0x10004055
cmp eax, 0x3e5
jne 0x1000403a
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1000405a
push eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000405a
jmp 0x10004058
call edi
push eax
push str.CWinPipe::AcceptRaw
push str._s:_ConnectNamedPipe_failed:__d_n
call dword [sym.imp.MSVCR120.dll_printf]
mov edi, dword [ebp + 8]
add esp, 0xc
jmp 0x1000405a
mov edi, dword [ebp + 8]
mov bl, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test bl, bl
jne 0x10004076
push esi
call edi
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CWinPipe::AcceptRaw
push str._s:_CreateNamedPipe_failed__d_n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 0xc
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100040b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 1], 0
movdqu xmmword [ebp - 0x20], xmm0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10004125
push 0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1000411a
cmp dword [ebp + 0xc], ebx
jne 0x1000411a
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x3e5
jne 0x1000417e
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1000417e
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x10004194
cmp dword [ebp + 0xc], ebx
jne 0x10004194
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
call edi
push eax
push str.CWinPipe::SendRaw
push str._s:_failed:__d_n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 0xc
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10004220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov edx, ecx
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 8], edx
xorps xmm0, xmm0
mov dword [ebp - 4], ecx
movdqu xmmword [ebp - 0x28], xmm0
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10004349
push esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
nop
lea ebx, [ebp - 0x28]
sub eax, ecx
push ebx
push 0
push eax
mov eax, dword [ebp + 8]
add eax, ecx
push eax
push dword [edx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
test eax, eax
jne 0x100042f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10004329
mov ecx, dword [ebp - 8]
push 0x1cff
push 0xffffffffffffffff
push 0
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 2
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x100042f1
cmp eax, 2
jne 0x10004329
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call esi
test eax, eax
je 0x10004292
lea eax, [ebp - 0x44]
push eax
call edi
lea eax, [ebp - 0x44]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call esi
test eax, eax
jne 0x100042d1
jmp 0x10004292
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x10004346
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp ecx, eax
jae 0x10004346
mov edx, dword [ebp - 8]
jmp 0x10004260
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CWinPipe::RecvRaw
push str._s:_failed:__d_n
call dword [sym.imp.MSVCR120.dll_printf]
mov ecx, dword [ebp - 4]
add esp, 0xc
pop ebx
pop edi
pop esi
xor eax, eax
cmp ecx, dword [ebp + 0xc]
sete al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100046d0
Capabilities:
Initialize winsock library
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
mov dword [ebp - 0x19c], 0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000470d
push eax
push str.WSAStartup_failed:__d
push 0x52
jmp 0x1000474c
push 0x100b9d78
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [ebp - 0x19c]
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetBestInterface]
test eax, eax
je 0x1000473f
push eax
push str.Network_is_unreachable:__lu
push 0x5b
push str.SystemUtility::Device::getCurrentNetwork
call fcn.10095c20
add esp, 0x10
push dword [ebp - 0x19c]
push str.Best_interface_is:__lu
push 0x5e
push str.SystemUtility::Device::getCurrentNetwork
call fcn.10095c20
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp - 0x19c]
xor ecx, ebp
call fcn.100ab974
mov esp, ebp
pop ebp
ret
Function at 0x100067e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad01d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10003740
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x10]
mov eax, dword [esi]
push 0xffffffffffffffff
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.10003660
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x20], esi
mov dword [esi + 0x10], 0
push 0x24
mov byte [esp + 0x6c], 2
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
jne 0x1000689c
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_alloc_void_]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 4
push ecx
mov ecx, eax
call fcn.1000ca80
mov dword [esi + 0x10], eax
mov byte [esp + 0x68], 1
call fcn.10005c50
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x18
cmp dword [esp + 0x24], 0x10
jb 0x100068d4
push dword [esp + 0x10]
call esi
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
jb 0x100068f9
push dword [esp + 0x28]
call esi
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100ab974
mov esp, ebp
pop ebp
ret 8

Function at 0x1000a2d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x100b9fa8
inc eax
cmp byte [eax], 0
jne 0x1000a302
sub eax, 0x100b9fa8
mov dword [esp + 0x28], 0x100005
mov dword [esp + 0x1c], 0x100b9fa8
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0xc]
mov esi, 0x1606
mov eax, ecx
mov dword [esp + 0x38], 0
cdq
test ecx, ecx
mov dword [esp + 0xc], eax
mov eax, 0x3e06
cmovns esi, eax
mov dword [esp + 0x10], edx
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], esi
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.10009bc0
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.10009320
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10009320
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
mov eax, edx
cmp byte [edx], 0
je 0x1000a3cc
inc eax
cmp byte [eax], 0
jne 0x1000a3c6
sub eax, edx
mov dword [esp + 0x28], 0x100005
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov dword [esp + 0x38], 0
cmp byte [ecx], 0
je 0x1000a3f6
inc eax
cmp byte [eax], 0
jne 0x1000a3f0
sub eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push ecx
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x100005
push eax
mov ecx, esi
call fcn.10009bc0
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.10009320
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10009320
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000a450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov eax, edx
cmp byte [edx], 0
je 0x1000a48d
inc eax
cmp byte [eax], 0
jne 0x1000a487
sub eax, edx
mov dword [esp + 0x28], 0x100005
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0xc]
mov esi, 0x1606
mov eax, ecx
mov dword [esp + 0x38], 0
cdq
test ecx, ecx
mov dword [esp + 0xc], eax
mov eax, 0x3e06
cmovns esi, eax
mov dword [esp + 0x10], edx
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], esi
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.10009bc0
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.10009320
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.10009320
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000ddb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [esi + 0xc], eax
jne 0x1000ddde
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x1000def0
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
xor eax, eax
cmp dword [esi + 8], eax
pop esi
setne al
pop ebp
ret 4
Function at 0x1000efe0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100adaa0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
xor edx, edx
lea eax, [edi + 0x198]
xchg dword [eax], edx
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edx, edx
je 0x1000f0b5
lea esi, [edi + 0x30]
push esi
mov dword [esp + 0x14], esi
call ebx
mov byte [esi + 0x18], 1
mov dword [esp + 0x40], 0
mov ecx, dword [edi + 0x13c]
mov byte [edi + 0x154], 0
test ecx, ecx
je 0x1000f088
call fcn.1000d980
mov ebx, dword [edi + 0x13c]
test ebx, ebx
je 0x1000f078
mov ecx, ebx
call fcn.1000d6e0
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi + 0x13c], 0
mov ecx, dword [edi + 0x1bc]
lea eax, [esp + 0x14]
push 8
push eax
mov dword [esp + 0x1c], 0x11
mov dword [esp + 0x20], 9
call fcn.100041a0
push esi
mov byte [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi + 0x1b8], 0
lea esi, [edi + 0x1b8]
je 0x1000f133
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi + 0x1a0]
mov eax, dword [edi + 0x1a4]
push 0
shld eax, ecx, 1
push 0x3e8
add ecx, ecx
push eax
push ecx
call fcn.100ac4b0
add eax, dword [edi + 0x1a8]
adc edx, dword [edi + 0x1ac]
cmp dword [esp + 0x18], edx
jl 0x1000f133
jg 0x1000f109
cmp dword [esp + 0x14], eax
jb 0x1000f133
xor eax, eax
xchg dword [esi], eax
test eax, eax
je 0x1000f133
mov ecx, dword [edi + 0x1bc]
lea eax, [esp + 0x1c]
push 0x10
push eax
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x28], 4
call fcn.100041a0
lea esi, [edi + 0x30]
push esi
mov dword [esp + 0x18], esi
call ebx
mov byte [esi + 0x18], 1
mov dword [esp + 0x40], 1
cmp dword [edi + 0xbc], 0
je 0x1000f1e4
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [edi + 0x1b0]
mov eax, ebx
or eax, dword [edi + 0x1b4]
je 0x1000f1e4
push 0
push 0x32
push dword [edi + 0x1a4]
push dword [edi + 0x1a0]
call fcn.100ac560
push 0
push 0x3e8
push edx
push eax
call fcn.100ac4b0
add eax, ebx
adc edx, dword [edi + 0x1b4]
cmp dword [esp + 0x20], edx
jl 0x1000f1e4
jg 0x1000f1aa
cmp dword [esp + 0x1c], eax
jb 0x1000f1e4
mov eax, dword [edi + 0xbc]
cmp byte [eax + 0x24], 0
je 0x1000f1e4
mov eax, dword [eax + 8]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test byte [esp + 0x10], 1
je 0x1000f1e4
mov ecx, dword [edi + 0xbc]
cmp byte [ecx + 0x25], 0
jne 0x1000f1e4
call fcn.10010610
push esi
mov byte [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100ab974
mov esp, ebp
pop ebp
ret
Function at 0x10018b80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
add eax, 0x18
mov dword [ebp - 0x44], 0
cmp dword [eax + 0x14], 8
jb 0x10018bc1
mov eax, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.MSVCP120.dll_enum_std::tr2::sys::file_type___cdecl_std::tr2::sys::_Stat_wchar_t_const___int__]
add esp, 8
test eax, eax
je 0x10018bdc
cmp eax, 1
je 0x10018bdc
mov bl, 1
jmp 0x10018bde
xor bl, bl
mov ecx, dword [edi]
lea edx, [ecx + 0x18]
call fcn.1001aac0
test al, al
je 0x10018bf6
mov eax, 2
jmp 0x10018c9c
mov ecx, dword [edi]
lea eax, [ebp - 0x40]
push eax
add ecx, 0x18
call fcn.100196e0
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
mov ecx, dword [edi]
push eax
call fcn.100196e0
cmp dword [esi + 0x14], 8
jb 0x10018c20
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x10018c28
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
sete bh
cmp dword [ebp - 0x14], 8
jb 0x10018c4b
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x10018c6d
push dword [ebp - 0x40]
call esi
add esp, 4
test bh, bh
je 0x10018c90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ecx, 0x70
jne 0x10018c83
lea eax, [ecx - 0x6b]
jmp 0x10018c9c
xor eax, eax
cmp ecx, 0x20
setne al
add eax, 6
jmp 0x10018c9c
xor eax, eax
mov ecx, 3
test bl, bl
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ab974
mov esp, ebp
pop ebp
ret
Function at 0x1001fcf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100af210
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xec4]
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 1
push eax
lea ecx, [edi + 0x710]
call fcn.1006d270
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.100553b0
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.1001d9e0
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [edi + 0xf34]
mov byte [edi + 0xebd], 0
mov byte [edi + 0xf2c], 0
call fcn.1003ed00
cmp byte [edi + 0xf40], 0
je 0x1001fdd8
push 0
push str.show_change__d
push 0x34
push str.vbox::CKeyboardShow::SetShow
mov byte [edi + 0xf40], 0
call fcn.10095c20
add esp, 0x10
lea eax, [edi + 0xfd8]
mov ecx, 1
lock xadd dword [eax], ecx
lea ecx, [edi + 0x1008]
call fcn.1001d7e0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001fe0d
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret