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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov dword [ebp - 0x18], edx
mov esi, ecx
mov edx, dword [0x59d350]
mov ebx, edx
push edi
mov dword [ebp - 8], edx
and byte [esi + 0x36d], 0xf8
cmp byte [edx + 0x5a], 0
mov dword [ebp - 0xc], ebx
jne 0x4352ef
cmp byte [esi + 0x28], 0
je 0x435339
test dword [esi + 8], 0x1200001
jne 0x435339
cmp byte [esi + 0xcb], 0
jne 0x435339
cmp dword [esi + 0x390], 0
jne 0x435367
mov edi, 1
lea ecx, [ebx + 0x5340]
push edi
call fcn.00417770
test eax, eax
je 0x435331
nop
inc edi
lea ecx, [ebx + 0x5340]
push edi
call fcn.00417770
test eax, eax
jne 0x435320
mov dword [esi + 0x390], edi
jmp 0x435367
mov ecx, dword [esi + 8]
shr ecx, 0x15
and cl, 1
test byte [ebx + 0x3fec], 1
je 0x435363
movsx eax, byte [esi + 0xe8]
test dword [ebx + 0x3ff0], eax
je 0x435363
cmp byte [ebx + 0x4028], 0
jne 0x43539b
test cl, cl
jne 0x43539b
mov eax, dword [esi + 0x390]
mov edi, dword [esi + 0x388]
test eax, eax
je 0x4354a9
test edi, edi
jne 0x4354a9
push eax
lea ecx, [ebx + 0x5340]
call fcn.00417770
mov edi, eax
test edi, edi
je 0x4353ae
cmp dword [edi + 0x1c], 0
je 0x4353df
push 1
mov edx, esi
call fcn.0042fb80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x390]
mov ecx, ebx
call fcn.0042efe0
mov edi, eax
mov eax, dword [edi + 0x9c]
and eax, 0xfffffe92
or eax, 0x92
mov dword [edi + 0x9c], eax
mov eax, dword [ebx + 0x3ea0]
mov dword [edi + 0x84], eax
mov al, byte [edi + 0xa0]
mov byte [ebp - 1], al
test al, 1
jne 0x435482
mov ebx, edi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x435404
mov ebx, eax
test byte [ebx + 0xa0], 1
je 0x4353f2
mov eax, dword [ebx + 0x18]
mov edx, ebx
test eax, eax
je 0x435419
nop dword [eax]
mov edx, eax
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x435410
and byte [edx + 0xa0], 0xdf
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x43542c
call fcn.00430940
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x435438
call fcn.00430940
cmp dword [edx + 0x18], 0
jne 0x43545e
mov eax, dword [edx + 0x78]
test eax, eax
je 0x43545e
nop word [eax + eax]
or byte [eax + 0xa0], 0x20
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x435450
push dword [ebx + 0x40]
mov edx, edi
mov ecx, ebx
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
call fcn.00434510
mov al, byte [edi + 0xa0]
add esp, 0x10
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 1], al
push 1
mov edx, esi
mov ecx, edi
call fcn.004301a0
mov al, byte [edi + 0xa0]
add esp, 4
xor al, byte [ebp - 1]
and al, 1
xor byte [edi + 0xa0], al
mov eax, dword [0x59d350]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x3ea0]
cmp dword [edi + 0x84], ecx
jge 0x4354e3
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4354c9
nop
mov edi, eax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x4354c0
cmp dword [edi + 0x84], ecx
jl 0x43539b
or byte [esi + 0x36d], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm3, dword [0x46e478]
lea ecx, [esi + 0x370]
movss xmm4, dword [0x46e580]
mov eax, 0x46ddc0
movss xmm5, dword [0x46e434]
xorps xmm1, xmm1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
nop
mov ecx, dword [eax]
add ecx, ecx
movss xmm2, dword [ebx + ecx*8 + 0x391c]
comiss xmm1, xmm2
jbe 0x435527
movaps xmm0, xmm1
jmp 0x43552e
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3920]
comiss xmm1, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x43554d
movaps xmm0, xmm1
jmp 0x435554
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3924]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm2
jbe 0x435578
movaps xmm0, xmm1
jmp 0x43557f
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3928]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm1, xmm2
jbe 0x4355a3
movaps xmm0, xmm1
jmp 0x4355aa
movaps xmm0, xmm3
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, edx
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
add edx, 4
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
cmp eax, 0x46ddd8
jl 0x435510
mov ecx, dword [edi + 0x70]
test ecx, ecx
jne 0x435618
cmp dword [edi + 0x14], 2
jne 0x4355ee
or byte [esi + 0x36d], 1
cmp dword [edi + 0x24], 1
jle 0x4357ba
cmp byte [esi + 0xc3], 0
mov byte [esi + 0xca], 1
sete al
inc al
mov byte [esi + 0xe4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 0x10], 1
mov dword [edi + 0x14], 3
jne 0x435639
mov ax, word [esi + 0xd4]
cmp ax, word [ecx + 0xd4]
jl 0x43539b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
or dword [eax + 0x3fec], 1
mov ecx, dword [edi + 0x38]
mov edx, dword [eax + 0x3fec]
mov eax, dword [edi + 0x34]
or edx, 2
mov dword [ebx + 0x4000], eax
mov eax, ebx
mov dword [eax + 0x3fec], edx
mov edx, ebx
mov ebx, dword [ebp - 0xc]
mov dword [eax + 0x4004], ecx
mov dword [eax + 0x4008], 0
mov dword [eax + 0x400c], 0
mov dword [eax + 0x3ff0], 1
mov byte [eax + 0x4028], 1
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [edx + 0x4010], eax
mov dword [edx + 0x4014], ecx
mov dword [edx + 0x3ff4], 1
mov byte [ebx + 0x4028], 0
mov al, byte [esi + 0x36d]
or al, 3
and al, 0xfb
mov byte [esi + 0x36d], al
test byte [edi + 0x10], 1
jne 0x4357ba
cmp dword [edi + 0x74], esi
jne 0x4356dd
or al, 4
mov byte [esi + 0x36d], al
mov edx, dword [esi + 8]
or edx, 0x1010002
mov dword [esi + 8], edx
mov eax, edx
mov ecx, dword [edi + 0x10]
or eax, 1
and edx, 0xfffffffe
and ecx, 0x3000
cmovne edx, eax
mov dword [esi + 8], edx
cmp dword [edi + 0x30], 0
je 0x43574e
cmp byte [esi + 0xc4], 0
je 0x43574e
mov eax, dword [esi + 0x388]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x435744
mov edx, dword [esi + 0x88]
test edx, edx
je 0x435744
mov ebx, dword [ecx]
xor eax, eax
test ebx, ebx
jle 0x435744
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x14], ecx
cmp dword [ecx], edx
je 0x4357c1
inc eax
add ecx, 0x2c
cmp eax, ebx
jl 0x435734
or eax, 0xffffffff
mov word [esi + 0x36e], ax
test byte [edi + 0xa0], 0x40
jne 0x435765
mov eax, dword [edi + 0x98]
cmp eax, dword [esi + 0x88]
jne 0x43576f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43576f
mov byte [eax], 0
mov eax, dword [esi + 0x388]
xor edx, edx
mov ebx, dword [esi]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.00417220
mov edi, eax
add esp, 4
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3f28], edi
jne 0x4357b4
push ecx
push ebx
mov edx, 0xb
mov ecx, edi
call fcn.004374d0
add esp, 8
mov dword [esi + 0x8c], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub ecx, dword [ebp - 0x14]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x435747