joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55e0e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x55e10b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x55e12f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x55e14a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x562336
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x56236e
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.00561348
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00561320
jmp 0x56237a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x56237e
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x5de900
mov ecx, edi
call fcn.0056102a
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x5623d1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x5623e4
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00561348
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00561320
jmp 0x5623e4
mov ecx, esi
call fcn.00564186
test eax, eax
je 0x5623e4
push edi
mov ecx, eax
call fcn.00562336
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x563a5c
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 0x563a9e
call fcn.0056a1b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x563a9e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x563a95
xor eax, eax
jmp 0x563aa6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00563aac
pop edi
pop esi
pop ebx
ret 4

Function at 0x564c1a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x564c3c
cmp dword [edi + 0x3c], 0
jne 0x564c3c
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0056a1b0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00564c69
pop edi
pop esi
pop ebx
ret 8
Function at 0x404789
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x473464
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
call fcn.00401040
mov al, byte [esp + 0x24]
mov dword [esi + 0x18], ebx
mov byte [esi + 0x14], al
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov cl, byte [esp + 0x24]
mov dword [esi + 0x28], ebx
mov byte [esi + 0x24], cl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dl, byte [esp + 0x24]
mov dword [esi + 0x38], ebx
mov byte [esi + 0x34], dl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea edi, [esi + 0x44]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x20], 4
mov dword [esp + 0x14], edi
call fcn.00404b20
lea ecx, [esp + 0x74]
mov byte [esp + 0x1c], 5
push ecx
lea ecx, [edi + 0x50]
call fcn.00404b20
mov edx, dword [esp + 0xc4]
mov cl, byte [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov dword [edi + 0xa0], edx
lea edx, [esp + 0xd0]
mov byte [edi + 0xa8], cl
push edx
lea ecx, [edi + 0xac]
mov byte [esp + 0x20], 6
mov dword [edi + 0xa4], eax
call fcn.0045c445
lea eax, [esp + 0xd4]
lea ecx, [edi + 0xb0]
push eax
mov byte [esp + 0x20], 7
call fcn.0045c445
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb8], edx
lea ecx, [esi + 0x104]
mov byte [esp + 0x1c], 8
call fcn.0045b720
mov al, byte [esp + 0x24]
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x118], 0x479894
mov byte [esi + 0x15c], al
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi], 0x47986c
lea ecx, [esp + 0xd4]
mov dword [esp + 0x1c], 0xb
call fcn.0045c6d0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1c], 0xa
call fcn.0045c6d0
lea ecx, [esp + 0x74]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1c], 0xf
call fcn.0045c6d0
lea ecx, [esp + 0x88]
mov byte [esp + 0x1c], 0xe
call fcn.0045c6d0
lea ecx, [esp + 0x80]
mov byte [esp + 0x1c], 0xd
call fcn.0045c6d0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c], 0xc
call fcn.0045c6d0
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c], 9
call fcn.0045c6d0
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], 0x13
call fcn.0045c6d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 0x12
call fcn.0045c6d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 0x11
call fcn.0045c6d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0x10
call fcn.0045c6d0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0045c6d0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xbc
Function at 0x404990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4734e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0xb0]
mov dword [esp + 0x18], 2
call fcn.0045c6d0
lea ecx, [esi + 0xac]
mov byte [esp + 0x18], 1
call fcn.0045c6d0
lea edi, [esi + 0x50]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0045c6d0
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 5
call fcn.0045c6d0
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 4
call fcn.0045c6d0
lea ecx, [edi + 8]
mov byte [esp + 0x18], 3
call fcn.0045c6d0
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0
call fcn.0045c6d0
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 0xa
call fcn.0045c6d0
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 9
call fcn.0045c6d0
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 8
call fcn.0045c6d0
lea ecx, [esi + 8]
mov byte [esp + 0x18], 7
call fcn.0045c6d0
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.0045c6d0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4049a8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4734e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0xb0]
mov dword [esp + 0x18], 2
call fcn.0045c6d0
lea ecx, [esi + 0xac]
mov byte [esp + 0x18], 1
call fcn.0045c6d0
lea edi, [esi + 0x50]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0045c6d0
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 5
call fcn.0045c6d0
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 4
call fcn.0045c6d0
lea ecx, [edi + 8]
mov byte [esp + 0x18], 3
call fcn.0045c6d0
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0
call fcn.0045c6d0
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 0xa
call fcn.0045c6d0
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 9
call fcn.0045c6d0
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 8
call fcn.0045c6d0
lea ecx, [esi + 8]
mov byte [esp + 0x18], 7
call fcn.0045c6d0
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.0045c6d0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x404aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47352c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 3
call fcn.0045c6d0
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call fcn.0045c6d0
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call fcn.0045c6d0
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call fcn.0045c6d0
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0045c6d0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x404b20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47356c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [edi]
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.0045c445
lea edx, [edi + 8]
lea ecx, [esi + 8]
push edx
mov dword [esp + 0x18], 0
call fcn.0045c445
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
mov byte [esp + 0x18], 1
call fcn.0045c445
mov ecx, dword [edi + 0x10]
lea edx, [edi + 0x14]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 2
call fcn.0045c445
mov eax, dword [edi + 0x18]
mov byte [esp + 0x14], 3
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov dword [esi + 0x2c], edx
call fcn.0045c445
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x404c10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4735b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00401040
mov al, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 0x14], al
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov cl, byte [esp + 0xb]
mov dword [esi + 0x28], edi
mov byte [esi + 0x24], cl
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dl, byte [esp + 0xb]
mov dword [esi + 0x38], edi
mov byte [esi + 0x34], dl
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 3
call fcn.00421160
lea ecx, [esi + 0x104]
mov byte [esp + 0x18], 4
call fcn.0045b720
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x11c], edi
mov dword [esi + 0x118], 0x479894
mov byte [esi + 0x15c], al
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi], 0x47986c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x404c28
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4735b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00401040
mov al, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 0x14], al
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov cl, byte [esp + 0xb]
mov dword [esi + 0x28], edi
mov byte [esi + 0x24], cl
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dl, byte [esp + 0xb]
mov dword [esi + 0x38], edi
mov byte [esi + 0x34], dl
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 3
call fcn.00421160
lea ecx, [esi + 0x104]
mov byte [esp + 0x18], 4
call fcn.0045b720
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x11c], edi
mov dword [esi + 0x118], 0x479894
mov byte [esi + 0x15c], al
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi], 0x47986c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x404cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473657
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x47986c
xor edi, edi
mov dword [esp + 0x24], edi
mov eax, dword [esi + 0x160]
push eax
call fcn.0045cc58
lea ecx, [esi + 0x118]
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
add esp, 4
mov dword [esp + 0x14], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x24], 6
call fcn.004642da
lea ecx, [esi + 0x104]
mov byte [esp + 0x24], 4
call fcn.0045b753
lea ebp, [esi + 0x44]
mov dword [esp + 0x14], ebp
lea ecx, [ebp + 0xb0]
mov byte [esp + 0x24], 9
call fcn.0045c6d0
lea ecx, [ebp + 0xac]
mov byte [esp + 0x24], 8
call fcn.0045c6d0
lea ebx, [ebp + 0x50]
mov dword [esp + 0x18], ebx
lea ecx, [ebx + 0x30]
mov byte [esp + 0x24], 0xd
call fcn.0045c6d0
lea ecx, [ebx + 0x14]
mov byte [esp + 0x24], 0xc
call fcn.0045c6d0
lea ecx, [ebx + 0xc]
mov byte [esp + 0x24], 0xb
call fcn.0045c6d0
lea ecx, [ebx + 8]
mov byte [esp + 0x24], 0xa
call fcn.0045c6d0
lea ecx, [ebx + 4]
mov byte [esp + 0x24], 7
call fcn.0045c6d0
mov ecx, ebp
mov byte [esp + 0x24], 3
call fcn.00404aa0
mov eax, dword [esi + 0x38]
push eax
call fcn.0045cc58
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x28]
push ecx
call fcn.0045cc58
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov edx, dword [esi + 0x18]
push edx
call fcn.0045cc58
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi], 0x4796d8
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4074e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473ac3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.0045bb05
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.0045bb05
or eax, 0xffffffff
push 0x4922ec
mov dword [ebx], method.CPtrArray.virtual_0
push edi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.kernel32.dll_GetCPInfo]
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 0x40aa50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x473ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], vtable.CPen.0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.gdi32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.00464283
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00463a03
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00463e31
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call fcn.00463e7d
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00463e31
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call fcn.00463e7d
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00463e31
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call fcn.00463e7d
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00463e31
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call fcn.00463e7d
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00463e31
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call fcn.00463e7d
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call fcn.00463e31
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call fcn.00463e7d
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.00463e31
push ebp
push ebx
mov ecx, esi
call fcn.00463e7d
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00463a03
lea ecx, [esp + 0x10]
call fcn.004642da
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.004642da
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x40b2e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x473f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], vtable.CBrush.0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
cmp ecx, eax
jne 0x40b347
call fcn.00407640
test eax, eax
mov eax, 0x16
jne 0x40b34c
mov eax, 4
mov ebx, dword [sym.imp.user32.dll_GetSysColor]
push eax
call ebx
push eax
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.00464283
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [edi + 4]
push ecx
push edx
call dword [sym.imp.user32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.004642da
call fcn.00407640
test eax, eax
je 0x40b3a3
mov ecx, dword [edi + 4]
push 0xf
lea eax, [esp + 0x1c]
push 2
push eax
push ecx
call dword [sym.imp.user32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x40b3c7
call ebx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
add edx, 4
add eax, 4
push edx
push eax
push edi
mov ecx, ebp
call fcn.0040aa50
jmp 0x40b3df
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 5
push ecx
push edx
push edi
mov ecx, ebp
call fcn.0040a930
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.004642da
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x40b8d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
call fcn.0047144d
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0xc]
and eax, 0xffff
push 2
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x40b8f6
pop edi
pop esi
ret
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x40b905
pop edi
pop esi
ret
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
test eax, eax
jne 0x40b913
pop edi
pop esi
ret
push eax
call fcn.0040b860
add esp, 4
cmp ax, 0x10
je 0x40b927
pop edi
xor eax, eax
pop esi
ret
push 0
push edi
push esi
call fcn.00464f61
pop edi
pop esi
ret