Function at 0x43d820
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574018
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x70], ebx
test eax, eax
je 0x43e3a3
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
cmp dword [edi + 0x2c], 0
mov dword [ebp - 0x50], edx
mov edx, dword [esi]
mov dword [edi + 0x30c], edx
mov edx, dword [esi + 4]
mov dword [edi + 0x310], edx
mov edx, dword [esi + 8]
mov dword [edi + 0x314], edx
mov edx, dword [esi + 0xc]
mov dword [edi + 0x318], edx
jne 0x43e1ec
lea eax, [edi + 0x44]
push eax
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0xe8]
add dword [edi + 0x44], ecx
mov edx, dword [ebx + 0xec]
add dword [edi + 0x48], edx
mov eax, dword [ebx + 0xf0]
sub eax, dword [ebx + 0xe8]
mov ecx, dword [edi + 0x44]
lea edx, [eax + ecx + 1]
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x4c], edx
mov eax, dword [ebx + 0xf4]
sub eax, dword [ebx + 0xec]
cmp dword [edi + 0x58], 0
lea edx, [eax + ecx + 1]
mov dword [edi + 0x50], edx
je 0x43e119
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x4c]
add ecx, ecx
mov dword [edi + 0x38], ecx
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [ebp - 0x48], edx
add eax, eax
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push eax
call edx
cmp eax, 0x887601c2
jne 0x43d959
mov ecx, dword [edi + 0x2ec]
push ecx
lea eax, [edi + 0x308]
push str._LOUIS___08X__Normal_window_mode_restore_entered_failure________1__n
push eax
call fcn.004026d0
mov eax, dword [edi + 0x308]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [edi + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x6c]
call eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
push 0
push 1
lea edx, [edi + 0x100]
push edx
push 0
push eax
mov eax, dword [ecx + 0x64]
call eax
mov dword [edi + 0x2ec], eax
test eax, eax
jns 0x43d9c9
push eax
lea esi, [edi + 0x308]
push str._LOUIS___08X__m_pDDOffScreen__Lock___in_Overlay_mode_failed_n
push esi
call fcn.004026d0
mov ecx, dword [esi]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [edi + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
push 0
push edi
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi + 0x124]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x43d9e7
mov edi, dword [edi + 0x1c]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x80]
push eax
push edi
call edx
jmp 0x43d9a9
mov ecx, dword [ebp - 0x50]
test ecx, ecx
jle 0x43da1b
mov dword [ebp - 0x4c], ecx
jmp 0x43d9f6
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x48]
push ecx
push edx
push eax
call fcn.005520f0
mov eax, dword [edi + 0x110]
mov ecx, dword [edi + 0x38]
add dword [ebp - 0x44], eax
add dword [ebp - 0x48], ecx
add esp, 0xc
dec dword [ebp - 0x4c]
jne 0x43d9f3
mov eax, dword [edi + 0x1c]
mov edx, dword [eax]
push 0
push eax
mov eax, dword [edx + 0x80]
call eax
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ebx + 0xe0]
mov edx, dword [ebx + 0xdc]
push 0
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0xe4]
push 0x1000000
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0x1c]
push esi
push ecx
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
call edx
mov dword [edi + 0x2ec], eax
cmp eax, 0x887601c2
jne 0x43daa0
push eax
lea esi, [edi + 0x308]
push str._LOUIS___08X__Normal_window_mode_restore_entered_failure________2__n
push esi
call fcn.004026d0
mov esi, dword [esi]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [edi + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push eax
call edx
mov eax, dword [edi + 0x18]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x43e093
mov ecx, dword [edi + 0x28]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x60]
push edx
mov dword [edi + 0x24], eax
call fcn.0045bfb9
mov ecx, dword [ebx + 0xec]
mov edx, dword [ebx + 0xf0]
mov esi, eax
mov eax, dword [ebx + 0xe8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x5c], ecx
push 1
mov ecx, esi
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], eax
call fcn.0045b66c
fld dword [ebx + 0xf8]
fld1
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x43db31
fld dword [ebx + 0xfc]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x43dc1a
jmp 0x43db33
fstp st(0)
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], vtable.CBrush.0
push 0xa0a0a
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp - 0x58]
call fcn.0045c2a1
fld dword [ebx + 0xf8]
fld1
fucompp
fnstsw ax
test ah, 0x44
jp 0x43dba2
mov edx, dword [ebx + 0xec]
mov eax, dword [ebx + 0xf0]
mov ecx, dword [ebx + 0xe8]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebx + 0xdc]
mov dword [ebp - 0x24], edx
mov edx, dword [ebx + 0xe4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
jmp 0x43dbdb
mov edx, dword [ebx + 0xe8]
mov ecx, dword [ebx + 0xec]
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x30], edx
mov edx, dword [ebx + 0xd8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov edx, dword [ebx + 0xe0]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xf0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0043c470
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.0043c470
lea ecx, [ebp - 0x58]
call fcn.0045c2fb
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], vtable.CBrush.0
call fcn.00407700
xor eax, eax
cmp dword [ebx + 0x88], eax
je 0x43dd28
cmp dword [ebx + 0x8c], eax
jne 0x43dd28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0xbc]
cmp eax, 1
jne 0x43dc57
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x5c]
add edx, 0x64
add ecx, 0x32
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], ecx
cmp eax, 4
jne 0x43dc6e
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x5c]
add edx, 0x64
add eax, 0x19
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
lea ecx, [ebx + 0x90]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], 0xb
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x43dd1b
add dword [ebp - 0x54], 0xf
lea ecx, [ebp - 0x44]
call fcn.00402430
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x44]
push 0x58a764
push eax
mov dword [ebp - 4], 1
call fcn.004026d0
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
add esp, 0xc
push 0x323232
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx - 0xc]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
mov ecx, dword [ebp - 0x54]
inc ecx
push ecx
inc eax
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0xffffff
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push eax
mov eax, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x58]
push eax
push ecx
mov ecx, esi
call edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.004011c0
add dword [ebp - 0x4c], 4
dec dword [ebp - 0x50]
jne 0x43dc7e
mov eax, dword [ebx]
cmp eax, 2
je 0x43dd3e
cmp eax, 4
je 0x43dd3e
cmp dword [ebx + 0x58], 0
je 0x43de2b
call fcn.004587ad
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43dd58
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebx + 0xd0], 0
mov dword [ebp - 4], 2
jne 0x43dd9e
mov eax, dword [ebx]
cmp eax, 2
jne 0x43dd85
push 0x58fac4
jmp 0x43dda3
cmp eax, 4
jne 0x43dd91
push 0x58fac0
jmp 0x43dda3
cmp dword [ebx + 0x58], 0
je 0x43ddab
push 0x58fab8
jmp 0x43dda3
push 0x58c35c
lea ecx, [ebp - 0x44]
call fcn.004011e0
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push 0x20202
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push eax
mov eax, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x6c]
add eax, 0x12
add ecx, 0xffffffde
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0xff00ff
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push eax
mov eax, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x6c]
add eax, 0x11
add ecx, 0xffffffdd
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43de2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebx + 0xd4], 0x64
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push 0x20202
mov ecx, esi
call eax
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x48]
add ecx, 0xfffffff1
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax - 0xc]
push ecx
add edx, 4
push eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], edx
mov ecx, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0x40ff00
mov ecx, esi
call edx
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x48]
add ecx, 0xfffffff2
mov dword [ebp - 0x64], ecx
mov ecx, dword [eax - 0xc]
push ecx
add edx, 3
push eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x50], edx
mov ecx, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0x20202
mov ecx, esi
call edx
mov eax, dword [ebx + 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
add ecx, 4
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x48]
add eax, 4
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0xf5f5f5
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x5c]
mov edx, dword [esi]
add ecx, 3
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [edx + 0x5c]
push eax
mov eax, dword [ebp - 0x48]
add eax, 3
push eax
mov ecx, esi
call edx
cmp dword [ebx + 0x74], 0
je 0x43df8b
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x5c], ecx
push 0x20202
mov ecx, esi
call eax
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x5c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x6c]
sub eax, ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0xf5f5f5
mov ecx, esi
call edx
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x5c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x6c]
sub eax, ecx
dec eax
push eax
mov ecx, esi
call edx
cmp dword [ebx + 0x70], 0
je 0x43e019
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0x20202
mov ecx, esi
call edx
fild dword [ebp - 0x6c]
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax - 0xc]
push edx
fst qword [ebp - 0x58]
mov edx, dword [ebx + 0x6c]
fild dword [edx - 0xc]
push eax
mov eax, dword [ebp - 0x44]
push eax
fmul qword [0x58fab0]
fsubp st(1)
call fcn.005542b0
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x5c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push 0xc832c8
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + 0x6c]
mov edx, dword [eax - 0xc]
mov ebx, dword [esi]
push edx
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff2
push eax
mov eax, dword [ecx + 0x6c]
fild dword [eax - 0xc]
fmul qword [0x58fab0]
fadd qword [0x58afa8]
fsubr qword [ebp - 0x58]
call fcn.005542b0
mov edx, dword [ebx + 0x5c]
push eax
mov ecx, esi
call edx
mov ebx, dword [ebp - 0x70]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0
mov ecx, esi
call edx
mov eax, dword [ebx + 0x84]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xffffffe2
push eax
mov eax, dword [ebp - 0x48]
add eax, 4
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0xc0
mov ecx, esi
call edx
mov eax, dword [ebx + 0x84]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
mov ecx, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xffffffe1
add ecx, 2
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x60]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
push ecx
push eax
call edx
mov ecx, dword [ebx + 0xec]
mov eax, dword [ebx + 0xe8]
mov edx, dword [ebx + 0xf0]
push 0
mov dword [ebp - 0x1c], ecx
push 0x1000000
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xf4]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [edi + 0x18]
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], edx
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [edi + 0x44]
push ecx
push eax
call edx
mov dword [edi + 0x2ec], eax
cmp eax, 0x887601c2
jne 0x43e3a3
push eax
lea esi, [edi + 0x308]
push str._LOUIS___08X__Normal_window_mode_restore_entered_failure________3__n
push esi
call fcn.004026d0
mov eax, dword [esi]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [edi + 0x10]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x6c]
push edi
call edx
mov eax, 1
jmp 0x43d9ab
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
lea ebx, [edi + 0x2e8]
push ebx
push eax
call edx
mov dword [edi + 0x2ec], eax
test eax, eax
jne 0x43d9a9
mov eax, dword [ebx]
push 3
push eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [ebp - 0x60]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0xcc0020
push 0
push edx
mov edx, dword [ebp - 0x4c]
push edx
mov edx, dword [esi + 0xc]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [edi + 0x34]
push ecx
mov ecx, dword [edi + 0x30]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [edi + 0x14]
mov edx, dword [ebx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push 0
push 0x1000000
push 0
push ecx
lea ecx, [edi + 0x44]
push ecx
push eax
call edx
mov dword [edi + 0x2ec], eax
cmp eax, 0x887601c2
jne 0x43e3a3
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push eax
call edx
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push eax
call edx
cmp eax, 0x887601c2
jne 0x43e3a3
mov edi, dword [edi + 0x14]
mov eax, dword [edi]
mov ecx, dword [eax + 0x6c]
push edi
call ecx
mov eax, 1
jmp 0x43d9ab
cmp dword [edi + 0x54], 0
je 0x43e30c
mov edx, dword [ecx + 4]
add edx, edx
mov dword [edi + 0x38], edx
mov ecx, dword [eax]
lea edx, [edi + 0x9c]
push edx
push 0x1000400
push 0
push 0
push 0
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ebx, dword [esi + 8]
sub ebx, dword [esi]
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x4c]
add ebx, ebx
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x43e247
mov edx, dword [eax]
mov edx, dword [edx + 0x64]
push 0
push 1
lea ecx, [edi + 0x100]
push ecx
push 0
push eax
call edx
mov dword [edi + 0x2ec], eax
cmp dword [edi + 0x2ec], 0
jl 0x43d9a9
mov eax, dword [edi + 0x124]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
test eax, eax
jle 0x43e28c
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
push ebx
push ecx
push edx
call fcn.005520f0
mov eax, dword [edi + 0x110]
mov ecx, dword [edi + 0x38]
add dword [ebp - 0x44], eax
add dword [ebp - 0x48], ecx
add esp, 0xc
dec dword [ebp - 0x70]
jne 0x43e267
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x43e2a0
mov edx, dword [eax]
push 0
push eax
mov eax, dword [edx + 0x80]
call eax
mov eax, dword [edi + 0x1c]
xor ecx, ecx
cmp eax, ecx
je 0x43e3a3
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x34], edx
lea edx, [edi + 0x64]
push edx
mov edx, dword [edi + 0x60]
push edx
lea edx, [ebp - 0x40]
push edx
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edi + 0x3c]
push edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x84]
call eax
mov dword [edi + 0x2ec], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push eax
call edx
cmp eax, 0x887601c2
jne 0x43e3a3
mov edi, dword [edi + 0x1c]
mov eax, dword [edi]
mov ecx, dword [eax + 0x6c]
push edi
call ecx
mov eax, 1
jmp 0x43d9ab
mov eax, dword [edi + 0x14]
mov edx, dword [eax]
lea ebx, [edi + 0x2e8]
push ebx
push eax
mov eax, dword [edx + 0x44]
call eax
mov dword [edi + 0x2ec], eax
test eax, eax
jne 0x43d9a9
mov ecx, dword [ebx]
push 3
push ecx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [ebp - 0x60]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0xcc0020
push 0
push edx
mov edx, dword [ebp - 0x4c]
push edx
mov edx, dword [esi + 0xc]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [edi + 0x40]
push ecx
mov ecx, dword [edi + 0x3c]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [edi + 0x14]
mov edx, dword [ebx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 1
push 0
push eax
call edx
mov dword [edi + 0x2ec], eax
cmp eax, 0x887601c2
jne 0x43e3a3
mov edi, dword [edi + 0x10]
mov eax, dword [edi]
mov ecx, dword [eax + 0x6c]
push edi
call ecx
mov eax, 1
jmp 0x43d9ab