Function at 0x40aa43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x42cac2
call fcn.00421904
sub esp, 0x40
push edi
push 0xc190
call fcn.004223d2
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor edi, edi
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x40aa71
call fcn.0040c27a
jmp 0x40aa73
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [0x441fc0], eax
je 0x40ac9e
push 0x86
mov dword [0x4422a8], eax
push dword [0x441fe4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
cmp eax, edi
mov dword [0x441fc4], eax
je 0x40ac9e
mov ecx, dword [0x441fc0]
push ebx
push esi
push eax
call fcn.0040c379
mov ecx, dword [0x441fc0]
push 5
pop eax
mov dword [ecx + 0xc13c], eax
mov ecx, dword [0x441fc0]
push 0x11
pop esi
mov dword [ecx + 0xc118], esi
mov ecx, dword [0x441fc0]
push 0x22
mov dword [ecx + 0xc11c], eax
mov ecx, dword [0x441fc0]
pop edx
mov dword [ecx + 0xc120], edx
mov ecx, dword [0x441fc0]
push 6
mov dword [ecx + 0xc10c], edi
mov ecx, dword [0x441fc0]
mov dword [ecx + 0xc114], 2
mov ecx, dword [0x441fc0]
mov dword [ecx + 0xc110], 0x18
mov ecx, dword [0x441fc0]
mov dword [ecx + 0xc144], 0x12
mov ebx, dword [0x441fc0]
pop ecx
mov dword [ebx + 0xc140], ecx
mov ebx, dword [0x441fc0]
push 0x38
push 0xe
mov dword [ebx + 0xc124], esi
mov esi, dword [0x441fc0]
push edi
push edi
mov dword [esi + 0xc128], eax
mov eax, dword [0x441fc0]
mov esi, dword [sym.imp.USER32.dll_SetRect]
mov dword [eax + 0xc12c], edx
mov eax, dword [0x441fc0]
mov dword [eax + 0xc134], edi
mov eax, dword [0x441fc0]
mov dword [eax + 0xc130], edi
mov eax, dword [0x441fc0]
mov dword [eax + 0xc138], 8
mov eax, dword [0x441fc0]
mov dword [eax + 0xc148], ecx
mov eax, dword [0x441fc0]
add eax, 0xc14c
push eax
call esi
mov eax, dword [0x441fc0]
push 0x38
push 0x1e
push edi
add eax, 0xc16c
push 0xe
push eax
call esi
mov eax, dword [0x441fc0]
push 0x26
push 0x46
push edi
add eax, 0xc15c
push 0x1e
push eax
call esi
mov eax, dword [0x441fc0]
push 0x26
push 0x4f
push edi
add eax, 0xc17c
push 0x47
push eax
call esi
push 0xe3e3e3
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x441fcc], eax
push 0x87
push dword [0x441fe4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
pop esi
cmp eax, edi
mov dword [0x441fc8], eax
pop ebx
je 0x40ac1d
push 7
pop ecx
push ecx
push ecx
push ecx
push ecx
push eax
call fcn.0040d272
add esp, 0x14
push str.MENUFONT
push 0x91
push dword [0x441fe4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x40ac9e
push eax
push dword [0x441fe4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x40ac9e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x40ac9e
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x31]
push ecx
lea ecx, [ebp - 0x32]
push ecx
lea ecx, [ebp - 0x33]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x35]
push ecx
lea ecx, [ebp - 0x36]
push ecx
lea ecx, [ebp - 0x37]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push str._d__d__d__d__d__d__d__d__d__d__d__d__d__s
push eax
call fcn.004209be
add esp, 0x40
cmp eax, 0xe
je 0x40aca2
xor eax, eax
jmp 0x40acc2
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [0x441fc0]
push eax
mov dword [0x441fd0], eax
call fcn.0040c0ee
call fcn.0040c040
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret