Function at 0x10039b70
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10222fcb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x102d5080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x80], edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], edi
call fcn.1003af00
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
cmp dword [eax + 0x138], 0
je 0x1003ae75
cmp dword [eax + 0x13c], 0
je 0x1003ae75
mov ecx, dword [eax + 0x134]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ecx + 0x25c]
cmp ecx, 9
je 0x1003ae75
cmp ecx, 8
je 0x1003ae75
cmp byte [0x10359068], 0
je 0x1003ae75
mov eax, dword [eax + 0x110]
mov al, byte [eax + 0x20]
test al, al
jne 0x1003ae75
mov eax, dword [0x10375568]
test al, 1
jne 0x10039d85
or eax, 1
mov dword [0x10375568], eax
mov dword [ebp - 4], 0
mov eax, dword [0x10371278]
mov dword [ebp - 0x70], eax
cmp eax, dword [0x1037127c]
je 0x10039c9c
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x10039c8e
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10039c65
xor edx, edx
test ecx, ecx
je 0x10039c8e
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10039c72
cmp esi, 0x72e242a1
je 0x10039cb2
mov eax, dword [ebp - 0x70]
add eax, 4
mov dword [ebp - 0x70], eax
cmp eax, dword [0x1037127c]
jne 0x10039c52
mov edi, dword [ebp - 0x80]
xor eax, eax
mov dword [0x10373c68], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10039d8a
mov eax, dword [ebp - 0x7c]
xor edi, edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
cmp dword [eax + 4], edi
jle 0x10039d58
xor ecx, ecx
mov dword [ebp - 0x68], ecx
nop dword [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x74], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10039d04
cmp dword [ecx + 4], 0
jle 0x10039d04
push 0
mov edx, 0xa4a37590
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10039d01
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x70], edi
mov eax, dword [ebp - 0x7c]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10039d10
xor edx, edx
test ecx, ecx
je 0x10039d3c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10039d20
cmp esi, 0xa4a37590
je 0x10039d6b
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
inc edx
mov edi, dword [ebp - 0x70]
add ecx, 0x3c
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], ecx
cmp edx, dword [eax + 4]
jl 0x10039cd0
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x80]
mov dword [0x10373c68], eax
jmp 0x10039d8a
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x80]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x70]
mov dword [0x10373c68], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10039d8a
mov eax, dword [0x10373c68]
mov ecx, dword [ebp - 0x78]
test byte [ecx + eax], 0x40
jne 0x1003ae75
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x134]
cmp dword [eax + 0x9960], 0
je 0x1003ae75
call fcn.1008d1c0
mov ecx, dword [0x103bfbf0]
add ecx, 0xe77afa8c
xor ecx, 0xdf32286b
call fcn.101470f0
test al, al
je 0x10039df4
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x140]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], eax
mov edx, dword [0x10bbf240]
add edx, 0xaff3cc8c
xor edx, 0x3743f7af
mov ecx, dword [edx + 0x140]
test byte [ecx + 0x30], 0x20
jne 0x1003ae75
mov eax, dword [edi + 0xc]
cmp eax, dword [ecx + 4]
je 0x1003ae75
mov eax, dword [0x1035906c]
sub eax, 1
je 0x10039e41
sub eax, 1
jne 0x1003a22c
mov dword [ecx + 0xc], 0xc2b20000
jmp 0x1003a22c
cmp byte [0x10359075], 0
je 0x1003a225
cmp byte [edi + 1], 0
je 0x1003a225
mov eax, dword [edx + 0xf0]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x103af1b4]
mov dword [ebp - 0x7c], esi
test eax, eax
jne 0x10039f86
mov edi, dword [0x103af1bc]
test edi, edi
jne 0x10039f35
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x74], ecx
cmp ecx, edi
je 0x10039f0c
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10039f0c
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x78], ecx
dec edx
mov edi, 0x50554d45
mov dword [ebp - 0x6c], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x10039f02
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x10039ed3
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
cmp edi, 0x9c5f0cc5
je 0x10039f13
mov ecx, dword [ebp - 0x78]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x10039eb3
mov eax, dword [eax]
jmp 0x10039e8b
mov eax, dword [ebp - 0x74]
mov esi, dword [ebp - 0x70]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x7c]
mov dword [0x103af1bc], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x1036aa20
push eax
call fcn.100430d0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x10bbf240]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
push ecx
push dword [eax + 0x158]
call edi
lea ecx, [ebp - 0x2c]
mov dword [0x103af1b4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
mov eax, dword [0x103af1b4]
push esi
call eax
add esp, 4
cmp dword [0x103590a8], 0
jne 0x10039fba
mov eax, dword [0x10bbf240]
movd xmm0, dword [0x10359078]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x140]
movss dword [eax + 0xc], xmm0
cmp dword [0x103590a8], 1
jne 0x1003a160
cmp dword [0x103590ac], 1
jne 0x1003a13e
movd xmm0, dword [0x10359080]
movd xmm1, dword [0x10359084]
mov eax, dword [0x103af1b8]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x64], xmm1
test eax, eax
jne 0x1003a11d
mov edi, dword [0x103af1a8]
test edi, edi
jne 0x1003a0c2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x74], ecx
cmp ecx, edi
je 0x1003a09c
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1003a09c
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x78], ecx
dec edx
mov edi, 0x8a974ba5
mov dword [ebp - 0x6c], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x1003a092
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x1003a063
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
cmp edi, 0x4e124925
je 0x1003a0a3
mov ecx, dword [ebp - 0x78]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x1003a043
mov eax, dword [eax]
jmp 0x1003a01b
mov eax, dword [ebp - 0x74]
mov esi, dword [ebp - 0x70]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov dword [0x103af1a8], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x1036aa38
push eax
call fcn.10042c00
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x10bbf240]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
push ecx
push dword [eax + 0x158]
call edi
lea ecx, [ebp - 0x2c]
mov dword [0x103af1b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
mov eax, dword [0x103af1b8]
movss xmm0, dword [ebp - 0x7c]
movss xmm1, dword [ebp - 0x64]
sub esp, 8
mov dword [ebp - 0x64], eax
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call dword [ebp - 0x64]
fstp dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x64]
add esp, 8
jmp 0x1003a146
movss xmm0, dword [0x102bdb88]
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x140]
movss dword [eax + 0xc], xmm0
cmp dword [0x103590a8], 2
mov esi, dword [0x10376dc8]
jne 0x1003a1c1
and esi, 0x80000001
jns 0x1003a17c
dec esi
or esi, 0xfffffffe
inc esi
mov eax, esi
mov dword [0x10376dc8], esi
sub eax, 0
je 0x1003a19c
sub eax, 1
jne 0x1003a220
movd xmm0, dword [0x1035908c]
jmp 0x1003a1a4
movd xmm0, dword [0x10359088]
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x140]
movss dword [eax + 0xc], xmm0
cmp dword [0x103590a8], 3
jne 0x1003a220
mov eax, 0x55555555
imul esi
sub edx, esi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + esi]
lea eax, [eax + ecx*2]
mov dword [0x10376dc8], eax
sub eax, 0
je 0x1003a1fb
sub eax, 1
jne 0x1003a220
movd xmm0, dword [0x10359094]
jmp 0x1003a203
movd xmm0, dword [0x10359090]
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x140]
movss dword [eax + 0xc], xmm0
mov edi, dword [ebp - 0x80]
jmp 0x1003a22c
mov dword [ecx + 0xc], 0x42b20000
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x140]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x140]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x18], eax
cmp byte [0x103590a1], 0
mov cl, byte [0x10376dcc]
jne 0x1003a274
mov cl, byte [edi + 4]
xor eax, eax
cmp dword [0x103590b4], eax
je 0x1003a285
test cl, cl
setne al
jmp 0x1003a28e
cmp byte [0x1035c508], al
sete al
lea eax, [eax*2 - 1]
mov dword [edi + 8], eax
cmp byte [0x10359074], 0
je 0x1003a38e
cmp byte [0x1035c52c], 0
jne 0x1003a38e
cmp byte [0x1035c550], 0
jne 0x1003a38e
cmp byte [0x1035c574], 0
jne 0x1003a38e
cmp byte [0x1035c598], 0
jne 0x1003a38e
push 1
push 0
mov ecx, edi
call fcn.10033f00
mov ecx, eax
test ecx, ecx
je 0x1003a38e
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10bbf240]
mov esi, eax
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
mov ecx, dword [ecx + 0x134]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, dword [esi]
subss xmm0, dword [esi + 4]
movss dword [ebp - 0x64], xmm1
divss xmm0, xmm1
call fcn.1021f3ee
movss xmm1, dword [ebp - 0x64]
comiss xmm1, dword [0x102bd5e4]
mulss xmm0, dword [0x102bd974]
movss xmm2, dword [0x102bda24]
jb 0x1003a358
addss xmm0, xmm2
movss xmm3, dword [0x102bdb98]
comiss xmm3, xmm0
movss xmm1, dword [0x102bda6c]
jbe 0x1003a379
nop dword [eax]
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x1003a370
comiss xmm0, xmm2
jbe 0x1003a389
nop
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x1003a380
movss dword [edi + 0x18], xmm0
mov ecx, edi
call fcn.10032c70
mov ecx, edi
call fcn.100331a0
mov ecx, edi
call fcn.10032800
cmp byte [0x1035c550], 0
movss xmm0, dword [edi + 0x18]
movss xmm1, dword [0x102bd9b4]
je 0x1003a3c2
subss xmm0, xmm1
movss dword [edi + 0x18], xmm0
cmp byte [0x1035c574], 0
je 0x1003a3d4
addss xmm0, xmm1
movss dword [edi + 0x18], xmm0
mov ecx, edi
call fcn.10033a40
mov eax, dword [0x10359070]
sub eax, 1
je 0x1003a436
sub eax, 1
jne 0x1003a448
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x102bda6c]
movss dword [ebp - 0x64], xmm0
fld dword [ebp - 0x64]
fld dword [0x102bda24]
call fcn.1021f3d0
fstp dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x102bda80]
addss xmm0, dword [edi + 0x18]
jmp 0x1003a443
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [0x102bda24]
movss dword [edi + 0x18], xmm0
cmp byte [0x103590a0], 0
mov ecx, dword [0x103590c4]
mov dl, byte [0x10376ddc]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x70], xmm1
jne 0x1003a46c
mov dl, byte [edi + 5]
mov eax, dword [0x103590c0]
dec eax
cmp eax, 5
ja case.0x1003a6fe.2
jmp dword [eax*4 + 0x1003ae94]
test dl, dl
jne case.0x1003a6fe.4
xorps xmm1, xmmword [0x102bdf90]
jmp case.0x1003a6fe.4
test dl, dl
jne case.0x1003a6fe.2
addss xmm1, dword [edi + 0x18]
movss dword [edi + 0x18], xmm1
mov ecx, dword [0x10bbf240]
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
mov eax, dword [ecx + 0x10]
cmp byte [eax], 0
je 0x1003a880
mov eax, dword [ecx + 0xf0]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x103af1b4]
mov dword [ebp - 0x70], esi
test eax, eax
jne 0x1003a7dc
mov edi, dword [0x103af1bc]
test edi, edi
jne 0x1003a788
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x78], ecx
cmp ecx, edi
je 0x1003a56f
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1003a56f
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x64], ecx
dec edx
mov edi, 0x50554d45
mov dword [ebp - 0x6c], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x1003a565
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x1003a532
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
cmp edi, 0x9c5f0cc5
je 0x1003a766
mov ecx, dword [ebp - 0x64]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x1003a512
mov eax, dword [eax]
jmp 0x1003a4ea
mov eax, dword [0x103af1b8]
neg ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x7c], xmm0
test eax, eax
jne 0x1003a6b0
mov edi, dword [0x103af1a8]
test edi, edi
jne 0x1003a652
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x78], ecx
cmp ecx, edi
je 0x1003a62c
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1003a62c
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x64], ecx
dec edx
mov edi, 0x8a974ba5
mov dword [ebp - 0x6c], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x1003a622
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x1003a5f3
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
cmp edi, 0x4e124925
je 0x1003a633
mov ecx, dword [ebp - 0x64]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x1003a5d3
mov eax, dword [eax]
jmp 0x1003a5ab
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov dword [0x103af1a8], edi
lea eax, [ebp - 0x44]
mov ecx, 0x1036aa38
push eax
call fcn.10042c00
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
mov eax, dword [0x10bbf240]
cmova ecx, dword [ebp - 0x44]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
push ecx
push dword [eax + 0x158]
call edi
lea ecx, [ebp - 0x44]
mov dword [0x103af1b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
mov eax, dword [0x103af1b8]
movss xmm1, dword [ebp - 0x70]
movss xmm0, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
sub esp, 8
mov dword [ebp - 0x64], eax
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call dword [ebp - 0x64]
fstp dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x64]
add esp, 8
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x18], xmm0
jmp case.0x1003a6fe.2
mov eax, dword [0x10376dc8]
sub eax, 0
je case.0x1003a6fe.0
sub eax, 2
jmp 0x1003a48d
mov eax, dword [0x10375598]
cmp eax, 4
ja case.0x1003a6fe.2
jmp dword [eax*4 + 0x1003aeac]
movss xmm1, dword [edi + 0x18]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
jmp 0x1003a494
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x18], xmm0
jmp case.0x1003a6fe.2
mov eax, dword [0x10376de0]
cmp eax, 5
ja case.0x1003a6fe.2
jmp dword [eax*4 + 0x1003aec0]
movss xmm0, dword [edi + 0x18]
subss xmm0, xmm1
movss dword [edi + 0x18], xmm0
jmp case.0x1003a6fe.2
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x70]
mov dword [0x103af1bc], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x1036aa20
push eax
call fcn.100430d0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x10bbf240]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
push ecx
push dword [eax + 0x158]
call edi
lea ecx, [ebp - 0x2c]
mov dword [0x103af1b4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
mov eax, dword [0x103af1b4]
mov edi, dword [ebp - 0x80]
push esi
call eax
add esp, 4
push 4
push 1
push 0x103755b8
push 0x10376dcc
call fcn.1003b2d0
push 5
push 2
push 0x10376dd0
push 0x10376ddc
call fcn.1003b2d0
cmp byte [edi + 4], 0
mov ecx, dword [0x10376dc8]
sete al
cmp byte [edi + 5], 0
mov byte [edi + 4], al
sete al
inc ecx
mov byte [edi + 5], al
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
sub ecx, eax
mov eax, 0x66666667
mov dword [0x10376dc8], ecx
mov ecx, dword [0x10375598]
inc ecx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
sub ecx, eax
mov eax, 0x2aaaaaab
mov dword [0x10375598], ecx
mov ecx, dword [0x10376de0]
inc ecx
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
add eax, eax
sub ecx, eax
mov dword [0x10376de0], ecx
cmp byte [0x1035c550], 0
jne 0x1003a8b0
cmp byte [0x1035c574], 0
jne 0x1003a8b0
cmp byte [0x1035c598], 0
jne 0x1003a8b0
movd xmm0, dword [0x103590c8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x18], xmm0
cmp byte [0x10359098], 0
je case.default.0x1003a8d6
cmp byte [edi + 1], 0
je case.default.0x1003a8d6
mov eax, dword [0x103590a4]
dec eax
cmp eax, 5
ja case.default.0x1003a8d6
jmp dword [eax*4 + 0x1003aed8]
mov eax, dword [0x10bbf240]
movss xmm2, dword [0x102bda24]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
mov dword [eax + 0x1c], 0xb4
movss xmm0, dword [edi + 0x18]
addss xmm0, xmm2
movss dword [edi + 0x18], xmm0
jmp 0x1003ae2a
mov eax, dword [0x10376dc8]
and eax, 0x80000001
jns 0x1003a925
dec eax
or eax, 0xfffffffe
inc eax
mov dword [0x10376dc8], eax
sub eax, 0
je 0x1003a973
movss xmm2, dword [0x102bda24]
sub eax, 1
jne 0x1003ae2a
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
mov dword [eax + 0x1c], 0x5a
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [0x102bd9b4]
movss dword [edi + 0x18], xmm0
jmp 0x1003ae2a
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
mov dword [eax + 0x1c], 0xffffffa6
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [0x102bd9b4]
jmp 0x1003ae1d
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x103af1b4]
mov dword [ebp - 0x70], esi
test eax, eax
jne 0x1003aae9
mov edi, dword [0x103af1bc]
test edi, edi
jne 0x1003aa95
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x78], ecx
cmp ecx, edi
je 0x1003aa69
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1003aa69
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
nop dword [eax + eax]
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x64], ecx
dec edx
mov edi, 0x50554d45
mov dword [ebp - 0x6c], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x1003aa5f
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x1003aa30
mov eax, dword [ebp - 0x68]
cmp edi, 0x9c5f0cc5
je 0x1003aa70
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x1003aa10
mov eax, dword [eax]
jmp 0x1003a9e3
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add edx, esi
add eax, esi
movzx eax, word [eax + ecx*2]
mov edi, dword [edx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x70]
mov dword [0x103af1bc], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x1036aa20
push eax
call fcn.100430d0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x10bbf240]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
push ecx
push dword [eax + 0x158]
call edi
lea ecx, [ebp - 0x2c]
mov dword [0x103af1b4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
mov eax, dword [0x103af1b4]
mov edi, dword [ebp - 0x80]
push esi
call eax
mov eax, dword [0x10bbf240]
add esp, 4
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
mov eax, dword [eax + 0x1c]
lea ecx, [eax*8]
sub ecx, eax
sub ecx, 0xb3
jmp 0x1003ae11
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x103af1b4]
mov dword [ebp - 0x70], esi
test eax, eax
jne 0x1003ac5b
mov edi, dword [0x103af1bc]
test edi, edi
jne 0x1003ac07
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x78], ecx
cmp ecx, edi
je 0x1003abde
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1003abde
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x64], ecx
dec edx
mov edi, 0x50554d45
mov dword [ebp - 0x6c], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x1003abd4
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x1003aba5
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
cmp edi, 0x9c5f0cc5
je 0x1003abe5
mov ecx, dword [ebp - 0x64]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x1003ab85
mov eax, dword [eax]
jmp 0x1003ab5d
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x70]
mov dword [0x103af1bc], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x1036aa20
push eax
call fcn.100430d0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x10bbf240]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
push ecx
push dword [eax + 0x158]
call edi
lea ecx, [ebp - 0x2c]
mov dword [0x103af1b4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
mov eax, dword [0x103af1b4]
mov edi, dword [ebp - 0x80]
push esi
call eax
mov eax, dword [0x10bbf240]
add esp, 4
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
mov ecx, dword [eax + 0x1c]
shl ecx, 4
sub ecx, dword [eax + 0x1c]
sub ecx, 0xb3
jmp 0x1003ae11
mov esi, dword [0x10376dc8]
mov eax, 0x55555555
imul esi
sub edx, esi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + esi]
lea eax, [eax + ecx*2]
jmp 0x1003a925
mov eax, dword [0x103af1b8]
test eax, eax
jne 0x1003add6
mov edi, dword [0x103af1a8]
test edi, edi
jne 0x1003ad82
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x78], ecx
cmp ecx, edi
je 0x1003ad59
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1003ad59
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
nop dword [eax]
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x64], ecx
dec edx
mov edi, 0x8a974ba5
mov dword [ebp - 0x6c], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x1003ad4f
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x1003ad20
mov eax, dword [ebp - 0x68]
cmp edi, 0x4e124925
je 0x1003ad60
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x1003ad00
mov eax, dword [eax]
jmp 0x1003acd4
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add edx, esi
add eax, esi
movzx eax, word [eax + ecx*2]
mov edi, dword [edx + eax*4]
add edi, esi
mov dword [0x103af1a8], edi
lea eax, [ebp - 0x5c]
mov ecx, 0x1036aa38
push eax
call fcn.10042c00
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
mov eax, dword [0x10bbf240]
cmova ecx, dword [ebp - 0x5c]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
push ecx
push dword [eax + 0x158]
call edi
lea ecx, [ebp - 0x5c]
mov dword [0x103af1b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
mov eax, dword [0x103af1b8]
mov edi, dword [ebp - 0x80]
sub esp, 8
mov dword [ebp - 0x64], eax
mov dword [esp + 4], 0xc3330000
mov dword [esp], 0x43330000
call dword [ebp - 0x64]
mov eax, dword [0x10bbf240]
add esp, 8
add eax, 0xaff3cc8c
fstp dword [ebp - 0x64]
cvttss2si ecx, dword [ebp - 0x64]
xor eax, 0x3743f7af
mov eax, dword [eax + 0xf0]
mov dword [eax + 0x1c], ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x18], xmm0
movss xmm2, dword [0x102bda24]
movss xmm0, dword [edi + 0x18]
movss xmm3, dword [0x102bdb98]
comiss xmm3, xmm0
movss xmm1, dword [0x102bda6c]
jbe 0x1003ae4d
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x1003ae44
comiss xmm0, xmm2
jbe 0x1003ae5b
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x1003ae52
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x140]
movss dword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101f36c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret