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

Disassembly:
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x54]
test ebp, ebp
push esi
push edi
jne 0x45fe39
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret
mov al, byte [ebp]
xor edi, edi
test al, al
je 0x45fe74
mov ebx, 0x77
mov esi, ebp
sub ebx, ebp
movsx eax, byte [esi]
push eax
call fcn.004aef80
add esp, 4
cmp al, 0x2e
je 0x45fe74
cmp al, 0x5c
jne 0x45fe61
mov al, 0x2f
movsx edx, al
mov al, byte [esi + 1]
lea ecx, [ebx + esi]
imul ecx, edx
add edi, ecx
inc esi
test al, al
jne 0x45fe4b
and edi, 0x3ff
mov edi, dword [edi*4 + 0x8f6f8c]
test edi, edi
je 0x45fec5
mov esi, edi
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x45feb1
test cl, cl
je 0x45fead
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x45feb1
add eax, 2
add esi, 2
test cl, cl
jne 0x45fe89
xor eax, eax
jmp 0x45feb6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45ff88
mov edi, dword [edi + 0x6c]
test edi, edi
jne 0x45fe85
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x64]
push edx
push ebp
call fcn.0045f130
mov eax, dword [esp + 0x6c]
add esp, 0x10
test eax, eax
jne 0x460018
or ecx, 0xffffffff
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x18]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + ecx + 0x18]
movsx ecx, byte [esi - 3]
push ecx
call fcn.004af489
mov byte [esi - 3], al
movsx edx, byte [esi - 2]
push edx
call fcn.004af489
mov byte [esi - 2], al
movsx eax, byte [esi - 1]
push eax
call fcn.004af489
lea ecx, [esp + 0x24]
push ecx
push str.trying__s..._n
push 0
mov byte [esi - 1], al
call dword [0xc37ae0]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0045f130
mov eax, dword [esp + 0x84]
add esp, 0x28
test eax, eax
jne 0x460018
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov esi, str.white
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x45ffb7
test cl, cl
je 0x45ffb3
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x45ffb7
add eax, 2
add esi, 2
test cl, cl
jne 0x45ff8f
xor eax, eax
jmp 0x45ffbc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46000e
mov eax, dword [edi + 0x60]
cmp eax, dword [esp + 0x60]
je 0x45ffda
push ebp
push str.WARNING:_reused_image__s_with_mixed_mipmap_parm_n
push 1
call dword [0xc37ae0]
add esp, 0xc
mov ecx, dword [edi + 0x64]
cmp ecx, dword [esp + 0x64]
je 0x45fff4
push ebp
push str.WARNING:_reused_image__s_with_mixed_allowPicmip_parm_n
push 1
call dword [0xc37ae0]
add esp, 0xc
mov edx, dword [edi + 0x68]
cmp edx, dword [esp + 0x68]
je 0x46000e
push ebp
push str.WARNING:_reused_image__s_with_mixed_glWrapClampMode_parm_n
push 0
call dword [0xc37ae0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
push ebp
call fcn.0045e080
mov edx, dword [esp + 0x78]
push edx
mov esi, eax
call dword [0xc37afc]
add esp, 0x20
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret