Function at 0x414360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449b90
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46974c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov eax, vtable.CBitmap.0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 3
call fcn.0042a737
lea ecx, [esp + 0x80]
mov byte [esp + 0x98], 4
call fcn.0042a737
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 5
call fcn.0042a737
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], 6
call fcn.0042a737
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub ecx, dword [eax]
sub edx, dword [eax + 4]
mov esi, dword [esp + 0xa4]
cmp esi, edi
mov byte [esp + 0x98], 7
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jne 0x414432
xor eax, eax
jmp 0x414435
mov eax, dword [esi + 4]
push 1
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ebp, dword [esp + 0xa0]
cmp ebp, edi
je 0x414451
mov edi, dword [ebp + 4]
push edi
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call edi
push eax
lea ecx, [esp + 0x84]
call fcn.0042ab3d
test ebp, ebp
jne 0x41446f
xor eax, eax
jmp 0x414472
mov eax, dword [ebp + 4]
push eax
call edi
push eax
lea ecx, [esp + 0x64]
call fcn.0042ab3d
test ebp, ebp
jne 0x414487
xor eax, eax
jmp 0x41448a
mov eax, dword [ebp + 4]
push eax
call edi
push eax
lea ecx, [esp + 0x54]
call fcn.0042ab3d
test ebp, ebp
jne 0x41449f
xor eax, eax
jmp 0x4144a2
mov eax, dword [ebp + 4]
push eax
call edi
push eax
lea ecx, [esp + 0x74]
call fcn.0042ab3d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.GDI32.dll_CreateBitmap]
push 0
push 1
push 1
push edx
push eax
call edi
push eax
lea ecx, [esp + 0x4c]
call fcn.0042ad75
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
push 1
push 1
push ecx
push edx
call edi
push eax
lea ecx, [esp + 0x44]
call fcn.0042ad75
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 4]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ecx
push edx
call edi
push eax
lea ecx, [esp + 0x3c]
call fcn.0042ad75
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call edi
push eax
lea ecx, [esp + 0x34]
call fcn.0042ad75
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x84]
push eax
push ecx
call fcn.0042adfa
mov edx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
push edx
push eax
call fcn.0042adfa
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.0042adfa
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call fcn.0042adfa
mov edx, dword [ebp + 8]
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_GetMapMode]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push 0
push 0
push eax
call edi
mov edx, dword [esi]
mov eax, dword [esp + 0xa8]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
push 0xcc0020
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push 0
push 0
push edx
call edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0x330008
push 0
push 0
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push 0
push 0
push eax
call edi
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebp + 4]
push 0xcc0020
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
push 0
push 0
push eax
call edi
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0x8800c6
push 0
push 0
push ecx
push edx
push eax
mov ecx, dword [esp + 0x6c]
push 0
push 0
push ecx
call edi
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0x8800c6
push 0
push 0
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push 0
push 0
push edx
call edi
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
push 0xee0086
push 0
push 0
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push 0
push 0
push edx
call edi
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x38]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [ebp + 4]
push ecx
push eax
push ebx
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push 0
push 0
push eax
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414703
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x84]
push eax
push ecx
call fcn.0042adfa
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x414725
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x64]
push eax
push edx
call fcn.0042adfa
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41473e
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x58]
push eax
call fcn.0042adfa
push eax
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x414757
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x74]
push eax
push ecx
call fcn.0042adfa
push eax
call esi
lea ecx, [esp + 0x50]
call fcn.0042aba1
lea ecx, [esp + 0x80]
call fcn.0042aba1
lea ecx, [esp + 0x60]
call fcn.0042aba1
lea ecx, [esp + 0x70]
call fcn.0042aba1
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], 6
call fcn.0042abb7
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 5
call fcn.0042abb7
lea ecx, [esp + 0x80]
mov byte [esp + 0x98], 4
call fcn.0042abb7
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 3
call fcn.0042abb7
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 2
mov dword [esp + 0x30], esi
call fcn.0042adc8
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 1
mov dword [esp + 0x38], esi
call fcn.0042adc8
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], 0
mov dword [esp + 0x40], esi
call fcn.0042adc8
lea ecx, [esp + 0x48]
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x48], esi
call fcn.0042adc8
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x10