joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047050
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov dword [ebp - 8], ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov word [ebp - 0xc], ax
push 0x208
push 0
lea ecx, [ebp - 0x42c]
push ecx
call fcn.1024a480
add esp, 0xc
mov edx, 2
shl edx, 0
mov eax, 0x3a
mov word [ebp + edx - 0x10], ax
push 3
mov ecx, dword [ebp - 8]
call fcn.100474c0
mov byte [ebp - 1], 0x61
jmp 0x100470a6
mov cl, byte [ebp - 1]
add cl, 1
mov byte [ebp - 1], cl
movsx edx, byte [ebp - 1]
cmp edx, 0x7a
jg 0x10047163
movsx ax, byte [ebp - 1]
mov ecx, 2
imul edx, ecx, 0
mov word [ebp + edx - 0x10], ax
push 0x104
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x1004715e
movsx edx, byte [ebp - 1]
push edx
call fcn.1025b6b4
add esp, 4
mov ecx, 2
imul edx, ecx, 0
mov word [ebp + edx - 0x224], ax
mov eax, 2
shl eax, 0
mov ecx, 0x3a
mov word [ebp + eax - 0x224], cx
mov edx, 2
shl edx, 1
xor eax, eax
mov word [ebp + edx - 0x224], ax
lea ecx, [ebp - 0x42c]
push ecx
call fcn.10251edf
add esp, 4
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x42c]
push edx
push 0x104
lea eax, [ebp - 0x21e]
push eax
call fcn.1025b5db
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10047560
jmp 0x1004709d
mov ecx, dword [ebp - 8]
call fcn.100472a0
mov esp, ebp
pop ebp
ret
Function at 0x1004fed0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x104f3394], 0
je 0x1004fee2
jmp 0x10050077
push 0x1030846c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1004fefb
jmp 0x10050077
push 0x10308478
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f3384], eax
push 0x1030848c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33b0], eax
push 0x103084a0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33a0], eax
push 0x103084b0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33b8], eax
push 0x103084c0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f339c], eax
push 0x103084d0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33c0], eax
push 0x103084e8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33ac], eax
push 0x10308504
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33bc], eax
push 0x10308520
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33b4], eax
push 0x1030853c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33a4], eax
push 0x10308554
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f33a8], eax
push 0x10308564
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f3388], eax
push str.NtSetInformationThread
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f3390], eax
push str.NtSuspendProcess
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f338c], eax
push 0x103085a0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f3398], eax
push str.NtOpenSymbolicLinkObject
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f3378], eax
push str.NtQuerySymbolicLinkObject
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f337c], eax
push 0x103085ec
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f3394], eax
push 0x10308604
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104f3380], eax
mov esp, ebp
pop ebp
ret
Function at 0x100507a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.10051740
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10248ee6
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x38], eax
mov ecx, dword [ebp - 8]
call fcn.10051900
movzx ecx, al
test ecx, ecx
je 0x10050917
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
push eax
call fcn.10055090
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x44], eax
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1005090f
mov byte [ebp - 1], 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10051340
mov ecx, dword [ebp - 8]
call fcn.10050560
movzx edx, al
test edx, edx
je 0x1005090f
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.100516c0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x1005090f
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x44], 0
jbe 0x1005089a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x44]
cmp edx, dword [ebp - 0x10]
jae 0x1005089a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10248ee1
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.10248ee6
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x38], ecx
push 0
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1005090f
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 8]
call fcn.10051340
mov ecx, dword [ebp - 8]
call fcn.100519f0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 4
Function at 0x10052590
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.10248ee6
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x28], eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100525fe
mov dword [ebp - 8], 1
jmp 0x10052605
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x100534c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 8]
call fcn.10053590
movzx eax, al
test eax, eax
jne 0x100534e3
xor al, al
jmp 0x10053583
mov ecx, dword [ebp - 8]
call fcn.10051900
movzx ecx, al
test ecx, ecx
je 0x10053580
mov ecx, dword [ebp - 8]
call fcn.10051760
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
push eax
call fcn.10055090
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.10248ee6
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x2c], eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10053578
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 8]
call fcn.100519f0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x10055090
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xffffffff
je 0x100550d2
cmp dword [ebp + 8], 0
je 0x100550d2
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x100550c8
xor eax, eax
xor edx, edx
jmp 0x100550d6
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
jmp 0x100550d6
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x100550e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
je 0x10055159
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10055131
cmp dword [ebp - 8], 0
je 0x10055131
xor al, al
jmp 0x1005515b
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10055153
mov al, 1
jmp 0x1005515b
xor al, al
jmp 0x1005515b
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x10055160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
je 0x100551df
cmp dword [ebp + 0x14], 0
je 0x100551df
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100551b7
cmp dword [ebp - 8], 0
je 0x100551b7
xor al, al
jmp 0x100551e1
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100551d9
mov al, 1
jmp 0x100551e1
xor al, al
jmp 0x100551e1
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x10060b10
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
jle 0x10060b48
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jmp 0x10060b50
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 0x10], 0
jle 0x10060b85
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx - 8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
jmp 0x10060b8d
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
cmp dword [ebp + 0x10], 0
jle 0x10060bc2
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 8
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx - 8]
mov ecx, dword [edx - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x10060bca
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
cmp dword [ebp + 0x10], 0
jle 0x10060bff
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
jmp 0x10060c07
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, 8
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0xc], 0
xor ecx, ecx
mov word [ebp - 4], cx
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0xc], esp
and esp, 0xfffffff0
push 0x33
call fcn.10060c61

Function at 0x10060cf0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x33
call fcn.10060cfd
Function at 0x100615f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov dword [ebp - 0xac], 0x94
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10061628
push str.WoW64fix:_Failed_to_get_OS_version
call fcn.1003e760
add esp, 4
xor eax, eax
jmp 0x10061795
cmp dword [ebp - 0xa8], 6
jne 0x1006163a
cmp dword [ebp - 0xa4], 1
ja 0x10061643
cmp dword [ebp - 0xa8], 6
jbe 0x10061665
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
push str.WoW64fix:_Windows_version__d._d_not_supported._n
call fcn.1003cfe0
add esp, 0xc
xor eax, eax
jmp 0x10061795
push 0x1065f208
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [0x1065f208], 0
jne 0x10061694
push str.WoW64_not_detected._n
call fcn.1003cfe0
add esp, 4
xor eax, eax
jmp 0x10061795
push 0x103e4804
call fcn.10060ff0
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push str.wow64.dll
call fcn.10060ff0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push str.Wow64PrepareForException
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10061030
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0x103e44c4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10061030
add esp, 0xc
mov dword [0x1065f1f8], eax
mov dword [0x1065f1fc], edx
push str.NtSetContextThread
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10061030
add esp, 0xc
mov dword [0x1065f1f0], eax
mov dword [0x1065f1f4], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [0x1065f1f4]
push edx
mov eax, dword [0x1065f1f0]
push eax
mov ecx, dword [0x1065f1fc]
push ecx
mov edx, dword [0x1065f1f8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push str.WoW64_detected:_64_bit_ntdll_base:_0x_x__KiUserExceptionDispatcher:_0x_x__NtSetContextThread:_0x_x__Wow64PrepareForException:_0x_x_n
call fcn.1003cfe0
add esp, 0x24
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [0x1065f1f0]
push eax
mov ecx, dword [0x1065f1f8]
push ecx
call fcn.100612c0
add esp, 0xc
mov dword [0x1065f200], eax
mov dword [0x1065f204], edx
call fcn.10061500
mov edx, dword [0x1065f204]
push edx
mov eax, dword [0x1065f200]
push eax
push str.WoW64_workaround:_KiUserExceptionDispatcher_hook_installed_at:_0x_x_n
call fcn.1003cfe0
add esp, 0xc
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10066440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10249640
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.C:cuckoo__lu.ini
lea eax, [ebp - 0x10c]
push eax
call fcn.100011d0
add esp, 0xc
push 0x275c
push 0
push 0x104f04d8
call fcn.1024a480
add esp, 0xc
mov dword [0x104f2c2c], 1
mov dword [0x104f0c98], 1
mov dword [0x104f0c8c], 0x1065c940
push 0x103e5df4
lea ecx, [ebp - 0x10c]
push ecx
call fcn.1025bf73
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100664bf
or eax, 0xffffffff
jmp 0x10066547
mov edx, dword [ebp - 8]
push edx
push 0x1000
lea eax, [ebp - 0x110c]
push eax
call fcn.1025c148
add esp, 0xc
test eax, eax
je 0x1006652c
push 0xd
lea ecx, [ebp - 0x110c]
push ecx
call fcn.1024c3b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100664fb
mov edx, dword [ebp - 4]
mov byte [edx], 0
push 0xa
lea eax, [ebp - 0x110c]
push eax
call fcn.1024c3b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1006651b
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
lea edx, [ebp - 0x110c]
push edx
call fcn.100625d0
add esp, 4
jmp 0x100664bf
mov eax, dword [ebp - 8]
push eax
call fcn.1025c001
add esp, 4
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10066560
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x104ff7b4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10066597
push 0x44
call fcn.10073210
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x104ff7b4]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x100670d0
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [0x104ffe74], eax
cmp dword [ebp + 8], 0
je 0x100670f4
mov ecx, dword [ebp + 8]
push ecx
call fcn.1024e180
add esp, 4
test eax, eax
jne 0x100670f9
jmp 0x100671a8
push 0x103e7c2c
mov edx, dword [ebp + 8]
push edx
call fcn.1025bf73
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100671a8
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.1025ca43
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.1025c77c
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.1025ca43
add esp, 0xc
push 4
push 0x3000
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10067192
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.1025cc44
add esp, 0x10
mov ecx, dword [ebp - 8]
shr ecx, 3
push ecx
push 8
mov edx, dword [ebp - 0xc]
push edx
push 0x104ffa84
call fcn.10073650
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.1025c001
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret
Function at 0x1006e700
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x1006e759
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1006e759
push str.python.exe
mov eax, dword [ebp - 4]
push eax
call fcn.10078080
add esp, 8
test eax, eax
jne 0x1006e743
push str.pythonw.exe
mov ecx, dword [ebp - 4]
push ecx
call fcn.10078080
add esp, 8
test eax, eax
je 0x1006e74f
mov dword [0x10504f6c], 0
jmp 0x1006e759
mov dword [0x10504f6c], 1
mov esp, ebp
pop ebp
ret

Function at 0x1006f0d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0x1065c8e0
call fcn.10072f50
add esp, 4
push 0x1065c900
call fcn.10072f50
add esp, 4
mov eax, dword [ebp + 8]
mov dword [0x1065c924], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1007c1e0
add esp, 4
add eax, dword [0x1065c924]
mov dword [0x1065c884], eax
push 0x103e8d6c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1065c928], eax
mov edx, dword [0x1065c928]
push edx
call fcn.1007c1e0
add esp, 4
add eax, dword [0x1065c928]
mov dword [0x1065c91c], eax
push 0x10504fc8
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.1006ed50
cmp dword [0x104ff2fc], 0
jne 0x1006f160
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x104ff2fc], eax
xor eax, eax
pop ebp
ret

Function at 0x10072ce0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
call fcn.100755b0
mov dword [ebp - 4], eax
push 0x7fff
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x7fff
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10505218], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov dword [ebp - 8], 0
push 0x1000
call fcn.10073160
add esp, 4
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10034e20
add esp, 8
push str.modules
lea edx, [ebp - 0xb8]
push edx
call fcn.100357d0
add esp, 8
lea eax, [ebp - 0xb8]
push eax
call fcn.10075af0
add esp, 4
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10035930
add esp, 4
lea edx, [ebp - 0xb8]
push edx
call fcn.10035150
add esp, 4
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10075930
push eax
call fcn.1007a000
push eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 1
call fcn.10033250
push eax
call fcn.10072050
add esp, 0x3c
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10035220
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.100756f0
add esp, 4
mov esp, ebp
pop ebp
ret