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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x474c83
sub esp, 0x68
mov edx, dword [esp + 0x6c]
test edx, edx
sete bl
mov ebp, dword [esp + 0x70]
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x47475f
movzx eax, byte [esp + 0x78]
test al, al
je 0x47474a
movss xmm0, dword [0x5868e8]
jmp 0x47474d
xorps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
mov byte [esp + 0x80], 1
add esp, 0x68
ret
mov ebx, dword [esp + 0x74]
lea edi, [ebx + 0x15c]
cmp edi, 0x2b7
ja 0x474c53
cmp ebp, 1
mov eax, edi
xchg edi, ebx
seta bl
xchg edi, ebx
mov ecx, ebx
sete bl
nop
and ebx, 1
or ebx, edi
test bl, bl
je 0x47479b
mov ebx, ebp
xor esi, esi
mov edi, 0x20
jmp 0x4747a3
mov ebx, ebp
mov esi, ebx
mov ebp, edx
xor edi, edi
mov dword [esp + 0x40], edi
cmp ebp, 0x10000
setae bl
test esi, esi
seta dl
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebx
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
je 0x4747dc
shr ebp, 0x10
mov edx, esi
shl esi, 0x10
or ebp, esi
shr edx, 0x10
mov ebx, dword [esp + 0x40]
lea edi, [ebx + 0x10]
jmp 0x4747e2
mov edx, esi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x38], edx
test edx, edx
seta bl
mov esi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ebp, 0x100
setae dl
and edx, edi
or edx, ebx
test dl, dl
je 0x47481b
shr ebp, 8
mov edx, dword [esp + 0x38]
mov ebx, edx
shl edx, 0x18
or ebp, edx
shr ebx, 8
lea edi, [esi + 8]
jmp 0x474821
mov edi, esi
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x474c74
cmp ebp, 0x100
jae 0x474c68
mov dword [esp + 0x64], eax
imul edx, ecx, 0x3526a
sar edx, 0x10
add edx, 0xbf
mov dword [esp + 0x60], edx
lea ebx, [0x55b38c]
movzx ebx, byte [ebx + ebp]
lea ebx, [ebx + edi - 0x40]
neg ebx
mov dword [esp + 0x24], ebx
sub edx, ebx
mov dword [esp + 0x3c], edx
cmp ebx, 0x20
sbb esi, esi
mov dword [esp + 0x5c], esi
lea ecx, [ebx - 0x20]
mov dword [esp + 0x58], ecx
cmp ecx, 0x20
sbb edi, edi
neg ecx
mov dword [esp + 0x54], ecx
cmp ecx, 0x20
sbb edx, edx
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x6c]
shl ebp, cl
mov ecx, ebx
mov eax, dword [esp + 0x70]
shl eax, cl
and eax, esi
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x6c]
shr esi, cl
and esi, edx
or esi, eax
and ebp, edi
or esi, ebp
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x64]
shl eax, 4
mov dword [esp + 0x64], eax
lea edx, [0x64cb60]
mov ebp, dword [edx + eax + 8]
mov edi, dword [edx + eax + 0xc]
mov dword [esp + 4], esi
mov ecx, ebx
mov eax, dword [esp + 0x6c]
shl eax, cl
mov edx, dword [esp + 0x5c]
and eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
call fcn.0046f5e0
mov eax, dword [esp + 0x60]
mov edx, eax
sar eax, 0x1f
mov ebx, dword [esp + 0x24]
mov ebp, ebx
sar ebx, 0x1f
sub edx, ebp
sbb eax, ebx
mov edx, dword [esp + 0x14]
mov ebx, edx
and edx, 0x3f
cmp edx, 0x3f
sete dl
mov ebp, dword [esp + 0x10]
cmp ebp, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, edx
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x474a7d
mov dword [esp + 0x28], edx
mov dword [esp + 0x50], eax
mov esi, dword [esp + 0x5c]
mov ecx, esi
add esi, edx
mov eax, dword [esp + 0x58]
adc eax, edi
mov edx, dword [esp + 0x58]
cmp edx, eax
seta al
sete dl
cmp esi, ecx
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, edx
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x474978
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
jmp 0x474a7d
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x64]
lea edx, [0x64cb60]
mov ebx, dword [edx + eax]
mov eax, dword [edx + eax + 4]
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
call fcn.0046f5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
adc edx, ebx
cmp ebx, edx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp eax, ecx
setb cl
and ecx, ebp
or ebx, ecx
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test bl, bl
je 0x4749f2
mov ebx, dword [esp + 0x30]
add ebx, 1
mov esi, dword [esp + 0x54]
adc esi, 0
jmp 0x4749fa
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x30], ebx
mov edi, esi
and esi, 0x3f
cmp esi, 0x3f
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ebx, 0xffffffff
sete bl
and ebx, esi
test bl, bl
je 0x474a6f
cmp edx, 0xffffffff
sete bl
cmp eax, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x474a6f
mov ebx, dword [esp + 0x5c]
add ecx, ebx
mov esi, dword [esp + 0x58]
adc ebp, esi
cmp esi, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ecx, ebx
setb bl
and ebx, esi
or ebx, ebp
test bl, bl
je 0x474a6f
xorps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
mov byte [esp + 0x80], 0
add esp, 0x68
ret
mov ebx, edi
mov ebp, dword [esp + 0x30]
mov edi, edx
mov edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
shr ebx, 0x1f
mov dword [esp + 0x5c], ebx
mov ecx, ebx
add ebx, 0x26
xor ecx, 1
mov esi, dword [esp + 0x3c]
sub esi, ecx
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x5c]
add esi, 0x26
mov esi, 0
adc esi, 0
cmp esi, 1
sbb esi, esi
xor esi, 0xffffffff
or esi, ebx
cmp esi, 0x20
sbb ebx, ebx
mov dword [esp + 0x5c], ebx
lea ebx, [esi - 0x20]
mov dword [esp + 0x54], ebx
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x4c], ebp
neg ebx
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x3c]
sub ebp, ecx
sbb eax, 0
mov dword [esp + 0x50], eax
test edi, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
sete dl
mov byte [esp + 0x23], dl
mov ecx, esi
mov edi, dword [esp + 0x30]
shr edi, cl
mov eax, dword [esp + 0x5c]
and edi, eax
mov ecx, ebx
mov edx, dword [esp + 0x34]
mov ebx, edx
shl edx, cl
mov ecx, ebp
mov ebp, dword [esp + 0x48]
and edx, ebp
or edx, edi
mov ebp, ecx
mov ecx, dword [esp + 0x54]
mov edi, ebx
shr ebx, cl
mov ecx, ebp
mov ebp, dword [esp + 0x4c]
and ebx, ebp
or edx, ebx
mov ebx, ecx
mov ecx, esi
mov ebp, edi
shr edi, cl
and edi, eax
movzx eax, byte [esp + 0x23]
and ebx, eax
test bl, bl
je 0x474b88
test ebp, 0x3f
sete al
mov ecx, dword [esp + 0x30]
test ecx, ecx
sete cl
and eax, ecx
test al, al
je 0x474b84
mov eax, edx
and edx, 3
cmp edx, 1
sete cl
and ecx, 1
test cl, cl
je 0x474b8a
xorps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
mov byte [esp + 0x80], 0
add esp, 0x68
ret
mov eax, edx
jmp 0x474b8a
mov eax, edx
mov ecx, eax
and eax, 1
add eax, ecx
adc edi, 0
mov ecx, edi
shr edi, 0x19
test edi, edi
seta dl
sete bl
mov ebp, ecx
shl ecx, 7
mov esi, eax
shr eax, 0x19
or ecx, eax
test ecx, ecx
seta al
mov ecx, esi
shr esi, 1
mov edi, ebp
shl ebp, 0x1f
or ebp, esi
and ebx, eax
or ebx, edx
test bl, bl
je 0x474bdd
mov edx, dword [esp + 0x58]
add edx, 1
mov eax, dword [esp + 0x50]
adc eax, 0
shr ecx, 2
shl edi, 0x1e
or edi, ecx
jmp 0x474be7
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov edi, ebp
mov ecx, edx
add edx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
seta al
sete bl
cmp edx, 0xfe
setae dl
and edx, ebx
or edx, eax
test dl, dl
jne 0x474c3e
shl ecx, 0x17
and edi, 0x7fffff
or ecx, edi
movzx eax, byte [esp + 0x78]
test al, al
je 0x474c22
or ecx, 0x80000000
mov dword [esp + 0x44], ecx
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x7c], xmm0
mov byte [esp + 0x80], 1
add esp, 0x68
ret
xorps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
mov byte [esp + 0x80], 0
add esp, 0x68
ret
xorps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
mov byte [esp + 0x80], 0
add esp, 0x68
ret
mov eax, ebp
mov ecx, 0x100
call fcn.0045ca10
mov esi, ebx
mov eax, ebp
mov ecx, 0x100
call fcn.0045caf0
nop
call fcn.0045b540
jmp fcn.00474700