Function at 0x43b3b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x482158
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x58]
cmp byte [ebp + 0x1ee8], 0
push esi
push edi
jne 0x43bc0b
mov ecx, dword [ebp + 0x1eb8]
mov eax, dword [ecx]
cmp eax, ecx
je 0x43b407
lea esp, [esp]
mov edx, dword [eax + 8]
cmp byte [edx + 0x70], 0
jne 0x43b51e
mov eax, dword [eax]
cmp eax, dword [ebp + 0x1eb8]
jne 0x43b3f0
mov ecx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov eax, dword [ebp + 0x1c10]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 8]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
xor eax, eax
test ecx, ecx
setle al
dec eax
and eax, ecx
mov dword [ebp + 0x1c1c], eax
mov eax, dword [ebp + 0x1c14]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0xc]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub ecx, eax
xor eax, eax
test ecx, ecx
setle al
dec eax
and eax, ecx
mov dword [ebp + 0x1c20], eax
mov eax, dword [ebp + 0x1ff4]
mov edx, dword [eax]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
sub eax, dword [esp + 0x40]
sub ecx, dword [esp + 0x44]
cmp byte [esp + 0x64], 0
mov dword [ebp + 0x1c24], eax
mov dword [ebp + 0x1c28], ecx
je 0x43b50f
lea edi, [ebp + 0x1684]
mov eax, edi
call fcn.00450df0
push ebp
call fcn.00421570
mov eax, dword [ebp + 0x1fd0]
mov edx, dword [eax]
push edx
mov ecx, edi
call fcn.00456100
xor ecx, ecx
mov edx, edi
call fcn.00454480
xor ecx, ecx
mov edx, edi
call fcn.004545a0
mov eax, dword [esi + 8]
cmp eax, dword [ebp + 0x1c10]
jl 0x43b4dd
mov ecx, dword [esi + 0xc]
cmp ecx, dword [ebp + 0x1c14]
jge 0x43b50f
push 0x4ab2f4
mov ecx, edi
call fcn.004541b0
cmp dword [ebp + 0x1b80], 0xffffffff
jne 0x43b50f
mov edx, dword [ebp + 0x1c14]
mov eax, dword [ebp + 0x1c10]
push 0
push 1
push edx
push eax
call fcn.0044ff90
mov dword [ebp + 0x1b80], eax
mov ecx, dword [ebp + 0x1b80]
cmp ecx, 0xffffffff
jne 0x43b525
xor ecx, ecx
jmp 0x43b560
mov esi, edx
jmp 0x43b40d
cmp dword [ebp + 0x164], 0
jbe 0x43b560
cmp dword [ebp + 0x1b98], 0xffffffff
jne 0x43b55a
mov ecx, dword [ebp + 0x1c14]
mov edx, dword [ebp + 0x1c10]
push 1
push 1
push ecx
push edx
lea edi, [ebp + 0x1684]
call fcn.0044ff90
mov dword [ebp + 0x1b98], eax
mov ecx, dword [ebp + 0x1b98]
lea ebx, [ebp + 0x1684]
mov edx, ebx
call fcn.004545a0
mov esi, dword [ebp + 0x1eb8]
mov edi, dword [esi]
mov byte [ebp + 0x15c], 0
mov byte [ebp + 0x2021], 0
cmp edi, esi
je 0x43b5c6
jmp 0x43b590
mov eax, dword [edi + 8]
mov dword [ebp + 0x20c], eax
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x70], 0
je 0x43b5ae
push 1
mov edx, ecx
push edx
call fcn.00437500
jmp 0x43b5c0
mov eax, ecx
cmp byte [eax + 0x98], 0
je 0x43b5c0
mov byte [ebp + 0x2021], 1
mov edi, dword [edi]
cmp edi, esi
jne 0x43b590
mov eax, dword [ebp + 0x1ecc]
test eax, eax
je 0x43b876
cmp dword [eax + 4], 0
je 0x43b876
mov edx, dword [ebp]
mov edi, eax
mov eax, dword [edx + 0x268]
mov ecx, ebp
call eax
sub eax, dword [edi + 0x1c]
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fidiv dword [edi + 0x18]
fstp dword [edi + 0xc]
mov eax, dword [ebp + 0x1ecc]
fld dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x10]
mov edx, dword [ecx]
push ecx
fstp dword [esp]
push eax
push ecx
mov ecx, dword [edx + 0x78]
call ecx
mov edx, dword [ebp + 0x1ecc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0x1b90]
mov edx, ebx
mov dword [ebp + 0x20c], eax
call fcn.004545a0
mov ecx, dword [ebp + 0x1ecc]
mov edx, dword [ecx + 4]
push 1
push edx
call fcn.00437500
xor ecx, ecx
mov edx, ebx
call fcn.00454480
mov eax, dword [ebp + 0x1ecc]
mov ecx, dword [eax]
mov dword [ebp + 0x20c], ecx
mov ecx, dword [ebp + 0x1b80]
mov edx, ebx
call fcn.004545a0
mov edx, dword [ebp + 0x1ecc]
mov eax, dword [edx]
push 1
push eax
call fcn.00437500
xor ecx, ecx
mov edx, ebx
call fcn.00454480
xor ecx, ecx
mov edx, ebx
call fcn.004545a0
mov eax, ebx
mov byte [ebp + 0x15c], 1
call fcn.00453e80
mov ecx, dword [ebp + 0x1ecc]
mov esi, dword [ecx + 0x14]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi]
test eax, eax
je 0x43b6c5
mov ecx, dword [ebp + 0x1b90]
mov ecx, dword [ecx + 0x30]
mov edx, dword [edi]
mov edx, dword [edx + 0xd0]
push ecx
push eax
push edi
call edx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x43b6e2
mov edx, dword [ebp + 0x1b80]
mov edx, dword [edx + 0x30]
mov ecx, dword [edi]
push edx
push eax
mov eax, dword [ecx + 0xd0]
push edi
call eax
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x43b708
fild dword [ebp + 0x1c10]
mov ecx, dword [edi]
fld1
mov edx, dword [ecx + 0x78]
fdivrp st(1)
push ecx
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [esp]
push eax
push edi
call edx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x43b72e
fild dword [ebp + 0x1c14]
mov ecx, dword [edi]
fld1
mov edx, dword [ecx + 0x78]
fdivrp st(1)
push ecx
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [esp]
push eax
push edi
call edx
mov eax, dword [esi + 0x64]
test eax, eax
je 0x43b752
fldz
mov ecx, dword [edi]
push 2
fst dword [esp + 0x1c]
lea edx, [esp + 0x1c]
fstp dword [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x80]
push edi
call eax
mov esi, dword [esi + 0x68]
fld1
test esi, esi
je 0x43b778
mov ecx, dword [edi]
fst dword [esp + 0x18]
mov eax, dword [ecx + 0x80]
fstp dword [esp + 0x1c]
push 2
lea edx, [esp + 0x1c]
push edx
push esi
push edi
call eax
jmp 0x43b77a
fstp st(0)
mov ecx, dword [edi]
mov eax, dword [ecx + 0xfc]
push 0
lea edx, [esp + 0x14]
push edx
push edi
call eax
cmp dword [esp + 0x10], 0
mov dword [esp + 0x60], 0
jbe 0x43b82b
mov edx, dword [esp + 0x60]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x100]
push edx
push edi
call eax
mov ecx, dword [ebp + 0x1b90]
mov edx, ebx
call fcn.00454480
fild dword [ebp + 0x1c1c]
mov ecx, dword [0x4ab2f0]
mov edx, dword [0x4ab2ec]
fstp dword [esp + 0x14]
push ecx
fild dword [ebp + 0x1c20]
push edx
push 0
push ecx
fstp dword [esp + 0x28]
mov esi, 0x4a79e8
fld dword [esp + 0x24]
lea eax, [esp + 0x30]
fstp dword [esp + 0x30]
mov edx, ebx
fld dword [esp + 0x28]
fstp dword [esp + 0x34]
fldz
fstp dword [esp]
call fcn.004552f0
mov eax, ebx
call fcn.00453e80
mov eax, dword [edi]
mov ecx, dword [eax + 0x108]
push edi
call ecx
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x10]
jb 0x43b79f
mov edx, dword [edi]
mov eax, dword [edx + 0x10c]
push edi
call eax
mov eax, ebx
call fcn.00453e80
fld1
mov ecx, dword [ebp + 0x1ecc]
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 0x41
jp 0x43b876
mov eax, dword [ecx]
mov edx, dword [ebp]
mov edx, dword [edx + 0x1f8]
push eax
mov ecx, ebp
call edx
mov eax, dword [ebp + 0x1ecc]
mov ecx, dword [eax + 4]
mov byte [ecx + 0x70], 1
mov dword [ebp + 0x1ecc], 0
cmp byte [esp + 0x64], 0
je 0x43bab0
cmp dword [ebp + 0x1b80], 0xffffffff
je 0x43ba6c
cmp byte [ebp + 0x15c], 0
jne 0x43ba6c
push 0
push ebx
call fcn.0044fdb0
cmp dword [ebp + 0x164], 0
jbe 0x43b8cb
mov ecx, dword [ebp + 0x1ae0]
mov eax, dword [ebp + 0x1b98]
cmp ecx, eax
jne 0x43b8cb
mov edx, dword [ebp + 0x1b80]
push edx
push eax
mov ecx, ebx
call fcn.00453fd0
mov eax, dword [ebp + 0x1ac8]
test eax, eax
jne 0x43b96b
mov ecx, dword [ebp + 0x1b80]
mov edx, ebx
call fcn.00454480
xor ecx, ecx
mov edx, ebx
call fcn.004545a0
fild dword [ebp + 0x1c1c]
mov eax, dword [0x4ab2f0]
mov ecx, dword [0x4ab2ec]
fstp dword [esp + 0x64]
push eax
fild dword [ebp + 0x1c20]
push ecx
push ecx
xor edx, edx
fstp dword [esp + 0x6c]
mov esi, 0x4a79e8
fild dword [ebp + 0x1c10]
lea ecx, [esp + 0x2c]
fstp dword [esp + 0x24]
fild dword [ebp + 0x1c14]
fstp dword [esp + 0x20]
fld dword [esp + 0x70]
fst dword [esp + 0x2c]
fld dword [esp + 0x6c]
fst dword [esp + 0x30]
fld dword [esp + 0x24]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fadd dword [esp + 0x20]
fstp dword [esp + 0x38]
fldz
fstp dword [esp]
push ebx
call fcn.00455370
mov edi, ebp
call fcn.0043bc90
jmp 0x43ba6c
cmp eax, 1
jne 0x43ba6c
mov esi, dword [ebp + 0x1fd0]
mov dword [esp + 0x64], esi
cmp esi, dword [ebp + 0x1fd4]
je 0x43ba6c
jmp 0x43b994
mov esi, dword [esp + 0x64]
mov eax, ebx
call fcn.00453e80
xor ecx, ecx
mov edx, ebx
call fcn.00454480
mov edx, dword [esi]
push edx
mov ecx, ebx
call fcn.00456100
xor ecx, ecx
mov edx, ebx
call fcn.004545a0
mov ecx, dword [ebp + 0x1b80]
mov edx, ebx
call fcn.00454480
fild dword [ebp + 0x1c1c]
mov eax, dword [0x4ab2f0]
mov ecx, dword [0x4ab2ec]
fstp dword [esp + 0x60]
push eax
fild dword [ebp + 0x1c20]
push ecx
push ecx
xor edx, edx
fstp dword [esp + 0x24]
mov esi, 0x4a79e8
fild dword [ebp + 0x1c10]
lea ecx, [esp + 0x2c]
fstp dword [esp + 0x20]
fild dword [ebp + 0x1c14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x6c]
fst dword [esp + 0x2c]
fld dword [esp + 0x24]
fst dword [esp + 0x30]
fld dword [esp + 0x20]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x38]
fldz
fstp dword [esp]
push ebx
call fcn.00455370
mov edi, ebp
call fcn.0043bc90
mov eax, dword [ebp + 0x1eb8]
mov eax, dword [eax]
mov edx, dword [eax + 8]
push 0
push edx
call fcn.00437500
mov eax, ebx
call fcn.00453e80
mov eax, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x64], eax
cmp eax, dword [ebp + 0x1fd4]
jne 0x43b990
mov eax, ebx
call fcn.00453e80
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push eax
call edx
dec dword [ebx + 0x468]
mov dword [ebx + 0x4b4], eax
test eax, eax
jge 0x43bab0
push eax
lea eax, [esp + 0x24]
push eax
mov edx, str.Could_not_end_scene
call fcn.0044e1c0
push 0x49ab24
lea ecx, [esp + 0x24]
push ecx
call fcn.00466bcb
mov esi, dword [ebp + 0x1ef0]
mov dword [esp + 0x60], esi
cmp esi, dword [ebp + 0x1ef4]
je 0x43bc0b
mov eax, dword [esi]
cmp dword [eax + 0x74], 0
je 0x43bbf8
mov eax, dword [eax + 0xd8]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x64]
push ecx
push 0
push 0
push eax
call edx
mov eax, dword [esp + 0x64]
push eax
mov ecx, ebx
call fcn.00456100
cmp dword [ebp + 0x1b80], 0xffffffff
jne 0x43bb1d
mov ecx, dword [ebp + 0x1c14]
mov edx, dword [ebp + 0x1c10]
push 0
push 1
push ecx
push edx
mov edi, ebx
call fcn.0044ff90
mov dword [ebp + 0x1b80], eax
mov eax, ebx
call fcn.00450df0
mov ecx, dword [ebp + 0x1b80]
mov edx, ebx
call fcn.004545a0
mov eax, dword [esi]
mov dword [ebp + 0x20c], eax
mov ecx, dword [esi]
push 1
push ecx
call fcn.00437500
mov ecx, dword [ebp + 0x1b80]
cmp ecx, 0xffffffff
je 0x43bbc5
mov edx, ebx
call fcn.00454480
xor ecx, ecx
mov edx, ebx
call fcn.004545a0
cmp dword [ebx + 0x460], 0
je 0x43bc20
mov eax, dword [ebx + 0x460]
fld dword [eax + 0x10]
mov edx, dword [0x4ab330]
fldz
push edx
fadd st(1), st(0)
xor edx, edx
fxch st(1)
mov esi, 0x4a79e8
fstp dword [esp + 0x1c]
fadd dword [eax + 0x14]
mov eax, dword [0x4ab32c]
push eax
push ecx
fstp dword [esp + 0x20]
lea ecx, [esp + 0x2c]
fldz
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fld dword [esp + 0x24]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fstp dword [esp + 0x38]
fstp dword [esp]
push ebx
call fcn.00455370
mov esi, dword [esp + 0x60]
mov eax, ebx
call fcn.00453e80
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push eax
call edx
dec dword [ebx + 0x468]
mov edi, eax
mov dword [ebx + 0x4b4], edi
test edi, edi
jl 0x43bc43
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esi, 4
mov dword [esp + 0x60], esi
cmp esi, dword [ebp + 0x1ef4]
jne 0x43bac6
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 8
push 0x80004005
lea eax, [esp + 0x24]
push eax
mov edx, str.Cant_draw_a_quad_using_this_overload_with_no_texture_set
call fcn.0044e1c0
push 0x49ab24
lea ecx, [esp + 0x24]
push ecx
call fcn.00466bcb
push 0x13
push str.Could_not_end_scene
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
call fcn.00415040
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], 0xffffffff
push 0x49ab24
lea edx, [esp + 0x24]
push edx
call fcn.00466bcb
int3