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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x10200e40]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x1020f198]
push edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
call fcn.1003a970
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x2c], ecx
mov edi, ecx
sete byte [esp + 0x3c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], edi
test ecx, ecx
jne 0x1003d47c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
call fcn.1003ab20
mov edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], edi
mov ecx, dword [esi + 0x3f88]
cmp ecx, dword [eax + 8]
jne 0x1003d488
int3
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x30200
cmp eax, 0x30200
jne 0x1003d4a1
or edx, 6
mov dword [esp + 0x14], edx
cmp dword [esi + 0x3f64], 0
mov ecx, dword [esi + 0x3f08]
mov eax, dword [edi + 0x244]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
jne 0x1003d4cb
cmp byte [esi + 0x3f15], 0
je 0x1003d4cb
mov al, 1
jmp 0x1003d4cd
xor al, al
mov byte [edi + 0xb6], al
lea eax, [ecx - 1]
cmp dword [edi + 0x244], eax
setl al
mov byte [esp + 0x13], al
test edx, 0x4000000
je 0x1003d529
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x4a14]
mov edx, dword [ecx + 0x4a10]
lea esi, [eax + eax*4]
mov eax, dword [edi + 0xc8]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
setne al
or cl, al
mov al, byte [esp + 0x13]
or al, cl
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x13], al
mov byte [edi + 0xb4], al
test al, al
je 0x1003d54f
or byte [edi + 0xd8], 8
mov al, byte [edi + 0xda]
or byte [edi + 0xd9], 8
or al, 8
mov byte [edi + 0xda], al
cmp dword [esp + 0x40], ecx
je 0x1003d6dd
mov dword [esp + 0xc4], edi
test edx, 0x1000000
je 0x1003d57a
mov eax, edx
and eax, 0x14000000
cmp eax, 0x4000000
je 0x1003d57a
mov al, 1
jmp 0x1003d57c
xor al, al
cmp dword [esp + 0x2c], 0
mov cl, byte [edi + 0xb7]
mov byte [esp + 0x10], al
je 0x1003d595
cmp al, cl
je 0x1003d67e
test al, al
jne 0x1003d5c4
mov esi, dword [0x1020f198]
lea eax, [esp + 0xc4]
push eax
lea ecx, [esi + 0x3f4c]
call fcn.1004a1e0
mov ax, word [esi + 0x3f4c]
mov esi, dword [esp + 0x1c]
dec ax
jmp 0x1003d66f
cmp dword [esp + 0x2c], 0
je 0x1003d67e
cmp al, cl
je 0x1003d67e
test al, al
je 0x1003d67e
mov edx, dword [0x1020f198]
movsx ecx, word [edi + 0xc4]
inc ecx
mov eax, dword [edx + 0x3f4c]
mov dword [esp + 0x24], eax
cmp ecx, eax
jge 0x1003d623
nop dword [eax + eax]
mov eax, dword [edx + 0x3f54]
mov eax, dword [eax + ecx*4]
inc ecx
dec word [eax + 0xc4]
mov esi, dword [edx + 0x3f4c]
mov dword [esp + 0x24], esi
cmp ecx, esi
jl 0x1003d600
mov esi, dword [esp + 0x1c]
mov eax, dword [0x1020f198]
movsx ecx, word [edi + 0xc4]
mov edx, dword [edx + 0x3f54]
mov eax, dword [eax + 0x3f54]
lea eax, [eax + ecx*4]
sub eax, edx
sar eax, 2
lea ecx, [edx + eax*4]
mov edx, dword [esp + 0x24]
sub edx, eax
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.1010c860
mov eax, dword [0x1020f198]
add esp, 0xc
dec dword [eax + 0x3f4c]
or eax, 0xffffffff
mov edx, dword [esp + 0x14]
mov word [edi + 0xc4], ax
mov al, byte [esp + 0x10]
mov byte [edi + 0xb7], al
mov dword [edi + 0xc], edx
test dword [esi + 0x4954], 0x100
je 0x1003d69b
mov eax, dword [esi + 0x498c]
jmp 0x1003d69d
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x244], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3f00]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x248], xmm0
mov word [edi + 0xc0], ax
movzx eax, word [esi + 0x3f7c]
inc dword [esi + 0x3f7c]
mov word [edi + 0xc2], ax
jmp 0x1003d6e4
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3f64]
test eax, eax
jne 0x1003d6f2
xor ecx, ecx
jmp 0x1003d6ff
imul ecx, eax, 0x64
mov eax, dword [esi + 0x3f6c]
mov ecx, dword [ecx + eax - 0x64]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
cmp eax, dword [esp + 0x38]
je 0x1003d71c
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1003d722
mov eax, dword [edi + 0x304]
cmp dword [edi + 0xec], 0
lea ecx, [edi + 0xec]
mov dword [esp + 0x28], eax
jne 0x1003d73e
lea eax, [edi + 8]
push eax
call fcn.1004a1e0
lea ecx, [esp + 0xcc]
mov dword [esi + 0x3f8c], edi
call fcn.1004b3c0
mov eax, dword [esi + 0x4950]
xorps xmm0, xmm0
mov dword [esp + 0x114], eax
mov eax, dword [esi + 0x3f8c]
movups xmmword [esp + 0x118], xmm0
mov ecx, dword [esi + 0x3f68]
movups xmm0, xmmword [esi + 0x4908]
movzx eax, word [eax + 0xec]
mov word [esp + 0x118], ax
movzx eax, word [esi + 0x49c0]
mov word [esp + 0x11a], ax
movzx eax, word [esi + 0x49cc]
mov word [esp + 0x11c], ax
movzx eax, word [esi + 0x49d8]
movups xmmword [esp + 0xcc], xmm0
mov word [esp + 0x11e], ax
movups xmm0, xmmword [esi + 0x4918]
movzx eax, word [esi + 0x49e4]
mov word [esp + 0x120], ax
movzx eax, word [esi + 0x49fc]
movups xmmword [esp + 0xdc], xmm0
mov word [esp + 0x122], ax
movups xmm0, xmmword [esi + 0x4928]
movzx eax, word [esi + 0x49f0]
mov word [esp + 0x124], ax
movzx eax, word [esi + 0x4a14]
movups xmmword [esp + 0xec], xmm0
mov dword [esp + 0xc8], edi
movups xmm0, xmmword [esi + 0x4938]
mov edi, dword [esi + 0x3f64]
mov word [esp + 0x126], ax
movzx eax, word [esi + 0x5d1c]
mov word [esp + 0x128], 0
mov word [esp + 0x128], ax
movups xmmword [esp + 0xfc], xmm0
movq xmm0, qword [esi + 0x4948]
movq qword [esp + 0x10c], xmm0
cmp edi, ecx
jne 0x1003d8cb
inc edi
test ecx, ecx
je 0x1003d873
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1003d878
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1003d8cb
imul eax, edi, 0x64
push eax
call fcn.1012189d
mov edx, dword [esi + 0x3f6c]
add esp, 4
mov dword [esp + 0x20], eax
test edx, edx
je 0x1003d8bf
imul ecx, dword [esi + 0x3f64], 0x64
push ecx
push edx
push eax
call fcn.1010c860
add esp, 0xc
push dword [esi + 0x3f6c]
call fcn.1011b2ad
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x3f6c], eax
mov dword [esi + 0x3f68], edi
imul edi, dword [esi + 0x3f64], 0x64
mov ecx, 0x19
mov eax, dword [esp + 0x1c]
add edi, dword [esi + 0x3f6c]
lea esi, [esp + 0xc8]
rep movsd dword es:[edi], dword [esi]
inc dword [eax + 0x3f64]
mov ecx, dword [esp + 0x14]
test ecx, 0x10000000
je 0x1003d902
inc dword [eax + 0x5c8c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
cmp edx, dword [esp + 0x38]
je 0x1003d9c9
mov edx, dword [esp + 0x28]
mov dword [edi + 0x304], edx
mov dword [edi + 0x318], edi
mov dword [edi + 0x314], edi
mov dword [edi + 0x310], edi
mov dword [edi + 0x30c], edi
test edx, edx
je 0x1003d984
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1003d954
mov eax, dword [edx + 0x30c]
mov dword [edi + 0x30c], eax
test ecx, 0x4000000
je 0x1003d968
mov eax, dword [edx + 0x310]
mov dword [edi + 0x310], eax
test ecx, 0x8000000
jne 0x1003d984
test ecx, 0x5000000
je 0x1003d984
mov eax, dword [edx + 0x314]
mov dword [edi + 0x314], eax
test dword [edi + 0xc], 0x800000
je 0x1003d9a8
mov edx, edi
lea esi, [edx + 0x318]
mov eax, dword [edx + 0x304]
mov edx, eax
mov dword [esi], eax
test dword [edx + 0xc], 0x800000
jne 0x1003d995
mov edx, dword [esp + 0x24]
mov eax, ecx
and eax, 0x1000000
mov dword [edi + 0x308], edx
neg eax
sbb eax, eax
and eax, edx
mov dword [edi + 0x31c], eax
mov eax, dword [esp + 0x1c]
test ecx, 0x800000
je 0x1003d9d9
mov eax, dword [eax + 0x48d8]
jmp 0x1003d9dc
mov eax, dword [edi + 8]
mov esi, dword [0x1020f198]
mov dword [esp + 0x18], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x3f8c]
lea ecx, [esi + 0x49e4]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
call fcn.1004a040
test dword [esp + 0x14], 0x4000000
mov eax, dword [esp + 0x18]
mov dword [esi + 0x48d8], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x48d8]
mov dword [edi + 0x35c], eax
je 0x1003da6a
mov eax, dword [esi + 0x4a14]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4a10]
mov dword [eax + ecx*8 + 4], edi
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push esi
add ecx, 0x4a14
mov eax, dword [eax + 0x150]
mov dword [esi + 0xc], eax
call fcn.10049e80
mov eax, dword [esi]
mov esi, dword [esp + 0x1c]
mov dword [edi + 0xc8], eax
xor dl, dl
mov byte [esp + 0x10], 0
test byte [esi + 0x4954], 1
mov byte [esp + 0x12], dl
mov byte [esp + 0x11], dl
je 0x1003db26
movsx eax, byte [edi + 0xd8]
mov ecx, dword [esi + 0x4958]
test ecx, eax
setne byte [esp + 0x10]
test ecx, eax
je 0x1003db15
movss xmm1, dword [esi + 0x4970]
movss xmm0, dword [esi + 0x496c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x101f4eb4]
jbe 0x1003db15
mov eax, dword [esi + 0x4964]
mov ecx, dword [esi + 0x4968]
mov dword [edi + 0xdc], eax
mov dword [edi + 0xe0], ecx
mov eax, dword [esi + 0x496c]
mov ecx, dword [esi + 0x4970]
mov dword [edi + 0xe4], eax
mov dword [edi + 0xe8], ecx
movzx ecx, byte [edi + 0xd8]
mov eax, dword [edi + 0xd8]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edi + 0xd8], ecx
jmp 0x1003db26
push ecx
lea edx, [esi + 0x4964]
mov ecx, edi
call fcn.10040310
add esp, 4
test byte [esi + 0x4954], 2
xorps xmm1, xmm1
je 0x1003dbc8
mov cl, byte [edi + 0xd9]
movsx eax, cl
and eax, dword [esi + 0x495c]
je 0x1003db5b
movss xmm0, dword [esi + 0x4974]
comiss xmm0, xmm1
jbe 0x1003db5b
mov byte [esp + 0x12], 1
jmp 0x1003db64
mov byte [esp + 0x12], 0
test eax, eax
je 0x1003db78
movss xmm0, dword [esi + 0x4978]
comiss xmm0, xmm1
jbe 0x1003db7e
mov byte [esp + 0x11], 1
jmp 0x1003db83
xor dl, dl
mov byte [esp + 0x12], dl
mov byte [esp + 0x11], 0
test byte [edi + 0x10], 4
je 0x1003db97
test cl, 4
jne 0x1003db97
mov eax, dword [edi + 0x28]
mov dword [esi + 0x4974], eax
test byte [edi + 0x10], 8
je 0x1003dbaf
test byte [edi + 0xd9], 4
jne 0x1003dbaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x4978], eax
push dword [esi + 0x495c]
lea edx, [esi + 0x4974]
mov ecx, edi
call fcn.10040470
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x4954], 0x80
je 0x1003dc0f
movss xmm0, dword [esi + 0x4984]
comiss xmm0, xmm1
jb 0x1003dbf0
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
movss xmm0, dword [esi + 0x4988]
comiss xmm0, xmm1
jb 0x1003dc0f
movss dword [edi + 0x90], xmm0
mov dword [edi + 0x98], 0
test byte [esi + 0x4954], 4
je 0x1003dc2c
mov eax, dword [esi + 0x497c]
mov ecx, dword [esi + 0x4980]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x1003dc44
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x38]
je 0x1003dc44
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x4954], 8
je 0x1003dc91
mov ecx, dword [esi + 0x4960]
mov dl, byte [esi + 0x4990]
test ecx, ecx
je 0x1003dc68
movsx eax, byte [edi + 0xda]
test ecx, eax
je 0x1003dc91
movzx ecx, byte [edi + 0xda]
mov eax, dword [edi + 0xd8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xb1], dl
mov dword [edi + 0xd8], ecx
test byte [esi + 0x4954], 0x20
je 0x1003dca3
xor edx, edx
mov ecx, edi
call fcn.1003fc20
cmp byte [edi + 0xb4], 0
je 0x1003dcc1
and byte [edi + 0xd8], 0xf7
and byte [edi + 0xd9], 0xf7
and byte [edi + 0xda], 0xf7
mov eax, dword [esp + 0x40]
mov dword [esi + 0x3f8c], 0
cmp eax, dword [esp + 0x38]
je 0x1003f781
mov eax, dword [esp + 0x14]
and eax, 0x3000000
cmp dword [esp + 0x48], 0
mov dword [esp + 0x24], eax
mov al, byte [edi + 0xd5]
mov byte [edi + 0xae], 1
mov byte [esp + 0x33], al
setne al
mov byte [edi + 0xb8], al
mov dword [edi + 0x21c], 0xff7fffff
mov dword [edi + 0x220], 0xff7fffff
mov dword [edi + 0x224], 0x7f7fffff
mov dword [edi + 0x228], 0x7f7fffff
mov edi, dword [esp + 0x34]
push 1
lea ecx, [edi + 0xec]
call fcn.1004a420
mov ecx, dword [edi + 0x270]
call fcn.1004d8d0
mov dword [edi + 0x19c], 0xffffffff
cmp byte [edi + 0x368], 0
je 0x1003de62
mov byte [edi + 0x368], 0
mov eax, dword [edi + 0x270]
mov ecx, dword [edi + 0x360]
add eax, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0xc4], ecx
cmp ecx, dword [eax + 4]
jle 0x1003ddd7
lea eax, [ecx + ecx]
push eax
call fcn.1012189d
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edx
cmp dword [eax + 8], 0
je 0x1003ddca
mov ecx, dword [eax]
add ecx, ecx
push ecx
push dword [eax + 8]
push edx
call fcn.1010c860
mov eax, dword [esp + 0x24]
add esp, 0xc
push dword [eax + 8]
call fcn.1011b2ad
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc4]
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x270]
mov ecx, dword [edi + 0x364]
add eax, 0x18
mov dword [esp + 0x18], eax
mov dword [esp + 0xc4], ecx
cmp ecx, dword [eax + 4]
jle 0x1003de4e
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call fcn.1012189d
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edx
cmp dword [eax + 8], 0
je 0x1003de41
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push dword [eax + 8]
push edx
call fcn.1010c860
mov eax, dword [esp + 0x24]
add esp, 0xc
push dword [eax + 8]
call fcn.1011b2ad
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc4]
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov dword [edi + 0x364], 0
mov dword [edi + 0x360], 0
cmp dword [esi + 0x4c08], 0
je 0x1003df26
test dword [edi + 0xc], 0x20000
jne 0x1003df26
cmp dword [esp + 0x2c], 0
je 0x1003df26
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x44]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003deb0
test dl, dl
je 0x1003deac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003deb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003de90
xor eax, eax
jmp 0x1003deb5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003df26
mov ecx, dword [esp + 0x44]
mov edx, dword [edi + 0x70]
mov dword [esp + 0xc4], edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ded0
sub ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
cmp edx, eax
jae 0x1003df0b
push ecx
call fcn.1011b2ad
add esp, 4
push dword [esp + 0x18]
call fcn.1012189d
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
push eax
push dword [esp + 0x48]
push ecx
call fcn.1010c860
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0xc4]
mov dword [edi + 0x70], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.1003afa0
mov al, byte [edi + 0xd4]
add esp, 4
test al, al
jle 0x1003df49
dec al
mov byte [edi + 0xd4], al
mov al, byte [edi + 0xd5]
test al, al
jle 0x1003df5b
dec al
mov byte [edi + 0xd5], al
mov al, byte [edi + 0xd6]
test al, al
jle 0x1003df6d
dec al
mov byte [edi + 0xd6], al
cmp dword [esp + 0x2c], 0
mov al, byte [esp + 0x12]
mov cl, byte [esp + 0x11]
jne 0x1003df8b
test al, al
je 0x1003df84
test cl, cl
jne 0x1003df8b
mov byte [edi + 0xd5], 1
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x14]
je 0x1003dfea
test edx, 0x6000000
je 0x1003dfea
mov byte [edi + 0xd5], 1
test dl, 0x40
je 0x1003dfea
test al, al
jne 0x1003dfbc
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x1003dfce
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov ecx, dword [0x1020f198]
mov eax, dword [ecx + 0x4a34]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [ecx + 0x3f8c], edi
mov eax, dword [edi + 0x19c]
cmp eax, 0xffffffff
je 0x1003e01b
shl eax, 9
add eax, dword [ecx + 0x4d00]
jmp 0x1003e01d
xor eax, eax
mov dword [ecx + 0x4ce0], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x1003e04b
mulss xmm0, dword [eax + 0x268]
cmp dword [esp + 0x18], 0
movss dword [ecx + 0x3d08], xmm0
movss dword [ecx + 0x3cf4], xmm0
jne 0x1003e06f
cmp dword [edi + 0x198], 0
jne 0x1003e06f
mov al, 1
jmp 0x1003e071
xor al, al
mov byte [edi + 0x158], al
test edx, 0x1000000
je 0x1003e08a
mov eax, dword [esi + 0x38d8]
mov dword [edi + 0x54], eax
jmp 0x1003e0b1
test edx, 0x6000000
je 0x1003e0a4
test edx, 0x8000000
jne 0x1003e0a4
movss xmm0, dword [esi + 0x38e0]
jmp 0x1003e0ac
movss xmm0, dword [esi + 0x38bc]
movss dword [edi + 0x54], xmm0
mov eax, dword [esi + 0x38b0]
xorps xmm1, xmm1
mov ecx, dword [esi + 0x38b4]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x1003e109
test byte [edi + 0x10], 2
jne 0x1003e109
movss xmm0, dword [edi + 0x54]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003e109
test edx, 0x400
je 0x1003e0fa
movss xmm0, dword [esi + 0x38b4]
jmp 0x1003e0fd
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x38f4]
maxss xmm0, dword [esi + 0x49b0]
movss dword [edi + 0x15c], xmm0
mov eax, dword [esi + 0x49b4]
mov dword [edi + 0x160], eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc4], al
test dl, 0x21
jne 0x1003e291
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x1003e153
xorps xmm0, xmm0
jmp 0x1003e185
movss xmm2, dword [ecx + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm2, dword [edi + 0x268]
test eax, eax
je 0x1003e175
mulss xmm2, dword [eax + 0x268]
movss xmm0, dword [ecx + 0x38e8]
addss xmm0, xmm0
addss xmm0, xmm2
movss xmm3, dword [edi + 0x18]
movaps xmm2, xmm3
movss xmm4, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x28]
addss xmm0, dword [edi + 0x1c]
mov edx, dword [0x1020f198]
cmp dword [esi + 0x3f90], edi
jne 0x1003e23f
cmp dword [esi + 0x3fc8], 0
jne 0x1003e23f
cmp dword [esi + 0x3fcc], 0
jne 0x1003e23f
mov eax, dword [edx + 0x3f8c]
movss xmm6, dword [edx + 0x390c]
movss xmm7, dword [edx + 0xe00]
maxss xmm3, dword [eax + 0x21c]
maxss xmm4, dword [eax + 0x220]
minss xmm2, dword [eax + 0x224]
minss xmm0, dword [eax + 0x228]
subss xmm3, xmm6
comiss xmm7, xmm3
jb 0x1003e23f
movss xmm3, dword [edx + 0x3910]
movss xmm5, dword [edx + 0xe04]
subss xmm4, xmm3
comiss xmm5, xmm4
jb 0x1003e23f
addss xmm2, xmm6
comiss xmm2, xmm7
jbe 0x1003e23f
addss xmm0, xmm3
comiss xmm0, xmm5
jbe 0x1003e23f
cmp word [esi + 0x382a], 2
jne 0x1003e23f
mov byte [edi + 0xb2], 1
cmp byte [edi + 0xb2], 0
je 0x1003e298
mov cl, byte [edi + 0xb1]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xb1], al
mov ecx, 1
mov eax, dword [esp + 0xc4]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0xc4], eax
jne 0x1003e298
comiss xmm1, dword [edx + 0x5dc0]
jb 0x1003e298
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5dc0], eax
jmp 0x1003e298
mov byte [edi + 0xb1], 0
mov byte [edi + 0xb2], 0
movss xmm0, dword [edi + 0xa4]
mov ecx, dword [edi]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edi + 0xa8]
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0
mov edx, dword [edi + 0xc]
movss dword [esp + 0x4c], xmm0
test dl, 1
je 0x1003e2d8
xorps xmm2, xmm2
jmp 0x1003e30d
movss xmm0, dword [edi + 0x268]
mov edx, dword [edi + 0x304]
mulss xmm0, dword [ecx + 0x3cf8]
test edx, edx
je 0x1003e2fa
mulss xmm0, dword [edx + 0x268]
movss xmm2, dword [ecx + 0x38e8]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x1003e34f
movss xmm1, dword [edi + 0x268]
mov eax, dword [edi + 0x304]
mulss xmm1, dword [ecx + 0x3cf8]
test eax, eax
je 0x1003e337
mulss xmm1, dword [eax + 0x268]
movss xmm0, dword [ecx + 0x38e8]
addss xmm1, dword [edi + 0x160]
addss xmm0, xmm0
addss xmm1, xmm0
addss xmm1, xmm2
mov edx, edi
lea eax, [edi + 0x38]
push eax
lea ecx, [esp + 0x134]
movss dword [edi + 0x5c], xmm1
mov dword [edi + 0x64], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
call fcn.1003b0d0
add esp, 4
test byte [esp + 0x14], 0x40
je 0x1003e3d8
cmp byte [edi + 0xb1], 0
jne 0x1003e3d8
cmp byte [esp + 0x12], 0
jne 0x1003e3b2
movss xmm0, dword [esp + 0x130]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x3c], 1
cmp byte [esp + 0x11], 0
jne 0x1003e492
movss xmm0, dword [esp + 0x134]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0xc4], 1
jmp 0x1003e492
mov al, byte [edi + 0xcc]
test al, al
jg 0x1003e3ef
cmp byte [edi + 0xcd], 0
jle 0x1003e492
cmp byte [esp + 0x12], 0
jne 0x1003e426
test al, al
jle 0x1003e426
cmp byte [edi + 0xce], 0
je 0x1003e413
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x130]
jmp 0x1003e41c
movss xmm0, dword [esp + 0x130]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x3c], 1
cmp byte [esp + 0x11], 0
jne 0x1003e465
cmp byte [edi + 0xcd], 0
jle 0x1003e465
cmp byte [edi + 0xce], 0
je 0x1003e44f
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0x134]
jmp 0x1003e458
movss xmm0, dword [esp + 0x134]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0xc4], 1
cmp byte [edi + 0xb1], 0
jne 0x1003e492
test dword [edi + 0xc], 0x100
mov ecx, dword [0x1020f198]
jne 0x1003e492
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5dc0]
jb 0x1003e492
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5dc0], eax
lea eax, [edi + 0x28]
mov edx, edi
push eax
lea ecx, [esp + 0xa0]
call fcn.1003ae50
mov edx, dword [esp + 0x18]
add esp, 4
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x28], xmm2
movss dword [edi + 0x2c], xmm1
cmp byte [edi + 0xb1], 0
je 0x1003e529
test edx, 0x1000000
jne 0x1003e529
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x1003e4dc
xorps xmm1, xmm1
jmp 0x1003e510
movss xmm0, dword [ecx + 0x3cf8]
mov ecx, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test ecx, ecx
je 0x1003e4fe
mulss xmm0, dword [ecx + 0x268]
mov ecx, dword [edi]
movss xmm1, dword [ecx + 0x38e8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [edi + 0x28]
addss xmm1, dword [edi + 0x1c]
subss xmm2, dword [edi + 0x18]
subss xmm1, dword [edi + 0x1c]
cmp byte [esp + 0x13], 0
movss dword [edi + 0x20], xmm2
movss dword [edi + 0x24], xmm1
je 0x1003e57e
mov eax, edx
mov dword [edi + 0xd0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1003e57e
cmp byte [esp + 0x10], 0
jne 0x1003e57e
mov eax, dword [esi + 0x4a14]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4a1c]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
test edx, 0x1000000
je 0x1003e5da
mov ecx, dword [esp + 0x28]
add ecx, 0x188
mov ax, word [ecx]
mov word [edi + 0xc0], ax
lea eax, [esp + 0x34]
push eax
call fcn.1004a1e0
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x10]
mov ecx, dword [esp + 0x24]
test edx, 0x4000000
jne 0x1003e5e2
test al, al
jne 0x1003e5e2
cmp ecx, 0x3000000
je 0x1003e5e2
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0xf8]
mov ecx, dword [ecx + 0xfc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x10]
movss xmm1, dword [edi + 0xdc]
ucomiss xmm1, dword [0x101f5050]
lahf
test ah, 0x44
jnp 0x1003e651
cmp byte [edi + 0xd5], 0
jne 0x1003e651
movss xmm0, dword [edi + 0xe4]
lea edx, [esp + 0x84]
mulss xmm0, dword [edi + 0x20]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe0]
movss dword [esp + 0x88], xmm1
movss xmm1, dword [edi + 0xe8]
mulss xmm1, dword [edi + 0x24]
subss xmm0, xmm1
movss dword [esp + 0x8c], xmm0
call fcn.10040310
add esp, 4
jmp 0x1003e6b2
test edx, 0x10000000
je 0x1003e662
lea ecx, [esp + 0xa4]
jmp 0x1003e698
test edx, 0x4000000
je 0x1003e67d
test al, al
jne 0x1003e67d
cmp byte [esp + 0x33], al
jle 0x1003e67d
lea ecx, [esp + 0xac]
jmp 0x1003e698
test edx, 0x2000000
je 0x1003e6b6
test al, al
jne 0x1003e6b6
cmp ecx, 0x3000000
je 0x1003e6b6
lea ecx, [esp + 0xb4]
mov edx, edi
call fcn.10044300
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x10], 0
mov eax, dword [esp + 0x20]
movss xmm3, dword [esi + 0x3970]
movss xmm2, dword [esi + 0x396c]
maxss xmm3, dword [esi + 0x3978]
movss xmm7, dword [eax + 0x18]
movss xmm6, dword [eax + 0x1c]
addss xmm7, dword [eax + 0x20]
addss xmm6, dword [eax + 0x24]
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
movaps xmm5, xmm0
maxss xmm2, dword [esi + 0x3974]
addss xmm5, dword [eax + 0x10]
movaps xmm4, xmm1
movss dword [esp + 0x150], xmm0
addss xmm4, dword [eax + 0x14]
subss xmm6, xmm3
movss dword [esp + 0x154], xmm1
addss xmm3, dword [eax + 0x1c]
subss xmm7, xmm2
movss dword [esp + 0x158], xmm5
addss xmm2, dword [eax + 0x18]
movss dword [esp + 0x15c], xmm4
movss dword [esp + 0x14c], xmm6
movss dword [esp + 0x144], xmm3
movss dword [esp + 0x148], xmm7
movss dword [esp + 0x140], xmm2
jne 0x1003e811
test edx, 0x1000000
jne 0x1003e811
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x1003e811
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x1003e811
mov eax, dword [0x1020f198]
movss xmm1, dword [edi + 0x24]
cmp byte [eax + 0x4b], 0
je 0x1003e7dc
test byte [edi + 0xc], 1
jne 0x1003e7dc
mov ecx, dword [edi]
mov eax, dword [edi + 0x304]
movss xmm0, dword [ecx + 0x3cf8]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x1003e7cc
mulss xmm0, dword [eax + 0x268]
movss xmm1, dword [ecx + 0x38e8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x20]
comiss xmm3, xmm0
ja 0x1003e7f6
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x1003e807
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x18], xmm2
movss dword [edi + 0x1c], xmm3
cvttss2si eax, dword [edi + 0x18]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x18], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c], xmm0
test edx, 0x1000000
je 0x1003e845
movss xmm0, dword [esi + 0x38d4]
jmp 0x1003e865
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1003e85d
movss xmm0, dword [esi + 0x38dc]
jmp 0x1003e865
movss xmm0, dword [esi + 0x38b8]
xor cl, cl
movss dword [edi + 0x50], xmm0
mov dword [esp + 0x18], ecx
cmp byte [esp + 0x13], cl
je 0x1003e8a2
test edx, 0x1000
jne 0x1003e8a2
test edx, 0x4000000
je 0x1003e88d
mov byte [esp + 0x18], 1
jmp 0x1003e8a2
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x18], ecx
mov eax, edx
mov dword [esp + 0x138], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0x13c], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x160], xmm0
cmp eax, 0x1000000
jne 0x1003e8d5
xor eax, eax
jmp 0x1003e8de
xor eax, eax
cmp byte [esi + 0x4a], al
setne al
inc eax
cmp byte [edi + 0xb1], 0
movss xmm2, dword [esi + 0x3cf4]
movss xmm0, dword [edi + 0x50]
movaps xmm1, xmm2
addss xmm0, dword [0x101f4f54]
mulss xmm2, dword [0x101f4eec]
mov dword [esp + 0x20], eax
mulss xmm1, dword [0x101f4f58]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x1003e983
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x164]
push ecx
push eax
lea eax, [esp + 0x148]
mov ecx, edi
push eax
lea eax, [esp + 0x148]
push eax
lea edx, [esp + 0x144]
call fcn.1003b3d0
add esp, 0x14
test eax, eax
je 0x1003e97f
mov ecx, dword [esp + 0x3c]
test al, 1
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
test al, 2
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x3c], ecx
movzx ecx, al
cmovne ecx, edx
mov edx, dword [esp + 0x14]
jmp 0x1003e98a
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc4]
mov al, byte [esp + 0x138]
mov byte [edi + 0xb9], al
mov al, byte [esp + 0x13c]
mov byte [edi + 0xba], al
cmp byte [edi + 0xb1], 0
jne 0x1003eb10
cmp dword [esp + 0x2c], 0
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [edi + 0x5c]
movss xmm3, dword [edi + 0x1e4]
movss xmm4, dword [edi + 0x1e8]
subss xmm3, dword [edi + 0x1dc]
subss xmm4, dword [edi + 0x1e0]
movss xmm5, dword [edi + 0x2c]
movss xmm6, dword [edi + 0x28]
subss xmm5, xmm0
xorps xmm0, xmm0
addss xmm3, dword [esp + 0x68]
addss xmm4, dword [esp + 0x4c]
jne 0x1003ea07
xorps xmm2, xmm2
xorps xmm1, xmm1
jmp 0x1003ea23
movss xmm2, dword [edi + 0x48]
movss xmm1, dword [edi + 0x4c]
addss xmm2, xmm2
addss xmm1, xmm1
addss xmm2, dword [edi + 0x30]
addss xmm1, dword [edi + 0x34]
cmp byte [esp + 0x3c], 0
jne 0x1003ea2d
movaps xmm6, xmm3
test cl, cl
jne 0x1003ea34
movaps xmm5, xmm4
test edx, 0x4000
jne 0x1003ea4a
comiss xmm1, xmm5
jbe 0x1003ea46
test dl, 8
je 0x1003ea4a
xor al, al
jmp 0x1003ea4c
mov al, 1
mov ecx, dword [esp + 0x1c]
mov byte [edi + 0xad], al
test edx, 0x8000
jne 0x1003ea8f
test al, al
je 0x1003ea6c
movss xmm3, dword [ecx + 0x391c]
jmp 0x1003ea6f
xorps xmm3, xmm3
subss xmm6, xmm3
comiss xmm2, xmm6
jbe 0x1003ea86
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1003ea8f
mov byte [edi + 0xac], 0
jmp 0x1003eab5
mov byte [edi + 0xac], 1
cmp byte [edi + 0xad], 0
jne 0x1003eab5
comiss xmm1, xmm5
jbe 0x1003eaad
test dl, 8
jne 0x1003eaad
mov al, 1
jmp 0x1003eaaf
xor al, al
mov byte [edi + 0xad], al
cmp byte [edi + 0xac], 0
je 0x1003eac8
movss xmm1, dword [ecx + 0x391c]
jmp 0x1003eacb
xorps xmm1, xmm1
cmp byte [edi + 0xad], 0
je 0x1003eadc
movss xmm0, dword [ecx + 0x391c]
movss dword [edi + 0xa4], xmm0
movss dword [edi + 0xa8], xmm1
movss xmm0, dword [edi + 0xa4]
addss xmm0, dword [edi + 0x60]
movss dword [edi + 0x60], xmm0
movss xmm0, dword [edi + 0xa8]
addss xmm0, dword [edi + 0x64]
movss dword [edi + 0x64], xmm0
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1003eb33
cmp dword [esp + 0x24], 0x3000000
je 0x1003eb33
mov eax, dword [esp + 0x28]
add eax, 0x21c
jmp 0x1003eb3a
lea eax, [esp + 0x150]
test byte [edi + 0xc], 1
movss xmm1, dword [edi + 0x1c]
movups xmm0, xmmword [eax]
mov ecx, dword [edi]
movss xmm7, dword [edi + 0x18]
movaps xmm6, xmm1
addss xmm6, dword [edi + 0x24]
movaps xmm5, xmm7
movss dword [esp + 0x4c], xmm1
addss xmm5, dword [edi + 0x20]
movups xmmword [esp + 0x70], xmm0
je 0x1003eb6f
xorps xmm4, xmm4
jmp 0x1003eba1
movss xmm0, dword [ecx + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x1003eb91
mulss xmm0, dword [eax + 0x268]
movss xmm4, dword [ecx + 0x38e8]
addss xmm4, xmm4
addss xmm4, xmm0
movss xmm0, dword [edi + 0x1c]
addss xmm1, xmm4
movss dword [esp + 0x54], xmm0
movaps xmm2, xmm7
addss xmm2, dword [edi + 0x28]
movss xmm0, dword [esp + 0x4c]
mov eax, edx
movss dword [esp + 0x50], xmm7
and eax, 0x401
movss dword [esp + 0x5c], xmm1
xorps xmm3, xmm3
movss dword [esp + 0x58], xmm2
movss dword [edi + 0x1cc], xmm7
movss dword [edi + 0x1d0], xmm0
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm6
mov ecx, dword [esp + 0x34]
movss xmm2, dword [esp + 0x70]
movss xmm4, dword [esp + 0x74]
movss xmm7, dword [esp + 0x7c]
movss xmm1, dword [ecx + 0x1cc]
movss xmm0, dword [ecx + 0x1d0]
maxss xmm1, xmm2
mov edi, dword [esp + 0x1c]
maxss xmm0, xmm4
movss dword [ecx + 0x1cc], xmm1
movss dword [ecx + 0x1d0], xmm0
movss xmm0, dword [ecx + 0x1d8]
movss xmm1, dword [ecx + 0x1d4]
minss xmm0, xmm7
minss xmm1, dword [esp + 0x78]
movss dword [ecx + 0x1d8], xmm0
movss dword [ecx + 0x1d4], xmm1
movss xmm0, dword [ecx + 0x58]
addss xmm0, dword [ecx + 0x18]
movss dword [ecx + 0x1dc], xmm0
movss xmm0, dword [ecx + 0x5c]
addss xmm0, dword [ecx + 0x1c]
movss dword [ecx + 0x1e0], xmm0
movss xmm0, dword [ecx + 0x20]
addss xmm0, dword [ecx + 0x18]
subss xmm0, dword [ecx + 0x60]
movss dword [ecx + 0x1e4], xmm0
movss xmm0, dword [ecx + 0x24]
addss xmm0, dword [ecx + 0x1c]
subss xmm0, dword [ecx + 0x64]
movss dword [ecx + 0x1e8], xmm0
cmp eax, 1
jne 0x1003ecc4
movss xmm6, dword [ecx + 0x54]
jmp 0x1003eccc
movss xmm6, dword [edi + 0x38f0]
movss xmm0, dword [ecx + 0x48]
movss xmm5, dword [0x101f4f0c]
mulss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0x1dc]
addss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [ecx + 0x54]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1ec], xmm0
movss xmm0, dword [ecx + 0x1e0]
addss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1f0], xmm0
movss xmm0, dword [ecx + 0x48]
mulss xmm0, xmm5
movss xmm1, dword [ecx + 0x1e4]
addss xmm1, xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [ecx + 0x54]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1f4], xmm0
movss xmm0, dword [ecx + 0x1e8]
addss xmm0, xmm5
subss xmm0, dword [ecx + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1f8], xmm0
movss xmm0, dword [ecx + 0x1f0]
comiss xmm4, xmm0
jbe 0x1003eda5
movaps xmm1, xmm4
jmp 0x1003edac
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm5, dword [ecx + 0x1ec]
comiss xmm2, xmm5
movss xmm6, dword [esp + 0x78]
jbe 0x1003edc4
movaps xmm0, xmm2
jmp 0x1003edcb
movaps xmm0, xmm6
minss xmm0, xmm5
movss dword [ecx + 0x1ec], xmm0
movss dword [ecx + 0x1f0], xmm1
movss xmm0, dword [ecx + 0x1f8]
comiss xmm4, xmm0
ja 0x1003edef
movaps xmm4, xmm7
minss xmm4, xmm0
movss xmm0, dword [ecx + 0x1f4]
comiss xmm2, xmm0
ja 0x1003ee03
movaps xmm2, xmm6
minss xmm2, xmm0
movss dword [ecx + 0x1f4], xmm2
movss dword [ecx + 0x1f8], xmm4
movss xmm0, dword [ecx + 0x20]
comiss xmm0, xmm3
jbe 0x1003ee2f
test edx, 0x2000040
jne 0x1003ee2f
mulss xmm0, dword [0x101f4f18]
jmp 0x1003ee3f
movss xmm0, dword [edi + 0x3cf4]
mulss xmm0, dword [0x101f4fd8]
cvttss2si eax, xmm0
mov edx, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x24c], xmm0
movss xmm1, dword [ecx + 0x48]
movss xmm0, dword [ecx + 0x1e4]
addss xmm1, xmm1
subss xmm0, dword [ecx + 0x1dc]
addss xmm1, dword [ecx + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ecx + 0x84], xmm0
movss xmm1, dword [ecx + 0x4c]
movss xmm0, dword [ecx + 0x1e8]
addss xmm1, xmm1
subss xmm0, dword [ecx + 0x1e0]
addss xmm1, dword [ecx + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ecx + 0x88], xmm0
lea ecx, [esp + 0xbc]
call fcn.10043390
mov ecx, dword [esp + 0x34]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [ecx + 0x7c], xmm0
movss dword [ecx + 0x80], xmm1
mov dword [ecx + 0x8c], 0x7f7fffff
mov dword [ecx + 0x90], 0x7f7fffff
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x68], 0
mov eax, dword [edi + 0x3cf0]
mov ecx, dword [ecx + 0x270]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.1004df40
mov ecx, dword [0x1020f198]
push 0
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
lea eax, [esp + 0x7c]
mov edi, dword [ecx + 0x3f8c]
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, dword [edi + 0x270]
call fcn.1004de10
mov eax, dword [edi + 0x270]
mov byte [esp + 0x11], 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x21c], eax
mov eax, dword [esp + 0x14]
movss dword [edi + 0x220], xmm0
and eax, 0x5000000
movss dword [edi + 0x224], xmm1
movss dword [edi + 0x228], xmm2
mov edi, dword [esp + 0x34]
cmp eax, 0x1000000
jne 0x1003f056
cmp dword [esp + 0x24], 0x3000000
je 0x1003f056
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x188]
cmp ecx, 2
jl 0x1003f01a
mov eax, dword [eax + 0x190]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x1003f01a
movss xmm5, dword [eax + 0x1c]
movss xmm7, dword [eax + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x24]
movss xmm6, dword [edi + 0x18]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x1c]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x20]
addss xmm4, dword [edi + 0x20]
comiss xmm0, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x24]
jbe 0x1003f01a
comiss xmm2, xmm5
jbe 0x1003f01a
comiss xmm3, xmm6
jbe 0x1003f01a
comiss xmm4, xmm7
mov byte [esp + 0x10], 1
ja 0x1003f01f
mov byte [esp + 0x10], 0
mov edx, dword [edi + 0x270]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1003f056
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x270]
cmp dword [eax + 0x18], 0
je 0x1003f056
cmp byte [esp + 0x10], 0
jne 0x1003f056
mov byte [esp + 0x11], 1
mov dword [edi + 0x270], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x4c00]
test edx, edx
jne 0x1003f06a
mov edx, dword [ecx + 0x4a38]
cmp byte [esp + 0x18], 0
jne 0x1003f08a
test edx, edx
je 0x1003f083
mov eax, dword [edi + 0x314]
cmp eax, dword [edx + 0x314]
je 0x1003f08a
mov byte [esp + 0x2c], 0
jmp 0x1003f08f
mov byte [esp + 0x2c], 1
movd xmm0, esi
lea eax, [esp + 0x160]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x54]
movss dword [esp], xmm0
push eax
push dword [esp + 0x28]
push ecx
push dword [esp + 0x3c]
mov ecx, edi
call fcn.1003c8f0
add esp, 0x14
cmp byte [esp + 0x11], 0
je 0x1003f0ce
lea eax, [edi + 0x274]
mov dword [edi + 0x270], eax
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x1003f129
movss xmm0, dword [edi + 0x48]
mov eax, ecx
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x1003f122
movss xmm3, dword [edi + 0x30]
jmp 0x1003f125
xorps xmm3, xmm3
maxss xmm3, xmm1
movss xmm2, dword [edi + 0x44]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1003f169
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [edi + 0x5c]
subss xmm1, xmm0
test dl, dl
je 0x1003f162
movss xmm2, dword [edi + 0x34]
jmp 0x1003f165
xorps xmm2, xmm2
maxss xmm2, xmm1
movss xmm1, dword [edi + 0x48]
maxss xmm1, dword [edi + 0x54]
movss xmm0, dword [edi + 0x1dc]
subss xmm0, dword [edi + 0x7c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1fc], xmm0
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x1e0]
subss xmm0, dword [edi + 0x80]
maxss xmm1, dword [edi + 0x54]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
addss xmm3, dword [edi + 0x1fc]
movss dword [edi + 0x204], xmm3
addss xmm2, dword [edi + 0x200]
movss dword [edi + 0x208], xmm2
movups xmm0, xmmword [edi + 0x1fc]
movups xmmword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x7c]
addss xmm0, dword [edi + 0x48]
addss xmm0, dword [edi + 0x58]
movss dword [edi + 0x22c], xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x80]
addss xmm0, dword [edi + 0x4c]
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0x230], xmm0
movss xmm1, dword [edi + 0x40]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1003f25f
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
addss xmm1, dword [edi + 0x22c]
movss dword [edi + 0x234], xmm1
movss xmm1, dword [edi + 0x44]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1003f29d
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [edi + 0x5c]
subss xmm1, xmm0
addss xmm1, dword [edi + 0x230]
mov esi, dword [esp + 0x1c]
movss dword [edi + 0x238], xmm1
movss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x48]
subss xmm0, dword [edi + 0x7c]
movss dword [edi + 0x13c], xmm0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
movss xmm3, dword [edi + 0x18]
movss xmm0, dword [edi + 0x48]
movss xmm2, dword [edi + 0x1c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [edi + 0x7c]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x58]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [edi + 0x4c]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x101f4ea0]
addsd xmm2, xmm0
movss xmm0, dword [edi + 0x80]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [edi + 0x5c]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm1
movss xmm0, dword [edi + 0x108]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x10c]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x148], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x14c], xmm0
movss xmm0, dword [edi + 0x108]
movss xmm1, dword [edi + 0x10c]
movss dword [edi + 0xf8], xmm0
movss dword [edi + 0xfc], xmm1
movss dword [edi + 0x100], xmm0
movss dword [edi + 0x104], xmm1
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x10c]
mov dword [edi + 0x110], eax
mov dword [edi + 0x114], ecx
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x10c]
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], ecx
lea ecx, [edi + 0x164]
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x130], 0
mov word [edi + 0x138], 0
mov dword [edi + 0x150], 0
mov ax, word [edi + 0x156]
mov word [edi + 0x154], ax
mov dword [edi + 0x156], 0x10000
movss xmm0, dword [edi + 0x88]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x13], 0
mov byte [edi + 0x15a], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x15b], 0
movss xmm1, dword [esi + 0x38f4]
mov dword [esp + 0x20], eax
je 0x1003f494
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x1003f498
mov dword [esp + 0x20], eax
cvttss2si eax, xmm1
push 1
mov word [ecx + 8], ax
call fcn.1006c710
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
push ecx
lea ecx, [edi + 0x188]
movq qword [eax], xmm0
mov eax, dword [edi + 0x168]
mov dword [edi + 0x164], eax
mov dword [edi + 0x168], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
call fcn.1004a260
lea eax, [edi + 0x250]
mov dword [edi + 0x194], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x1003f518
mov eax, dword [eax + 0x1a0]
jmp 0x1003f51d
mov eax, 1
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x24c]
push ecx
mov dword [edi + 0x1ac], eax
lea ecx, [edi + 0x1b4]
mov dword [edi + 0x1b0], 0xbf800000
call fcn.1004a260
push ecx
lea ecx, [edi + 0x1c0]
call fcn.1004a260
test dword [esp + 0x14], 0x8000000
je 0x1003f626
mov edx, dword [0x1020f198]
xorps xmm0, xmm0
movss xmm2, dword [0x101f4f54]
movss xmm3, dword [edx + 0x3ccc]
comiss xmm0, xmm3
jbe 0x1003f582
xorps xmm1, xmm1
jmp 0x1003f589
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm4, dword [0x101f5004]
movss xmm3, dword [0x101f4f0c]
movss xmm5, dword [edx + 0x3cd0]
comiss xmm0, xmm5
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si ecx, xmm1
jbe 0x1003f5b7
xorps xmm1, xmm1
jmp 0x1003f5be
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [edx + 0x3cd4]
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1003f5e1
xorps xmm1, xmm1
jmp 0x1003f5e8
movaps xmm1, xmm2
minss xmm1, xmm5
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0x3cd8]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x1003f60b
xorps xmm2, xmm2
jmp 0x1003f60f
minss xmm2, xmm1
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov dword [edi + 0x1a8], eax
mov al, byte [edi + 0xcc]
test al, al
jle 0x1003f638
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x1003f64a
dec al
mov byte [edi + 0xcd], al
cmp byte [esp + 0x18], 0
je 0x1003f66e
mov edx, 2
mov ecx, edi
call fcn.1003fc20
cmp edi, dword [esi + 0x4a38]
jne 0x1003f66e
xor dl, dl
mov ecx, edi
call fcn.10045460
test byte [esp + 0x14], 1
movss xmm2, dword [esp + 0x5c]
movss xmm3, dword [esp + 0x58]
movss xmm4, dword [esp + 0x54]
movss xmm0, dword [esp + 0x50]
jne 0x1003f6ef
addss xmm0, dword [edi + 0x54]
push dword [esp + 0x48]
lea edx, [esp + 0x90]
movss dword [esp + 0x94], xmm4
push dword [esp + 0x48]
mov ecx, edi
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0x94], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x54]
movss dword [esp + 0x9c], xmm0
call fcn.1003cf00
movss xmm2, dword [esp + 0x64]
add esp, 8
movss xmm3, dword [esp + 0x58]
movss xmm4, dword [esp + 0x54]
movss xmm0, dword [esp + 0x50]
mov edx, dword [0x1020f198]
xor eax, eax
mov dword [edi + 0x23c], eax
movss xmm5, dword [edx + 0x390c]
movss xmm6, dword [edx + 0xe00]
subss xmm0, xmm5
comiss xmm6, xmm0
jb 0x1003f749
movss xmm0, dword [edx + 0x3910]
movss xmm1, dword [edx + 0xe04]
subss xmm4, xmm0
comiss xmm1, xmm4
jb 0x1003f749
addss xmm3, xmm5
comiss xmm3, xmm6
jbe 0x1003f749
addss xmm2, xmm0
mov dword [esp + 0x48], 1
comiss xmm2, xmm1
ja 0x1003f74d
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x74]
mov ecx, dword [esi + 0x48dc]
movaps xmm0, xmmword [esp + 0x50]
mov dword [edx + 0x4908], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 0x490c], ecx
mov dword [edx + 0x4910], eax
movups xmmword [edx + 0x4924], xmm0
movups xmmword [edx + 0x4914], xmm0
jmp 0x1003f7f7
mov edx, dword [0x1020f198]
mov dword [edx + 0x3f8c], edi
mov ecx, dword [edi + 0x19c]
cmp ecx, 0xffffffff
je 0x1003f7a3
shl ecx, 9
add ecx, dword [edx + 0x4d00]
jmp 0x1003f7a5
xor ecx, ecx
mov dword [edx + 0x4ce0], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x1003f7cf
mulss xmm0, dword [eax + 0x268]
movss dword [edx + 0x3d08], xmm0
movss dword [edx + 0x3cf4], xmm0
test ecx, ecx
jne 0x1003f7ef
cmp dword [edi + 0x198], ecx
jne 0x1003f7ef
mov al, 1
jmp 0x1003f7f1
xor al, al
mov byte [edi + 0x158], al
mov eax, dword [edx + 0x3f8c]
push 1
mov byte [eax + 0xb0], 1
lea eax, [edi + 0x1f4]
mov esi, dword [edx + 0x3f8c]
push eax
lea eax, [edi + 0x1ec]
push eax
mov ecx, dword [esi + 0x270]
call fcn.1004de10
mov eax, dword [esi + 0x270]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x21c], eax
mov eax, dword [esp + 0x40]
movss dword [esi + 0x220], xmm0
movss dword [esi + 0x224], xmm1
movss dword [esi + 0x228], xmm2
mov esi, dword [esp + 0x34]
mov byte [esi + 0xb0], 0
inc word [esi + 0xbc]
mov dword [ecx + 0x4954], 0
cmp eax, dword [esp + 0x38]
je 0x1003f9fb
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x1003f965
test edx, 0x800000
je 0x1003f8d8
cmp byte [ecx + 0x4a94], 0
je 0x1003f8d8
mov eax, dword [ecx + 0x4a38]
test eax, eax
je 0x1003f8d8
mov eax, dword [eax + 0x318]
cmp eax, dword [esi + 0x318]
jne 0x1003f8d8
mov al, 1
jmp 0x1003f8da
xor al, al
cmp byte [ecx + 0x5e24], 0
jne 0x1003f92b
test al, al
jne 0x1003f92b
movss xmm0, dword [esi + 0x1cc]
comiss xmm0, dword [esi + 0x1d4]
jae 0x1003f909
movss xmm0, dword [esi + 0x1d0]
comiss xmm0, dword [esi + 0x1d8]
jb 0x1003f92b
cmp byte [esi + 0xcc], 0
jg 0x1003f924
cmp byte [esi + 0xcd], 0
jg 0x1003f924
mov byte [esi + 0xd4], 1
jmp 0x1003f92b
mov byte [esi + 0xd5], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1003f965
cmp byte [eax + 0xb1], 0
jne 0x1003f945
cmp byte [eax + 0xd4], 0
jle 0x1003f94c
mov byte [esi + 0xd4], 1
cmp byte [eax + 0xb1], 0
jne 0x1003f95e
cmp byte [eax + 0xd5], 0
jle 0x1003f965
mov byte [esi + 0xd5], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x38a8]
jb 0x1003f978
mov byte [esi + 0xd4], 1
cmp byte [esi + 0xd4], 0
jg 0x1003f998
cmp byte [esi + 0xd5], 0
jg 0x1003f998
xor cl, cl
cmp byte [esi + 0xd6], cl
jg 0x1003f99a
xor al, al
jmp 0x1003f99c
mov cl, 1
mov al, 1
mov byte [esi + 0xb5], al
mov al, byte [esi + 0xd7]
test al, al
jle 0x1003f9bb
dec al
mov byte [esi + 0xd7], al
or dword [esi + 0xc], 0x30200
xor al, al
cmp byte [esi + 0xb1], al
jne 0x1003f9d1
cmp byte [esi + 0xae], al
je 0x1003f9d1
test cl, cl
je 0x1003f9f5
cmp byte [esi + 0xcc], 0
jg 0x1003f9f5
cmp byte [esi + 0xcd], 0
jg 0x1003f9f5
cmp byte [esi + 0xd5], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [esi + 0xb3], al
cmp byte [esi + 0xb3], 0
mov ecx, dword [esp + 0x17c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.10109e3a
mov esp, ebp
pop ebp
ret