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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x479963
sub esp, 0x64
mov edx, dword [esp + 0x68]
test edx, edx
sete bl
mov ebp, dword [esp + 0x6c]
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
je 0x47949a
movzx eax, byte [esp + 0x74]
test al, al
je 0x479488
movss xmm0, dword [0x6f10a0]
jmp 0x47948b
xorps xmm0, xmm0
movss dword [esp + 0x78], xmm0
mov byte [esp + 0x7c], 1
add esp, 0x64
ret
mov ebx, dword [esp + 0x70]
lea edi, [ebx + 0x15c]
cmp edi, 0x2b7
ja 0x479936
nop
cmp ebp, 1
sete al
seta cl
and eax, 1
or eax, ecx
test al, al
je 0x4794cc
xor ecx, ecx
mov esi, 0x20
jmp 0x4794d2
mov ecx, ebp
mov ebp, edx
xor esi, esi
mov dword [esp + 0x60], edi
test ecx, ecx
sete al
seta dl
cmp ebp, 0x10000
xchg edi, ebx
setae bl
xchg edi, ebx
and eax, edi
or edx, eax
test dl, dl
je 0x479503
shr ebp, 0x10
mov edx, ecx
shl edx, 0x10
or ebp, edx
shr ecx, 0x10
add esi, 0x10
test ecx, ecx
seta dl
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ebp, 0x100
setae al
and eax, edi
or eax, edx
test al, al
je 0x479530
shr ebp, 8
mov edx, ecx
shl edx, 0x18
or ebp, edx
shr ecx, 8
add esi, 8
test ecx, ecx
jne 0x479954
cmp ebp, 0x100
jae 0x479948
imul eax, ebx, 0x3526a
sar eax, 0x10
add eax, 0xbf
mov dword [esp + 0x5c], eax
sar eax, 0x1f
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x60]
shl ebx, 4
mov dword [esp + 0x60], ebx
lea edi, [0x82f8c0]
mov ecx, dword [edi + ebx + 8]
mov dword [esp + 0x54], ecx
mov ebx, dword [edi + ebx + 0xc]
mov dword [esp + 0x50], ebx
lea edi, [0x6a6210]
movzx ebp, byte [edi + ebp]
lea ebp, [ebp + esi - 0x40]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x20], ebp
mov ecx, ebp
mov edi, dword [esp + 0x68]
shl edi, cl
mov eax, dword [esp + 0x6c]
shl eax, cl
lea edx, [ecx - 0x20]
mov ecx, edx
mov esi, dword [esp + 0x68]
shl esi, cl
neg ecx
mov ebx, dword [esp + 0x68]
shr ebx, cl
sar ebp, 0x1f
mov dword [esp + 0x4c], ebp
cmp ecx, 0x20
sbb ecx, ecx
and ebx, ecx
cmp edx, 0x20
sbb edx, edx
and esi, edx
mov edx, dword [esp + 0x20]
cmp edx, 0x20
sbb ecx, ecx
and edi, ecx
mov dword [esp + 0x48], edi
and eax, ecx
or ebx, eax
or ebx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 4], ebx
mov dword [esp], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
call fcn.00470530
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, edx
and edx, 0x3f
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x5c]
mov ecx, ebx
mov ebx, dword [esp + 0x20]
sub edi, ebx
mov dword [esp + 0x38], edi
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
sbb ebx, edi
mov dword [esp + 0x58], ebx
cmp eax, 0xffffffff
xchg edi, ebx
sete bl
xchg edi, ebx
cmp edx, 0x3f
sete dl
and edi, edx
xchg edi, eax
test al, al
xchg edi, eax
je 0x47978a
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x48]
mov edi, edx
add edx, ebp
mov ebx, dword [esp + 0x44]
adc ebx, esi
mov eax, dword [esp + 0x44]
cmp eax, ebx
seta bl
sete al
cmp edx, edi
setb dl
and edx, eax
or edx, ebx
test dl, dl
jne 0x479688
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x2c]
jmp 0x47978a
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x60]
lea ecx, [0x82f8c0]
mov edx, dword [ecx + eax]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
call fcn.00470530
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
add eax, edx
mov ebx, dword [esp + 0x28]
adc ecx, ebx
cmp ebx, ecx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp eax, edx
setb dl
and edx, ebp
or ebx, edx
test bl, bl
je 0x4796fa
mov ebx, dword [esp + 0x2c]
add ebx, 1
mov edx, dword [esp + 0x54]
adc edx, 0
jmp 0x479702
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
mov ebp, edx
and edx, 0x3f
cmp edx, 0x3f
sete dl
cmp ebx, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x47977e
cmp eax, 0xffffffff
sete dl
cmp ecx, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
and edx, esi
test dl, dl
je 0x47977e
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x48]
add edx, edi
mov eax, dword [esp + 0x44]
adc esi, eax
cmp eax, esi
seta al
xchg esi, ebx
sete bl
xchg esi, ebx
cmp edx, edi
setb dl
and edx, esi
or edx, eax
test dl, dl
jne 0x47976c
mov eax, dword [esp + 0x40]
jmp 0x47977e
xorps xmm0, xmm0
movss dword [esp + 0x78], xmm0
mov byte [esp + 0x7c], 0
add esp, 0x64
ret
mov esi, ecx
mov ecx, ebp
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], esi
mov edx, ecx
shr edx, 0x1f
mov edi, edx
xor edx, 1
mov dword [esp + 0x54], edx
add edi, 0x26
mov ebx, 0
adc ebx, 0
cmp ebx, 1
sbb ebx, ebx
xor ebx, 0xffffffff
or ebx, edi
mov edi, ecx
mov ecx, ebx
shr edi, cl
shr eax, cl
lea esi, [ecx - 0x20]
mov ecx, esi
mov ebp, dword [esp + 0x30]
shr ebp, cl
neg ecx
mov edx, dword [esp + 0x30]
shl edx, cl
cmp ebx, 0x20
sbb ebx, ebx
and eax, ebx
and edi, ebx
cmp esi, 0x20
sbb ebx, ebx
and ebp, ebx
cmp ecx, 0x20
sbb ebx, ebx
and edx, ebx
or edx, eax
or edx, ebp
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
mov ebp, eax
sub eax, ebx
mov esi, dword [esp + 0x24]
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
mov ecx, eax
mov eax, dword [esp + 0x28]
test eax, eax
sete al
and eax, esi
test al, al
je 0x47986d
mov eax, dword [esp + 0x2c]
test eax, eax
sete al
mov esi, dword [esp + 0x30]
test esi, 0x3f
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x479867
mov eax, edx
and edx, 3
cmp edx, 1
sete dl
and edx, 1
test dl, dl
jne 0x479855
sub ebp, ebx
jmp 0x479871
xorps xmm0, xmm0
movss dword [esp + 0x78], xmm0
mov byte [esp + 0x7c], 0
add esp, 0x64
ret
sub ebp, ebx
mov eax, edx
jmp 0x479871
sub ebp, ebx
mov eax, edx
mov edx, dword [esp + 0x58]
sbb edx, 0
mov ebx, eax
and eax, 1
add eax, ebx
mov dword [esp + 0x34], eax
adc edi, 0
mov dword [esp + 0x58], edi
mov ebx, eax
shr eax, 1
mov ebp, edi
shl edi, 0x1f
mov esi, ebp
shr ebp, 0x19
shl esi, 7
shr ebx, 0x19
or esi, ebx
or edi, eax
test ebp, ebp
seta al
sete bl
test esi, esi
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ebp
or ebx, eax
test bl, bl
je 0x4798d1
mov edi, dword [esp + 0x34]
shr edi, 2
mov ebx, dword [esp + 0x58]
shl ebx, 0x1e
or edi, ebx
add ecx, 1
adc edx, 0
mov eax, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
test edx, edx
seta dl
sete bl
cmp ecx, 0xfe
setae cl
and ecx, ebx
or ecx, edx
test cl, cl
jne 0x479924
shl eax, 0x17
and edi, 0x7fffff
or eax, edi
movzx ecx, byte [esp + 0x74]
test cl, cl
je 0x47990b
or eax, 0x80000000
mov dword [esp + 0x3c], eax
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x78], xmm0
mov byte [esp + 0x7c], 1
add esp, 0x64
ret
xorps xmm0, xmm0
movss dword [esp + 0x78], xmm0
mov byte [esp + 0x7c], 0
add esp, 0x64
ret
xorps xmm0, xmm0
movss dword [esp + 0x78], xmm0
mov byte [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, ebp
mov ecx, 0x100
call fcn.004680a0
mov esi, ecx
mov eax, ebp
mov ecx, 0x100
call fcn.00468180
nop
call fcn.00466c30
jmp fcn.00479440