Function at 0x43e900
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x43e931
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x2c], ebx
cmp ecx, ebx
je 0x43e948
cmp dword [ecx], ebx
je 0x43e948
mov dword [esi + 0x54], ebx
jmp 0x43e94b
mov dword [esi + 0x54], edi
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push 8
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov dword [esi + 0x2ec], eax
cmp eax, ebx
jl 0x43ec95
cmp edi, ebx
je 0x43e977
mov ecx, esi
call fcn.0043c660
mov dword [esi + 0x58], eax
jmp 0x43e97a
mov dword [esi + 0x58], ebx
cmp dword [esi + 0x58], ebx
je 0x43e9a9
mov ecx, esi
call fcn.0043e400
test eax, eax
jne 0x43e9a0
pop edi
mov dword [esi + 0x58], ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x58], ebx
jne 0x43ecc4
push 0x6c
lea ecx, [ebp - 0x70]
push ebx
push ecx
call fcn.00552060
mov eax, dword [esi + 0xc]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x6c
mov dword [ebp - 0x6c], 1
mov dword [ebp - 8], 0x200
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
push eax
call edx
mov dword [esi + 0x2ec], eax
cmp eax, ebx
jge 0x43ea1e
push eax
add esi, 0x308
push str._LOUIS___08X__CreateSurface__IDirectDrawSurface__is_failed__n
push esi
call fcn.004026d0
mov eax, dword [esi]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea edi, [esi + 0x10]
push edi
push 0x5b8c60
push eax
call edx
mov dword [esi + 0x2ec], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x2ec]
cmp eax, ebx
jge 0x43ea7f
push eax
add esi, 0x308
push str._LOUIS___08X__QueryInterface___in_Primary__Normal__failure___n
push esi
call fcn.004026d0
mov eax, dword [esi]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0
lea ebx, [esi + 0x20]
push ebx
push 0
push eax
call edx
mov dword [esi + 0x2ec], eax
test eax, eax
jns 0x43eae5
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x2ec]
push eax
mov dword [edi], 0
lea edi, [esi + 0x308]
push str._LOUIS___08X__Create_a_clipper_for_our_window_failure___n
push edi
call fcn.004026d0
mov ecx, dword [edi]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 8]
mov eax, dword [ebx]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
push 0
push eax
call edx
mov dword [esi + 0x2ec], eax
test eax, eax
jns 0x43eb58
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi]
mov dword [ebx], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x2ec]
push eax
mov dword [edi], 0
lea edi, [esi + 0x308]
push str._LOUIS___08X__Setting_it_to_our_hwnd_gives_the_clipper_the_coordinates_from_our_window_failure___n
push edi
call fcn.004026d0
mov ecx, dword [edi]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
push ecx
push eax
call edx
mov dword [esi + 0x2ec], eax
test eax, eax
jns 0x43ebc8
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi]
mov dword [ebx], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x2ec]
push eax
mov dword [edi], 0
lea edi, [esi + 0x308]
push str._LOUIS___08X__SetClipper_failure___n
push edi
call fcn.004026d0
mov ecx, dword [edi]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 4
push 0x6c
lea ebx, [esi + 0x100]
push 0
push ebx
call fcn.00552060
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebx], 0x6c
mov dword [esi + 0x104], 7
mov dword [esi + 0x168], 0x1800
test eax, eax
je 0x43ec15
cmp dword [eax], 0
je 0x43ec15
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov dword [esi + 0x10c], edx
mov dword [esi + 0x108], eax
jmp 0x43ec29
mov dword [esi + 0x10c], 0x800
mov dword [esi + 0x108], 0x600
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x74]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov dword [esi + 0x2ec], eax
test eax, eax
js 0x43ec72
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
lea edx, [esi + 0x14]
push edx
push 0x5b8c60
push eax
mov eax, dword [ecx]
call eax
mov dword [esi + 0x2ec], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi + 0x2ec], 0
jge 0x43ecaa
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x6c
push 0
push ebx
mov dword [edi], 0
call fcn.00552060
add esp, 0xc
mov dword [ebx], 0x6c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 4]
test eax, eax
je 0x43ecbd
cmp dword [eax], 0
je 0x43ecbd
mov dword [esi + 0x54], 0
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x43eccc
mov eax, dword [esi + 0x30]
add eax, eax
mov dword [esi + 0x38], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.005520da
mov esp, ebp
pop ebp
ret 4