joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438158
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x44ed40
je 0x438214
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4381fc
mov esi, dword [ebx + 4]
jmp 0x4381f6
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4381e6
cmp dword [ebp - 0xc], 4
jne 0x4381e6
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x4381de
or dword [eax + 0x9c], ecx
jmp 0x4381e6
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x4381aa
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x43818d
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x438847
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x43c84a
call fcn.0041d57c
sub esp, 0x11c
mov eax, dword [0x44f820]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x438940
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x438914
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00401f52
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00438847
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401162
test bl, bl
jne 0x438914
or dword [ebp - 4], 0xffffffff
jmp 0x438885
cmp esi, 0x103
je 0x438924
cmp esi, 0x3f2
jne 0x438934
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0041f5b4
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x438da8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x438ddd
cmp edi, dword [esi + 0xc]
jge 0x438ddd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x438ddd
cmp edi, dword [eax + 8]
jge 0x438ddd
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x438ddf
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x438ee3
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x438f17
jmp fcn.0042d7f6
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x439081
cmp eax, dword [edi + 0xc]
jge 0x439081
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x438fd9
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x43906a
cmp dword [ebp + 0xc], ebx
je 0x43906a
jmp 0x439003
push 0x10
call fcn.00438c74
cmp eax, ebx
je 0x438fef
mov ecx, eax
call fcn.00438eda
mov esi, eax
jmp 0x438ff1
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x43901a
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x43902a
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x43903c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0042d7f6
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0041e290
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x43907c
cmp ecx, dword [esi + 8]
jge 0x43907c
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x439082
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x439140
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 0x43916e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43918c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004390aa
jmp 0x43918c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43918c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004390aa
test edi, edi
mov eax, edi
jne 0x439176
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x185258c]
test ecx, ecx
je 0x43923f
jmp 0x43913f
ret 8
Function at 0x416153
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x416192
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x416192
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x416192
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x416192
cmp dword [ecx + 0x74], 0xe
jbe 0x416192
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42858d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42858d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408930
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
and edx, edx
call fcn.0040894d
xor dword [eax], esi
or edx, edx
add eax, 1
cmp eax, ebx
jne fcn.00408930
ret
Function at 0x4028ef
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x38
mov eax, dword [0x417218]
push ebx
mov ebx, dword [0x413364]
push esi
mov esi, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x34c]
push eax
call ebx
test eax, eax
jne 0x402a0d
mov eax, dword [0x417e28]
inc eax
cmp eax, 0x3e8
push edi
mov dword [0x417e28], eax
jge 0x4029a0
push 5
call dword [0x413308]
push eax
call dword [0x413354]
mov edi, eax
push edi
call ebx
test eax, eax
je 0x402a0c
mov ebx, dword [0x41330c]
push ebp
mov ebp, dword [0x4131cc]
push 0x32
lea ecx, [esp + 0x14]
push ecx
push edi
call ebx
push 0x413644
lea edx, [esp + 0x14]
push edx
call ebp
test eax, eax
jne 0x402977
push eax
push edi
call dword [0x413310]
cmp dword [esi + 0x350], eax
jne 0x402977
mov dword [esi + 0x34c], edi
push 2
push edi
call dword [0x413354]
mov edi, eax
push edi
call dword [0x413364]
test eax, eax
jne 0x402947
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
call fcn.0040adb0
add esp, 0x38
ret 0x10
mov eax, dword [esi + 4]
push 0x3e8
push eax
call dword [0x41332c]
mov ecx, dword [esi + 4]
mov edi, dword [0x413370]
push 0x3ea
push ecx
mov dword [esi + 0x34c], 0
mov dword [esi + 0x50], 2
call edi
mov ebx, dword [0x413378]
push 1
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3eb
push edx
call edi
push 1
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3ec
push eax
call edi
push 1
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3ed
push ecx
call edi
push 1
push eax
call ebx
pop edi
mov ecx, dword [esp + 0x3c]
pop esi
xor eax, eax
pop ebx
call fcn.0040adb0
add esp, 0x38
ret 0x10

Function at 0x4055e0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x40562a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
push 0x80000000
call dword [0x413028]
test eax, eax
jne 0x40567c
mov esi, dword [esp + 0x14]
push esi
call dword [0x4131ec]
mov edx, dword [esp + 0x18]
inc eax
push eax
push esi
push 1
push edi
push edi
push edx
call dword [0x413004]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
jmp 0x405668
mov edx, dword [esp + 0x10]
lea ecx, [esp + 8]
push ecx
push edx
push 0x80000000
call dword [0x413028]
test eax, eax
jne 0x40567c
mov esi, dword [esp + 0x14]
push esi
call dword [0x4131ec]
inc eax
push eax
mov eax, dword [esp + 0xc]
push esi
push 1
push 0
push edi
push eax
call dword [0x413004]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [section..rdata]
test eax, eax
jne 0x40567c
test esi, esi
jne 0x40567c
pop edi
mov al, 1
pop esi
pop ecx
ret
pop edi
xor al, al
pop esi
pop ecx
ret
Function at 0x406d50
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
sub esp, 0x3fc
mov eax, dword [0x417218]
push esi
mov esi, ecx
mov dword [esp + 0x3fc], eax
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x406df4
mov ecx, dword [esi + 4]
push 0x3e8
lea eax, [esp + 0x18]
push eax
push ecx
call dword [0x41330c]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 8]
call fcn.00402c80
mov eax, dword [esp + 4]
push 1
push 0
push 0
push eax
push 0x4134c4
push 0
call dword [0x413238]
mov eax, dword [esp + 4]
mov edx, dword [0x417054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x406e2b
add eax, 0xfffffff4
push eax
call dword [0x4131dc]
test eax, eax
jg 0x406e2b
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0040b02e
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x3f8]
call fcn.0040adb0
add esp, 0x3fc
ret 0x10
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0xc], eax
call dword [0x4132d4]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x14], 0x8200
call dword [0x413374]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
push 0x4e
push eax
call dword [0x413268]
mov ecx, dword [esp + 0x3fc]
xor eax, eax
pop esi
call fcn.0040adb0
add esp, 0x3fc
ret 0x10
Function at 0x4093c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x417218]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [0x413024]
mov esi, eax
test esi, esi
jne 0x4094e2
lea ecx, [esp + 8]
call fcn.004092c0
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x4094e6
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [0x41301c]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x409490
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.004093c0
mov edi, eax
test edi, edi
jne 0x40950a
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x409452
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [section..rdata]
je 0x4094a9
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [0x413010]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4094c8
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0040adb0
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x4094f1
push eax
call dword [section..rdata]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0040adb0
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x409519
push eax
call dword [section..rdata]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.0040adb0
add esp, 0x118
ret 4
Function at 0x409a00
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [0x4131ec]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x409a12
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [0x413004]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x40d2dc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40d30a
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x40d311
cmp ebx, dword [eax + 4]
jae 0x40d311
xor eax, eax
jmp 0x40d501
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40d322
xor eax, eax
inc eax
jmp 0x40d500
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40d338
cmp ecx, edx
jae 0x40d47d
cmp dword [eax + 4], 0
je 0x40d341
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40d329
cmp dword [ebp + 8], 0
je 0x40d363
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40d47d
cmp eax, esi
jae 0x40d47d
mov eax, dword [0x418058]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x40d388
cmp dword [esi*4 + 0x418060], edi
je 0x40d481
inc esi
cmp esi, eax
jl 0x40d376
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x413154]
test eax, eax
je 0x40d4fd
cmp dword [ebp - 8], 0x1000000
jne 0x40d4fd
test byte [ebp - 0xc], 0xcc
je 0x40d406
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40d4fd
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40d4fd
cmp word [eax + 0x18], 0x10b
jne 0x40d4fd
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40d4fd
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40d406
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40d406
test byte [ecx + 0x27], 0x80
jne 0x40d47d
push 1
push 0x4180a0
call dword [0x4131b8]
test eax, eax
jne 0x40d31a
mov ecx, dword [0x418058]
test ecx, ecx
mov edx, ecx
jle 0x40d43a
lea eax, [ecx*4 + 0x41805c]
cmp dword [eax], edi
je 0x40d43a
dec edx
sub eax, 4
test edx, edx
jg 0x40d42e
test edx, edx
jne 0x40d46b
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40d447
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40d45f
lea eax, [edx*4 + 0x418060]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40d44d
cmp ecx, 0x10
jge 0x40d46b
inc ecx
mov dword [0x418058], ecx
push 0
push 0x4180a0
call dword [0x4131b8]
jmp 0x40d31a
xor eax, eax
jmp 0x40d500
test esi, esi
jle 0x40d31a
mov ebx, dword [0x4131b8]
push 1
push 0x4180a0
call ebx
test eax, eax
jne 0x40d31a
cmp dword [esi*4 + 0x418060], edi
je 0x40d4d7
mov eax, dword [0x418058]
lea esi, [eax - 1]
test esi, esi
jl 0x40d4c5
cmp dword [esi*4 + 0x418060], edi
je 0x40d4c1
dec esi
jns 0x40d4b5
test esi, esi
jge 0x40d4d5
cmp eax, 0x10
jge 0x40d4d0
inc eax
mov dword [0x418058], eax
lea esi, [eax - 1]
jmp 0x40d4d7
je 0x40d4ef
xor ecx, ecx
test esi, esi
jl 0x40d4ef
lea eax, [ecx*4 + 0x418060]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40d4dd
push 0
push 0x4180a0
call ebx
jmp 0x40d31a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x6de25748
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x1ea32323
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x409090
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41b826
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004174b0
xor ebx, ebx
mov eax, 1
lea ecx, [esi + 0x1ad0]
mov dword [esp + 0x18], ebx
mov byte [esi + 4], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
mov byte [esi + 0x46], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
call fcn.0040eb50
mov edi, dword [sym.imp.ui2.dll_public:_static_void___cdecl_uiSubsystem::s_registerWidget_char_const___class_uiWidget_____cdecl___void__]
mov dword [esi + 0x1b64], ebx
mov dword [esi + 0x1b68], ebx
mov dword [esi], 0x41c664
mov eax, dword [sym.imp.ui2.dll_bool_uiWidget::s_dynamicLoading]
push 0x4092b0
push str.uiGameLevel
mov byte [esp + 0x20], 1
mov byte [eax], 1
call edi
push 0x409320
push str.uiPlayerBase
call edi
push 0x409240
push str.uiBullet
call edi
push 0x409390
push str.uiProgressBar_Giza
call edi
push 0x409400
push str.uiProfileListbox
call edi
push 0x409470
push str.uiStageMap
call edi
push 0x4094e0
push str.uiGamePiece_Collapse
call edi
mov ecx, 0x1c
xor eax, eax
lea edi, [esi + 0x64]
add esp, 0x38
rep stosd dword es:[edi], eax
lea edx, [esi + 0xd4]
xor ecx, ecx
lea edi, [esi + 0xdc]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov ecx, 0x2d
lea edi, [esi + 0x118]
rep stosd dword es:[edi], eax
mov ecx, 0x17
lea edi, [esi + 0x1d8]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x1cc]
lea edx, [esi + 0x234]
lea edi, [esi + 0x248]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
lea ecx, [esi + 0x238]
mov dword [edx], ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov ecx, 0x1f4
rep stosd dword es:[edi], eax
mov ecx, 0x32
lea edi, [esi + 0xa18]
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
lea edi, [esi + 0xae0]
rep stosd dword es:[edi], eax
mov ecx, 0x14
lea edi, [esi + 0x12b0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40f0a0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push ebp
mov ebp, dword [sym.imp.core.dll_public:_void____thiscall_MemoryMgr::alloc_int__unsigned_int__char_const___unsigned_int_]
push esi
push edi
xor edi, edi
mov eax, dword [sym.imp.core.dll_class_MemoryMgr__g_MemoryPtr]
push 0x33
push str.C:codemumbojumbogizacodegamemutex.cpp
push 8
mov ecx, dword [eax]
push 0
call ebp
mov esi, eax
test esi, esi
je 0x40f0e4
mov eax, dword [edi + 0x424f90]
mov dword [esi], 0x41c7fc
push eax
push 0
push 0
call ebx
mov dword [esi + 4], eax
jmp 0x40f0e6
xor esi, esi
test esi, esi
mov dword [edi + 0x427c4c], esi
je 0x40f134
add edi, 4
cmp edi, 0x14
jl 0x40f0b2
mov eax, dword [0x427c4c]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [eax + 4]
test eax, eax
je 0x40f150
push 0
push eax
call esi
test eax, eax
je 0x40f150
mov esi, dword [sym.imp.core.dll_char_const____cdecl_Platform::GetAppTitle_void_]
call esi
push eax
push str._s_is_already_running.
call esi
push eax
call dword [sym.imp.core.dll_void___cdecl_Platform::MessageBoxA_char_const___char_const__]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
push str.Failed_to_initialize_application.
call dword [sym.imp.core.dll_char_const____cdecl_Platform::GetAppTitle_void_]
push eax
call dword [sym.imp.core.dll_void___cdecl_Platform::MessageBoxA_char_const___char_const__]
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [0x427c54]
mov eax, dword [eax + 4]
test eax, eax
je 0x40f161
push 0xffffffffffffffff
push eax
call esi
mov eax, dword [0x427c58]
mov eax, dword [eax + 4]
test eax, eax
je 0x40f172
push 0xffffffffffffffff
push eax
call esi
mov eax, dword [0x427c5c]
mov eax, dword [eax + 4]
test eax, eax
je 0x40f183
push 0xffffffffffffffff
push eax
call esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret