joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b82bf
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4b832d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x50cb14
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b8324
cmp dword [ebp - 0xc], 4
jne 0x4b8324
cmp dword [ebp - 0x10], edi
je 0x4b8324
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x541b70], edi
xor eax, eax
jmp 0x4b836c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x541b70], edi
jge 0x4b8367
lea eax, [ebp - 0x34]
push eax
mov dword [0x541b70], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4b8367
cmp word [ebp - 0x14], 5
jb 0x4b8367
call fcn.004b829a
test eax, eax
je 0x4b8367
emms
mov dword [0x541b70], 1
mov eax, dword [0x541b70]
pop edi
leave
ret

Function at 0x4e352b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e3563
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e14d8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e14b0
jmp 0x4e356f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e4cf3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e4d35
call fcn.004eb430
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e4d35
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e4d2c
xor eax, eax
jmp 0x4e4d3d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e4d43
pop edi
pop esi
pop ebx
ret 4

Function at 0x4eb960
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4eb98e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4eb9ac
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004eb8c6
jmp 0x4eb9ac
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4eb9ac
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004eb8c6
test edi, edi
mov eax, edi
jne 0x4eb996
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40bdb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push str.pcnt
mov dword [ebp - 4], 0
call fcn.00415a50
add esp, 8
test eax, eax
je 0x40bdd9
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
inc ecx
mov dword [ebp - 0xc], ecx
push 1
push 1
mov ecx, str.SoftwareNetBox_
mov dword [ebp - 8], 0
call fcn.00415640
add esp, 0xc
test eax, eax
jne 0x40be27
mov eax, dword [ebp - 8]
test eax, eax
je 0x40be27
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push str.pcnt
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x40da70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad95b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d8c20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0048fddd
push 4
mov dword [ebp - 4], 0
call fcn.00475e26
mov edi, eax
add esp, 4
test edi, edi
je 0x40daec
call fcn.0048f5f6
mov dword [edi], eax
call fcn.0048f3b5
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0048f79f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40dae2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0048f7c7
jmp 0x40daee
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b158b
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.0048c390
mov eax, dword [0x4d8c20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1030]
push eax
push 0
push 0
mov dword [ebp - 0x1030], 0
call fcn.00415640
add esp, 0xc
test eax, eax
jne 0x415a2e
mov edi, dword [ebp - 0x1030]
test edi, edi
je 0x415936
xor ecx, ecx
push 0xffe
push ecx
lea edx, [ebp - 0x100e]
push edx
mov word [ebp - 0x1010], cx
call fcn.0047f860
add esp, 0xc
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x1010]
push ecx
push 0
push 0
push str.Channel
push edi
mov dword [ebp - 0x1034], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x415940
mov edx, dword [ebp - 0x1030]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
jmp 0x415a2e
xor eax, eax
mov word [ebp - 0x102c], ax
mov edi, 7
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415967
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x102c]
call fcn.00404447
lea edx, [ebp - 0x102c]
cmp esi, edx
je 0x415a07
cmp dword [esi + 0x14], 8
jb 0x4159a4
mov eax, dword [esi]
push eax
call fcn.00475dcb
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov word [esi], cx
cmp dword [ebp - 0x1018], 8
jae 0x4159eb
mov edx, dword [ebp - 0x101c]
lea eax, [edx + edx + 2]
push eax
lea ecx, [ebp - 0x102c]
push ecx
push esi
call fcn.00475550
mov eax, dword [ebp - 0x101c]
mov ecx, dword [ebp - 0x1018]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x415a1f
mov edx, dword [ebp - 0x102c]
mov eax, dword [ebp - 0x101c]
mov ecx, dword [ebp - 0x1018]
mov dword [esi], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x415a1f
cmp dword [ebp - 0x1018], 8
jb 0x415a1f
mov edx, dword [ebp - 0x102c]
push edx
call fcn.00475dcb
add esp, 4
mov eax, dword [ebp - 0x1030]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret

Function at 0x415a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0
push 0
mov ecx, str.SoftwareNetBox_
mov dword [ebp - 4], 0
call fcn.00415640
add esp, 0xc
test eax, eax
jne 0x415abd
mov eax, dword [ebp - 4]
test eax, eax
jne 0x415a88
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push edx
push 0
push 0
push ecx
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, eax
lea eax, [ebp - 8]
xor edi, edi
push eax
push edi
push edi
mov dword [ebp - 8], edi
call fcn.00415640
add esp, 0xc
cmp eax, edi
jne 0x415b95
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x415b21
lea ecx, [ebp - 0xc]
push ecx
push edi
push edi
push edi
push 0x4be914
push eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x415b2d
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ebx, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov byte [ebp - 1], 0
cmp ebx, eax
je 0x415b54
mov edi, eax
sub edi, eax
push edi
push eax
push ebx
call fcn.00475550
add esp, 0xc
add edi, ebx
mov dword [esi + 4], edi
mov eax, dword [esi]
lea ecx, [ebp - 1]
push ecx
push eax
mov eax, dword [ebp - 0x10]
push esi
call fcn.00416de0
mov esi, dword [esi]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
push esi
push 0
push 0
push 0x4be914
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
lea eax, [ebp - 4]
push eax
push 1
push 1
mov dword [ebp - 4], 0
call fcn.00415640
add esp, 0xc
test eax, eax
jne 0x415c11
mov edi, dword [ebp - 4]
test edi, edi
jne 0x415bd5
mov eax, 0x80004005
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415be0
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push esi
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x415c20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 1
push 1
mov dword [ebp - 4], 0
call fcn.00415640
add esp, 0xc
test eax, eax
jne 0x415c74
mov eax, dword [ebp - 4]
test eax, eax
jne 0x415c51
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415c80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1558
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4d8c20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 1
mov dword [ebp - 4], 0
push 1
mov dword [ebp - 0x10], 0
call fcn.00415640
mov esi, eax
add esp, 0xc
test esi, esi
je 0x415cec
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x415cda
push eax
call fcn.00475dcb
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x415d18
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x415d03
push eax
call fcn.00475dcb
add esp, 4
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
jne 0x415d2c
push str.invalid_vector_T__subscript
call fcn.0048f6d7
push eax
push ecx
push 3
push 0
push 0x4be914
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [ebp + 8], 0
mov esi, eax
je 0x415d54
test esi, esi
jne 0x415d54
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
test esi, esi
jne 0x415ccd
test eax, eax
je 0x415d76
push eax
call fcn.00475dcb
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416980
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad85b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d8c20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0048fddd
push 4
mov dword [ebp - 4], 0
call fcn.00475e26
mov edi, eax
add esp, 4
test edi, edi
je 0x416a00
call fcn.0048f5f6
mov dword [edi], eax
call fcn.0048f3b5
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0048f79f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4169f6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0048f7c7
jmp 0x416a02
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x4191e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
test eax, eax
je 0x4191f7
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4191f7
test al, 0x10
je 0x4191f7
mov al, 1
ret
xor al, al
ret

Function at 0x419200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
test eax, eax
je 0x419217
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x419217
test al, 0x10
jne 0x419217
mov al, 1
ret
xor al, al
ret
Function at 0x41a8c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b123b
mov eax, dword fs:[0]
push eax
mov eax, 0x1120
call fcn.0048c390
mov eax, dword [0x4d8c20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x40
lea eax, [ebp - 0x106c]
push 0
push eax
call fcn.0047f860
add esp, 0xc
xor ecx, ecx
push 0xffe
xor eax, eax
push ecx
lea edx, [ebp - 0x100e]
push edx
mov dword [ebp - 0x1070], 0x44
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1024], eax
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x101c], eax
mov word [ebp - 0x1010], cx
call fcn.0047f860
add esp, 0xc
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x1070]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1010]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov dword [ebp - 0x1014], edi
test edi, edi
jne 0x41aa37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2db
push str.env.cpp
lea esi, [ebp - 0x1128]
mov dword [ebp - 0x1018], eax
call fcn.00414f70
mov esi, eax
mov dword [ebp - 4], edi
test esi, esi
je 0x41aa25
lea edi, [esi + 0x10]
test edi, edi
je 0x41a9b8
lea eax, [esi + 0x20]
jmp 0x41a9ba
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
test edi, edi
je 0x41a9d1
lea eax, [esi + 0x20]
jmp 0x41a9d3
xor eax, eax
push str.failed_to_create_process
push eax
call fcn.00407256
add esp, 8
test edi, edi
je 0x41a9ea
lea eax, [esi + 0x20]
jmp 0x41a9ec
xor eax, eax
push ebx
push eax
call fcn.00407256
add esp, 8
test edi, edi
je 0x41a9ff
lea eax, [esi + 0x20]
jmp 0x41aa01
xor eax, eax
push str._getlasterror
push eax
call fcn.00407256
mov eax, dword [ebp - 0x1018]
add esp, 8
push eax
add esi, 0x20
push esi
call fcn.0040a3e8
mov edi, dword [ebp - 0x1014]
lea ecx, [ebp - 0x1128]
mov dword [ebp - 4], 0xffffffff
call fcn.00415130
xor eax, eax
cmp edi, 1
sete al
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.004751dc
mov esp, ebp
pop ebp
ret
Function at 0x41aa60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4d8c20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], eax
test eax, eax
jne 0x41aa90
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.0047f860
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41ab1d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea edx, [ebp - 0x230]
push edx
push esi
call edi
test eax, eax
je 0x41ab1c
jmp 0x41aaf0
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00476387
add esp, 8
test eax, eax
je 0x41ab1a
lea edx, [ebp - 0x230]
push edx
push esi
call edi
test eax, eax
jne 0x41aaf0
jmp 0x41ab1c
mov bl, 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004751dc
mov esp, ebp
pop ebp
ret

Function at 0x41ad00
Capabilities:
Check for time delay via gettickcount
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4d8c20]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp eax, str.KometaLaunchPanel.exe
je 0x41ae4f
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x32
mov dword [ebp - 0x238], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov byte [ebp - 0x231], 0
push esi
jmp 0x41ad50
push 0x22c
lea ecx, [ebp - 0x230]
push 0
push ecx
call fcn.0047f860
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea edx, [ebp - 0x230]
mov ebx, eax
push edx
push ebx
mov byte [ebp - 0x232], 0
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41ae33
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x41ae33
nop
lea ecx, [ebp - 0x20c]
push str.KometaLaunchPanel.exe
push ecx
call fcn.00476387
add esp, 8
test eax, eax
jne 0x41ae17
mov byte [ebp - 0x232], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x238]
cmp eax, 0xbb8
jb 0x41ae2b
mov edx, dword [ebp - 0x228]
push edx
push 0
push 0x100001
mov byte [ebp - 0x231], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41adb0
jmp 0x41ae33
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
cmp byte [ebp - 0x232], 0
je 0x41ae4c
cmp byte [ebp - 0x231], 0
je 0x41ad50
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret
Function at 0x41b230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b04db
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
push edi
mov eax, dword [0x4d8c20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp + 8]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41b27c
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x41b27e
xor eax, eax
test eax, eax
je 0x41b341
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test edi, edi
je 0x41b341
test esi, esi
je 0x41b341
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.0041c430
mov dword [ebp - 4], 0
cmp dword [ebp - 0x64], 0
je 0x41b31f
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
cmp dword [ebp + edx - 0xb0], 0
jne 0x41b2ea
push 0
push esi
push edi
lea eax, [ebp - 0xbc]
push eax
call fcn.0041c190
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041c800
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0048fd9f
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041c800
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0048fd9f
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret