joyce8/EMBER2024-capa huggingface dataset:
Function at 0x23a81ef0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov ebp, ecx
call esi
test ax, ax
jl 0x23a81ffb
push 2
call esi
test ax, ax
jl 0x23a81ffb
push 4
call esi
test ax, ax
jl 0x23a81ffb
push ebx
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor edi, edi
cmp dword [ebp + 0x5c], edi
jle 0x23a81fe2
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
test edi, edi
jl 0x23a81ff6
cmp edi, dword [ebp + 0x5c]
jge 0x23a81ff6
mov ecx, dword [ebp + 0x58]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi + 0x20]
push edx
call ebx
test eax, eax
je 0x23a81fd8
mov eax, dword [esi + 0x20]
push eax
call fcn.23a3270a
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x24], edx
test byte [esi + 8], 1
lea ecx, [esp + 0x18]
push ecx
je 0x23a81f9f
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x23a81fa6
mov ecx, eax
call fcn.23a3869a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x23a81fd8
test byte [esi + 8], 1
jne 0x23a81fec
lea edx, [esp + 0x10]
push edx
push 0
mov ecx, ebp
call fcn.23a81250
cmp eax, dword [esi + 0x20]
je 0x23a81fec
inc edi
cmp edi, dword [ebp + 0x5c]
jl 0x23a81f42
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x18
ret
call fcn.23a2f00f
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
Function at 0x23a830c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x23bd3f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.23a2f955
xor ebx, ebx
lea edi, [esi + 0x98]
mov dword [esi], vtable.CXTPToolTipContext.0
mov dword [esp + 0x218], ebx
mov dword [edi + 4], ebx
mov dword [edi], vtable.CFont.0
lea ebp, [esi + 0xa0]
mov dword [ebp + 4], ebx
mov dword [ebp], vtable.CFont.0
push ebx
mov byte [esp + 0x21c], 2
mov dword [esi + 0x60], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
push 0x2c
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x64]
push ebx
push eax
call fcn.23a49830
add esp, 0xc
call fcn.23a9c040
mov ecx, eax
call fcn.23a9d3c0
push ebx
push ebx
push ebx
mov dword [esi + 0x34], eax
or eax, 0xffffffff
push ebx
lea ecx, [esi + 0x44]
push ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x38], 1
mov dword [esi + 0x40], 2
call dword [sym.imp.USER32.dll_SetRect]
push 0x1f4
or eax, 0xffffffff
lea edx, [esp + 0x1c]
push ebx
push edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], eax
call fcn.23a49830
add esp, 0xc
push ebx
lea eax, [esp + 0x1c]
push eax
push 0x1f4
push 0x29
mov dword [esp + 0x28], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [esp + 0x164], 0x190
call fcn.23a9bb00
mov ecx, eax
call fcn.23a9b540
mov ebx, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea ecx, [esp + 0x154]
push ecx
mov byte [esp + 0x16f], al
call ebx
push eax
mov ecx, edi
call fcn.23a38bcc
mov dword [esp + 0x164], 0x2bc
lea edx, [esp + 0x154]
push edx
call ebx
push eax
mov ecx, ebp
call fcn.23a38bcc
mov dword [esi + 0xa8], 1
mov eax, esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.23a4addf
add esp, 0x208
ret
Function at 0x23a85270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x23bd41e6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x23a852a3
jmp dword [eax*4 + 0x23a85444]
push 0x13c
call fcn.23a2ecec
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x23a8542e
push esi
mov ecx, eax
call fcn.23a828e0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x268
call fcn.23a2ecec
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 1
test eax, eax
je 0x23a8542e
push esi
mov ecx, eax
call fcn.23a84f50
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x13c
call fcn.23a2ecec
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 2
test eax, eax
je 0x23a8542e
push esi
mov ecx, eax
call fcn.23a84e00
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x13c
call fcn.23a2ecec
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 3
jmp 0x23a852c3
push 0x1a4
call fcn.23a2ecec
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 4
test eax, eax
je 0x23a8542e
push esi
mov ecx, eax
call fcn.23a85120
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x144
call fcn.23a2ecec
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 5
test eax, eax
je 0x23a8542e
push esi
mov ecx, eax
call fcn.23a85010
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x70
call fcn.23a2ecec
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 6
test esi, esi
je 0x23a8542e
mov ecx, esi
call fcn.23a4817d
mov dword [esi], vtable.CXTPToolTipContext::CStandardToolTip.0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x23a8a310
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 0x100]
test esi, esi
je 0x23a8a3a5
push ebp
mov ebp, dword [esp + 0x10]
mov eax, ebp
shr eax, 8
push edi
mov edi, dword [esi + 0x34]
cmp al, 2
jne 0x23a8a3a3
test edi, edi
je 0x23a8a3a3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x23a8a355
mov eax, dword [edi + 0x2c]
jmp 0x23a8a37d
mov ecx, dword [esi + 0x34]
cmp dword [ecx + 0x58], 0
mov ecx, dword [esp + 0x1c]
jne 0x23a8a366
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x23a8a37b
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x23a8a37d
mov eax, ecx
push eax
mov ecx, ebx
call fcn.23a8a290
cmp ebp, 0x202
je 0x23a8a39a
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x23a8a3a3
push 0
mov ecx, ebx
call fcn.23a8a200
pop edi
pop ebp
pop esi
pop ebx
ret 0xc
Function at 0x23a8a8b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
mov dword [ebx + 0x1c], 1
call fcn.23a889a0
test eax, eax
je 0x23a8a906
push edi
push esi
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.23a802b0
push 0x10
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
mov eax, dword [edi + 4]
setl cl
lea edx, [esi + 0xa4]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [ebx + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.23a8a560
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x23a8e0b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x23bd46b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x20]
push eax
call fcn.23a8c430
cmp dword [esp + 0x20], 0
jle 0x23a8e18d
mov ecx, esi
call fcn.23a8c8b0
mov edi, eax
test edi, edi
je 0x23a8e18d
mov ecx, dword [0x23c7d610]
push ecx
mov ecx, esi
call fcn.23a62cf0
test eax, eax
je 0x23a8e177
cmp dword [eax + 0x14], 0
je 0x23a8e177
lea ecx, [esp + 0xc]
call fcn.23a8dbc0
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
push edx
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x4c], 0
call fcn.23a8e000
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.23a694c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.23a8dc10
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret 4
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.23a694c0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret 4

Function at 0x23a8e820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x23bd37a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x23c68938]
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.CXTPMarkupRun.0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x23a8e869
call fcn.23a61dd0
mov dword [esi + 0x30], 0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.23a7bb40
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x23a9b580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
mov edi, dword [esp + 0xc]
push 0xe
push eax
push edi
call esi
test eax, eax
jne 0x23a9b59f
pop edi
pop esi
ret 0x10
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push edi
call ebp
test eax, eax
jne 0x23a9b5b4
pop ebp
pop edi
pop esi
ret 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
movzx eax, ax
push 3
push eax
push edi
call esi
mov esi, eax
test esi, esi
je 0x23a9b5ea
push esi
push edi
call ebp
test eax, eax
jne 0x23a9b5f3
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
ret 0x10
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
push 0x30000
push 1
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
pop ebx
pop ebp
pop edi
pop esi
ret 0x10

Function at 0x23a9b990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.23a9b4f0
mov edi, dword [esp + 0x10]
mov dword [esp + 8], eax
test eax, eax
je 0x23a9b9b7
push 5
push edi
lea eax, [esp + 0x10]
push eax
call fcn.23a9b780
test eax, eax
jne 0x23a9b9da
call fcn.23a3b00e
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
test eax, eax
je 0x23a9b9ec
push 5
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.23a9b780
test eax, eax
je 0x23a9b9ec
mov edx, dword [esp + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
pop edi
pop esi
pop ecx
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x23a9bb60
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x23a9bab0
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov ax, word [esp]
pop ecx
ret
Function at 0x23a9bd80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [esp + 4], 0
jne 0x23a9bd8c
xor eax, eax
ret 8
push ebx
push ebp
push esi
push edi
call fcn.23a9b4f0
movzx ebx, word [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x17
mov edi, eax
push ebx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x23a9bdc6
call fcn.23a3b00e
mov edi, dword [eax + 0xc]
test edi, edi
je 0x23a9bdff
push 0x17
push ebx
push edi
call ebp
mov esi, eax
test esi, esi
je 0x23a9bdff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x23a9bdff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x23a9bdff
mov ecx, dword [esp + 0x14]
lea esi, [ebx + ebx + 2]
push esi
call fcn.23a10ad0
mov edi, eax
test edi, edi
jne 0x23a9be08
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
push esi
push 0
push edi
call fcn.23a49830
add esp, 0xc
push esi
push edi
push ebx
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
mov esi, eax
call fcn.23a22440
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
setg al
pop ebx
ret 8

Function at 0x23a9bee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push edi
call fcn.23a104b0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x23a9bf15
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x23a9bf0d
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x23a9bf5b
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x23a9bf50
mov edi, edi
cmp esi, eax
jae 0x23a9bf5b
sub edi, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x23a9bf40
cmp esi, eax
jae 0x23a9bf5b
movzx edi, word [esi]
test edi, edi
jne 0x23a9bf64
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, ebx
call fcn.23a2f52a
lea ecx, [edi + edi]
push ecx
add esi, 2
push esi
push eax
call fcn.23a6ef60
add esp, 0xc
push edi
mov ecx, ebx
call fcn.23a22440
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
ret 0xc

Function at 0x23a9cab0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
push eax
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x23a9ca30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
je 0x23a9cafd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret
Function at 0x23a9cb00
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xc], edi
je 0x23a9cb85
mov eax, dword [esi + 0x14]
push ebx
push eax
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], edi
call ebx
test eax, eax
je 0x23a9cb73
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, edi
cmp dword [esp + 0x10], 0x103
jne 0x23a9cb72
mov eax, dword [esi + 0xc]
inc edi
cmp edi, 0xa
ja 0x23a9cb69
push 0x64
push eax
call ebp
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
test eax, eax
jne 0x23a9cb40
jmp 0x23a9cb72
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop ebp
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x23a9e140
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
call fcn.23a9e020
cmp dword [eax + 4], 0
je 0x23a9e1b9
mov edi, dword [esi + 8]
push ebx
mov ebx, dword [esi + 4]
call fcn.23a9e020
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp ebx, edi
je 0x23a9e192
cmp dword [esi + 0x24], 0
jne 0x23a9e184
mov eax, dword [esi]
push str.GdipCreateFromHDC2
push eax
call ebp
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
call edx
jmp 0x23a9e1b0
cmp dword [esi + 0x28], 0
jne 0x23a9e1a5
mov eax, dword [esi]
push str.GdipCreateFromHDC
push eax
call ebp
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push ebx
call edx
mov edi, dword [esp + 0x10]
pop ebx
test edi, edi
jne 0x23a9e1c0
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
call fcn.23a9e020
mov esi, eax
cmp dword [esi + 0x18], 0
jne 0x23a9e1da
mov eax, dword [esi]
push str.GdipSetPageUnit
push eax
call ebp
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x18]
push 2
push edi
call ecx
mov edi, dword [esp + 0xc]
call fcn.23a9e020
mov esi, eax
cmp dword [esi + 0x1c], 0
jne 0x23a9e200
mov edx, dword [esi]
push str.GdipSetSmoothingMode
push edx
call ebp
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
push 2
push edi
call eax
mov edi, dword [esp + 0xc]
call fcn.23a9e020
mov esi, eax
cmp dword [esi + 0x14], 0
jne 0x23a9e226
mov ecx, dword [esi]
push str.GdipSetPixelOffsetMode
push ecx
call ebp
mov dword [esi + 0x14], eax
mov edx, dword [esi + 0x14]
push 4
push edi
call edx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x23aa42e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.23aa2bf0
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
lea ebx, [esi + 0x24]
push str.TEXTFILE
je 0x23aa430a
push eax
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
jmp 0x23aa432b
mov ecx, dword [esi + 0x28]
push str.OFFICE2007BLUE_INI
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x23aa432f
push str.OFFICE2007BLUE_INI
mov ecx, ebx
call fcn.23a12480
test edi, edi
jne 0x23aa4344
mov edx, dword [ebx]
cmp dword [edx - 0xc], 0
jne 0x23aa4344
mov eax, dword [esi + 0x28]
push eax
mov ecx, esi
call fcn.23aa37a0
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x23aa4379
mov ecx, dword [esi + 0x28]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x23aa4379
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x28]
push edi
push edx
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, dword [esi + 0x2c]
mov ebx, 1
mov dword [esi + 0x30], eax
mov ecx, esi
call fcn.23aa3850
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x23aa4397
push 0
push 0
push 0
push 0x294f
call fcn.23ada360
push 0
push str.PremultiplyImages
push str.Global
mov ecx, esi
call fcn.23aa3f60
pop edi
mov dword [esi + 0x50], eax
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x23aa4440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x23bd5492
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.23a2f955
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CXTPResourceImages.0
call fcn.23a36735
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x23aa4496
push 0x80004005
call fcn.23a0ef50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x20], 1
call fcn.23a36735
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x23aa44c4
push 0x80004005
call fcn.23a0ef50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
lea edi, [esi + 0x54]
mov ecx, edi
mov byte [esp + 0x20], 2
call fcn.23a382f6
mov dword [edi], vtable.CXTPResourceImages::CBitmapDC.0
mov dword [edi + 0x10], ebx
lea ebp, [esi + 0x74]
push 0xa
mov ecx, ebp
call fcn.23aa2b70
lea ecx, [esi + 0x90]
push 0xa
mov byte [esp + 0x24], 4
call fcn.23a4738c
push ebx
push 0xc7
lea ecx, [esi + 0x90]
mov byte [esp + 0x28], 5
call fcn.23a3ebea
push ebx
push 0x65
mov ecx, ebp
call fcn.23aa1860
mov dword [esi + 0x34], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x50], ebx
call fcn.23a3b00e
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.23aa43c0
lea eax, [esi + 0x6c]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call fcn.23a6f4a0
add esp, 0x10
push ebx
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.23a388fa
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esi + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x23aa74f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x23bd5898
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [ebp + 8], 0
call fcn.23a38c24
mov esi, dword [esp + 0x50]
test esi, esi
je 0x23aa758f
mov edi, dword [esp + 0x4c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x23aa758f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x23aa758f
cmp ebx, 0xa
jb 0x23aa758f
push 0
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.23bb97db
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0x48], 0
call fcn.23aa7360
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.23bb9b55
mov eax, esi
jmp 0x23aa7591
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8

Function at 0x23aa7710
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
sub esp, 0x24
push esi
mov esi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0xc]
push 0x32
push ecx
mov dword [esi], vtable.CXTPSkinManagerApiFunction.0
mov dword [esi + 8], 0
mov dword [esi + 0x60], edx
call fcn.23a525ee
mov edx, dword [esp + 0x40]
push edx
lea eax, [esi + 0x3e]
push 0x1e
push eax
call fcn.23a525ee
add esp, 0x18
cmp dword [0x23c7dc50], 0
jne 0x23aa776e
call fcn.23a336be
mov dword [0x23c7dc50], eax
mov ecx, dword [0x23c7dc4c]
test ecx, ecx
jne 0x23aa778d
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x10]
mov dword [0x23c7dc4c], ecx
mov eax, dword [esi + 0x5c]
cmp eax, ecx
jbe 0x23aa779f
cmp byte [eax], 0x68
jne 0x23aa779f
mov edx, dword [eax + 1]
mov dword [esi + 0x5c], edx
mov eax, esi
pop esi
add esp, 0x24
ret 0x14