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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587d56
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [esi], vtable.CVolObject.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 1
mov dword [esi], vtable.CVolMem.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0x40
mov dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x10], 1
je 0x413bcd
push 0x208
call fcn.00419ca0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
jmp 0x413c1d
mov edi, dword [esi + 0x18]
mov eax, 0x40
test edi, edi
cmovle edi, eax
xor edx, edx
mov eax, 0x208
div edi
mov eax, dword [esi]
sub edi, edx
add edi, 0x208
push edi
mov eax, dword [eax]
cmp eax, method.CVolMem.virtual_0
jne 0x413c07
mov ecx, 0x74c958
call fcn.0041a510
test eax, eax
je 0x413c3c
jmp 0x413c0b
mov ecx, esi
call eax
mov dword [esi + 0xc], eax
mov ecx, 0x208
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0x208
push ecx
push 0
push eax
call fcn.0056b560
add esp, 0xc
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.0056e115
int3

Function at 0x413f20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58798d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x74c968], 0xc
jl 0x413f78
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x413f6a
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x413f8f
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 0x413fdf
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 [0x74c990], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n31::rg_n6363.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.0056e115
int3
Function at 0x414070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5879d5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x74c968], 0xc
jl 0x4140cb
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x4140bd
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x4140e2
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 0x414149
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 [0x74c990], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n31::rg_n6363.0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n31::rg_n6363.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.0056e115
int3

Function at 0x414490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587ef5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x74c968], 0xc
jl 0x4144e8
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x4144da
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x4144ff
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 0x414559
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 [0x74c990], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n31::rg_n6363.0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n31::rg_n6372.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.0056e115
int3
Function at 0x4145f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587f4d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x74c968], 0xc
jl 0x41464b
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x41463d
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x414662
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 0x4146d3
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 [0x74c990], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n31::rg_n6363.0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n31::rg_n6372.0
mov byte [ebp - 4], 4
mov dword [ecx], vtable.rg_n31::rg_n6372.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.0056e115
int3
Function at 0x4148b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
call fcn.0041fe6a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
mov dword [ebp - 0x14], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call fcn.004203c0
add esp, 4
mov ecx, edi
call fcn.00422036
call fcn.0042351f
mov eax, dword [eax + 0x40]
test eax, eax
je 0x414913
mov dword [eax + 0x28], 0
mov dword [eax + 0x38], 2
mov dword [eax + 0x2c], 1
mov dword [eax + 0x3c], 0xffffffff
call fcn.00414fc0
mov dword [ebp - 0x10], eax
call fcn.0056de54
mov esi, dword [eax]
call fcn.0056de4e
mov ecx, dword [edi + 0x44]
mov edx, dword [eax]
mov dword [0x74ca4c], ecx
mov dword [0x74ca50], edx
mov dword [0x74ca54], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [0x74ca58], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
test eax, eax
setns cl
mov dword [0x74c994], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push str.SHCore.dll
mov edi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4149b2
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4149a9
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 2
push edi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4149d9
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 4]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mov eax, dword [ebp - 0x10]
movsd xmm0, qword [0x720d20]
divsd xmm1, qword [0x720d28]
maxsd xmm0, xmm1
movsd qword [0x74c998], xmm0
mov eax, dword [eax]
call eax
mov dword [0x74c990], eax
mov esi, dword [eax]
call fcn.00414de0
mov ecx, dword [0x74c990]
push eax
mov eax, dword [esi + 0x34]
call eax
test eax, eax
je 0x414a69
mov esi, dword [0x74c990]
mov edi, dword [esi]
call fcn.004142d0
push eax
mov eax, dword [edi + 0x34]
mov ecx, esi
call eax
mov esi, dword [ebp - 8]
test eax, eax
je 0x414a47
mov eax, dword [0x74c990]
mov dword [esi + 0x118], eax
call fcn.00415650
test eax, eax
je 0x414a61
cmp dword [esi + 0x20], 0
je 0x414a61
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x74c990]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.0056e115
int3
Function at 0x414d20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586025
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x74c968], 0xc
jl 0x414d78
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x414d6a
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x414d8f
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 0x414dd5
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 [0x74c990], ecx
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.0056e115
int3

Function at 0x4151b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58616d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x74c968], 0xa24
jl 0x41520b
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x4151fd
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x415225
push 0xa24
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 0x41524a
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.004154c0
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.0056e115
int3

Function at 0x4152e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5881b5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x74c968], 0xa24
jl 0x415340
push 0x74c96c
call fcn.0041a430
mov edi, dword [0x74c964]
add esp, 4
test edi, edi
je 0x415332
mov eax, dword [edi]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test edi, edi
jne 0x41535a
push 0xa24
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 0x4153b1
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.004154c0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
mov dword [edi], vtable.rg_n::rg_n1.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
call dword [eax + 0x44]
lea eax, [ebx + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.0040f6a0
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.0056e115
int3
Function at 0x417260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58616d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x74c968], 0x28
jl 0x4172b8
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x4172aa
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x4172cf
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 0x4172f5
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.00417600
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.0056e115
int3

Function at 0x4173d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5886c5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x74c968], 0x28
jl 0x41742c
push 0x74c96c
call fcn.0041a430
mov esi, dword [0x74c964]
add esp, 4
test esi, esi
je 0x41741e
mov eax, dword [esi]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test esi, esi
jne 0x417443
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 0x417481
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.00417600
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.00417570
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.0056e115
int3

Function at 0x417920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5866bd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x74c968], 0xc
jl 0x41797b
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x41796d
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x417992
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 0x4179ef
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 [0x74c990], 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.0056e115
int3
Function at 0x417d50
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58896b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800000
mov dword [0x74c950], 0x71bbc0
mov dword [0x74c958], 0x71be14
push 0
mov dword [ebp - 0x14], 0x74c950
mov dword [0x74c96c], 1
mov dword [0x74c968], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x417fe8
lea eax, [ecx + 0x800000]
mov dword [0x74c964], ecx
mov dword [0x74c960], eax
mov edx, 0x7fff
mov eax, dword [0x74c968]
mov dword [0x74c95c], ecx
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x74c968]
add ecx, eax
sub edx, 1
jne 0x417de4
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x74c970
mov dword [ebp - 0x18], 0x74c970
mov dword [ebp - 0x1c], 0x74c970
mov dword [0x74c970], 0x71abd0
mov dword [0x74c974], edx
mov dword [0x74c978], edx
mov byte [ebp - 4], 1
mov dword [0x74c970], 0x71ab6c
mov dword [0x74c97c], edx
mov dword [0x74c984], edx
mov dword [0x74c980], edx
mov dword [0x74c988], 0x40
mov byte [ebp - 4], 2
mov dword [0x74c988], 0x80
mov byte [ebp - 4], 5
mov dword [0x74c98c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x74c9a0
mov dword [ebp - 0x20], 0x74c9a0
call esi
mov byte [ebp - 4], 7
mov dword [0x74c9b8], 0
mov byte [ebp - 4], 8
push 0x74c9c4
mov dword [ebp - 0x24], 0x74c9c4
call esi
mov byte [ebp - 4], 9
mov dword [0x74c9dc], 0x3e8
mov dword [ebp - 0x28], 0x74c9f0
mov dword [ebp - 0x2c], 0x74c9f0
mov dword [0x74c9f0], 0x71abd0
mov dword [0x74c9f4], 0
mov dword [0x74c9f8], 0
mov byte [ebp - 4], 0xa
mov dword [0x74c9f0], 0x71ab6c
mov dword [0x74c9fc], 0
mov dword [0x74ca04], 0
mov dword [0x74ca00], 0
mov dword [0x74ca08], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x74ca08], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x74c9e4], 0x3e80
mov dword [0x74c9e8], 1
mov dword [0x74c9ec], 0
lea eax, [eax*2 + 2]
mov dword [0x74c9e0], eax
mov byte [ebp - 4], 0xe
push 0x74ca0c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x74ca24
call fcn.00417600
mov byte [ebp - 4], 0x10
mov dword [0x74c990], 0
mov dword [0x74ca4c], 0
movsd xmm0, qword [0x720d20]
movsd qword [0x74c998], xmm0
xorps xmm0, xmm0
mov dword [0x74ca50], 0
mov dword [0x74ca54], 0
mov dword [0x74ca58], 0
mov dword [0x74c994], 0
movq qword [0x74c9bc], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x74c950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056e115
int3
Function at 0x4189c0
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 0x4189df
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 0x418ab5
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x418ab5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x418aac
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 0x418a90
cmp edi, 1
jne 0x418a55
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x418aa7
cmp edi, 2
jne 0x418a68
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x418aa7
cmp edi, 4
jne 0x418a79
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x418aa7
cmp edi, 8
jne 0x418a90
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 0x418aa7
test edi, edi
jle 0x418aa7
push edi
mov ecx, esi
call fcn.00419ca0
push edi
push ebx
push eax
call fcn.0056afe0
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 0x418de0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x74c968]
jg 0x418e1b
push 0x74c96c
call fcn.0041a430
mov ecx, dword [0x74c964]
add esp, 4
test ecx, ecx
je 0x418e0d
mov eax, dword [ecx]
mov dword [0x74c964], eax
mov dword [0x74c96c], 1
test ecx, ecx
jne 0x418e31
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 0x418e38
mov eax, ecx
pop esi
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.0056e115
int3

Function at 0x418ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x74c95c]
jb 0x418f14
cmp esi, dword [0x74c960]
jae 0x418f14
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x74c968]
jle 0x418f29
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 0x418f2d
push dword [0x74c968]
push esi
push edi
call fcn.0056afe0
push 0x74c96c
call fcn.0041a430
mov eax, dword [0x74c964]
add esp, 0x10
mov dword [esi], eax
mov dword [0x74c964], esi
mov esi, edi
mov dword [0x74c96c], 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 0x418f0d
push 0xffffffffffffffff
call fcn.0056e115
int3
Function at 0x420a17
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x420a5c
call fcn.004297b9
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x420a59
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x420aa3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x420a7f
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x599a0c]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x420aa0
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x599a0c]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x4246f3
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x424746
push esi
push dword [ebp + 8]
call fcn.004248dc
mov edi, eax
test edi, edi
je 0x424741
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x424741
mov eax, dword [ebp - 8]
jmp 0x424758
mov eax, dword [ebp + 0x10]
jmp 0x424758
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x42b9a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x42b9e7
call fcn.004297b9
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42b9e7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42b9ef
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00485524
pop edi
pop esi
pop ebx
pop ebp
ret 4