joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0490
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x572a98
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x234]
mov ebp, dword [esp + 0x230]
mov edi, dword [esp + 0x22c]
push esi
push 0x100
lea eax, [esp + 0x120]
push eax
push 0x57e9e8
push ebp
push edi
mov dword [esp + 0x23c], 2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x118], 0
je 0x4a05f9
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x120]
push edx
call fcn.004a8290
mov esi, eax
lea eax, [esp + 0x24]
push eax
call fcn.00531b2c
push 0
lea ecx, [esp + 0x2c]
push ecx
push esi
mov ebx, eax
call fcn.004a8290
lea edx, [esp + 0x34]
push edx
mov esi, eax
call fcn.00531b2c
mov dword [esp + 0x34], eax
push 0
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004a8290
lea ecx, [esp + 0x44]
push ecx
call fcn.00531b2c
xor edx, edx
mov dh, al
movzx eax, bl
add esp, 0x30
mov byte [esp + 0x224], 1
mov dl, byte [esp + 0x14]
shl edx, 8
or edx, eax
lea eax, [edi - 0x10]
mov esi, edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a05a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x224], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a05c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x234]
add eax, 0xfffffff0
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a05f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x4a066f
lea eax, [edi - 0x10]
mov byte [esp + 0x224], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a061d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x224], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0641
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0668
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x238]
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0053042b
add esp, 0x214
ret 0x10
Function at 0x4a0c60
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0xf030
push esi
mov esi, ecx
jne 0x4a0c77
call fcn.0049f190
pop esi
ret 8
cmp eax, 0xf120
jne 0x4a0cbc
mov eax, dword [esi + 0xec]
cmp eax, 1
jne 0x4a0c92
call fcn.0049f200
pop esi
ret 8
cmp eax, 2
jne 0x4a0cbc
mov eax, dword [esi + 4]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0xec], ecx
push 0
mov ecx, esi
call fcn.004a06a0
pop esi
ret 8
cmp byte [esi + 0x10], 0
jne 0x4a0cc9
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
call eax
pop esi
ret 8

Function at 0x4a0cd0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x573528
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp dword [esp + 0x30], esi
jne 0x4a0d7d
mov dword [esp + 0x14], vtable.CMenu.0
mov dword [esp + 0x18], esi
mov eax, dword [edi + 4]
push esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
lea ecx, [esp + 0x18]
call fcn.0051cc8e
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebp, dword [esp + 0x2c]
mov ebx, eax
cmp ebx, esi
jle 0x4a0d57
jmp 0x4a0d40
mov edx, dword [esp + 0x18]
push esi
push edx
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, ebp
je 0x4a0d57
add esi, 1
cmp esi, ebx
jl 0x4a0d40
lea ecx, [esp + 0x14]
call fcn.0051ccb7
cmp esi, ebx
jl 0x4a0d95
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x14], vtable.CMenu.0
call fcn.0051cce1
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp ebp, 0xf030
jne 0x4a0da9
mov ecx, edi
call fcn.0049f190
jmp 0x4a0e2b
cmp ebp, 0xf020
jne 0x4a0dd5
mov eax, dword [edi + 0xec]
mov ecx, dword [edi + 4]
push 0
push ecx
mov dword [edi + 0xf0], eax
mov dword [edi + 0xec], 2
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a0e2b
cmp ebp, 0xf120
jne 0x4a0e19
mov eax, dword [edi + 0xec]
cmp eax, 1
jne 0x4a0df1
mov ecx, edi
call fcn.0049f200
jmp 0x4a0e2b
cmp eax, 2
jne 0x4a0e19
mov edx, dword [edi + 4]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xf0]
push 0
mov ecx, edi
mov dword [edi + 0xec], eax
call fcn.004a06a0
jmp 0x4a0e2b
mov ecx, dword [edi + 4]
push 0
push ebp
push 0x112
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x14], vtable.CMenu.0
call fcn.0051cce1
mov eax, 1
jmp 0x4a0d7f
Function at 0x4a0e80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x572b87
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004a7df0
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CDlgSkinWin.0
call fcn.00518333
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4a0ed4
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x18], 1
call fcn.00518333
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4a0f02
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 2
call fcn.004a3380
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 3
call fcn.004a3380
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 4
call fcn.004a3380
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 5
call fcn.004a3380
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 6
call fcn.004a3380
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 7
call fcn.004a3380
lea ecx, [esi + 0x7c]
mov byte [esp + 0x18], 8
call fcn.004a3380
lea ecx, [esi + 0x84]
mov byte [esp + 0x18], 9
call fcn.004a3380
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 0xa
call fcn.004a3380
lea ecx, [esi + 0x94]
mov byte [esp + 0x18], 0xb
call fcn.004a3380
mov dword [esi + 0x150], ebx
mov dword [esi + method.CFont.virtual_0], vtable.CFont.0
mov eax, 0xcfcfcf
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
mov dword [esi + 0x144], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], 1
mov dword [esi + 0x15c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4a1030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x572c45
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CDlgSkinWin.0
lea ecx, [esi + 0x14c]
mov dword [esp + 0x14], 0xc
mov dword [ecx], vtable.CFont.0
call fcn.004021e0
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 0xb
call fcn.004a33a0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x14], 0xa
call fcn.004a33a0
lea ecx, [esi + 0x84]
mov byte [esp + 0x14], 9
call fcn.004a33a0
lea ecx, [esi + 0x7c]
mov byte [esp + 0x14], 8
call fcn.004a33a0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 7
call fcn.004a33a0
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 6
call fcn.004a33a0
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 5
call fcn.004a33a0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 4
call fcn.004a33a0
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call fcn.004a33a0
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 2
call fcn.004a33a0
mov eax, dword [esi + 0x1c]
sub eax, 0x10
mov byte [esp + 0x14], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a1126
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x18]
sub eax, 0x10
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a114a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004a80f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4a4190
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
push eax
push 0
push str.TopTopHeight
push str.Personality
mov esi, ecx
call ebx
mov ecx, dword [esi + 0x20]
mov ebp, dword [sym.imp.GDI32.dll_GetObjectA]
mov dword [esi + 0x58], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call ebp
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
push eax
push 0
push str.TopBotHeight
push str.Personality
mov dword [esp + 0x3c], edx
call ebx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esi + 0x58]
cmp ecx, eax
mov dword [esi + 0x5c], ecx
jg 0x4a4213
add eax, 1
mov dword [esi + 0x5c], eax
mov eax, dword [edi]
push eax
push 0
push str.LeftTopHeight
push str.Personality
call ebx
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x60], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call ebp
mov eax, dword [edi]
mov edx, dword [esp + 0x18]
push eax
push 0
push str.LeftBotHeight
push str.Personality
mov dword [esp + 0x3c], edx
call ebx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esi + 0x60]
cmp ecx, eax
mov dword [esi + 0x64], ecx
jg 0x4a427d
add eax, 1
mov dword [esi + 0x64], eax
mov eax, dword [edi]
push eax
push 0
push str.RightTopHeight
push str.Personality
call ebx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x68], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call ebp
mov eax, dword [edi]
mov edx, dword [esp + 0x18]
push eax
push 0
push str.RightBotHeight
push str.Personality
mov dword [esp + 0x3c], edx
call ebx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esi + 0x68]
cmp ecx, eax
mov dword [esi + 0x6c], ecx
jg 0x4a42e7
add eax, 1
mov dword [esi + 0x6c], eax
mov eax, dword [edi]
push eax
push 0
push str.BottomTopHeight
push str.Personality
call ebx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x70], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call ebp
mov edi, dword [edi]
mov ebp, dword [esp + 0x14]
push edi
push 0
push str.BottomBotHeight
push str.Personality
call ebx
mov ecx, ebp
sub ecx, eax
mov eax, dword [esi + 0x70]
cmp ecx, eax
mov dword [esi + 0x74], ecx
jg 0x4a434b
add eax, 1
mov dword [esi + 0x74], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret 4
Function at 0x4a55d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x572a98
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x234]
mov ebp, dword [esp + 0x230]
mov edi, dword [esp + 0x22c]
push esi
push 0x100
lea eax, [esp + 0x120]
push eax
push 0x57e9e8
push ebp
push edi
mov dword [esp + 0x23c], 2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x118], 0
je 0x4a5739
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x120]
push edx
call fcn.004a8290
mov esi, eax
lea eax, [esp + 0x24]
push eax
call fcn.00531b2c
push 0
lea ecx, [esp + 0x2c]
push ecx
push esi
mov ebx, eax
call fcn.004a8290
lea edx, [esp + 0x34]
push edx
mov esi, eax
call fcn.00531b2c
mov dword [esp + 0x34], eax
push 0
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004a8290
lea ecx, [esp + 0x44]
push ecx
call fcn.00531b2c
xor edx, edx
mov dh, al
movzx eax, bl
add esp, 0x30
mov byte [esp + 0x224], 1
mov dl, byte [esp + 0x14]
shl edx, 8
or edx, eax
lea eax, [edi - 0x10]
mov esi, edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a56e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x224], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x234]
add eax, 0xfffffff0
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5735
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x4a57af
lea eax, [edi - 0x10]
mov byte [esp + 0x224], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a575d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x224], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5781
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a57a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x238]
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0053042b
add esp, 0x214
ret
Function at 0x4a7220
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0xf030
push esi
mov esi, ecx
jne 0x4a7237
call fcn.004a4000
pop esi
ret 8
cmp eax, 0xf120
jne 0x4a727c
mov eax, dword [esi + 0xe8]
cmp eax, 1
jne 0x4a7252
call fcn.004a4070
pop esi
ret 8
cmp eax, 2
jne 0x4a727c
mov eax, dword [esi + 4]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xec]
mov dword [esi + 0xe8], ecx
push 0
mov ecx, esi
call fcn.004a6900
pop esi
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
call eax
pop esi
ret 8

Function at 0x4a7290
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x573528
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp dword [esp + 0x30], esi
jne 0x4a733d
mov dword [esp + 0x14], vtable.CMenu.0
mov dword [esp + 0x18], esi
mov eax, dword [edi + 4]
push esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
lea ecx, [esp + 0x18]
call fcn.0051cc8e
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebp, dword [esp + 0x2c]
mov ebx, eax
cmp ebx, esi
jle 0x4a7317
jmp 0x4a7300
mov edx, dword [esp + 0x18]
push esi
push edx
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, ebp
je 0x4a7317
add esi, 1
cmp esi, ebx
jl 0x4a7300
lea ecx, [esp + 0x14]
call fcn.0051ccb7
cmp esi, ebx
jl 0x4a7355
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x14], vtable.CMenu.0
call fcn.0051cce1
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
cmp ebp, 0xf030
jne 0x4a7369
mov ecx, edi
call fcn.004a4000
jmp 0x4a73eb
cmp ebp, 0xf020
jne 0x4a7395
mov eax, dword [edi + 0xe8]
mov ecx, dword [edi + 4]
push 6
push ecx
mov dword [edi + 0xec], eax
mov dword [edi + 0xe8], 2
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a73eb
cmp ebp, 0xf120
jne 0x4a73d9
mov eax, dword [edi + 0xe8]
cmp eax, 1
jne 0x4a73b1
mov ecx, edi
call fcn.004a4070
jmp 0x4a73eb
cmp eax, 2
jne 0x4a73d9
mov edx, dword [edi + 4]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xec]
push 0
mov ecx, edi
mov dword [edi + 0xe8], eax
call fcn.004a6900
jmp 0x4a73eb
mov ecx, dword [edi + 4]
push 0
push ebp
push 0x112
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x14], vtable.CMenu.0
call fcn.0051cce1
mov eax, 1
jmp 0x4a733f
Function at 0x4b2560
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x573ebb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], vtable.CXmlDevGroup.0
call fcn.004e0a20
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x64]
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.004e0a20
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
lea edx, [esi + 0x18]
mov dword [edi + 8], ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x4b25c5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4b5240
Capabilities:
Read file on windows

Disassembly:
push ecx
test eax, eax
je 0x4b5334
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4b5334
test edi, edi
je 0x4b5334
push ebx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov dword [edi], 0
push eax
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b528f
xor al, al
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [esp + 0x14]
push esi
push ebp
call fcn.00532491
mov esi, eax
add esp, 4
test esi, esi
jne 0x4b52ab
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
push ebp
push 0
push esi
mov dword [esp + 0x18], 0
call fcn.00530d30
add esp, 0xc
push 0
lea eax, [esp + 0x10]
push eax
add ebp, 0xffffffff
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b5319
cmp dword [esp + 0xc], 0
je 0x4b5319
mov ecx, dword [esp + 0x14]
push esi
push ecx
call fcn.004b3d20
add esp, 8
test al, al
je 0x4b5319
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
add dword [edi], edx
push eax
push 0
push esi
call fcn.00530d30
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b52d6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0053208b
add esp, 4
cmp dword [edi], 0
pop esi
pop ebp
setne al
pop ebx
pop ecx
ret
xor al, al
pop ecx
ret
Function at 0x4b83b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x574363
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.0054f735
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x4b8401
mov eax, dword [esi + 0x1c]
push eax
call fcn.0050fd2d
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4ba9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5747f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [str.info]
push eax
lea edx, [esp + 0x10]
push edx
add ecx, 4
call fcn.004b60b0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
mov dword [esp + 0x3c], ebx
call fcn.004b7960
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esp + 0x44], 1
mov byte [esi + 4], bl
call fcn.00406510
cmp dword [esp + 0x2c], 0x10
jb 0x4baa27
mov eax, dword [esp + 0x18]
push eax
call fcn.0050fd2d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4

Function at 0x4baa40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5747f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [str.devname]
push eax
lea edx, [esp + 0x10]
push edx
add ecx, 4
call fcn.004b60b0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
mov dword [esp + 0x3c], ebx
call fcn.004b7960
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esp + 0x44], 1
mov byte [esi + 4], bl
call fcn.00406510
cmp dword [esp + 0x2c], 0x10
jb 0x4baac7
mov eax, dword [esp + 0x18]
push eax
call fcn.0050fd2d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x4baae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5747f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [str.username]
push eax
lea edx, [esp + 0x10]
push edx
add ecx, 4
call fcn.004b60b0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
mov dword [esp + 0x3c], ebx
call fcn.004b7960
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esp + 0x44], 1
mov byte [esi + 4], bl
call fcn.00406510
cmp dword [esp + 0x2c], 0x10
jb 0x4bab67
mov eax, dword [esp + 0x18]
push eax
call fcn.0050fd2d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4