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

Disassembly:
sub esp, 0x118
mov eax, dword [0x103b33c0]
xor eax, esp
mov dword [esp + 0x114], eax
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x120]
push esi
mov esi, dword [0x103b6348]
push edi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x12c]
push ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x104], eax
mov dword [esp + 0xf8], esi
call fcn.1004664a
pop ecx
mov ecx, eax
test ecx, ecx
mov dword [esp + 0xe8], ecx
mov edi, ecx
sete al
mov dword [esp + 0x108], edi
mov byte [esp + 0x107], al
mov byte [esp + 0xf8], al
mov eax, ecx
test ecx, ecx
jne 0x1003d8cd
push dword [esp + 0x100]
push dword [esp + 0xb8]
call fcn.100425b4
pop ecx
mov edi, eax
pop ecx
mov dword [esp + 0x108], edi
mov edx, dword [esp + 0x100]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1003d8ee
or edx, 6
mov dword [esp + 0x100], edx
mov ecx, dword [esi + 0x3de8]
mov eax, dword [eax + 0x234]
mov dword [esp + 0xd8], ecx
lea ecx, [esi + 0x3e24]
mov dword [esp + 0xcc], eax
xor eax, eax
mov dword [esp + 0xe4], ecx
cmp dword [ecx], eax
jne 0x1003d924
cmp byte [esi + 0x3df5], al
je 0x1003d924
inc eax
mov byte [edi + 0xae], al
mov edi, dword [esp + 0x108]
mov eax, dword [esp + 0xd8]
dec eax
cmp dword [edi + 0x234], eax
setl ch
mov byte [esp + 0xb8], ch
test edx, 0x4000000
je 0x1003d97a
imul edx, dword [esi + 0x47ac], 0x28
mov eax, dword [edi + 0xbc]
add edx, dword [esi + 0x47a8]
cmp edi, dword [edx + 4]
setne cl
cmp eax, dword [edx]
setne al
or cl, al
or ch, cl
mov byte [esp + 0xb8], ch
mov byte [edi + 0xac], ch
mov edi, dword [esp + 0x108]
cmp byte [edi + 0xac], 0
je 0x1003d9a6
xor eax, eax
inc eax
push eax
push 8
push edi
call fcn.10053ae4
mov edi, dword [esp + 0x114]
add esp, 0xc
mov eax, dword [esp + 0xcc]
cmp eax, dword [esp + 0xd8]
je 0x1003da45
push dword [esp + 0x100]
push dword [esp + 0xfc]
push edi
call fcn.100582ec
mov eax, dword [esp + 0x114]
add esp, 0xc
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0xd8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x108]
mov dword [eax + 0x234], ecx
xor ecx, ecx
movsd xmm0, qword [esi + 0x3de0]
mov eax, dword [esp + 0x108]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x238], xmm0
mov eax, dword [esp + 0x108]
mov word [eax + 0xb6], cx
movzx ecx, word [esi + 0x3e3c]
inc dword [esi + 0x3e3c]
mov eax, dword [esp + 0x108]
mov word [eax + 0xb8], cx
mov edi, dword [esp + 0x108]
jmp 0x1003da4f
mov edx, dword [edi + 8]
mov dword [esp + 0x100], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
jne 0x1003da5d
xor ecx, ecx
jmp 0x1003da6a
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e2c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xf0], ecx
cmp eax, dword [esp + 0xd8]
je 0x1003da90
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1003da96
mov eax, dword [edi + 0x2f4]
lea ecx, [edi + 0xe0]
mov dword [esp + 0xd0], eax
cmp dword [ecx], 0
jne 0x1003dab8
lea eax, [edi + 4]
push eax
call fcn.1005a07d
mov edi, dword [esp + 0x108]
lea ecx, [esp + 8]
mov dword [esi + 0x3e48], edi
call fcn.1003b42d
mov eax, dword [esp + 0x108]
lea edi, [esp + 0xc]
push 0xf
pop ecx
mov dword [esp + 8], eax
add esi, 0x46bc
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x48]
call fcn.10053972
mov ecx, dword [esp + 0xe4]
lea eax, [esp + 8]
push eax
call fcn.1005a3cd
mov eax, dword [esp + 0x100]
mov edi, dword [esp + 0xf4]
test eax, 0x10000000
je 0x1003db16
inc dword [edi + 0x47b8]
mov ecx, dword [esp + 0xd8]
cmp dword [esp + 0xcc], ecx
je 0x1003db51
push dword [esp + 0xd0]
push eax
push dword [esp + 0x110]
call fcn.10058cd7
mov eax, dword [esp + 0x114]
add esp, 0xc
mov ecx, dword [esp + 0xf0]
mov dword [eax + 0x2f8], ecx
mov eax, dword [esp + 0x108]
push dword [eax + 4]
call fcn.1004f96a
mov eax, dword [esp + 0x10c]
mov esi, dword [esp + 0x104]
pop ecx
mov ecx, dword [edi + 0x469c]
mov dword [eax + 0x338], ecx
xor eax, eax
mov dword [edi + 0x3e48], eax
test esi, 0x4000000
je 0x1003dbd2
mov eax, dword [esp + 0x108]
lea ecx, [edi + 0x47ac]
imul esi, dword [ecx], 0x28
add esi, dword [edi + 0x47a8]
push esi
mov dword [esi + 4], eax
mov eax, dword [esp + 0xf4]
mov eax, dword [eax + 0x144]
mov dword [esi + 0xc], eax
call fcn.1005a2fb
mov eax, dword [esp + 0x108]
mov ecx, dword [esi]
mov esi, dword [esp + 0x100]
mov dword [eax + 0xbc], ecx
xor eax, eax
xor edx, edx
mov byte [esp + 0xfe], al
inc edx
mov byte [esp + 0x106], al
mov byte [esp + 0xff], al
test byte [edi + 0x46f8], dl
je 0x1003dcb7
mov edx, dword [esp + 0x108]
mov ecx, dword [edi + 0x46fc]
movsx eax, byte [edx + 0xcc]
test ecx, eax
setne byte [esp + 0xfe]
test ecx, eax
je 0x1003dca1
movss xmm1, dword [edi + 0x4714]
movss xmm0, dword [edi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100cb754]
jbe 0x1003dca1
mov eax, dword [edi + 0x4708]
mov ecx, dword [edi + 0x470c]
mov dword [edx + 0xd0], eax
mov dword [edx + 0xd4], ecx
mov eax, dword [esp + 0x108]
mov ecx, dword [edi + 0x4710]
mov edx, dword [edi + 0x4714]
mov dword [eax + 0xd8], ecx
mov dword [eax + 0xdc], edx
mov edx, dword [esp + 0x108]
movzx ecx, byte [edx + 0xcc]
mov eax, dword [edx + 0xcc]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edx + 0xcc], ecx
jmp 0x1003dcb2
push ecx
lea eax, [edi + 0x4708]
push eax
push edx
call fcn.10053c45
add esp, 0xc
xor edx, edx
xor eax, eax
inc edx
test byte [edi + 0x46f8], 2
xorps xmm1, xmm1
je 0x1003dd37
mov ecx, dword [esp + 0x108]
movsx ecx, byte [ecx + 0xcd]
and ecx, dword [edi + 0x4700]
je 0x1003dcef
movss xmm0, dword [edi + 0x4718]
comiss xmm0, xmm1
jbe 0x1003dcef
mov byte [esp + 0x106], dl
jmp 0x1003dcfd
mov byte [esp + 0x106], al
test ecx, ecx
je 0x1003dd11
xor edx, edx
inc edx
movss xmm0, dword [edi + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0xff], dl
ja 0x1003dd18
mov byte [esp + 0xff], al
push dword [edi + 0x4700]
lea eax, [edi + 0x4718]
push eax
push dword [esp + 0x110]
call fcn.10053dcc
add esp, 0xc
xorps xmm1, xmm1
test byte [edi + 0x46f8], 0x80
je 0x1003dd94
movss xmm0, dword [edi + 0x4728]
comiss xmm0, xmm1
jb 0x1003dd6a
mov eax, dword [esp + 0x108]
movss dword [eax + 0x84], xmm0
mov eax, dword [esp + 0x108]
and dword [eax + 0x8c], 0
movss xmm0, dword [edi + 0x472c]
comiss xmm0, xmm1
jb 0x1003dd94
mov eax, dword [esp + 0x108]
movss dword [eax + 0x88], xmm0
mov eax, dword [esp + 0x108]
and dword [eax + 0x90], 0
test byte [edi + 0x46f8], 4
je 0x1003ddb8
mov eax, dword [esp + 0x108]
mov ecx, dword [edi + 0x4720]
mov edx, dword [edi + 0x4724]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
jmp 0x1003dde0
mov eax, dword [esp + 0xcc]
cmp eax, dword [esp + 0xd8]
je 0x1003dde0
mov eax, dword [esp + 0x108]
movss dword [eax + 0x38], xmm1
mov eax, dword [esp + 0x108]
movss dword [eax + 0x3c], xmm1
test byte [edi + 0x46f8], 8
je 0x1003de06
push dword [edi + 0x4704]
movzx eax, byte [edi + 0x4730]
push eax
push dword [esp + 0x110]
call fcn.10053a63
add esp, 0xc
test byte [edi + 0x46f8], 0x20
je 0x1003de1c
push dword [esp + 0x108]
call fcn.100467e6
pop ecx
mov eax, dword [esp + 0x108]
cmp byte [eax + 0xac], 0
je 0x1003de40
push 0
push 8
push eax
call fcn.10053ae4
mov eax, dword [esp + 0x114]
add esp, 0xc
mov ecx, dword [esp + 0xcc]
cmp ecx, dword [esp + 0xd8]
je 0x1003fa35
mov cl, byte [eax + 0xc9]
xor edx, edx
inc edx
mov byte [esp + 0xef], cl
mov byte [eax + 0xa6], dl
and esi, 0x3000000
mov eax, dword [esp + 0x108]
cmp dword [esp + 0x80], 0
push edx
setne cl
mov dword [esp + 0xd8], esi
mov byte [eax + 0xb0], cl
mov eax, dword [esp + 0x10c]
mov dword [eax + 0x20c], 0xff7fffff
mov dword [eax + 0x210], 0xff7fffff
mov dword [eax + 0x214], 0x7f7fffff
mov dword [eax + 0x218], 0x7f7fffff
mov ecx, dword [esp + 0x10c]
lea ecx, [ecx + 0xe0]
call fcn.1005ac9e
mov ecx, dword [esp + 0x108]
mov ecx, dword [ecx + 0x260]
call fcn.10068645
mov eax, dword [esp + 0x108]
or dword [eax + 0x190], 0xffffffff
mov ecx, dword [esp + 0x108]
cmp byte [ecx + 0x344], 0
je 0x1003df0f
push ecx
call fcn.10046943
pop ecx
mov ecx, dword [esp + 0x108]
cmp dword [edi + 0x4928], 0
mov esi, dword [esp + 0xe8]
je 0x1003df8b
test dword [ecx + 8], 0x80000
jne 0x1003df8b
test esi, esi
je 0x1003df8b
push dword [ecx]
push dword [esp + 0xb8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
mov ecx, dword [esp + 0x108]
test eax, eax
je 0x1003df8b
mov eax, dword [ecx + 0x68]
push dword [esp + 0xb4]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xfc]
push eax
push dword [ecx]
call fcn.100498f3
mov ecx, dword [esp + 0x114]
add esp, 0xc
mov dword [ecx], eax
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0xf8]
mov dword [ecx + 0x68], eax
mov ecx, dword [esp + 0x108]
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x28]
push eax
push ecx
call fcn.100416a5
mov ecx, dword [esp + 0x114]
add esp, 0xc
mov al, byte [ecx + 0xc8]
test al, al
jle 0x1003dfb5
dec al
mov byte [ecx + 0xc8], al
mov ecx, dword [esp + 0x108]
mov al, byte [ecx + 0xc9]
test al, al
jle 0x1003dfce
dec al
mov byte [ecx + 0xc9], al
mov ecx, dword [esp + 0x108]
mov al, byte [ecx + 0xca]
test al, al
jle 0x1003dfe7
dec al
mov byte [ecx + 0xca], al
mov dl, byte [esp + 0x106]
mov dh, byte [esp + 0xff]
test esi, esi
jne 0x1003e011
test dl, dl
je 0x1003e001
test dh, dh
jne 0x1003e011
mov eax, dword [esp + 0x108]
xor ecx, ecx
inc ecx
mov byte [eax + 0xc9], cl
cmp byte [esp + 0xb8], 0
je 0x1003e0a3
mov ecx, dword [esp + 0x100]
test ecx, 0x6000000
je 0x1003e0a3
mov eax, dword [esp + 0x108]
mov byte [eax + 0xc9], 1
test cl, 0x40
je 0x1003e0a3
test dl, dl
jne 0x1003e05b
mov eax, dword [esp + 0x108]
and dword [eax + 0x20], 0
mov eax, dword [esp + 0x108]
and dword [eax + 0x18], 0
test dh, dh
jne 0x1003e075
mov eax, dword [esp + 0x108]
and dword [eax + 0x24], 0
mov eax, dword [esp + 0x108]
and dword [eax + 0x1c], 0
mov eax, dword [esp + 0x108]
xorps xmm0, xmm0
movss dword [eax + 0x30], xmm0
mov eax, dword [esp + 0x108]
movss dword [eax + 0x34], xmm0
mov edx, dword [esp + 0x108]
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
call fcn.1004761f
push eax
push dword [esp + 0x10c]
mov dword [esp + 0xf8], eax
call fcn.10053eb8
push dword [esp + 0x110]
call fcn.10052c9e
mov eax, dword [esp + 0x10c]
add esp, 0xc
mov esi, eax
and esi, 0x1000000
je 0x1003e0ee
mov eax, dword [esp + 0x108]
mov ecx, dword [edi + 0x37c8]
mov dword [eax + 0x4c], ecx
jmp 0x1003e11a
test eax, 0x6000000
je 0x1003e106
test eax, 0x8000000
jne 0x1003e106
movss xmm0, dword [edi + 0x37d0]
jmp 0x1003e10e
movss xmm0, dword [edi + 0x37ac]
mov eax, dword [esp + 0x108]
movss dword [eax + 0x4c], xmm0
mov eax, dword [esp + 0x108]
mov edx, dword [edi + 0x37a4]
mov ecx, dword [edi + 0x37a0]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov edx, dword [esp + 0x100]
test esi, esi
je 0x1003e184
test edx, 0x4010000
jne 0x1003e184
mov ecx, dword [esp + 0x108]
xorps xmm1, xmm1
movss xmm0, dword [ecx + 0x4c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003e18b
test edx, 0x400
je 0x1003e170
movss xmm0, dword [edi + 0x37a4]
jmp 0x1003e173
xorps xmm0, xmm0
movss dword [ecx + 0x40], xmm1
mov eax, dword [esp + 0x108]
movss dword [eax + 0x44], xmm0
mov ecx, dword [esp + 0x108]
movss xmm0, dword [ecx + 0x40]
maxss xmm0, dword [edi + 0x37e4]
maxss xmm0, dword [edi + 0x4750]
movss dword [ecx + 0x150], xmm0
mov eax, dword [esp + 0x108]
mov ecx, dword [edi + 0x4754]
mov dword [eax + 0x154], ecx
mov al, byte [esp + 0x107]
mov byte [esp + 0xe4], al
test dl, 0x21
jne 0x1003e2d2
mov esi, dword [esp + 0x108]
mov ecx, esi
movss xmm0, dword [esi + 0x20]
addss xmm0, dword [esi + 0x10]
movss dword [esp + 0xf8], xmm0
call fcn.100568f4
fadd dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0xbc], eax
movss xmm0, dword [esp + 0xf8]
fstp dword [esp + 0xe0]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0xe0]
mov dword [esp + 0xc0], ecx
movss dword [esp + 0xc8], xmm0
cmp dword [edi + 0x3e4c], esi
jne 0x1003e28b
xor eax, eax
cmp dword [edi + 0x3e80], eax
jne 0x1003e28b
cmp dword [edi + 0x3e84], eax
jne 0x1003e28b
inc eax
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.1004a9d1
xor edx, edx
add esp, 0xc
inc edx
test al, al
je 0x1003e28e
push 2
pop eax
cmp word [edi + 0x3702], ax
jne 0x1003e28e
mov byte [esi + 0xaa], dl
mov esi, dword [esp + 0x108]
jmp 0x1003e28e
xor edx, edx
inc edx
cmp byte [esi + 0xaa], 0
je 0x1003e2e7
cmp byte [esi + 0xa9], 0
mov ecx, dword [esp + 0xe4]
sete al
movzx ecx, cl
mov byte [esi + 0xa9], al
mov eax, dword [esp + 0x108]
push eax
cmp byte [eax + 0xa9], 0
cmove ecx, edx
mov dword [esp + 0xe8], ecx
call fcn.1004bb9f
pop ecx
jmp 0x1003e2e0
mov eax, dword [esp + 0x108]
mov byte [eax + 0xa9], 0
mov esi, dword [esp + 0x108]
mov byte [esi + 0xaa], 0
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x9c]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [eax + 0xa0]
and dword [eax + 0x50], 0
mov eax, dword [esp + 0x108]
movss dword [esp + 0xa4], xmm0
and dword [eax + 0x58], 0
mov esi, dword [esp + 0x108]
mov ecx, esi
call fcn.1004bc45
fstp dword [esp + 0xf8]
mov ecx, esi
call fcn.100568f4
fadd dword [esp + 0xf8]
xorps xmm0, xmm0
fstp dword [esi + 0x54]
mov eax, dword [esp + 0x108]
and dword [eax + 0x5c], 0
mov eax, dword [esp + 0x108]
movss dword [eax + 0x9c], xmm0
mov eax, dword [esp + 0x108]
movss dword [eax + 0xa0], xmm0
mov ecx, dword [esp + 0x108]
lea eax, [ecx + 0x30]
push eax
push ecx
lea eax, [esp + 0xe4]
push eax
call fcn.100414a6
mov ecx, dword [esp + 0x114]
add esp, 0xc
test byte [esp + 0x100], 0x40
je 0x1003e3ff
cmp byte [ecx + 0xa9], 0
jne 0x1003e3ff
xor eax, eax
inc eax
cmp byte [esp + 0x106], 0
jne 0x1003e3d7
movss xmm0, dword [esp + 0xdc]
movss dword [ecx + 0x20], xmm0
mov ecx, dword [esp + 0x108]
mov byte [esp + 0x107], al
cmp byte [esp + 0xff], 0
jne 0x1003e4c0
movss xmm0, dword [esp + 0xe0]
movss dword [ecx + 0x24], xmm0
mov byte [esp + 0xe4], al
jmp 0x1003e4b9
mov al, byte [ecx + 0xc0]
test al, al
jg 0x1003e416
cmp byte [ecx + 0xc1], 0
jle 0x1003e4c0
cmp byte [esp + 0x106], 0
jne 0x1003e45e
test al, al
jle 0x1003e45e
cmp byte [ecx + 0xc3], 0
je 0x1003e43d
movss xmm0, dword [ecx + 0x20]
maxss xmm0, dword [esp + 0xdc]
jmp 0x1003e446
movss xmm0, dword [esp + 0xdc]
xor eax, eax
movss dword [ecx + 0x20], xmm0
mov ecx, dword [esp + 0x108]
inc eax
mov byte [esp + 0x107], al
jmp 0x1003e461
xor eax, eax
inc eax
cmp byte [esp + 0xff], 0
jne 0x1003e4a9
cmp byte [ecx + 0xc1], 0
jle 0x1003e4a9
cmp byte [ecx + 0xc3], 0
je 0x1003e48d
movss xmm0, dword [ecx + 0x24]
maxss xmm0, dword [esp + 0xe0]
jmp 0x1003e496
movss xmm0, dword [esp + 0xe0]
movss dword [ecx + 0x24], xmm0
mov ecx, dword [esp + 0x108]
mov byte [esp + 0xe4], al
cmp byte [ecx + 0xa9], 0
jne 0x1003e4c0
push ecx
call fcn.1004bb9f
pop ecx
mov ecx, dword [esp + 0x108]
lea eax, [ecx + 0x20]
push eax
push ecx
lea eax, [esp + 0xcc]
push eax
call fcn.1004181a
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x108]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov esi, dword [esp + 0x108]
cmp byte [esi + 0xa9], 0
je 0x1003e54e
test dword [esp + 0x100], 0x1000000
jne 0x1003e54e
movss xmm0, dword [esi + 0x20]
addss xmm0, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov ecx, esi
subss xmm0, dword [esp + 0x84]
movss dword [esp + 0xc4], xmm0
call fcn.100568f4
fadd dword [esi + 0x14]
fsub dword [esp + 0x88]
fstp dword [esp + 0xc8]
jmp 0x1003e562
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
cmp byte [esp + 0xb8], 0
lea ecx, [esp + 0xc4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x100]
je 0x1003e5d6
mov eax, dword [esp + 0x108]
or dword [eax + 0xc4], 0xffffffff
test ecx, 0x4000000
je 0x1003e5d6
test ecx, 0x8000000
jne 0x1003e5d6
cmp byte [esp + 0xfe], 0
jne 0x1003e5d6
imul ecx, dword [edi + 0x47ac], 0x28
mov eax, dword [edi + 0x47b4]
mov edx, dword [ecx + eax - 0x10]
mov ecx, dword [ecx + eax - 0xc]
mov eax, dword [esp + 0x108]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x100]
test ecx, 0x1000000
je 0x1003e652
mov esi, dword [esp + 0xd0]
mov eax, dword [esp + 0x108]
lea ecx, [esi + 0x17c]
mov dx, word [ecx]
mov word [eax + 0xb6], dx
lea eax, [esp + 0x108]
push eax
call fcn.1005a18b
mov ecx, dword [esp + 0x100]
mov al, byte [esp + 0xfe]
mov edx, dword [esp + 0xd4]
test ecx, 0x4000000
jne 0x1003e660
test al, al
jne 0x1003e660
cmp edx, 0x3000000
je 0x1003e660
mov eax, dword [esp + 0x108]
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xf0]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x100]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0xd4]
mov al, byte [esp + 0xfe]
mov esi, dword [esp + 0x108]
movss xmm1, dword [esi + 0xd0]
ucomiss xmm1, dword [0x100cb808]
lahf
test ah, 0x44
jnp 0x1003e6d6
cmp byte [esi + 0xc9], 0
jne 0x1003e6d6
movss xmm0, dword [esi + 0xd8]
lea eax, [esp + 0xc4]
mulss xmm0, dword [esi + 0x18]
push 0
push eax
push esi
subss xmm1, xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0xd0], xmm1
movss xmm1, dword [esi + 0xdc]
mulss xmm1, dword [esi + 0x1c]
subss xmm0, xmm1
movss dword [esp + 0xd4], xmm0
call fcn.10053c45
add esp, 0xc
jmp 0x1003e729
test ecx, 0x10000000
jne 0x1003e707
test ecx, 0x4000000
je 0x1003e6f3
test al, al
jne 0x1003e6f3
cmp byte [esp + 0xef], al
jg 0x1003e707
test ecx, 0x2000000
je 0x1003e737
test al, al
jne 0x1003e737
cmp edx, 0x3000000
je 0x1003e737
lea eax, [esp + 0xc4]
push esi
push eax
call fcn.10045d46
pop ecx
pop ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x108]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x100]
mov esi, dword [esp + 0x108]
cmp byte [esp + 0xfe], 0
mov eax, dword [esp + 0xf0]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
movss xmm2, dword [eax + 0x14]
movaps xmm4, xmm1
movss xmm3, dword [eax + 0x18]
movaps xmm7, xmm2
addss xmm7, dword [eax + 0x1c]
addss xmm5, dword [eax + 0xc]
addss xmm4, dword [eax + 0x10]
movss dword [esp + 0x84], xmm0
movaps xmm6, xmm3
movss xmm0, dword [edi + 0x3840]
maxss xmm0, dword [edi + 0x3848]
addss xmm6, dword [eax + 0x20]
movss dword [esp + 0x88], xmm1
movss xmm1, dword [edi + 0x3844]
maxss xmm1, dword [edi + 0x384c]
subss xmm7, xmm0
movss dword [esp + 0x8c], xmm5
addss xmm2, xmm0
movss dword [esp + 0x90], xmm4
subss xmm6, xmm1
addss xmm3, xmm1
movss dword [esp + 0xac], xmm7
movss dword [esp + 0xf8], xmm2
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x64], xmm7
movss dword [esp + 0xb0], xmm6
movss dword [esp + 0xf0], xmm3
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x68], xmm6
jne 0x1003e8cb
test ecx, 0x1000000
jne 0x1003e8cb
subss xmm5, dword [eax + 4]
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x1003e8cb
subss xmm4, dword [eax + 8]
comiss xmm4, xmm0
jbe 0x1003e8cb
mov eax, dword [0x103b6348]
movss xmm0, dword [esi + 0x1c]
cmp byte [eax + 0x67], 0
je 0x1003e895
xor eax, eax
inc eax
test byte [esi + 8], al
jne 0x1003e895
mov ecx, esi
call fcn.100568f4
movss xmm2, dword [esp + 0xf8]
movss xmm3, dword [esp + 0xf0]
movss xmm6, dword [esp + 0xb0]
movss xmm7, dword [esp + 0xac]
mov ecx, dword [esp + 0x100]
fstp dword [esp + 0xc8]
movss xmm0, dword [esp + 0xc8]
subss xmm2, dword [esi + 0x18]
subss xmm3, xmm0
comiss xmm3, dword [esi + 0x14]
ja 0x1003e8ac
movaps xmm3, xmm6
minss xmm3, dword [esi + 0x14]
comiss xmm2, dword [esi + 0x10]
ja 0x1003e8ba
movaps xmm2, xmm7
minss xmm2, dword [esi + 0x10]
movss dword [esi + 0x10], xmm2
movss dword [esi + 0x14], xmm3
mov esi, dword [esp + 0x108]
cvttss2si eax, dword [esi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [esi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [esi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x14], xmm0
test ecx, 0x1000000
je 0x1003e8ff
movss xmm0, dword [edi + 0x37c4]
jmp 0x1003e91f
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1003e917
movss xmm0, dword [edi + 0x37cc]
jmp 0x1003e91f
movss xmm0, dword [edi + 0x37a8]
mov eax, dword [esp + 0x108]
movss dword [eax + 0x48], xmm0
xor al, al
mov dword [esp + 0xf0], eax
cmp byte [esp + 0xb8], al
je 0x1003e9ab
test ecx, 0x1000
jne 0x1003e9ab
test ecx, 0x4000000
je 0x1003e959
xor eax, eax
inc eax
mov byte [esp + 0xf0], al
jmp 0x1003e96f
test ecx, 0x3000000
movzx eax, al
push 1
pop ecx
cmove eax, ecx
mov dword [esp + 0xf0], eax
call fcn.10047fe1
test eax, eax
je 0x1003e9ab
mov esi, dword [esp + 0x108]
push eax
push esi
call fcn.1004af45
pop ecx
pop ecx
test al, al
jne 0x1003e9b2
mov byte [esp + 0xf0], al
cmp esi, dword [esi + 0x2fc]
jne 0x1003e9b2
push esi
call fcn.10046226
push eax
push esi
call fcn.10040b97
add esp, 0xc
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0xf4]
lea edi, [esp + 0x10c]
movss xmm0, dword [esi + 0x48]
xor eax, eax
addss xmm0, dword [0x100c7298]
or dword [esp + 0xf8], 0xffffffff
xor edx, edx
movss xmm2, dword [ecx + 0x3bd0]
cmp byte [ecx + 0x66], dl
movaps xmm1, xmm2
mulss xmm2, dword [0x100cb770]
setne dl
stosd dword es:[edi], eax
mulss xmm1, dword [0x100cb798]
inc edx
cmp byte [esi + 0xa9], 0
addss xmm0, xmm2
mov dword [esp + 0xc8], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
maxss xmm1, xmm0
stosd dword es:[edi], eax
cvttss2si eax, xmm1
mov dword [esp + 0x6c], eax
jne 0x1003ea62
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x110]
push eax
push edx
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xec]
push eax
push esi
call fcn.100583ab
mov esi, dword [esp + 0x120]
add esp, 0x18
test al, al
je 0x1003ea62
xor eax, eax
inc eax
mov byte [esp + 0xe4], al
mov byte [esp + 0x107], al
mov al, byte [esp + 0xf8]
mov byte [esi + 0xb1], al
mov edx, dword [esp + 0x108]
mov dword [esp + 0xf8], edx
cmp byte [edx + 0xa9], 0
jne 0x1003ecad
cmp dword [esp + 0xe8], 0
lea eax, [esp + 0xdc]
movss xmm0, dword [edx + 0x5c]
movss xmm2, dword [edx + 0x1d4]
movss xmm3, dword [edx + 0x1d8]
addss xmm0, dword [edx + 0x54]
subss xmm2, dword [edx + 0x1cc]
subss xmm3, dword [edx + 0x1d0]
movss xmm4, dword [edx + 0x24]
movss xmm5, dword [edx + 0x20]
subss xmm4, xmm0
addss xmm2, dword [esp + 0xa8]
addss xmm3, dword [esp + 0xa4]
jne 0x1003eaf7
and dword [esp + 0xdc], 0
and dword [esp + 0xe0], 0
jmp 0x1003eb25
movss xmm0, dword [edx + 0x40]
movss xmm1, dword [edx + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edx + 0x28]
addss xmm1, dword [edx + 0x2c]
movss dword [esp + 0xdc], xmm0
movss dword [esp + 0xe0], xmm1
cmp byte [esp + 0x107], 0
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
jne 0x1003eb3b
movaps xmm5, xmm2
cmp byte [esp + 0xe4], 0
jne 0x1003eb48
movaps xmm4, xmm3
mov eax, dword [esp + 0x100]
test eax, 0x4000
jne 0x1003eb6a
comiss xmm1, xmm4
jbe 0x1003eb5f
test al, 8
je 0x1003eb6a
xor edx, edx
mov byte [esp + 0x107], dl
jmp 0x1003eb76
xor edx, edx
inc edx
mov byte [esp + 0x107], dl
xor edx, edx
mov esi, dword [esp + 0xf8]
mov cl, byte [esp + 0x107]
mov byte [esi + 0xa5], cl
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0xf4]
test eax, 0x8000
jne 0x1003ebda
cmp byte [esi + 0xa5], 0
je 0x1003ebb2
movss xmm0, dword [ecx + 0x380c]
jmp 0x1003ebb5
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1003ebd1
and eax, 0x808
cmp eax, 0x800
mov eax, dword [esp + 0x100]
je 0x1003ebda
mov byte [esp + 0x107], dl
jmp 0x1003ebe4
xor ecx, ecx
inc ecx
mov byte [esp + 0x107], cl
mov cl, byte [esp + 0x107]
mov byte [esi + 0xa4], cl
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0xf4]
cmp byte [esi + 0xa4], 0
je 0x1003ec3f
cmp byte [esi + 0xa5], 0
jne 0x1003ec2c
comiss xmm1, xmm4
jbe 0x1003ec1f
test al, 8
jne 0x1003ec1f
xor eax, eax
inc eax
mov dl, al
mov byte [esi + 0xa5], dl
mov esi, dword [esp + 0x108]
cmp byte [esi + 0xa4], 0
je 0x1003ec3f
movss xmm1, dword [ecx + 0x380c]
jmp 0x1003ec42
xorps xmm1, xmm1
cmp byte [esi + 0xa5], 0
xorps xmm0, xmm0
je 0x1003ec56
movss xmm0, dword [ecx + 0x380c]
movss dword [esi + 0x9c], xmm0
mov eax, dword [esp + 0x108]
movss dword [eax + 0xa0], xmm1
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x9c]
addss xmm0, dword [eax + 0x58]
movss dword [eax + 0x58], xmm0
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0xa0]
addss xmm0, dword [eax + 0x5c]
movss dword [eax + 0x5c], xmm0
mov edx, dword [esp + 0x108]
mov dword [esp + 0xf8], edx
mov eax, dword [esp + 0x100]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1003ecdc
cmp dword [esp + 0xd4], 0x3000000
je 0x1003ecdc
mov esi, dword [esp + 0xd0]
add esi, 0x20c
jmp 0x1003ece3
lea esi, [esp + 0x84]
lea edi, [esp + 0x94]
mov ecx, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [edx + 0x14]
movss xmm1, dword [edx + 0x10]
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [edx + 0x18]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [edx + 0x1c]
movss dword [esp + 0xe4], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x20]
movss dword [esp + 0xac], xmm1
movss dword [esp + 0xa8], xmm0
call fcn.100568f4
mov esi, dword [esp + 0xf8]
fadd dword [esp + 0xa4]
mov edx, dword [esp + 0x100]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x78], xmm0
movss xmm1, dword [esp + 0xac]
movss xmm2, dword [esp + 0xb0]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
xor ecx, ecx
fstp dword [esp + 0xe0]
movss xmm0, dword [esp + 0xe0]
inc ecx
movss dword [esp + 0x7c], xmm0
movss dword [esi + 0x1bc], xmm1
movss dword [esi + 0x1c0], xmm2
movss xmm0, dword [esp + 0xe8]
addss xmm0, xmm1
movss dword [esi + 0x1c4], xmm0
movss xmm0, dword [esp + 0xe4]
addss xmm0, xmm2
movss dword [esi + 0x1c8], xmm0
mov eax, dword [esp + 0x108]
mov esi, dword [esp + 0xf4]
movss xmm1, dword [eax + 0x1bc]
movss xmm0, dword [eax + 0x1c0]
maxss xmm0, dword [esp + 0x98]
maxss xmm1, dword [esp + 0x94]
movss dword [eax + 0x1c0], xmm0
movss dword [eax + 0x1bc], xmm1
movss xmm0, dword [eax + 0x1c8]
minss xmm0, dword [esp + 0xa0]
movss xmm1, dword [eax + 0x1c4]
minss xmm1, dword [esp + 0x9c]
movss dword [eax + 0x1c8], xmm0
movss dword [eax + 0x1c4], xmm1
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x50]
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x1cc], xmm0
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x54]
addss xmm0, dword [eax + 0x14]
movss dword [eax + 0x1d0], xmm0
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x58]
movss dword [eax + 0x1d4], xmm0
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x5c]
movss dword [eax + 0x1d8], xmm0
mov eax, edx
and eax, 0x401
cmp eax, ecx
mov ecx, dword [esp + 0x108]
jne 0x1003eed7
movss xmm3, dword [ecx + 0x4c]
jmp 0x1003eedf
movss xmm3, dword [esi + 0x37e0]
movss xmm0, dword [ecx + 0x40]
movss xmm2, dword [0x100c7e9c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0x1cc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [ecx + 0x4c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1dc], xmm0
mov ecx, dword [esp + 0x108]
movss xmm0, dword [ecx + 0x1d0]
addss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1e0], xmm0
mov ecx, dword [esp + 0x108]
movss xmm0, dword [ecx + 0x40]
movss xmm1, dword [ecx + 0x1d4]
mulss xmm0, xmm2
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [ecx + 0x4c]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1e4], xmm0
mov ecx, dword [esp + 0x108]
movss xmm0, dword [ecx + 0x1d8]
addss xmm0, xmm2
subss xmm0, dword [ecx + 0x4c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1e8], xmm0
mov eax, dword [esp + 0x108]
movss xmm1, dword [esp + 0x98]
movss xmm0, dword [eax + 0x1e0]
comiss xmm1, xmm0
ja 0x1003efe5
movss xmm1, dword [esp + 0xa0]
minss xmm1, xmm0
movss xmm2, dword [eax + 0x1dc]
movss xmm0, dword [esp + 0x94]
comiss xmm0, xmm2
ja 0x1003f008
movss xmm0, dword [esp + 0x9c]
minss xmm0, xmm2
movss dword [eax + 0x1dc], xmm0
movss dword [eax + 0x1e0], xmm1
movss xmm0, dword [eax + 0x1e8]
movss xmm1, dword [esp + 0x98]
comiss xmm1, xmm0
ja 0x1003f03b
movss xmm1, dword [esp + 0xa0]
minss xmm1, xmm0
movss xmm2, dword [eax + 0x1e4]
movss xmm0, dword [esp + 0x94]
comiss xmm0, xmm2
ja 0x1003f05e
movss xmm0, dword [esp + 0x9c]
minss xmm0, xmm2
movss dword [eax + 0x1e4], xmm0
xorps xmm2, xmm2
movss dword [eax + 0x1e8], xmm1
mov ecx, dword [esp + 0x108]
movss xmm0, dword [ecx + 0x18]
comiss xmm0, xmm2
jbe 0x1003f094
test edx, 0x2000040
jne 0x1003f094
mulss xmm0, dword [0x100cb778]
jmp 0x1003f0a4
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x100cb7c8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x23c], xmm0
mov eax, dword [esp + 0x108]
movss xmm1, dword [eax + 0x40]
movss xmm0, dword [eax + 0x1d4]
addss xmm1, xmm1
subss xmm0, dword [eax + 0x1cc]
addss xmm1, dword [eax + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [eax + 0x7c], xmm0
mov eax, dword [esp + 0x108]
movss xmm1, dword [eax + 0x44]
movss xmm0, dword [eax + 0x1d8]
addss xmm1, xmm1
subss xmm0, dword [eax + 0x1d0]
addss xmm1, dword [eax + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [eax + 0x80], xmm0
lea eax, [esp + 0xdc]
push dword [esp + 0x108]
push eax
call fcn.10041095
movss xmm0, dword [0x100cb808]
pop ecx
pop ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x108]
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], edx
mov eax, dword [esp + 0x108]
movss dword [eax + 0x84], xmm0
mov eax, dword [esp + 0x108]
movss dword [eax + 0x88], xmm0
mov eax, dword [esp + 0x108]
and dword [eax + 0x64], 0
mov eax, dword [esp + 0x108]
and dword [eax + 0x60], 0
mov eax, dword [esi + 0x3bcc]
mov ecx, dword [esp + 0x108]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx + 0x260]
push dword [eax + 4]
call fcn.10064650
push 0
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.1004f8f5
mov eax, dword [esp + 0x10c]
xor edx, edx
add esp, 0xc
mov byte [esp + 0x106], dl
test eax, 0x1000000
je 0x1003f2c0
test eax, 0x4000000
jne 0x1003f2c0
cmp dword [esp + 0xd4], 0x3000000
je 0x1003f2c0
mov edi, dword [esp + 0xd0]
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xe8], ecx
cmp dword [edi + 0x17c], 2
jl 0x1003f27c
mov esi, dword [edi + 0x17c]
mov eax, dword [edi + 0x184]
mov eax, dword [eax + esi*4 - 8]
mov esi, dword [esp + 0xf4]
test eax, eax
je 0x1003f27c
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x10]
movss xmm3, dword [ecx + 0x10]
movss xmm1, dword [ecx + 0x14]
addss xmm2, dword [eax + 0x18]
comiss xmm0, dword [ecx + 0x14]
addss xmm3, dword [ecx + 0x18]
addss xmm1, dword [ecx + 0x1c]
jbe 0x1003f27c
comiss xmm1, dword [eax + 0x14]
jbe 0x1003f27c
comiss xmm2, dword [ecx + 0x10]
jbe 0x1003f27c
comiss xmm3, dword [eax + 0x10]
jbe 0x1003f27c
xor eax, eax
inc eax
mov byte [esp + 0x107], al
jmp 0x1003f283
mov byte [esp + 0x107], dl
mov eax, dword [ecx + 0x260]
imul ecx, dword [eax], 0x28
mov eax, dword [eax + 8]
cmp dword [eax + ecx - 0xc], edx
jne 0x1003f2c9
mov eax, dword [edi + 0x260]
cmp dword [eax + 0x18], edx
jle 0x1003f2c9
cmp byte [esp + 0x107], dl
jne 0x1003f2c9
xor ecx, ecx
inc ecx
mov byte [esp + 0x106], cl
mov ecx, dword [esp + 0xe8]
mov dword [ecx + 0x260], eax
mov ecx, dword [esp + 0x108]
jmp 0x1003f2d0
mov ecx, dword [esp + 0xe8]
mov edi, dword [esi + 0x4920]
test edi, edi
jne 0x1003f2e0
mov edi, dword [esi + 0x47c8]
cmp byte [esp + 0xf0], dl
jne 0x1003f304
test edi, edi
je 0x1003f2fb
mov eax, dword [ecx + 0x304]
cmp eax, dword [edi + 0x304]
je 0x1003f304
mov byte [esp + 0xf8], dl
jmp 0x1003f30e
xor eax, eax
inc eax
mov byte [esp + 0xf8], al
movd xmm0, dword [esp + 0x6c]
lea eax, [esp + 0x10c]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [esp + 0xd0]
xor eax, eax
inc eax
push eax
push dword [esp + 0x108]
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.10051386
add esp, 0x1c
cmp byte [esp + 0x106], 0
je 0x1003f365
mov ecx, dword [esp + 0x108]
lea eax, [ecx + 0x264]
mov dword [ecx + 0x260], eax
mov ecx, dword [esp + 0x100]
xor edx, edx
mov eax, ecx
inc edx
shr eax, 3
xorps xmm4, xmm4
not al
and al, dl
mov edx, dword [esp + 0x108]
mov dword [esp + 0xc8], eax
movss xmm3, dword [edx + 0x38]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x1003f3d3
movss xmm0, dword [edx + 0x40]
mov eax, ecx
movss xmm1, dword [edx + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edx + 0x58]
addss xmm0, dword [edx + 0x50]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x1003f3cc
movss xmm3, dword [edx + 0x28]
jmp 0x1003f3cf
xorps xmm3, xmm3
maxss xmm3, xmm1
movss xmm2, dword [edx + 0x3c]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1003f419
cmp byte [esp + 0xc8], 0
movss xmm0, dword [edx + 0x44]
movss xmm1, dword [edx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edx + 0x5c]
addss xmm0, dword [edx + 0x54]
subss xmm1, xmm0
je 0x1003f412
movss xmm2, dword [edx + 0x2c]
jmp 0x1003f415
xorps xmm2, xmm2
maxss xmm2, xmm1
movss xmm1, dword [edx + 0x40]
maxss xmm1, dword [edx + 0x4c]
movss xmm0, dword [edx + 0x1cc]
subss xmm0, dword [edx + 0x74]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x1ec], xmm0
mov ecx, dword [esp + 0x108]
movss xmm1, dword [ecx + 0x44]
movss xmm0, dword [ecx + 0x1d0]
subss xmm0, dword [ecx + 0x78]
maxss xmm1, dword [ecx + 0x4c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1f0], xmm0
mov eax, dword [esp + 0x108]
addss xmm3, dword [eax + 0x1ec]
movss dword [eax + 0x1f4], xmm3
mov eax, dword [esp + 0x108]
addss xmm2, dword [eax + 0x1f0]
movss dword [eax + 0x1f8], xmm2
mov eax, dword [esp + 0x108]
lea esi, [eax + 0x1ec]
lea edi, [eax + 0x1fc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x74]
addss xmm0, dword [eax + 0x40]
addss xmm0, dword [eax + 0x50]
movss dword [eax + 0x21c], xmm0
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
addss xmm0, dword [eax + 0x44]
addss xmm0, dword [eax + 0x54]
movss dword [eax + 0x220], xmm0
mov ecx, dword [esp + 0x108]
movss xmm1, dword [ecx + 0x38]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1003f53c
movss xmm0, dword [ecx + 0x40]
movss xmm1, dword [ecx + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x58]
addss xmm0, dword [ecx + 0x50]
subss xmm1, xmm0
addss xmm1, dword [ecx + 0x21c]
movss dword [ecx + 0x224], xmm1
mov ecx, dword [esp + 0x108]
movss xmm1, dword [ecx + 0x3c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1003f581
movss xmm0, dword [ecx + 0x44]
movss xmm1, dword [ecx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x5c]
addss xmm0, dword [ecx + 0x54]
subss xmm1, xmm0
addss xmm1, dword [ecx + 0x220]
movss dword [ecx + 0x228], xmm1
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0x50]
addss xmm0, dword [eax + 0x40]
subss xmm0, dword [eax + 0x74]
movss dword [eax + 0x130], xmm0
mov eax, dword [esp + 0x108]
and dword [eax + 0x138], 0
mov eax, dword [esp + 0x108]
and dword [eax + 0x134], 0
mov eax, dword [esp + 0x108]
movss xmm3, dword [eax + 0x40]
movss xmm0, dword [eax + 0x10]
cvtps2pd xmm0, xmm0
movss xmm2, dword [eax + 0x44]
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [eax + 0x74]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [eax + 0x50]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [eax + 0x134]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [eax + 0x14]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
movss xmm0, dword [eax + 0x78]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [eax + 0x54]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [eax + 0xfc], xmm0
mov eax, dword [esp + 0x108]
movss dword [eax + 0x100], xmm1
mov eax, dword [esp + 0x108]
movss xmm0, dword [eax + 0xfc]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [eax + 0x100]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [eax + 0x13c], xmm1
mov eax, dword [esp + 0x108]
cvtpd2ps xmm0, xmm2
movss dword [eax + 0x140], xmm0
mov edx, dword [esp + 0x108]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [edx + 0xec], eax
mov dword [edx + 0xf0], ecx
mov edx, dword [esp + 0x108]
mov eax, dword [edx + 0xec]
mov ecx, dword [edx + 0xf0]
mov dword [edx + 0xf4], eax
mov dword [edx + 0xf8], ecx
mov edx, dword [esp + 0x108]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [edx + 0x104], eax
mov dword [edx + 0x108], ecx
mov edx, dword [esp + 0x108]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [edx + 0x10c], eax
mov dword [edx + 0x110], ecx
mov eax, dword [esp + 0x108]
movss dword [eax + 0x11c], xmm4
mov eax, dword [esp + 0x108]
movss dword [eax + 0x120], xmm4
mov edx, dword [esp + 0x108]
mov eax, dword [edx + 0x11c]
mov ecx, dword [edx + 0x120]
mov dword [edx + 0x114], eax
mov dword [edx + 0x118], ecx
xor edx, edx
mov eax, dword [esp + 0x108]
push dword [esp + 0xb8]
mov edi, dword [esp + 0xf8]
and dword [eax + 0x128], 0
mov eax, dword [esp + 0x10c]
and dword [eax + 0x124], 0
mov eax, dword [esp + 0x10c]
mov byte [eax + 0x12d], dl
mov eax, dword [esp + 0x10c]
mov byte [eax + 0x12c], dl
mov eax, dword [esp + 0x10c]
mov dword [eax + 0x144], edx
mov ecx, dword [esp + 0x10c]
mov ax, word [ecx + 0x14a]
mov word [ecx + 0x148], ax
xor ecx, ecx
mov eax, dword [esp + 0x10c]
mov word [eax + 0x14a], cx
mov eax, dword [esp + 0x10c]
mov byte [eax + 0x14c], dl
mov ecx, dword [esp + 0x10c]
push ecx
movss xmm0, dword [ecx + 0x80]
comiss xmm0, xmm4
seta al
mov byte [ecx + 0x14d], al
mov eax, dword [esp + 0x110]
mov byte [eax + 0x14e], dl
mov ecx, dword [esp + 0x110]
movss xmm0, dword [edi + 0x37e4]
movss dword [esp], xmm0
lea ecx, [ecx + 0x158]
call fcn.100971bd
mov eax, dword [esp + 0x108]
xor ecx, ecx
push ecx
mov dword [eax + 0x174], ecx
mov eax, dword [esp + 0x10c]
mov dword [eax + 0x178], ecx
mov ecx, dword [esp + 0x10c]
lea ecx, [ecx + 0x17c]
call fcn.1005ad04
mov ecx, dword [esp + 0x108]
xor edx, edx
mov esi, dword [esp + 0xd0]
lea eax, [ecx + 0x240]
mov dword [ecx + 0x188], eax
xor ecx, ecx
mov eax, dword [esp + 0x108]
inc ecx
mov dword [eax + 0x18c], edx
mov eax, dword [esp + 0x108]
mov dword [eax + 0x194], ecx
test esi, esi
je 0x1003f894
mov ecx, dword [esi + 0x194]
mov eax, dword [esp + 0x108]
push edx
mov dword [eax + 0x198], ecx
mov ecx, dword [esp + 0x10c]
mov eax, dword [ecx + 0x23c]
mov dword [ecx + 0x19c], eax
mov eax, dword [esp + 0x10c]
mov dword [eax + 0x1a0], 0xbf800000
mov ecx, dword [esp + 0x10c]
lea ecx, [ecx + 0x1a4]
call fcn.1005acc0
mov ecx, dword [esp + 0x108]
push 0
lea ecx, [ecx + 0x1b0]
call fcn.1005acc0
mov eax, dword [esp + 0x108]
mov cl, byte [eax + 0xc0]
test cl, cl
jle 0x1003f90c
dec cl
mov byte [eax + 0xc0], cl
mov eax, dword [esp + 0x108]
mov cl, byte [eax + 0xc1]
test cl, cl
jle 0x1003f925
dec cl
mov byte [eax + 0xc1], cl
mov eax, dword [esp + 0x108]
cmp byte [esp + 0xf0], 0
je 0x1003f94d
push eax
call fcn.100467e6
push 0
push dword [esp + 0x110]
call fcn.1004c0c1
mov eax, dword [esp + 0x114]
add esp, 0xc
xor ecx, ecx
inc ecx
test byte [esp + 0x100], cl
jne 0x1003f9cb
movss xmm0, dword [esp + 0x70]
lea ecx, [esp + 0x84]
addss xmm0, dword [eax + 0x4c]
push dword [esp + 0x80]
push dword [esp + 0xb8]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [eax + 0x4c]
push ecx
push eax
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xa0], xmm0
call fcn.10051ca7
mov eax, dword [esp + 0x118]
add esp, 0x10
xor ecx, ecx
mov word [eax + 0x22e], cx
mov eax, dword [esp + 0x108]
push ecx
mov word [eax + 0x22c], cx
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1004a9d1
lea ecx, [esp + 0x7c]
movzx eax, al
push ecx
push eax
mov eax, dword [esp + 0x11c]
push dword [edi + 0x46a0]
push dword [eax + 0x6c]
call fcn.100532fc
mov eax, dword [edi + 0x46a4]
add esp, 0x1c
mov ecx, dword [esp + 0x108]
test eax, eax
je 0x1003fa4a
cmp dword [ecx + 4], eax
je 0x1003fa2e
cmp dword [ecx + 0x6c], eax
jne 0x1003fa4a
call fcn.10042a46
jmp 0x1003fa43
push eax
call fcn.10052c9e
mov esi, dword [esp + 0xd4]
pop ecx
mov ecx, dword [esp + 0x108]
xor eax, eax
inc eax
push eax
lea eax, [ecx + 0x1e4]
push eax
lea eax, [ecx + 0x1dc]
push eax
call fcn.1004f8f5
mov eax, dword [esp + 0x114]
xor ecx, ecx
add esp, 0xc
mov byte [eax + 0xa8], cl
mov eax, dword [esp + 0x108]
inc word [eax + 0xb2]
mov eax, dword [esp + 0xcc]
mov dword [edi + 0x46f8], ecx
cmp eax, dword [esp + 0xd8]
je 0x1003fc31
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x108]
test eax, 0x1000000
je 0x1003fb77
test al, 0x40
jne 0x1003fb36
cmp byte [edx + 0xc0], cl
jg 0x1003fb36
cmp byte [edx + 0xc1], cl
jg 0x1003fb36
test eax, 0x800000
je 0x1003faf4
cmp byte [edi + 0x4808], cl
je 0x1003faf4
mov eax, dword [edi + 0x47c8]
test eax, eax
je 0x1003faf4
mov eax, dword [eax + 0x308]
cmp eax, dword [edx + 0x308]
jne 0x1003faf4
xor eax, eax
inc eax
jmp 0x1003faf6
mov al, cl
cmp byte [edi + 0x5a84], cl
jne 0x1003fb36
test al, al
jne 0x1003fb36
movss xmm0, dword [edx + 0x1bc]
comiss xmm0, dword [edx + 0x1c4]
jae 0x1003fb24
movss xmm0, dword [edx + 0x1c0]
comiss xmm0, dword [edx + 0x1c8]
jb 0x1003fb36
xor eax, eax
inc eax
mov byte [edx + 0xc8], al
mov edx, dword [esp + 0x108]
jmp 0x1003fb39
xor eax, eax
inc eax
test esi, esi
je 0x1003fb77
cmp byte [esi + 0xa9], cl
jne 0x1003fb4d
cmp byte [esi + 0xc8], cl
jle 0x1003fb5a
mov byte [edx + 0xc8], al
mov edx, dword [esp + 0x108]
cmp byte [esi + 0xa9], cl
jne 0x1003fb6a
cmp byte [esi + 0xc9], cl
jle 0x1003fb77
mov byte [edx + 0xc9], al
mov edx, dword [esp + 0x108]
xor eax, eax
xorps xmm0, xmm0
inc eax
comiss xmm0, dword [edi + 0x3798]
jb 0x1003fb93
mov byte [edx + 0xc8], al
mov edx, dword [esp + 0x108]
cmp byte [edx + 0xc8], cl
jg 0x1003fbb6
cmp byte [edx + 0xc9], cl
jg 0x1003fbb6
mov byte [esp + 0x107], cl
cmp byte [edx + 0xca], cl
jg 0x1003fbbd
mov al, cl
jmp 0x1003fbbd
mov byte [esp + 0x107], al
mov byte [edx + 0xad], al
mov edx, dword [esp + 0x108]
mov al, byte [edx + 0xcb]
test al, al
jle 0x1003fbf1
dec al
mov byte [edx + 0xcb], al
mov eax, dword [esp + 0x108]
or dword [eax + 8], 0xc0200
mov edx, dword [esp + 0x108]
cmp byte [edx + 0xa9], cl
jne 0x1003fc0a
cmp byte [edx + 0xa6], cl
je 0x1003fc0a
cmp byte [esp + 0x107], cl
je 0x1003fc2b
cmp byte [edx + 0xc0], cl
jg 0x1003fc2b
cmp byte [edx + 0xc1], cl
jg 0x1003fc2b
cmp byte [edx + 0xc9], cl
movzx eax, cl
push 1
pop ecx
cmovle eax, ecx
mov cl, al
mov byte [edx + 0xab], cl
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
cmp byte [eax + 0xab], 0
sete al
xor ecx, esp
call fcn.100b7398
add esp, 0x118
ret