Function at 0x1003ca30
Capabilities:
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
sub esp, 0xd0
mov eax, dword [0x100a33c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x40], edx
mov ecx, dword [ebx + 8]
push edi
mov dword [ebp - 0x5c], ecx
cmp byte [esi + 0x67], 0
mov dword [ebp - 0x24], eax
je 0x1003ca79
mov ecx, esi
call fcn.1003b880
mov eax, dword [ebp - 0x24]
mov edi, dword [0x100a38c8]
mov edx, dword [edi + 0x3f04]
mov dword [ebp - 0x50], edx
cmp byte [edx + 0xc8], 0
jne 0x1003cb29
test eax, eax
je 0x1003cac1
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x3f40], eax
jne 0x1003cab0
mov dword [edi + 0x3f44], eax
cmp dword [edi + 0x3f84], eax
jne 0x1003caff
mov byte [edi + 0x3f88], 1
jmp 0x1003caff
mov ecx, dword [edx + 0xfc]
mov eax, dword [edx + 0x104]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x40]
call fcn.100033e0
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x3f28], eax
jne 0x1003caff
push ecx
push dword [ebp - 0x40]
mov edx, 0xb
mov ecx, eax
call fcn.10021e20
mov eax, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x1003cb3e
cmp byte [ecx], 0
jne 0x1003cb3e
xorps xmm0, xmm0
lea ecx, [ebp - 0x90]
push 0x18
push 0
mov edx, eax
movups xmmword [ebp - 0x90], xmm0
call fcn.100115e0
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008b0e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
test eax, 0x100000
je 0x1003cb4f
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
jmp 0x1003cb5b
test ecx, ecx
jne 0x1003cb5d
or eax, 0x100000
mov dword [ebx + 0xc], eax
test ecx, ecx
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x68]
setne al
movzx eax, al
push eax
call fcn.1003d940
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
je 0x1003cb94
xor edx, edx
cmp dword [esi], edx
jle 0x1003cb94
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
cmp dword [eax], ecx
je 0x1003cb99
inc edx
add eax, 0x2c
mov dword [ebp - 0x28], eax
cmp edx, dword [esi]
jl 0x1003cb85
xor eax, eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x15], 0
test eax, eax
jne 0x1003cc2e
mov dword [ebp - 0xb4], eax
xorps xmm0, xmm0
mov dword [ebp - 0xa0], eax
mov ecx, esi
mov dword [ebp - 0x94], eax
or eax, 0xffffffff
mov word [ebp - 0x96], ax
mov word [ebp - 0x98], ax
lea eax, [ebp - 0xbc]
push eax
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0x9c], 0xffffffff
call fcn.1003e310
imul ecx, dword [esi], 0x2c
mov eax, dword [esi + 8]
movss xmm0, dword [ebp - 0x68]
add eax, 0xffffffd4
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x15], 1
add eax, ecx
mov dword [ebp - 0x28], eax
mov dword [eax], edx
movss dword [eax + 0x18], xmm0
mov byte [esi + 0x69], 1
jmp 0x1003cc33
movss xmm0, dword [ebp - 0x68]
mov ecx, eax
mov dword [ebp - 0x44], 1
sub ecx, dword [esi + 8]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28]
mov word [esi + 0x6c], ax
movss dword [edx + 0x1c], xmm0
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edx + 0x24], cx
mov eax, dword [edi + 0x3ea0]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x4c], eax
inc ecx
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x74], eax
mov eax, dword [edx + 0xc]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 8], eax
test eax, eax
je 0x1003ccc0
mov dword [edx + 0x20], 0xffffffff
jmp 0x1003cdad
mov ecx, dword [esi + 0x84]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ccd8
mov eax, dword [ebp - 0x40]
sub ecx, edx
inc ecx
add ecx, eax
je 0x1003cced
sub ecx, eax
jmp 0x1003ccfb
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ccf2
sub ecx, edx
mov eax, dword [esi + 0x84]
mov edx, 1
test eax, eax
mov dword [ebp - 0x58], ecx
cmovne edx, eax
mov eax, dword [esi + 0x88]
add ecx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], ecx
lea edx, [esi + 0x84]
cmp ecx, eax
jl 0x1003cd3e
add eax, eax
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10022d00
mov ecx, dword [ebp - 0x34]
lea edx, [esi + 0x84]
mov eax, dword [edx + 4]
mov dword [ebp - 0x60], eax
cmp ecx, eax
jle 0x1003cd7c
test eax, eax
je 0x1003cd5e
cdq
sub eax, edx
lea edx, [esi + 0x84]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x60]
jmp 0x1003cd63
mov ecx, 8
mov eax, dword [ebp - 0x34]
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10022d00
mov ecx, dword [ebp - 0x34]
lea edx, [esi + 0x84]
push dword [ebp - 0x58]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
dec ecx
push dword [ebp - 0x40]
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x8c]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
mov byte [eax + ecx - 1], 0
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x54], eax
jge 0x1003cdda
test byte [esi + 0xc], 2
je 0x1003cdda
cmp dword [esi + 0x18], 0
jne 0x1003cdda
cmp ecx, eax
jge 0x1003cdcb
cmp dword [esi + 0x14], 0
jne 0x1003cdda
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
test al, al
jne 0x1003cde0
mov dword [esi + 0x18], ecx
jmp 0x1003cde0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
test byte [ebx + 0xc], 2
je 0x1003cdf2
cmp dword [esi + 0x14], ecx
je 0x1003cdf2
test al, al
jne 0x1003cdf2
mov dword [esi + 0x18], ecx
cmp dword [esi + 0x1c], ecx
mov eax, dword [ebp - 0x3c]
sete dl
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x78], dl
mov edx, dword [ebp - 0x4c]
jne 0x1003ce0c
mov byte [esi + 0x68], 1
jmp 0x1003ce38
cmp dword [esi + 0x14], 0
jne 0x1003ce38
cmp eax, edx
jge 0x1003ce38
cmp dword [ebp - 0x24], 0
jne 0x1003ce38
cmp dword [esi], 1
jne 0x1003ce38
mov eax, dword [ebp - 0x34]
test byte [esi + 0xc], 2
movzx eax, al
cmove eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x28]
jge 0x1003ce89
cmp eax, dword [ebp - 0x4c]
jge 0x1003ce4b
cmp byte [ebp - 0x15], 0
je 0x1003ce89
xorps xmm0, xmm0
mov edx, ecx
push 0x18
push 0
lea ecx, [ebp - 0x90]
movups xmmword [ebp - 0x90], xmm0
call fcn.100115e0
add esp, 8
cmp byte [ebp - 0x38], 0
jne 0x1003cb29
mov al, byte [ebp - 0x34]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008b0e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [esi + 0x14], ecx
jne 0x1003ce97
mov eax, dword [edi + 0x3ea0]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x50]
movss xmm1, dword [edx + 0x18]
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 0x10c]
mov eax, dword [edx + 4]
movss dword [ebp - 0x60], xmm0
and eax, 0xc0
movss xmm0, dword [edx + 0x14]
mov edx, 4
mov dword [ebp - 0x2c], eax
jne 0x1003cee3
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x50]
xorps xmm2, xmm2
addss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x58], xmm0
movss xmm5, dword [esi + edx + 0x28]
addss xmm5, xmm2
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x70], xmm5
movss dword [ecx + 0x108], xmm0
movss dword [ecx + 0x10c], xmm5
movss xmm4, dword [ebp - 0x64]
movss xmm6, dword [0x1009ff98]
addss xmm4, xmm5
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 8], xmm4
test eax, eax
jne 0x1003d0d2
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm0
movss xmm1, dword [esi + 0x5c]
ja 0x1003cf68
comiss xmm2, xmm1
jbe 0x1003d0d2
mov ecx, dword [0x100a38c8]
movaps xmm2, xmm0
maxss xmm2, xmm3
mov byte [ebp - 0x15], 1
movaps xmm0, xmm5
movaps xmm5, xmm4
subss xmm0, xmm6
mov eax, dword [ecx + 0x3f04]
movss dword [ebp - 0xcc], xmm2
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x3f04]
mov dword [ebp - 0x80], eax
movss dword [ebp - 0xc8], xmm0
mov eax, dword [eax + 0x288]
mov dword [ebp - 0x7c], eax
movups xmm3, xmmword [eax + 0x60]
comiss xmm3, xmm2
movups xmmword [ebp - 0x90], xmm3
jbe 0x1003cfcd
movaps xmm2, xmm3
movss dword [ebp - 0xcc], xmm2
movss xmm3, dword [ebp - 0x8c]
comiss xmm3, xmm0
jbe 0x1003cfe5
movaps xmm0, xmm3
movss dword [ebp - 0xc8], xmm0
movss xmm3, dword [ebp - 0x88]
comiss xmm1, xmm3
jbe 0x1003cff5
movaps xmm1, xmm3
movss xmm3, dword [ebp - 0x84]
comiss xmm4, xmm3
jbe 0x1003d005
movaps xmm5, xmm3
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
maxss xmm2, xmm1
mov dword [ebp - 0x2c], ecx
maxss xmm0, xmm5
movss dword [ebp - 0xc4], xmm2
movss dword [ebp - 0xc0], xmm0
cmp edx, eax
jne 0x1003d059
lea ecx, [edx + 1]
test eax, eax
je 0x1003d041
cdq
sub eax, edx
mov edx, dword [ebp - 0x2c]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x1003d049
mov edx, dword [ebp - 0x2c]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10022eb0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
movups xmm0, xmmword [ebp - 0xcc]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x7c]
movups xmmword [ecx + 0x60], xmm0
call fcn.1002b230
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [edx + 0x22c], eax
movss dword [edx + 0x230], xmm0
movss dword [edx + 0x234], xmm1
movss dword [edx + 0x238], xmm2
movss xmm4, dword [ebp - 0x64]
movss xmm2, dword [ebp - 0x6c]
movss xmm5, dword [ebp - 0x70]
jmp 0x1003d0d6
mov byte [ebp - 0x15], 0
movss xmm0, dword [ecx + 0x120]
subss xmm4, xmm5
subss xmm2, dword [ebp - 0x58]
movss xmm1, dword [edi + 0x3894]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ecx + 0x124]
lea ecx, [ebp - 0x68]
movss dword [ebp - 0x6c], xmm0
movss dword [ebp - 0x68], xmm2
movss dword [ebp - 0x64], xmm4
call fcn.10011480
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x70]
mov edx, dword [ebp - 0x1c]
push 0
movss dword [eax + 0x120], xmm0
movss xmm0, dword [ebp - 0x6c]
push 0
movss dword [eax + 0x124], xmm0
call fcn.100115e0
add esp, 8
test al, al
jne 0x1003d183
cmp byte [ebp - 0x15], al
je 0x1003d150
call fcn.100093e0
mov eax, dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [eax + 0x10c], xmm0
mov al, byte [ebp - 0x34]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008b0e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x38]
movzx eax, al
inc eax
shl eax, 4
or eax, 0x1000
cmp byte [edi + 0x4290], 0
mov dword [ebp - 0x2c], eax
je 0x1003d1e3
cmp dword [edi + 0x42b0], 0xffffffff
je 0x1003d1de
lea ecx, [edi + 0x42b4]
mov eax, str._IMWINDOW
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003d1d2
test dl, dl
je 0x1003d1ce
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003d1d2
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003d1b2
xor eax, eax
jmp 0x1003d1d7
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x2c]
je 0x1003d1e3
or eax, 0x200
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x2d]
push eax
call fcn.10037f00
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 0x47], al
test al, al
je 0x1003d20d
cmp byte [ebp - 0x38], 0
jne 0x1003d20d
mov dword [esi + 0x18], ecx
cmp byte [ebp - 0x1d], 0
je 0x1003d231
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1003d231
cmp dword [edi + 0x3f40], ecx
jne 0x1003d237
cmp byte [edi + 0x3f4c], 0
je 0x1003d231
mov dword [edi + 0x3f78], eax
cmp dword [edi + 0x3f40], ecx
mov edx, dword [0x100a38c8]
je 0x1003d263
mov eax, dword [edx + 0x3fb0]
cmp dword [edx + 0x3f2c], eax
jne 0x1003d254
mov byte [edx + 0x3f34], 1
cmp dword [edx + 0x3f40], eax
jne 0x1003d263
mov byte [edx + 0x3f4d], 1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1003d28d
mov eax, dword [eax + 0x388]
test eax, eax
je 0x1003d28d
cmp dword [eax + 0x18], 0
jne 0x1003d28d
test dword [eax + 0x10], 0x400
jne 0x1003d28d
cmp dword [eax + 0x24], 1
jne 0x1003d28d
mov al, 1
jmp 0x1003d28f
xor al, al
cmp byte [ebp - 0x1d], 0
je 0x1003d5ad
xorps xmm3, xmm3
test al, al
je 0x1003d2c8
cmp byte [edx + 0xd60], 0
je 0x1003d2c8
movss xmm0, dword [edx + 0x36f8]
comiss xmm0, xmm3
setae al
test al, al
je 0x1003d2c8
mov ecx, dword [ebp - 0x24]
call fcn.10006100
jmp 0x1003d5ad
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x4c]
jl 0x1003d5ad
cmp byte [edx + 0xd60], 0
je 0x1003d5ad
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + 0x36f8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1003d5ad
mov edx, dword [ebp - 0x24]
xor eax, eax
xorps xmm5, xmm5
cmp byte [edi + 0x4290], al
jne 0x1003d3ab
test byte [esi + 0xc], 1
jne 0x1003d322
test edx, edx
je 0x1003d5ad
movss xmm0, dword [edi + 0xb4]
comiss xmm3, xmm0
jbe 0x1003d366
movss xmm1, dword [edi + 0xd58]
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x1003d366
push dword [edi + 0xd5c]
mov edx, dword [ebp - 0x28]
movaps xmm5, xmm2
push dword [edi + 0xd58]
mov ecx, esi
subss xmm5, xmm1
call fcn.1003c420
add esp, 8
or eax, 0xffffffff
jmp 0x1003d3a2
comiss xmm0, xmm3
jbe 0x1003d3ab
movss xmm0, dword [edi + 0xd58]
movss xmm1, dword [ebp - 0xc]
comiss xmm0, xmm1
jbe 0x1003d3ab
push dword [edi + 0xd5c]
mov edx, dword [ebp - 0x28]
movaps xmm5, xmm0
push dword [edi + 0xd58]
mov ecx, esi
subss xmm5, xmm1
call fcn.1003c420
add esp, 8
mov eax, 1
mov edx, dword [ebp - 0x24]
xorps xmm3, xmm3
mov ecx, dword [ebp - 0x1c]
test edx, edx
je 0x1003d5ad
test byte [edx + 8], 4
jne 0x1003d5ad
cmp byte [edi + 0x4290], 0
je 0x1003d3d2
cmp dword [edi + 0x42a8], ecx
je 0x1003d49d
movss xmm2, dword [edi + 0x3c98]
xor cl, cl
movss xmm1, dword [edi + 0x36d0]
movaps xmm0, xmm2
andps xmm1, xmmword [0x100a03d0]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x1009ffc8]
subss xmm1, xmm0
mulss xmm1, dword [0x1009ff3c]
comiss xmm3, xmm1
ja 0x1003d41d
movaps xmm3, xmm2
mulss xmm3, dword [0x1009ffe0]
minss xmm3, xmm1
movss xmm0, dword [edi + 0xd5c]
movss xmm1, dword [ebp - 0x10]
mulss xmm2, dword [0x1009ffbc]
subss xmm1, xmm0
movzx ecx, cl
subss xmm0, dword [ebp - 8]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae ecx, dword [ebp - 0x44]
comiss xmm5, xmm4
mov dword [ebp - 0x44], ecx
jbe 0x1003d495
test eax, eax
jns 0x1003d472
mov ecx, dword [ebp - 0x28]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1003d490
jle 0x1003d495
mov ecx, dword [ebp - 0x28]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 8]
imul ecx
mov eax, dword [esi]
sar edx, 3
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
je 0x1003d49d
mov ecx, dword [ebp - 0x44]
test cl, cl
je 0x1003d5ad
mov eax, dword [ebp - 0x24]
lea ecx, [edi + 0x534c]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0xa0], 0x3f000000
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0xb4], 2
call fcn.10022360
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x3f14], edx
mov ecx, dword [edx + 0x84]
call fcn.100059c0
mov eax, dword [edi + 0x3f14]
movss xmm0, dword [edi + 0x3f70]
mov ecx, dword [0x100a38c8]
movss xmm1, dword [eax + 0x40]
movss xmm2, dword [eax + 0x44]
subss xmm1, dword [ebp - 0x14]
subss xmm2, dword [ebp - 0x10]
mov byte [edi + 0x3f4e], 1
subss xmm0, xmm1
movss dword [edi + 0x3f70], xmm0
movss xmm0, dword [edi + 0x3f74]
subss xmm0, xmm2
movss dword [edi + 0x3f74], xmm0
movaps xmm0, xmmword [0x100a0410]
mov dword [ecx + 0x3f54], 0xffffffff
mov dword [ecx + 0x3f58], 0xffffffff
movups xmmword [ecx + 0x3f5c], xmm0
mov dword [ecx + 0x3f6c], 0xffffffff
cmp byte [ecx + 0x4161], 0
mov word [ecx + 0x4178], 0
setne al
mov byte [ecx + 0x4160], al
cmp byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x288]
mov dword [ebp - 0x44], eax
jne 0x1003d5f0
cmp byte [ebp - 0x2d], 0
jne 0x1003d5f0
cmp byte [ebp - 0x34], 0
je 0x1003d5dd
mov eax, dword [ebp - 0x74]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1003d5f5
cmp byte [ebp - 0x74], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1003d5f5
mov ecx, 0x22
movss xmm1, dword [0x1009ff98]
call fcn.10003a80
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
call fcn.1003da40
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push 1
call fcn.10004840
add esp, 0xc
mov ecx, 0x20
call fcn.10005ba0
test al, al
je 0x1003d661
mov ecx, dword [0x100a38c8]
movss xmm0, dword [ecx + 0x36ac]
ucomiss xmm0, dword [0x1009fef8]
lahf
test ah, 0x44
jnp 0x1003d653
cmp byte [ecx + 0x3697], 0
je 0x1003d661
cmp byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
jne 0x1003d664
mov dword [esi + 0x18], eax
jmp 0x1003d664
mov eax, dword [ebp - 0x1c]
test byte [esi + 0xc], 8
je 0x1003d66e
or dword [ebx + 0xc], 4
cmp dword [ebp - 0x5c], 0
je 0x1003d6d6
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1003d67e
mov eax, dword [ecx + 4]
push eax
xor edx, edx
mov ecx, str.CLOSE
call fcn.100033e0
mov ecx, dword [0x100a38c8]
add esp, 4
mov dword [ebp - 0x54], eax
cmp dword [ecx + 0x3f40], eax
jne 0x1003d6a5
mov dword [ecx + 0x3f44], eax
cmp dword [ecx + 0x3f84], eax
jne 0x1003d6b4
mov byte [ecx + 0x3f88], 1
cmp dword [ecx + 0x3f28], eax
jne 0x1003d6db
push ecx
push str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.10021e20
mov eax, dword [ebp - 0x54]
add esp, 8
jmp 0x1003d6db
xor eax, eax
mov dword [ebp - 0x54], eax
push dword [esi + 0x78]
lea ecx, [ebp - 0x46]
push dword [esi + 0x74]
lea edx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x45]
push ecx
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x40]
push dword [ebx + 0xc]
call fcn.1003de90
add esp, 0x24
cmp byte [ebp - 0x45], 0
je 0x1003d749
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1003d749
mov ecx, dword [ebp - 0x28]
mov byte [eax], 0
test byte [ecx + 4], 1
jne 0x1003d73f
mov byte [ecx + 0x28], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [ecx]
jne 0x1003d749
mov dword [ecx + 0xc], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
jmp 0x1003d749
mov eax, dword [ecx]
cmp dword [esi + 0x1c], eax
je 0x1003d749
mov dword [esi + 0x18], eax
cmp dword [ebp - 0x24], 0
je 0x1003d76a
cmp byte [ebp - 0x2d], 0
jne 0x1003d760
mov eax, dword [ebp - 0x54]
cmp dword [edi + 0x3f2c], eax
jne 0x1003d76a
or dword [edi + 0x3fb8], 0x80
cmp byte [ebp - 0x15], 0
je 0x1003d775
call fcn.100093e0
cmp byte [ebp - 0x46], 0
mov eax, dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [eax + 0x10c], xmm0
je 0x1003d91b
mov eax, dword [ebp - 0x1c]
cmp dword [edi + 0x3f2c], eax
jne 0x1003d91b
cmp byte [ebp - 0x1d], 0
jne 0x1003d91b
movss xmm0, dword [edi + 0x3f3c]
comiss xmm0, dword [edi + 0x52fc]
jbe 0x1003d91b
mov ecx, dword [0x100a38c8]
cmp byte [ecx + 0x415f], 0
mov edx, dword [ecx + 0x3f04]
je 0x1003d819
cmp byte [ecx + 0x415e], 0
jne 0x1003d819
test byte [ecx + 0x3fb4], 4
jne 0x1003d91b
mov eax, dword [ecx + 0x4124]
mov ecx, dword [ecx + 0x3fb0]
cmp eax, ecx
jne 0x1003d91b
test eax, eax
je 0x1003d91b
cmp ecx, dword [edx + 4]
jmp 0x1003d8d0
mov eax, dword [ecx + 0x3fb8]
test al, 1
je 0x1003d91b
cmp dword [ecx + 0x3f08], edx
je 0x1003d837
test al, al
jns 0x1003d91b
mov eax, dword [ecx + 0x3f40]
test eax, eax
je 0x1003d866
cmp eax, dword [ecx + 0x3fb0]
je 0x1003d866
cmp byte [ecx + 0x3f4d], 0
jne 0x1003d866
cmp eax, dword [edx + 0x84]
je 0x1003d866
cmp eax, dword [edx + 0x88]
jne 0x1003d91b
mov eax, dword [ecx + 0x4120]
test eax, eax
je 0x1003d898
mov eax, dword [eax + 0x32c]
test eax, eax
je 0x1003d898
cmp byte [eax + 0xc4], 0
je 0x1003d898
cmp eax, dword [edx + 0x32c]
je 0x1003d898
test dword [eax + 8], 0xc000000
jne 0x1003d91b
mov eax, dword [edx + 0x2c]
cmp eax, dword [ecx + 0x40ec]
je 0x1003d8bb
mov edi, dword [ecx + 0x3f14]
test edi, edi
je 0x1003d91b
mov eax, dword [edx + 0x32c]
cmp eax, dword [edi + 0x32c]
jne 0x1003d91b
test byte [ecx + 0x3fb4], 4
jne 0x1003d91b
mov eax, dword [ecx + 0x3fb0]
cmp eax, dword [edx + 0x84]
jne 0x1003d8db
cmp byte [edx + 0xc5], 0
jne 0x1003d91b
test byte [esi + 0xc], 0x20
jne 0x1003d91b
mov eax, dword [ebp - 0x28]
test byte [eax + 4], 0x10
jne 0x1003d91b
mov eax, dword [ebp - 0x40]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1003d90a
mov dl, byte [ecx]
test dl, dl
je 0x1003d90a
cmp dl, 0x23
jne 0x1003d904
cmp byte [ecx + 1], dl
je 0x1003d90a
inc ecx
cmp ecx, 0xffffffff
jb 0x1003d8f4
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.100120d0
add esp, 0xc
mov eax, dword [ebp - 0x34]
cmp byte [ebp - 0x38], 0
movzx ecx, byte [ebp - 0x47]
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008b0e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret