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

Disassembly:
push 0xffffffffffffffff
push 0x51b168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.004ff20f
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ebp, ebx
mov ebx, dword [esp + 0x24]
mov ecx, 0x8170d8
sub ebx, edx
call fcn.0043e290
test eax, eax
mov dword [esp + 0x78], eax
je 0x4b0c71
lea ecx, [esp + 0x28]
call fcn.004cee60
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x78]
push eax
mov dword [esp + 0x74], 0
call fcn.004cfa72
push 0
push 0
push 0x10
push ebx
push ebp
lea ecx, [esp + 0x3c]
call fcn.004ceed2
mov eax, dword [esi + 0x2f0]
lea ecx, [esi + 0x1f4]
cmp edi, ecx
jne 0x4b099c
mov esi, dword [esi + 0x2ec]
test esi, esi
jl 0x4b0979
cmp esi, 0xa28
jge 0x4b0979
mov edx, esi
shl edx, 4
add edx, esi
mov al, byte [edx*8 + 0x8e8968]
test al, al
je 0x4b0979
mov ecx, esi
shl ecx, 4
add ecx, esi
shl ecx, 3
fld dword [ecx + 0x8e89bc]
fld dword [ecx + 0x8e89bc]
fld dword [ecx + 0x8e89c0]
mov eax, dword [ecx + 0x8e89c0]
mov edx, dword [ecx + 0x8e89c4]
fcompp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 1
je 0x4b08d7
fld dword [ecx + 0x8e89bc]
jmp 0x4b08dd
fld dword [ecx + 0x8e89c0]
fld dword [ecx + 0x8e89c4]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4b0913
fld dword [ecx + 0x8e89bc]
fld dword [ecx + 0x8e89c0]
fcompp
fnstsw ax
test ah, 1
je 0x4b090b
fld dword [ecx + 0x8e89bc]
jmp 0x4b0919
fld dword [ecx + 0x8e89c0]
jmp 0x4b0919
fld dword [ecx + 0x8e89c4]
fcom qword [0x51f3a0]
fnstsw ax
test ah, 1
jne 0x4b0940
fxch st(1)
fdiv st(1)
fxch st(1)
fld dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fdiv st(1)
fstp dword [esp + 0x14]
fstp st(0)
fmul dword [0x522664]
call fcn.004b6898
fld dword [esp + 0x10]
fmul dword [0x522664]
mov esi, eax
shl esi, 8
call fcn.004b6898
fld dword [esp + 0x14]
fmul dword [0x51f390]
add esi, eax
shl esi, 8
call fcn.004b6898
sub eax, esi
jmp 0x4b097b
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
call fcn.004cf391
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x28]
push eax
push 0
push 0
call fcn.004cf6b0
jmp 0x4b0c4c
lea ecx, [esi + 0x230]
cmp edi, ecx
jne 0x4b0ad1
test eax, eax
jl 0x4b0aae
cmp eax, 0xa28
jge 0x4b0aae
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 3
mov al, byte [ecx + 0x8e8968]
test al, al
je 0x4b0aae
fld dword [ecx + 0x8e89bc]
fld dword [ecx + 0x8e89bc]
fld dword [ecx + 0x8e89c0]
mov eax, dword [ecx + 0x8e89c4]
mov edx, dword [ecx + 0x8e89c0]
fcompp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 1
je 0x4b0a0c
fld dword [ecx + 0x8e89bc]
jmp 0x4b0a12
fld dword [ecx + 0x8e89c0]
fld dword [ecx + 0x8e89c4]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4b0a48
fld dword [ecx + 0x8e89bc]
fld dword [ecx + 0x8e89c0]
fcompp
fnstsw ax
test ah, 1
je 0x4b0a40
fld dword [ecx + 0x8e89bc]
jmp 0x4b0a4e
fld dword [ecx + 0x8e89c0]
jmp 0x4b0a4e
fld dword [ecx + 0x8e89c4]
fcom qword [0x51f3a0]
fnstsw ax
test ah, 1
jne 0x4b0a75
fxch st(1)
fdiv st(1)
fxch st(1)
fld dword [esp + 0x14]
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x10]
fstp st(0)
fmul dword [0x522664]
call fcn.004b6898
fld dword [esp + 0x14]
fmul dword [0x522664]
mov esi, eax
shl esi, 8
call fcn.004b6898
fld dword [esp + 0x10]
fmul dword [0x51f390]
add esi, eax
shl esi, 8
call fcn.004b6898
sub eax, esi
jmp 0x4b0ab0
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
call fcn.004cf391
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x7c]
push 0
push 0
call fcn.004cf6b0
jmp 0x4b0c4c
lea edx, [esi + 0x26c]
cmp edi, edx
jne 0x4b0b92
mov eax, dword [esi + 0x2ec]
push 0
push 0
push eax
call fcn.00460040
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4b0afa
xor edi, edi
mov ecx, dword [0x54de98]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push 0x41b
mov byte [esp + 0x78], 1
call fcn.004f90d8
test edi, edi
jne 0x4b0b68
mov eax, dword [esp + 0x14]
mov esi, str.SAMPLE_TEXTURE
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4b0b4f
test cl, cl
je 0x4b0b4b
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4b0b4f
add eax, 2
add esi, 2
test cl, cl
jne 0x4b0b27
xor eax, eax
jmp 0x4b0b54
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b0b68
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.004cf391
jmp 0x4b0b72
push edi
lea ecx, [esp + 0x2c]
call fcn.004cf1da
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x7c]
push 0
push 0
call fcn.004cf6b0
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x14]
jmp 0x4b0c47
lea edx, [esi + 0x2a8]
cmp edi, edx
jne 0x4b0c4c
push 0
push 0
push eax
call fcn.00460040
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4b0bb5
xor edi, edi
mov eax, dword [0x54de98]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 2
push ecx
push 0x416
mov ecx, esi
call fcn.004f90d8
test edi, edi
jne 0x4b0c22
mov eax, dword [esp + 0x14]
mov esi, str.SAMPLE_TEXTURE
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4b0c09
test cl, cl
je 0x4b0c05
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4b0c09
add eax, 2
add esi, 2
test cl, cl
jne 0x4b0be1
xor eax, eax
jmp 0x4b0c0e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b0c22
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.004cf391
jmp 0x4b0c2c
push edi
lea ecx, [esp + 0x2c]
call fcn.004cf1da
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x7c]
push 0
push 0
call fcn.004cf6b0
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x14]
call fcn.004fc001
lea ecx, [esp + 0x28]
call fcn.004cf155
mov ecx, dword [esp + 0x78]
push 0
call fcn.004cfa72
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
call fcn.004ceeb6
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4