joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ccf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b3c5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x1003ff68], 0x10
jl 0x1000cd4b
push 0x1003ff6c
call fcn.10014cd0
mov ecx, dword [0x1003ff64]
add esp, 4
test ecx, ecx
je 0x1000cd3d
mov eax, dword [ecx]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test ecx, ecx
jne 0x1000cd62
push 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x1000cdcd
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolBaseDataType.0
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n1::rg_n2544.0
mov byte [ecx + 0xc], 0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n1::rg_n2544.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov al, byte [esi + 0xc]
mov byte [ecx + 0xc], al
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3

Function at 0x1000d3a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b0f5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1003ff68], 0xc
jl 0x1000d3f8
push 0x1003ff6c
call fcn.10014cd0
mov ecx, dword [0x1003ff64]
add esp, 4
test ecx, ecx
je 0x1000d3ea
mov eax, dword [ecx]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test ecx, ecx
jne 0x1000d40f
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x1000d44f
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolBaseDataType.0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3
Function at 0x1000d460
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c51d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x1003ff68], 0xc
jl 0x1000d4bb
push 0x1003ff6c
call fcn.10014cd0
mov ecx, dword [0x1003ff64]
add esp, 4
test ecx, ecx
je 0x1000d4ad
mov eax, dword [ecx]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test ecx, ecx
jne 0x1000d4d2
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x1000d529
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolBaseDataType.0
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolBaseDataType.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3
Function at 0x1000e140
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b23d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1003ff68], 0x38
jl 0x1000e198
push 0x1003ff6c
call fcn.10014cd0
mov ecx, dword [0x1003ff64]
add esp, 4
test ecx, ecx
je 0x1000e18a
mov eax, dword [ecx]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test ecx, ecx
jne 0x1000e1af
push 0x38
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x1000e1d4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.1000ed80
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3

Function at 0x1000e290
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c735
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x1003ff68], 0x38
jl 0x1000e2ed
push 0x1003ff6c
call fcn.10014cd0
mov edi, dword [0x1003ff64]
add esp, 4
test edi, edi
je 0x1000e2df
mov eax, dword [edi]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test edi, edi
jne 0x1000e304
push 0x38
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1000e373
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.1000ed80
mov byte [ebp - 4], 1
lea ecx, [edi + 0x14]
mov dword [edi], vtable.rg_n::rg_n35666.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
call dword [eax + 0x44]
lea eax, [ebx + 0x14]
push eax
lea ecx, [edi + 0x14]
call fcn.10002150
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3
Function at 0x1000e400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c76d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x44]
call fcn.1000ed80
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x44]
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
lea ecx, [ebx + 0x14]
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x14]
call dword [eax + 0x44]
lea eax, [edi + 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10002150
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x34], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100015e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000ed80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c930
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
lea eax, [ecx + 0x14]
mov dword [ecx], vtable.rg_n::rg_n35666.0
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CVolObject.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 1
mov dword [eax], vtable.CVolMem.0
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0x40
mov byte [ebp - 4], 2
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10010a50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b23d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1003ff68], 0x28
jl 0x10010aa8
push 0x1003ff6c
call fcn.10014cd0
mov ecx, dword [0x1003ff64]
add esp, 4
test ecx, ecx
je 0x10010a9a
mov eax, dword [ecx]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test ecx, ecx
jne 0x10010abf
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x10010ae5
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.10010df0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3

Function at 0x10010bc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002cc85
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x1003ff68], 0x28
jl 0x10010c1c
push 0x1003ff6c
call fcn.10014cd0
mov esi, dword [0x1003ff64]
add esp, 4
test esi, esi
je 0x10010c0e
mov eax, dword [esi]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test esi, esi
jne 0x10010c33
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10010c71
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.10010df0
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.10010d60
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3

Function at 0x10011220
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ce50
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1003ff68], 0x3c
jl 0x10011278
push 0x1003ff6c
call fcn.10014cd0
mov edx, dword [0x1003ff64]
add esp, 4
test edx, edx
je 0x1001126a
mov eax, dword [edx]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test edx, edx
jne 0x1001128f
push 0x3c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
je 0x100112e2
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
mov dword [edx], vtable.CVolObject.0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edx + 0x10]
mov dword [edx], vtable.CVolException.0
call fcn.100080e0
mov byte [ebp - 4], 2
mov dword [edx + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3
Function at 0x10011430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ced8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x1003ff68], 0x3c
jl 0x1001148d
push 0x1003ff6c
call fcn.10014cd0
mov edi, dword [0x1003ff64]
add esp, 4
test edi, edi
je 0x1001147f
mov eax, dword [edi]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test edi, edi
jne 0x100114a8
push 0x3c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x10011535
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.CVolObject.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CVolException.0
call fcn.100080e0
mov byte [ebp - 4], 2
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x20]
mov dword [edi], vtable.CVolException.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
call dword [eax + 0x44]
lea eax, [ebx + 0x20]
push eax
lea ecx, [edi + 0x20]
call fcn.10002150
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3

Function at 0x10011960
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c51d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x1003ff68], 0xc
jl 0x100119bb
push 0x1003ff6c
call fcn.10014cd0
mov ecx, dword [0x1003ff64]
add esp, 4
test ecx, ecx
je 0x100119ad
mov eax, dword [ecx]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test ecx, ecx
jne 0x100119d2
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x10011a2f
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x1003ff90], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3
Function at 0x10011d50
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d12b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80000
mov dword [0x1003ff50], 0x100369e8
mov dword [0x1003ff58], 0x10036b34
push 0
mov dword [ebp - 0x10], 0x1003ff50
mov dword [0x1003ff6c], 1
mov dword [0x1003ff68], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x10011fe8
lea eax, [ecx + 0x80000]
mov dword [0x1003ff64], ecx
mov dword [0x1003ff60], eax
mov edx, 0x7ff
mov eax, dword [0x1003ff68]
mov dword [0x1003ff5c], ecx
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x1003ff68]
add ecx, eax
sub edx, 1
jne 0x10011de4
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0x1003ff70
mov dword [ebp - 0x18], 0x1003ff70
mov dword [ebp - 0x1c], 0x1003ff70
mov dword [0x1003ff70], 0x10034db8
mov dword [0x1003ff74], edx
mov dword [0x1003ff78], edx
mov byte [ebp - 4], 1
mov dword [0x1003ff70], 0x10034d54
mov dword [0x1003ff7c], edx
mov dword [0x1003ff84], edx
mov dword [0x1003ff80], edx
mov dword [0x1003ff88], 0x40
mov byte [ebp - 4], 2
mov dword [0x1003ff88], 0x80
mov byte [ebp - 4], 5
mov dword [0x1003ff8c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x1003ffa0
mov dword [ebp - 0x1c], 0x1003ffa0
call esi
mov byte [ebp - 4], 7
mov dword [0x1003ffb8], 0
mov byte [ebp - 4], 8
push 0x1003ffc4
mov dword [ebp - 0x1c], 0x1003ffc4
call esi
mov byte [ebp - 4], 9
mov dword [0x1003ffdc], 0x3e8
mov dword [ebp - 0x18], 0x1003fff0
mov dword [ebp - 0x14], 0x1003fff0
mov dword [0x1003fff0], 0x10034db8
mov dword [0x1003fff4], 0
mov dword [0x1003fff8], 0
mov byte [ebp - 4], 0xa
mov dword [0x1003fff0], 0x10034d54
mov dword [0x1003fffc], 0
mov dword [0x10040004], 0
mov dword [0x10040000], 0
mov dword [0x10040008], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x10040008], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x2c]
mov dword [0x1003ffe4], 0x3e80
mov dword [0x1003ffe8], 1
mov dword [0x1003ffec], 0
lea eax, [eax*2 + 2]
mov dword [0x1003ffe0], eax
mov byte [ebp - 4], 0xe
push 0x1004000c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x10040024
call fcn.10010df0
mov byte [ebp - 4], 0x10
mov dword [0x1003ff90], 0
mov dword [0x1004004c], 0
movsd xmm0, qword [0x10037020]
movsd qword [0x1003ff98], xmm0
xorps xmm0, xmm0
mov dword [0x10040050], 0
mov dword [0x10040054], 0
mov dword [0x10040058], 0
mov dword [0x1003ff94], 0
movq qword [0x1003ffbc], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x1003ff50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3
Function at 0x10012b60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x10012b7f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x10012c55
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10012c55
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10012c4c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x10012c30
cmp edi, 1
jne 0x10012bf5
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x10012c47
cmp edi, 2
jne 0x10012c08
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x10012c47
cmp edi, 4
jne 0x10012c19
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x10012c47
cmp edi, 8
jne 0x10012c30
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x10012c47
test edi, edi
jle 0x10012c47
push edi
mov ecx, esi
call fcn.10014530
push edi
push ebx
push eax
call fcn.1001cd50
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10012f90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x1003ff68]
jg 0x10012fcb
push 0x1003ff6c
call fcn.10014cd0
mov ecx, dword [0x1003ff64]
add esp, 4
test ecx, ecx
je 0x10012fbd
mov eax, dword [ecx]
mov dword [0x1003ff64], eax
mov dword [0x1003ff6c], 1
test ecx, ecx
jne 0x10012fe1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x10012fe8
mov eax, ecx
pop esi
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.1001e26a
int3

Function at 0x10013050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x1003ff5c]
jb 0x100130c4
cmp esi, dword [0x1003ff60]
jae 0x100130c4
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x1003ff68]
jle 0x100130d9
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x100130dd
push dword [0x1003ff68]
push esi
push edi
call fcn.1001cd50
push 0x1003ff6c
call fcn.10014cd0
mov eax, dword [0x1003ff64]
add esp, 0x10
mov dword [esi], eax
mov dword [0x1003ff64], esi
mov esi, edi
mov dword [0x1003ff6c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x100130bd
push 0xffffffffffffffff
call fcn.1001e26a
int3
Function at 0x10013aa0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d420
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x1003e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x10013c0f
cmp word [esi], 0
je 0x10013c0f
lea ecx, [ebp - 0x244]
call fcn.100080e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x10013b17
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x10013b50
test ax, ax
je 0x10013b82
cmp word [esi + 2], 0x3a
jne 0x10013b82
cmp word [esi + 4], 0x5c
jne 0x10013b82
push 0x5c
push esi
call fcn.1001a914
add esp, 8
test eax, eax
je 0x10013b82
cmp eax, esi
jbe 0x10013b6e
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.100156e0
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x10013ba5
cmp dword [ebp - 0x220], edi
jne 0x10013b9b
mov edi, 0x10033c34
jmp 0x10013ba5
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x10013bf0
cmp word [edi], 0
je 0x10013bf0
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10013bf0
cmp word [edi], 0
je 0x10013bce
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x10013bf9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x10013bf9
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.10007f60
mov eax, esi
jmp 0x10013c11
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100191a5
mov esp, ebp
pop ebp
ret