Function at 0x1003c5c0
Capabilities:
Encode data using xor
Hash data with crc32
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 0x1008aa40
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x10101040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], edx
mov edi, dword [0x10103540]
mov dword [ebp - 0x30], edi
mov eax, dword [edi + 0x4064]
mov byte [eax + 0xe1], 1
mov esi, dword [edi + 0x4064]
mov dword [ebp - 0x24], esi
cmp byte [esi + 0xe4], 0
je 0x1003c633
xor al, al
jmp 0x1003d2cd
cmp dword [esi + 0x1c8], 0
mov ecx, esi
jne 0x1003c64c
cmp dword [edi + 0x4db4], 0
mov eax, 0x260
je 0x1003c651
mov eax, 0x230
movss xmm1, dword [esi + eax]
xorps xmm2, xmm2
subss xmm1, dword [ecx + 0x128]
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x40]
push dword [eax + 4]
maxss xmm1, dword [0x100f8f34]
push dword [eax]
call fcn.10019c30
movss xmm2, dword [esi + 0x128]
lea ecx, [edi + 0x4dd4]
movss xmm0, dword [esi + 0x12c]
add esp, 4
movss xmm3, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x3c]
addss xmm3, xmm2
addss xmm1, xmm0
movss dword [ebp - 0x78], xmm2
push dword [ebp - 0x2c]
movss dword [ebp - 0x74], xmm0
movss dword [ebp - 0x70], xmm3
movss dword [ebp - 0x6c], xmm1
call fcn.100099c0
mov edx, eax
mov esi, dword [edx]
cmp esi, 0xffffffff
je 0x1003c6d7
shl esi, 9
add esi, dword [edi + 0x4dd0]
mov dword [ebp - 0x38], esi
jmp 0x1003c6ef
mov eax, dword [edi + 0x4de0]
lea ecx, [edi + 0x4dc8]
mov dword [edx], eax
call fcn.10042c90
mov esi, eax
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
mov eax, esi
sub eax, dword [edi + 0x4dd0]
sar eax, 9
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x4db8]
inc eax
mov dword [ebp - 0x44], 6
mov dword [ebp - 0x20], eax
mov dword [edi + 0x4db8], eax
cmp eax, dword [edi + 0x4dbc]
jle 0x1003c8b0
push 0x6c
lea eax, [ebp - 0xe4]
push 0
push eax
call fcn.10065d90
add esp, 0xc
mov dword [ebp - 0xe0], 0xbf800000
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x4dc0]
cmp ecx, eax
jle 0x1003c849
test eax, eax
je 0x1003c76e
cdq
sub eax, edx
mov edx, dword [edi + 0x4dc0]
sar eax, 1
add eax, edx
jmp 0x1003c779
mov edx, dword [edi + 0x4dc0]
mov eax, 8
cmp eax, ecx
mov edi, ecx
cmovg edi, eax
mov eax, edi
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x30]
cmp eax, edx
jle 0x1003c849
imul ecx, eax, 0x6c
call fcn.1000d2d0
mov edx, dword [edi + 0x4dc4]
mov dword [ebp - 0x4c], eax
test edx, edx
je 0x1003c837
imul ecx, dword [edi + 0x4dbc], 0x6c
push ecx
push edx
push eax
call fcn.10065810
mov edx, dword [edi + 0x4dc4]
add esp, 0xc
mov dword [ebp - 0x48], edx
test edx, edx
je 0x1003c82b
mov ecx, dword [0x10103540]
test ecx, ecx
je 0x1003c82b
mov eax, dword [ecx + 0x3fe0]
mov dword [ebp - 0x1c], eax
movsx eax, word [ecx + 0x5fa4]
mov edi, dword [ebp - 0x1c]
add eax, 0xbf5
cmp dword [ecx + eax*8], edi
mov edi, dword [ebp - 0x30]
lea eax, [ecx + eax*8]
je 0x1003c821
movsx eax, word [ecx + 0x5fa4]
inc eax
cdq
idiv dword [ebp - 0x44]
movzx eax, dx
mov edx, dword [ebp - 0x1c]
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x48]
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push edx
call fcn.1006d8d7
mov eax, dword [ebp - 0x4c]
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0x4dc4], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x4dc0], eax
mov eax, dword [edi + 0x4dbc]
cmp ecx, eax
jle 0x1003c886
mov edx, ecx
imul eax, eax, 0x6c
sub edx, dword [edi + 0x4dbc]
nop
mov edi, dword [edi + 0x4dc4]
lea esi, [ebp - 0xe4]
add edi, eax
mov ecx, 0x1b
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x30]
add eax, 0x6c
sub edx, 1
jne 0x1003c860
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0x4dbc], ecx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 1
call fcn.10037330
lea ecx, [ebp - 0xc8]
call fcn.100067f0
mov dword [ebp - 4], 0xffffffff
imul ecx, dword [edi + 0x4db8], 0x6c
mov eax, dword [edi + 0x4dc4]
mov edx, dword [ebp - 0x24]
add eax, 0xffffff94
add ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xc], ecx
mov dword [ebp - 0x28], ecx
mov dword [ecx], eax
mov ecx, 0x8000
mov eax, dword [esi + 0xc]
add eax, 0x14
mov dword [esi + 0x168], eax
mov dword [eax], 0
mov dword [eax + 4], 1
mov eax, 0x2000
mov byte [esi + 0x1f6], 1
test byte [edx + 0xc], 0x40
cmovne ecx, eax
mov eax, dword [edx + 0x340]
mov dword [ebp - 0x1c], ecx
or dword [ebp - 0x1c], 0x10
test dword [eax + 0xc], 0x100
mov eax, dword [ebp - 0x1c]
cmove eax, ecx
mov ecx, dword [esi + 0x3c]
or eax, 0x10
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, dword [edi + 0x3fe0]
je 0x1003c938
mov dword [ebp - 0x20], 0
jmp 0x1003c943
movsx eax, word [esi + 0x4c]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
movss xmm0, dword [ebx + 0x14]
mov dword [esi], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x3fe0]
mov dword [esi + 0x158], edx
mov dword [esi + 0x154], edx
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 2
mov byte [esi + 0x1ea], 0
movss dword [esi + 0xa0], xmm0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x10], ecx
mov word [esi + 0x4c], ax
test eax, eax
jle 0x1003cb88
mov ecx, dword [esi + 0x184]
cmp ecx, eax
jge 0x1003caf2
mov eax, dword [esi + 0x188]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x58], 0xffffffff
cmp ecx, eax
jne 0x1003caca
inc ecx
test eax, eax
je 0x1003c9f5
cdq
sub eax, edx
mov edx, dword [esi + 0x188]
sar eax, 1
add eax, edx
jmp 0x1003ca00
mov edx, dword [esi + 0x188]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, edx
jle 0x1003caca
lea ecx, [ecx + ecx*2]
shl ecx, 3
call fcn.1000d2d0
mov edx, dword [esi + 0x18c]
mov dword [ebp - 0x48], eax
test edx, edx
je 0x1003cabb
mov ecx, dword [esi + 0x184]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.10065810
mov edx, dword [esi + 0x18c]
add esp, 0xc
mov dword [ebp - 0x4c], edx
test edx, edx
je 0x1003caaf
mov ecx, dword [0x10103540]
test ecx, ecx
je 0x1003caaf
mov eax, dword [ecx + 0x3fe0]
mov dword [ebp - 0x1c], eax
movsx eax, word [ecx + 0x5fa4]
mov edi, dword [ebp - 0x1c]
add eax, 0xbf5
cmp dword [ecx + eax*8], edi
lea eax, [ecx + eax*8]
je 0x1003caa5
movsx eax, word [ecx + 0x5fa4]
inc eax
cdq
idiv dword [ebp - 0x44]
movzx eax, dx
mov edx, edi
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x4c]
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push edx
call fcn.1006d8d7
mov eax, dword [ebp - 0x48]
add esp, 4
mov dword [esi + 0x18c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x188], eax
mov eax, dword [esi + 0x184]
movups xmm0, xmmword [ebp - 0x68]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi + 0x184]
push dword [ebp - 0x2c]
xor edx, edx
mov ecx, str.Instances
call fcn.10009540
mov edx, eax
add esp, 4
mov eax, dword [0x10103540]
mov dword [ebp - 0x1c], edx
cmp dword [eax + 0x4098], edx
jne 0x1003cb2f
push ecx
mov ecx, dword [ebp - 0x1c]
mov edx, 0xb
push str.Instances
call fcn.1002afa0
mov edx, dword [ebp - 0x1c]
add esp, 8
mov eax, dword [ebp - 0x20]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x18], eax
not edx
mov esi, 4
nop
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100f45f8]
sub esi, 1
jne 0x1003cb40
mov eax, dword [0x10103540]
not edx
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x1c], edx
cmp dword [eax + 0x4098], edx
jne 0x1003cb8e
push ecx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, 4
call fcn.1002afa0
mov edx, dword [ebp - 0x1c]
add esp, 8
jmp 0x1003cb8e
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
movsx eax, word [esi + 0x4c]
test eax, eax
jne 0x1003cb9e
mov dword [esi + 0x16c], edx
jmp 0x1003cbab
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
mov dword [eax + ecx*8 - 0x18], edx
movups xmm0, xmmword [ebp - 0x78]
mov ecx, dword [ebp - 0x2c]
movups xmmword [esi + 0xd4], xmm0
movups xmmword [esi + 0xc4], xmm0
movups xmmword [esi + 0xe4], xmm0
call fcn.100174a0
cmp dword [ebp - 0x20], 0
jle 0x1003cbda
mov ecx, dword [ebp - 0x1c]
call fcn.100174a0
mov edi, dword [esi + 0x158]
xorps xmm2, xmm2
mov ecx, dword [ebp - 0x28]
lea edx, [edi + 0x248]
mov dword [ebp - 0x20], edi
mov eax, dword [edi + 0x16c]
mov dword [esi + 0x88], eax
movups xmm0, xmmword [edx]
movups xmmword [esi + 0x134], xmm0
mov al, byte [edi + 0xe4]
mov byte [esi + 0x1fc], al
movups xmm0, xmmword [edi + 0x228]
mov eax, dword [ebp - 0x24]
movups xmmword [ecx + 0x28], xmm0
movups xmm0, xmmword [edi + 0x238]
movups xmmword [ecx + 0x38], xmm0
mov eax, dword [eax + 0x170]
mov dword [ecx + 0x60], eax
mov eax, dword [edi + 0x158]
mov ecx, dword [edi + 0x15c]
mov edi, dword [ebp - 0x28]
mov dword [edi + 0x48], eax
mov eax, edi
mov dword [eax + 0x4c], ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x150]
mov ecx, dword [ecx + 0x154]
mov dword [edi + 0x50], eax
mov eax, edi
mov dword [eax + 0x54], ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x140]
mov ecx, dword [ecx + 0x144]
mov dword [edi + 0x58], eax
mov eax, edi
mov dword [eax + 0x5c], ecx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x1d8]
mov dword [edi + 0x64], eax
mov eax, dword [ecx + 0x1e0]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x30]
mov dword [eax + 0x150], 0
mov dword [eax + 0x154], 0
mov dword [eax + 0x158], 0
mov dword [eax + 0x15c], 0
movss xmm1, dword [edi + 0x39b0]
xor edi, edi
movaps xmm0, xmm1
movss dword [esi + 0x9c], xmm1
addss xmm0, xmm2
movss dword [esi + 0x94], xmm2
mov dword [esi + 0x48], 0xffffffff
cmp eax, ecx
mov dword [esi + 0x44], 0xffffffff
lea ecx, [esi + 0xe4]
mov dword [esi + 0x6c], 0
cmove edx, ecx
mov word [esi + 0x6a], di
movss dword [esi + 0x98], xmm0
xorps xmm0, xmm0
subss xmm0, xmm2
movss dword [esi + 0x90], xmm0
movups xmm0, xmmword [edx]
movups xmmword [esi + 0xf4], xmm0
movss xmm3, dword [esi + 0xf4]
movss xmm4, dword [esi + 0xf8]
maxss xmm4, dword [ecx + 4]
maxss xmm3, dword [ecx]
movss dword [esi + 0xf8], xmm4
movss dword [esi + 0xf4], xmm3
movss xmm1, dword [esi + 0xfc]
movss xmm0, dword [esi + 0x100]
minss xmm1, dword [ecx + 8]
minss xmm0, dword [ecx + 0xc]
movss dword [esi + 0xfc], xmm1
movss dword [esi + 0x100], xmm0
movss xmm2, dword [esi + 0x138]
movss xmm1, dword [esi + 0x13c]
comiss xmm2, xmm4
ja 0x1003cd95
movss xmm2, dword [esi + 0x140]
minss xmm2, xmm4
movss xmm0, dword [esi + 0x134]
comiss xmm0, xmm3
jbe 0x1003cda7
movaps xmm1, xmm0
jmp 0x1003cdab
minss xmm1, xmm3
movss dword [esi + 0xf4], xmm1
movss dword [esi + 0xf8], xmm2
movss xmm2, dword [esi + 0x100]
movss xmm1, dword [esi + 0x138]
comiss xmm1, xmm2
ja 0x1003cddc
movss xmm1, dword [esi + 0x140]
minss xmm1, xmm2
movss xmm2, dword [esi + 0xfc]
comiss xmm0, xmm2
ja 0x1003cdf5
movss xmm0, dword [esi + 0x13c]
minss xmm0, xmm2
movss dword [esi + 0xfc], xmm0
movss dword [esi + 0x100], xmm1
movss xmm0, dword [eax + 0x254]
xor eax, eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov edi, dword [ebp - 0x30]
mov dword [esi + 0x1da], eax
mov dword [esi + 0x1de], eax
mov dword [esi + 0x1ba], eax
mov eax, dword [ebp - 0x50]
movss dword [esi + 0x100], xmm0
inc eax
movss xmm0, dword [esi + 0xe8]
movss dword [esi + 0x54], xmm0
movss dword [esi + 0x50], xmm0
mov byte [esi + 0x1f5], 1
cmp eax, dword [edi + 0x3fe0]
jge 0x1003ce5e
mov byte [esi + 0x1f8], 0
mov eax, dword [ebp - 0x28]
mov ecx, 0x2d
movss xmm1, dword [0x100f8f34]
mov dword [eax + 8], 0
call fcn.10009cd0
movss xmm1, dword [0x100f8f34]
mov ecx, 0x2e
mov dword [esi + 0x78], eax
call fcn.10009cd0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x4db4], esi
mov byte [eax + 0x188], 0
mov dword [eax + 0x1cc], edx
cmp ecx, eax
je 0x1003ceb8
mov dword [ecx + 0x1cc], edx
test byte [ebp - 0x3c], 2
je 0x1003cec5
mov byte [esi + 0x1f4], 1
lea ecx, [edi + 0x4de8]
mov dword [ebp - 0x1c], ecx
cmp edx, dword [ecx]
jl 0x1003cf42
mov eax, dword [ecx + 4]
inc edx
mov dword [ebp - 0x3c], 0xbf800000
mov dword [ebp - 0x24], edx
cmp edx, eax
jle 0x1003cf14
test eax, eax
je 0x1003cef8
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
sar eax, 1
add eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
jmp 0x1003ceff
mov dword [ebp - 0x2c], 8
cmp dword [ebp - 0x2c], edx
mov eax, edx
cmovg eax, dword [ebp - 0x2c]
push eax
call fcn.1002bd30
lea ecx, [edi + 0x4de8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
cmp eax, edx
jle 0x1003cf3d
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov ecx, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, esi
jl 0x1003cf26
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov dword [ecx], eax
movsd xmm0, qword [edi + 0x3fd8]
mov eax, dword [edi + 0x4df0]
cvtpd2ps xmm0, xmm0
movss dword [eax + edx*4], xmm0
movsd xmm0, qword [edi + 0x3fd8]
mov eax, dword [ebp - 0x28]
cvtpd2ps xmm0, xmm0
movss dword [eax + 4], xmm0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], eax
mov eax, 0x92492493
mov byte [esi + 0x1fb], 0
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x3c], eax
je 0x1003cfb2
cmp eax, 2
je 0x1003cfb2
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], eax
mov dword [esi + 8], 0
cmp dword [esi + 8], 0
jne 0x1003d023
mov ecx, 0x100
call fcn.1000d2d0
push 0x100
push 0
push eax
mov dword [esi + 8], eax
call fcn.10065d90
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [esi + 0x10], ecx
lea eax, [ecx + 0xe0]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea eax, [ecx + 0xe4]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
lea eax, [ecx + 0xf4]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
lea eax, [ecx + 0xf8]
mov dword [esi + 0x2c], eax
lea eax, [ecx + 0xfc]
mov dword [esi + 0x30], eax
mov al, 1
mov byte [esi + 0x1f0], 1
mov byte [esi + 0x1ec], 1
jmp 0x1003d029
mov al, byte [esi + 0x1ec]
cmp byte [esi + 0x1f3], 0
je 0x1003d052
mov word [esi + 0x1f0], 0x100
mov byte [esi + 0x1ec], 1
mov byte [esi + 0x1f3], 0
mov dword [esi + 0x34], 0
jmp 0x1003d05a
test al, al
je 0x1003d1a6
or eax, 0xffffffff
mov dword [esi + 0x38], 0xffffffff
xor edi, edi
mov word [esi + 0x4e], ax
mov word [esi + 0x1d8], ax
mov word [esi + 0x1c8], ax
mov word [esi + 0x1c6], ax
mov word [esi + 0x1cc], ax
mov word [esi + 0x1c4], ax
mov word [esi + 0x1c0], ax
mov word [esi + 0x1be], ax
xor eax, eax
mov byte [esi + 0x1ed], 1
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x24]
add edx, eax
mov dword [ebp - 0x50], edx
test ecx, ecx
je 0x1003d0d5
cmp edi, dword [ebp - 0x3c]
jge 0x1003d0d5
lea esi, [eax + ecx]
mov edi, edx
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
jmp 0x1003d177
movss xmm0, dword [edx + 0x14]
lea eax, [ebp - 0xe8]
push 0x70
push 0
push eax
movss dword [ebp - 0x18], xmm0
call fcn.10065d90
mov edx, dword [ebp - 0x50]
lea esi, [ebp - 0xe8]
movss xmm0, dword [ebp - 0x18]
or eax, 0xffffffff
mov word [ebp - 0x98], ax
add esp, 0xc
and byte [ebp - 0x7b], 0xfc
mov ecx, 0x1c
mov word [ebp - 0x94], ax
mov edi, edx
mov word [ebp - 0x96], ax
mov word [ebp - 0x90], ax
mov word [ebp - 0x92], ax
mov word [ebp - 0x8e], ax
mov eax, 0xff
mov dword [ebp - 0xd8], 0xbf800000
mov dword [ebp - 0xd0], 0xbf800000
mov dword [ebp - 0x8a], 0xff00ff
mov word [ebp - 0x8c], ax
rep movsd dword es:[edi], dword [esi]
movss dword [edx + 0x14], xmm0
mov byte [edx + 0x69], 1
mov word [edx + 0x63], 0x101
mov byte [edx + 0x62], 1
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
movzx ecx, di
mov eax, dword [esi + 0x18]
mov word [eax + edi*2], cx
inc edi
mov eax, dword [ebp - 0x1c]
add eax, 0x70
mov word [edx + 0x52], cx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], eax
cmp eax, 0xe0
jl 0x1003d0b0
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1003d219
mov ecx, dword [0x10103540]
test ecx, ecx
je 0x1003d210
mov eax, dword [ecx + 0x3fe0]
mov dword [ebp - 0x24], eax
movsx eax, word [ecx + 0x5fa4]
mov edi, dword [ebp - 0x24]
add eax, 0xbf5
cmp dword [ecx + eax*8], edi
mov edi, dword [ebp - 0x30]
lea eax, [ecx + eax*8]
je 0x1003d206
movsx eax, word [ecx + 0x5fa4]
inc eax
cdq
idiv dword [ebp - 0x44]
movzx eax, dx
mov edx, dword [ebp - 0x24]
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x34]
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push edx
call fcn.1006d8d7
add esp, 4
cmp byte [esi + 0x1f0], 0
je 0x1003d229
mov ecx, esi
call fcn.10041ca0
movss xmm0, dword [esi + 0xb8]
ucomiss xmm0, dword [0x100f8e94]
movss xmm2, dword [edi + 0x3dcc]
lahf
test ah, 0x44
jnp 0x1003d279
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1003d279
movaps xmm1, xmm2
mov eax, dword [esi + 0x10]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
mov eax, dword [esi + 0x10]
mulss xmm1, dword [eax + 0x80]
movss dword [eax + 0x80], xmm1
mov ecx, dword [ebp - 0x20]
movss dword [esi + 0xb8], xmm2
mov byte [ecx + 0xe4], 1
cmp dword [esi + 0x15c], 0
jle 0x1003d2c4
mov ecx, dword [esi + 0x160]
test ecx, ecx
jns 0x1003d2ba
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x15c]
call fcn.1002bed0
mov dword [esi + 0x15c], 0
mov ecx, esi
call fcn.1003d2f0
mov al, 1
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.1006399c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret