joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c96d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b558]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409fc3
mov dword [ebp - 0x14], eax
cmp dword [0x81a7f8], esi
jne 0x40ca60
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c9ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cb40
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cb40
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cb40
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x81a7f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x81a7fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x81a800], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81a808], eax
test eax, eax
je 0x40ca5d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81a804], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ca85
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ca78
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ca9a
push 4
pop eax
jmp 0x40cb42
cmp dword [ebp - 0x14], esi
je 0x40ca9a
push dword [0x81a7f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ca7f
mov eax, dword [0x81a804]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40caf8
cmp dword [0x81a808], edi
je 0x40caf8
push eax
call ebx
push dword [0x81a808]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40caf8
test eax, eax
je 0x40caf8
call ecx
test eax, eax
je 0x40caed
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40caed
test byte [ebp - 8], 1
jne 0x40caf8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cb28
mov eax, dword [0x81a7fc]
cmp eax, edi
je 0x40cb25
push eax
call ebx
test eax, eax
je 0x40cb25
call eax
mov esi, eax
test esi, esi
je 0x40cb25
mov eax, dword [0x81a800]
cmp eax, edi
je 0x40cb25
push eax
call ebx
test eax, eax
je 0x40cb25
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x81a7f8]
call ebx
test eax, eax
je 0x40cb40
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cb42
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404450
mov esp, ebp
pop ebp
ret
Function at 0x404815
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40a4a8
cmp edx, dword [eax]
je 0x404837
add eax, 8
inc ecx
cmp eax, 0x40a538
jl 0x404828
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40a4a8]
jne 0x404965
mov eax, dword [0x40aeb8]
cmp eax, 1
je 0x40493f
test eax, eax
jne 0x404868
cmp dword [0x40a224], 1
je 0x40493f
cmp edx, 0xfc
je 0x404965
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40489f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004066c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405090
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4048e2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405090
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x408574
push edi
call fcn.00406840
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004066c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004066d0
lea eax, [ebp - 0xa0]
push 0x408554
push eax
call fcn.004066d0
push dword [esi + 0x40a4ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004066d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004067b0
add esp, 0x2c
pop edi
jmp 0x404965
lea eax, [ebp + 8]
lea esi, [esi + 0x40a4ac]
push 0
push eax
push dword [esi]
call fcn.00405090
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1000a6a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10011dac], 0
push esi
push edi
jne 0x1000a61a
call fcn.1000a586
test eax, eax
je 0x1000a65f
mov eax, dword [0x10011dac]
cmp eax, 1
jne 0x1000a63b
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1000a65f
jmp 0x1000a6a1
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1000a6a1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000a663
xor eax, eax
jmp 0x1000a6a1
mov eax, dword [esi]
push dword [0x10011dac]
call edi
mov edi, eax
test edi, edi
je 0x1000a685
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1000a6a1
lea edi, [esi + 0xff0]
push esi
push dword [0x10011dac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1000a68b
mov eax, esi
pop edi
pop esi
ret
jmp 0x1000a606

Function at 0x1000a812
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10011c4c]
jne 0x1000a81c
repz ret
jmp fcn.1000b021

Function at 0x1000b422
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000b431
pop dword [ebp - 0x14]
mov eax, 0x4c4a3a4a
add eax, 0xc3b679e7
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x385a4
push 0
mov eax, 0xea611189
sub eax, 0xda605079
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x89448ff9
add ecx, 0x76bbbca8
mov esi, eax
mov edi, 0x1001c600
add edi, dword [ebp - 0x14]
mov edx, 0xc80968b0
xor dword [ebp - 8], 0x93e90d65
mov ebx, dword [edi]
xor dword [ebp - 0x10], edx
add ebx, edx
sub dword [ebp - 0xc], 0x2db31d1d
mov dword [esi], ebx
add dword [ebp - 0x10], edi
add esi, 0x70c137c2
sub esi, 0x70c137be
add edi, 4
loop 0x1000b484
add eax, 0x12557
xor ebx, ebx
add ebx, eax
add eax, 0x6055bcd2
sub eax, 0x6055bccd
mov ecx, 0x745f037c
sub ecx, 0x645f037c
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401030
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4100b0
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x41700c]
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
lea ecx, [ebp - 0x268]
call fcn.00401a90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x238]
push 0x228
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401179
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401172
nop dword [eax]
xor ecx, ecx
mov dword [ebp - 0x25c], ecx
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x4010e8
push eax
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x258]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x25c]
xor edx, edx
xor esi, esi
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x248], edx
cmp word [ebp - 0x218], dx
je 0x40112b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x258]
call fcn.0040db50
mov esi, dword [ebp - 0x244]
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
jne 0x401139
test esi, esi
mov ecx, 0x412b70
cmovne ecx, edx
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x40114d
cmp dword [edi + 0x24], eax
mov eax, 0x412b70
je 0x40114d
mov eax, dword [edi + 0x1c]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4011ab
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4010c0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00401780
mov eax, esi
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.0040f190
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x40117b
Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41016d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x417978], 0x2c
jl 0x4015f8
push 0x41797c
call fcn.0040e480
mov ecx, dword [0x417974]
add esp, 4
test ecx, ecx
je 0x4015ea
mov eax, dword [ecx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test ecx, ecx
jne 0x401617
push 0x2c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x401617
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.00401a90
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x401640
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4101a5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x417978], 0x2c
jl 0x40169d
push 0x41797c
call fcn.0040e480
mov edi, dword [0x417974]
add esp, 4
test edi, edi
je 0x40168f
mov eax, dword [edi]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test edi, edi
jne 0x4016bc
push 0x2c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x4016bc
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.00401a90
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CWString.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 [edi + 0x10]
call dword [eax + 0x44]
lea eax, [ebx + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.00401ea0
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
Function at 0x401c30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4102c5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x417978], 0x1c
jl 0x401c88
push 0x41797c
call fcn.0040e480
mov ecx, dword [0x417974]
add esp, 4
test ecx, ecx
je 0x401c7a
mov eax, dword [ecx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test ecx, ecx
jne 0x401ca7
push 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x401ca7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
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.CVolMem.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0x40
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 0x401db0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41033d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x417978], 0x1c
jl 0x401e0b
push 0x41797c
call fcn.0040e480
mov ecx, dword [0x417974]
add esp, 4
test ecx, ecx
je 0x401dfd
mov eax, dword [ecx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test ecx, ecx
jne 0x401e2a
push 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x401e2a
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push esi
call fcn.00401d10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4023e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41016d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x417978], 0xc
jl 0x402438
push 0x41797c
call fcn.0040e480
mov ecx, dword [0x417974]
add esp, 4
test ecx, ecx
je 0x40242a
mov eax, dword [ecx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test ecx, ecx
jne 0x402457
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
jne 0x402457
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
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 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 0x402490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410415
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x417978], 0xc
jl 0x4024eb
push 0x41797c
call fcn.0040e480
mov ecx, dword [0x417974]
add esp, 4
test ecx, ecx
je 0x4024dd
mov eax, dword [ecx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test ecx, ecx
jne 0x40250a
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
jne 0x40250a
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
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.CVolObject.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
Function at 0x403f10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410805
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x417978], 0x2c
jl 0x403f68
push 0x41797c
call fcn.0040e480
mov edx, dword [0x417974]
add esp, 4
test edx, edx
je 0x403f5a
mov eax, dword [edx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test edx, edx
jne 0x403f87
push 0x2c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
jne 0x403f87
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
mov ecx, edx
call fcn.00401a90
mov byte [ebp - 4], 1
mov dword [edx], vtable.CWConstString.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

Function at 0x403fd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41084d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x417978], 0x2c
jl 0x40402d
push 0x41797c
call fcn.0040e480
mov edi, dword [0x417974]
add esp, 4
test edi, edi
je 0x40401f
mov eax, dword [edi]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test edi, edi
jne 0x40404c
push 0x2c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x40404c
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.00401a90
mov byte [ebp - 4], 1
mov dword [edi], vtable.CWConstString.0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CWConstString.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 [edi + 0x10]
call dword [eax + 0x44]
lea eax, [ebx + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.00401ea0
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
Function at 0x404490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4102c5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x417978], 0x10
jl 0x4044e8
push 0x41797c
call fcn.0040e480
mov ecx, dword [0x417974]
add esp, 4
test ecx, ecx
je 0x4044da
mov eax, dword [ecx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test ecx, ecx
jne 0x404507
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
jne 0x404507
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
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.CVolRefObject.0
mov dword [ecx + 0xc], 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 0x404550
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41095d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x417978], 0x10
jl 0x4045ac
push 0x41797c
call fcn.0040e480
mov esi, dword [0x417974]
add esp, 4
test esi, esi
je 0x40459e
mov eax, dword [esi]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test esi, esi
jne 0x4045cb
push 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x4045cb
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CVolObject.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi], vtable.CVolRefObject.0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi], vtable.CVolRefObject.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x40461e
mov ecx, edi
call fcn.0040b150
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40462a
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [esi + 0xc], edi
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
Function at 0x404a90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410a3d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x417978], 0x10
jl 0x404ae8
push 0x41797c
call fcn.0040e480
mov ecx, dword [0x417974]
add esp, 4
test ecx, ecx
je 0x404ada
mov eax, dword [ecx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test ecx, ecx
jne 0x404b07
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
jne 0x404b07
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
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_n2309.0
mov dword [ecx + 0xc], 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 0x404be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410a85
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x41700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x417978], 0x10
jl 0x404c3b
push 0x41797c
call fcn.0040e480
mov ecx, dword [0x417974]
add esp, 4
test ecx, ecx
je 0x404c2d
mov eax, dword [ecx]
mov dword [0x417974], eax
mov dword [0x41797c], 1
test ecx, ecx
jne 0x404c5a
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
jne 0x404c5a
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
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_n2309.0
mov dword [ecx + 0xc], 0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n1::rg_n2309.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], 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