Function at 0x40f960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x432140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
push 0xffffff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esp + 0x14], eax
call dword [edx + 0x30]
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.004286d8
lea ecx, [esp + 0x38]
mov dword [esp + 0x68], 0
call fcn.004286d8
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call fcn.00403b90
mov dword [esp + 0x18], 0x433650
mov byte [esp + 0x68], 2
call fcn.004300e6
mov ecx, dword [esp + 0x74]
mov eax, dword [eax + 0xc]
and ecx, 0xffff
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x1c]
call fcn.00429140
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
test esi, esi
jne 0x40fa18
xor eax, eax
jmp 0x40fa1b
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.0042878f
test esi, esi
jne 0x40fa36
xor eax, eax
jmp 0x40fa39
mov eax, dword [esi + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.0042878f
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.004288d0
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x433650
push 0
push 1
push 1
push ebp
push edi
mov byte [esp + 0x7c], 3
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.00429140
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x3c]
push eax
push edx
call fcn.004288d0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x2c]
call fcn.00428969
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
mov ecx, dword [esp + 0x3c]
push 0xcc0020
sbb eax, eax
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
and eax, edx
push 0
push 0
push eax
push ebp
push edi
push 0
push 0
push ecx
call ebx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x7c]
push 0x660046
neg eax
sbb eax, eax
push 0
and eax, ecx
mov ecx, dword [esi + 4]
push 0
push eax
mov eax, dword [esp + 0x88]
push ebp
push edi
push edx
push eax
push ecx
call ebx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
mov edx, dword [esp + 0x7c]
push 0x8800c6
and eax, ecx
mov ecx, dword [esi + 4]
push 0
push 0
push eax
mov eax, dword [esp + 0x88]
push ebp
push edi
push edx
push eax
push ecx
call ebx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
mov ecx, dword [esi + 4]
push 0x660046
sbb eax, eax
push 0
and eax, edx
mov edx, dword [esp + 0x84]
push 0
push eax
mov eax, dword [esp + 0x88]
push ebp
push edi
push edx
push eax
push ecx
call ebx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x40fb7e
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x2c]
push eax
push edx
call fcn.004288d0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x40fb94
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004288d0
lea ecx, [esp + 0x28]
call fcn.004287f7
lea ecx, [esp + 0x38]
call fcn.004287f7
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 4
call fcn.00429197
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 5
call fcn.00429197
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0
call fcn.0042880d
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.0042880d
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x14