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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x10133400]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], edi
xorps xmm3, xmm3
movsd xmm2, qword [0x101218b0]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x18]
mov dword [esp + 8], esi
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
jmp 0x1005729e
mov dword [esi + 8], eax
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [ecx]
add ecx, 4
mov al, byte [edi + 0x38]
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], ecx
mov byte [esp + 0x1b], al
test al, 0xc
je 0x1005739d
mov eax, dword [edi + 0x40]
add eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [edi + 0x40], eax
mov al, byte [esp + 0x1b]
je 0x100572d5
test al, 4
je 0x1005739d
mov esi, dword [edi + 0x18]
mov dword [edi + 0x18], ecx
test al, 8
je 0x10057305
cmp dword [esp + 0x28], 0
jne 0x10057305
mov eax, dword [edi + 0x3c]
mov edx, 3
push 0xffffffffffffffff
mov ecx, edi
mov dword [edi + 0x40], eax
call fcn.100410b0
mov ecx, dword [esp + 0x10]
add esp, 4
mov al, byte [esp + 0x1b]
test al, 4
je 0x10057379
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov edx, ecx
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
sar edx, 2
dec edx
test eax, eax
je 0x10057338
mov edi, dword [eax + edx*4]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x24]
jmp 0x10057340
mov dword [esp + 0x10], 0
test edx, edx
je 0x10057365
cmp ecx, esi
jbe 0x10057365
test eax, eax
je 0x10057359
sub esi, dword [esp + 0x28]
sar esi, 2
mov ecx, dword [eax + esi*4 - 4]
jmp 0x1005735b
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp eax, ecx
je 0x10057379
jmp 0x10057369
mov eax, dword [esp + 0x10]
push eax
mov edx, 2
mov ecx, edi
call fcn.100410b0
add esp, 4
cmp byte [edi + 6], 1
je 0x100587ed
mov esi, dword [edi + 0xc]
xorps xmm3, xmm3
movsd xmm2, qword [0x101218b0]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], esi
mov eax, edx
shr eax, 6
movzx eax, al
mov dword [esp + 0x10], eax
shl eax, 4
add esi, eax
mov dword [esp + 0x30], eax
mov eax, edx
mov dword [esp + 0x28], esi
and eax, 0x3f
cmp eax, 0x25
ja case.default.0x100573c4
jmp dword [eax*4 + 0x1005880c]
mov ecx, dword [esp + 8]
shr edx, 0x17
add edx, edx
mov eax, dword [ecx + edx*8]
mov ecx, dword [ecx + edx*8 + 4]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov dword [esi + 4], ecx
mov eax, dword [eax + edx*8 + 8]
jmp 0x10057293
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [edx + 8]
jmp 0x10057293
mov eax, edx
mov dword [esi + 8], 1
shr eax, 0x17
mov dword [esi], eax
mov esi, dword [esp + 8]
test edx, 0x7fc000
je 0x1005729e
add ecx, 4
jmp case.default.0x100573c4
mov eax, dword [esp + 8]
shr edx, 0x17
shl edx, 4
add eax, edx
nop dword [eax + eax]
mov dword [eax + 8], 0
sub eax, 0x10
cmp eax, esi
jae 0x10057440
jmp case.default.0x100573c4
mov eax, dword [esp + 0x40]
shr edx, 0x17
mov eax, dword [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [edx + 8]
jmp 0x10057293
mov eax, dword [esp + 0x40]
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
push esi
push edx
mov dword [esp + 0x68], eax
lea edx, [esp + 0x68]
mov dword [esp + 0x70], 5
mov dword [edi + 0x18], ecx
mov ecx, edi
call fcn.100563d0
add esp, 8
mov esi, dword [edi + 0xc]
xorps xmm3, xmm3
movsd xmm2, qword [0x101218b0]
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], esi
jmp 0x1005729e
mov eax, edx
mov dword [edi + 0x18], ecx
shr eax, 0xe
test eax, 0x100
je 0x100574d6
mov ecx, dword [esp + 0x1c]
movzx eax, al
jmp 0x100574df
mov ecx, dword [esp + 8]
and eax, 0x1ff
shl eax, 4
shr edx, 0x17
add ecx, eax
shl edx, 4
add edx, dword [esp + 8]
push esi
push ecx
jmp 0x10057499
mov eax, dword [esp + 0x40]
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
push esi
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
lea edx, [esp + 0x78]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], 5
call fcn.10056560
jmp 0x100574a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 4]
shr edx, 0x17
mov eax, dword [eax + edx*4 + 0x14]
mov dword [esp + 0x28], eax
mov edx, dword [eax + 8]
mov eax, dword [esi]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx], eax
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
cmp dword [esi + 8], 4
jl case.default.0x100573c4
mov eax, dword [esi]
mov esi, dword [esp + 8]
mov dword [esp + 0x30], eax
test byte [eax + 5], 3
je 0x1005729e
mov edx, dword [esp + 0x28]
mov ah, byte [edx + 5]
test ah, 4
je 0x1005729e
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x15], 1
jne 0x10057592
mov edx, dword [esp + 0x30]
call fcn.10042550
jmp 0x10057296
mov al, byte [ecx + 0x14]
and ah, 0xf8
and al, 3
or al, ah
mov byte [edx + 5], al
jmp 0x10057296
mov eax, edx
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 8]
shr eax, 0xe
test eax, 0x100
je 0x100575c3
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x100575cd
and eax, 0x1ff
shl eax, 4
add eax, ecx
shr edx, 0x17
mov dword [esp + 0x10], eax
test edx, 0x100
je 0x100575f9
push dword [esp + 0x10]
movzx eax, dl
mov ecx, edi
shl eax, 4
mov edx, esi
add eax, dword [esp + 0x20]
push eax
call fcn.10056560
jmp 0x100574a0
push dword [esp + 0x10]
add edx, edx
lea eax, [ecx + edx*8]
mov edx, esi
push eax
mov ecx, edi
call fcn.10056560
jmp 0x100574a0
mov eax, edx
shr edx, 0xe
and edx, 0x1ff
shr eax, 0x17
mov ecx, edx
shr ecx, 3
and ecx, 0x1f
je 0x10057632
and edx, 7
dec ecx
add edx, 8
shl edx, cl
mov ecx, eax
sar ecx, 3
and ecx, 0x1f
je 0x10057645
and eax, 7
dec ecx
add eax, 8
shl eax, cl
push edx
mov edx, eax
mov ecx, edi
call fcn.10053c80
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 5
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x100574a3
mov ecx, edi
call fcn.10043440
jmp 0x100574a3
mov ecx, dword [esp + 8]
mov eax, edx
shr eax, 0x17
shl eax, 4
add ecx, eax
shr edx, 0xe
mov dword [esp + 0x28], ecx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x18], eax
test edx, 0x100
je 0x100576c9
movzx eax, dl
mov edx, ecx
shl eax, 4
add eax, dword [esp + 0x1c]
push esi
push eax
jmp 0x10057499
mov eax, dword [esp + 8]
and edx, 0x1ff
shl edx, 4
add eax, edx
mov edx, ecx
push esi
push eax
jmp 0x10057499
mov edi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x17
test eax, 0x100
je 0x100576fd
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10057704
shl eax, 4
add eax, dword [esp + 8]
shr edx, 0xe
mov dword [esp + 0x10], eax
test edx, 0x100
je 0x1005771f
movzx eax, dl
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x1005772e
mov eax, dword [esp + 8]
and edx, 0x1ff
shl edx, 4
add eax, edx
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], 3
jne 0x10057756
cmp dword [eax + 8], 3
jne 0x10057756
movsd xmm0, qword [eax]
addsd xmm0, qword [edx]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x100573c4
push 5
push eax
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
mov edx, esi
call fcn.10056fa0
add esp, 0xc
jmp 0x100574a3
mov edi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x17
test eax, 0x100
je 0x1005778a
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10057791
shl eax, 4
add eax, dword [esp + 8]
shr edx, 0xe
mov dword [esp + 0x10], eax
test edx, 0x100
je 0x100577ac
movzx eax, dl
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x100577bb
mov eax, dword [esp + 8]
and edx, 0x1ff
shl edx, 4
add eax, edx
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], 3
jne 0x100577e3
cmp dword [eax + 8], 3
jne 0x100577e3
movsd xmm0, qword [edx]
subsd xmm0, qword [eax]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x100573c4
push 6
push eax
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
mov edx, esi
call fcn.10056fa0
add esp, 0xc
jmp 0x100574a3
mov edi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x17
test eax, 0x100
je 0x10057817
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x1005781e
shl eax, 4
add eax, dword [esp + 8]
shr edx, 0xe
mov dword [esp + 0x10], eax
test edx, 0x100
je 0x10057839
movzx eax, dl
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10057848
mov eax, dword [esp + 8]
and edx, 0x1ff
shl edx, 4
add eax, edx
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], 3
jne 0x10057870
cmp dword [eax + 8], 3
jne 0x10057870
movsd xmm0, qword [eax]
mulsd xmm0, qword [edx]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x100573c4
push 7
push eax
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
mov edx, esi
call fcn.10056fa0
add esp, 0xc
jmp 0x100574a3
mov edi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x17
test eax, 0x100
je 0x100578a4
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x100578ab
shl eax, 4
add eax, dword [esp + 8]
shr edx, 0xe
mov dword [esp + 0x10], eax
test edx, 0x100
je 0x100578c6
movzx eax, dl
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x100578d5
mov eax, dword [esp + 8]
and edx, 0x1ff
shl edx, 4
add eax, edx
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], 3
jne 0x100578fd
cmp dword [eax + 8], 3
jne 0x100578fd
movsd xmm0, qword [edx]
divsd xmm0, qword [eax]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x100573c4
push 8
push eax
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
mov edx, esi
call fcn.10056fa0
add esp, 0xc
jmp 0x100574a3
mov edi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x17
test eax, 0x100
je 0x10057931
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10057938
shl eax, 4
add eax, dword [esp + 8]
shr edx, 0xe
mov dword [esp + 0x10], eax
test edx, 0x100
je 0x10057953
movzx eax, dl
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10057962
mov eax, dword [esp + 8]
and edx, 0x1ff
shl edx, 4
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp dword [edx + 8], 3
jne 0x100579d3
cmp dword [eax + 8], 3
jne 0x100579d3
movsd xmm0, qword [edx]
sub esp, 8
movsd qword [esp + 0x38], xmm0
divsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fstp qword [esp]
call fcn.100f3e50
mov eax, dword [esp + 0x1c]
add esp, 8
movsd xmm1, qword [esp + 0x30]
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
mulsd xmm0, qword [eax]
subsd xmm1, xmm0
movsd qword [esi], xmm1
movsd xmm2, qword [0x101218b0]
xorps xmm3, xmm3
mov dword [esi + 8], 3
jmp 0x10057296
push 9
push eax
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
mov edx, esi
call fcn.10056fa0
add esp, 0xc
jmp 0x100574a3
mov edi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x17
test eax, 0x100
je 0x10057a07
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10057a0e
shl eax, 4
add eax, dword [esp + 8]
shr edx, 0xe
mov dword [esp + 0x10], eax
test edx, 0x100
je 0x10057a29
movzx eax, dl
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10057a38
mov eax, dword [esp + 8]
and edx, 0x1ff
shl edx, 4
add eax, edx
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], 3
jne 0x10057a5e
cmp dword [eax + 8], 3
jne 0x10057a5e
movsd xmm0, qword [edx]
movsd xmm1, qword [eax]
call fcn.100f2dc0
movsd qword [esi], xmm0
jmp 0x100579bc
push 0xa
push eax
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
mov edx, esi
call fcn.10056fa0
add esp, 0xc
jmp 0x100574a3
mov eax, dword [esp + 8]
shr edx, 0x17
shl edx, 4
add eax, edx
cmp dword [eax + 8], 3
jne 0x10057a9f
movsd xmm0, qword [eax]
xorps xmm0, xmm2
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x100573c4
push 0xb
push eax
mov dword [edi + 0x18], ecx
mov edx, esi
push eax
mov ecx, edi
call fcn.10056fa0
add esp, 0xc
jmp 0x100574a3
mov eax, dword [esp + 8]
shr edx, 0x17
add edx, edx
cmp dword [eax + edx*8 + 8], 0
je 0x10057ae4
cmp dword [eax + edx*8 + 8], 1
jne 0x10057ad4
cmp dword [eax + edx*8], 0
je 0x10057ae4
xor eax, eax
mov dword [esi + 8], 1
mov dword [esi], eax
jmp case.default.0x100573c4
mov eax, 1
mov dword [esi], eax
mov dword [esi + 8], eax
jmp case.default.0x100573c4
mov eax, dword [esp + 8]
shr edx, 0x17
shl edx, 4
add eax, edx
mov dword [esp + 0x30], eax
mov edx, dword [eax + 8]
sub edx, 4
je 0x10057bda
sub edx, 1
je 0x10057b4b
push 0xc
mov dword [edi + 0x18], ecx
mov edx, eax
push esi
push 0x1011b5c0
mov ecx, edi
call fcn.100567f0
add esp, 0xc
test eax, eax
jne 0x100574a3
mov edx, dword [esp + 0x30]
mov ecx, edi
push str.get_length_of
call fcn.10040b70
add esp, 4
jmp 0x100574a3
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10057bae
mov edx, dword [eax + 0xc]
mov eax, ecx
add eax, eax
mov dword [esp + 0x3c], edx
cmp dword [edx + eax*8 - 8], 0
jne 0x10057baa
xor edx, edx
cmp ecx, 1
jbe 0x10057bc2
mov esi, dword [esp + 0x3c]
mov edi, ecx
nop dword [eax + eax]
lea ecx, [edx + edi]
shr ecx, 1
mov eax, ecx
add eax, eax
mov eax, dword [esi + eax*8 - 8]
test eax, eax
cmovne edx, ecx
cmovne ecx, edi
mov edi, ecx
mov eax, edi
sub eax, edx
cmp eax, 1
ja 0x10057b80
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
jmp 0x10057bc2
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0x1011b8d0
mov edx, ecx
je 0x10057bc2
mov ecx, eax
call fcn.10054100
mov edx, eax
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp 0x10057296
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esi + 8], 3
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10121890]
movsd qword [esi], xmm0
jmp case.default.0x100573c4
mov esi, edx
mov dword [edi + 0x18], ecx
shr edx, 0xe
mov ecx, edi
and edx, 0x1ff
shr esi, 0x17
push edx
sub edx, esi
inc edx
call fcn.10056c60
mov ecx, dword [edi + 0x10]
add esp, 4
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x10057c34
mov ecx, edi
call fcn.10043440
mov eax, dword [edi + 0xc]
xorps xmm3, xmm3
mov edx, dword [esp + 0x30]
movsd xmm2, qword [0x101218b0]
mov dword [esp + 8], eax
mov edi, dword [esp + 8]
shl esi, 4
add esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx + edi], eax
mov eax, edi
mov dword [edx + eax + 4], ecx
mov eax, dword [esi + 8]
mov esi, edi
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [edx + esi + 8], eax
jmp 0x1005729e
shr edx, 0xe
lea ecx, [ecx + edx*4]
add ecx, 0xfff80004
jmp case.default.0x100573c4
mov esi, dword [esp + 8]
mov eax, edx
shr eax, 0x17
test eax, 0x100
je 0x10057ca4
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10057ca9
shl eax, 4
add eax, esi
shr edx, 0xe
mov dword [esp + 0x10], eax
test edx, 0x100
je 0x10057cc6
movzx eax, dl
mov edx, dword [esp + 0x1c]
shl eax, 4
add edx, eax
jmp 0x10057cd1
and edx, 0x1ff
shl edx, 4
add edx, esi
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x10057cf8
push edx
mov edx, ecx
mov ecx, edi
call fcn.10056ba0
add esp, 4
test eax, eax
je 0x10057cf8
mov ecx, 1
jmp 0x10057cfa
xor ecx, ecx
mov eax, dword [esp + 0x20]
shr eax, 6
movzx eax, al
cmp ecx, eax
mov ecx, dword [esp + 0xc]
jne 0x10057d1a
mov eax, dword [ecx]
shr eax, 0xe
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
mov esi, dword [edi + 0xc]
add ecx, 4
movsd xmm2, qword [0x101218b0]
xorps xmm3, xmm3
mov dword [esp + 8], esi
jmp 0x1005729e
mov eax, edx
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 8]
shr eax, 0xe
test eax, 0x100
je 0x10057d53
movzx esi, al
shl esi, 4
add esi, dword [esp + 0x1c]
jmp 0x10057d5d
and eax, 0x1ff
add eax, eax
lea esi, [ecx + eax*8]
shr edx, 0x17
test edx, 0x100
je 0x10057d83
movzx edx, dl
mov ecx, edi
shl edx, 4
add edx, dword [esp + 0x1c]
push esi
call fcn.10056af0
add esp, 4
cmp eax, dword [esp + 0x10]
jmp 0x10057d06
shl edx, 4
add edx, ecx
mov ecx, edi
push esi
call fcn.10056af0
add esp, 4
cmp eax, dword [esp + 0x10]
jmp 0x10057d06
mov esi, dword [esp + 8]
mov eax, edx
shr eax, 0xe
mov dword [edi + 0x18], ecx
mov edi, dword [esp + 0x1c]
test eax, 0x100
je 0x10057dbd
movzx eax, al
shl eax, 4
add eax, edi
jmp 0x10057dc7
and eax, 0x1ff
shl eax, 4
add eax, esi
mov dword [esp + 0x10], eax
mov eax, edx
shr eax, 0x17
test eax, 0x100
je 0x10057de1
movzx esi, al
shl esi, 4
add esi, edi
jmp 0x10057de6
shl eax, 4
add esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov edi, dword [eax + 8]
cmp dword [esi + 8], edi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x24]
je 0x10057e33
mov eax, dword [esi + 8]
mov ecx, dword [eax*4 + 0x1011b940]
mov eax, dword [esp + 0x30]
mov edx, dword [eax*4 + 0x1011b940]
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10057ee4
push ecx
push str.attempt_to_compare_two__s_values
push edi
call fcn.10040cb0
add esp, 0xc
jmp 0x10057ef4
cmp dword [esi + 8], 3
jne 0x10057e51
movsd xmm0, qword [eax]
xor eax, eax
comisd xmm0, xmmword [esi]
setae al
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x10057efe
cmp dword [esi + 8], 4
jne 0x10057e72
mov edx, dword [eax]
mov ecx, dword [esi]
call fcn.10056a70
xor ecx, ecx
test eax, eax
setle cl
mov dword [esp + 0x14], ecx
mov esi, ecx
jmp 0x10057ef6
push 0xe
push eax
mov edx, esi
mov ecx, edi
call fcn.100569b0
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x10057ef6
mov esi, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x10]
push 0xd
push esi
call fcn.100569b0
mov ecx, eax
add esp, 8
cmp ecx, 0xffffffff
je 0x10057eb3
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x10057ef6
mov eax, dword [esi + 8]
mov ecx, dword [eax*4 + 0x1011b940]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov edx, dword [eax*4 + 0x1011b940]
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10057ee4
push ecx
push str.attempt_to_compare_two__s_values
push edi
call fcn.10040cb0
add esp, 0xc
jmp 0x10057ef4
push edx
push ecx
push str.attempt_to_compare__s_with__s
push edi
call fcn.10040cb0
add esp, 0x10
xor esi, esi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
shr edx, 6
movzx eax, dl
cmp esi, eax
jne 0x10057d1a
mov eax, dword [ecx]
xorps xmm3, xmm3
mov esi, dword [edi + 0xc]
movsd xmm2, qword [0x101218b0]
shr eax, 0xe
mov dword [esp + 8], esi
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
add ecx, 4
jmp 0x1005729e
mov eax, dword [esi + 8]
test eax, eax
je 0x10057f49
cmp eax, 1
jne 0x10057f45
cmp dword [esi], 0
je 0x10057f49
xor eax, eax
jmp 0x10057f4e
mov eax, 1
shr edx, 0xe
and edx, 0x1ff
cmp eax, edx
je 0x10057f69
mov eax, dword [ecx]
shr eax, 0xe
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
add ecx, 4
jmp case.default.0x100573c4
mov edi, dword [esp + 8]
mov eax, edx
shr eax, 0x17
shl eax, 4
mov dword [esp + 0x30], eax
mov edi, dword [eax + edi + 8]
test edi, edi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x24]
je 0x10057fb0
cmp dword [esp + 0x28], 1
jne 0x10057fa6
mov edi, dword [esp + 8]
cmp dword [eax + edi], 0
mov edi, dword [esp + 0x24]
je 0x10057fb0
mov dword [esp + 0x10], 0
jmp 0x10057fb8
mov dword [esp + 0x10], 1
shr edx, 0xe
and edx, 0x1ff
cmp dword [esp + 0x10], edx
je 0x10057f69
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + ecx]
mov ecx, dword [edx + ecx + 4]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + eax + 8]
mov dword [esi + 8], eax
jmp 0x10057f5b
mov eax, edx
shr edx, 0xe
and edx, 0x1ff
shr eax, 0x17
dec edx
mov dword [esp + 0x20], edx
test eax, eax
je 0x1005800e
shl eax, 4
add eax, esi
mov dword [edi + 8], eax
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
mov edx, esi
call fcn.10041400
add esp, 4
sub eax, 0
je 0x100586e2
sub eax, 1
jne 0x100587f7
mov eax, dword [esp + 0x20]
test eax, eax
js 0x100574a3
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jmp 0x100574a3
shr edx, 0x17
test edx, edx
je 0x10058059
shl edx, 4
add edx, esi
mov dword [edi + 8], edx
mov dword [edi + 0x18], ecx
mov edx, esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.10041400
add esp, 4
sub eax, 0
je 0x100586eb
sub eax, 1
jne 0x100587f7
jmp 0x100574a3
movsd xmm0, qword [esi + 0x20]
xor eax, eax
comisd xmm0, xmm3
movsd xmm2, qword [esi + 0x10]
movaps xmm1, xmm0
addsd xmm1, qword [esi]
jbe 0x100580a0
comisd xmm2, xmm1
jmp 0x100580a4
comisd xmm1, xmm2
movsd xmm2, qword [0x101218b0]
setae al
test eax, eax
je case.default.0x100573c4
shr edx, 0xe
movsd qword [esi], xmm1
mov dword [esi + 8], 3
movsd qword [esi + 0x30], xmm1
lea ecx, [ecx + edx*4]
mov dword [esi + 0x38], 3
add ecx, 0xfff80004
jmp case.default.0x100573c4
lea eax, [esi + 0x20]
mov dword [edi + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
cmp eax, 3
je 0x10058121
cmp eax, 4
jne 0x10058199
mov ecx, dword [esi]
lea edx, [esp + 0x48]
add ecx, 0x10
call fcn.10049cc0
test eax, eax
je 0x10058199
movsd xmm0, qword [esp + 0x48]
movsd qword [esi], xmm0
mov dword [esi + 8], 3
mov eax, dword [esi + 0x18]
cmp eax, 3
je 0x10058153
cmp eax, 4
jne 0x100581a0
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x50]
add ecx, 0x10
call fcn.10049cc0
test eax, eax
je 0x100581a0
movsd xmm0, qword [esp + 0x50]
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x100581c1
cmp ecx, 4
jne 0x100581a7
mov ecx, dword [eax]
lea edx, [esp + 0x58]
add ecx, 0x10
call fcn.10049cc0
test eax, eax
je 0x100581a7
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x58]
movsd qword [esi + 0x20], xmm0
mov dword [eax + 8], 3
lea eax, [esi + 0x20]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100581c1
jmp 0x100581af
push str.for_initial_value_must_be_a_number
jmp 0x100581b4
push str.for_limit_must_be_a_number
jmp 0x100581b4
mov dword [esp + 0x14], 0
push str.for_step_must_be_a_number
push edi
call fcn.10040cb0
mov eax, dword [esp + 0x1c]
add esp, 8
movsd xmm0, qword [esi]
xorps xmm3, xmm3
subsd xmm0, qword [eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
movsd xmm2, qword [0x101218b0]
shr eax, 0xe
movsd qword [esi], xmm0
mov dword [esi + 8], 3
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
jmp case.default.0x100573c4
mov eax, dword [esi + 0x20]
lea edx, [esi + 0x30]
mov ecx, dword [esi + 0x24]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [esi + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, dword [esi + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, edi
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
lea eax, [edx + 0x30]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x20]
shr eax, 0xe
and eax, 0x1ff
push eax
call fcn.100418d0
mov edx, dword [esp + 0x14]
add esp, 4
mov esi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov dword [esp + 8], esi
lea edx, [edx + 3]
shl edx, 4
mov eax, dword [eax + 8]
add edx, esi
mov dword [edi + 8], eax
cmp dword [edx + 8], 0
je 0x100582ab
mov eax, dword [edx]
xorps xmm3, xmm3
mov ecx, dword [edx + 4]
movsd xmm2, qword [0x101218b0]
mov dword [edx - 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx - 0x10], eax
mov eax, dword [edx + 8]
mov dword [edx - 8], eax
mov eax, dword [ecx]
shr eax, 0xe
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
add ecx, 4
jmp 0x1005729e
mov ecx, dword [esp + 0xc]
xorps xmm3, xmm3
movsd xmm2, qword [0x101218b0]
add ecx, 4
jmp 0x1005729e
mov eax, edx
shr edx, 0xe
shr eax, 0x17
and edx, 0x1ff
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100582ee
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x14]
sub ecx, esi
sar ecx, 4
dec ecx
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov ecx, dword [esp + 0xc]
test edx, edx
jne 0x100582ff
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0xc], ecx
cmp dword [esi + 8], 5
jne case.default.0x100573c4
mov ecx, dword [esi]
imul eax, edx, 0x32
mov edx, dword [esp + 0x14]
add edx, 0xffffffce
mov dword [esp + 0x20], ecx
add edx, eax
mov dword [esp + 0x10], edx
cmp edx, dword [ecx + 0x1c]
jle 0x10058355
cmp dword [ecx + 0x10], 0x1011b8d0
jne 0x10058331
xor eax, eax
jmp 0x1005833f
mov cl, byte [ecx + 7]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x20]
push eax
push edx
mov edx, ecx
mov ecx, edi
call fcn.10053820
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
xorps xmm3, xmm3
movsd xmm2, qword [0x101218b0]
test eax, eax
jle 0x10057296
shl eax, 4
add eax, esi
mov dword [esp + 0x28], eax
mov esi, eax
call fcn.10053e70
cmp eax, 0x1011b5c0
jne 0x100583b7
movd xmm0, dword [esp + 0x10]
lea eax, [esp + 0x80]
mov edx, dword [esp + 0x20]
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x8c], 3
movsd qword [esp + 0x84], xmm0
call fcn.10053d00
add esp, 4
mov ecx, dword [esi]
mov edx, dword [esi + 4]
dec dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
cmp dword [esi + 8], 4
jl 0x100583f5
mov eax, dword [esi]
test byte [eax + 5], 3
je 0x100583f5
mov edx, dword [esp + 0x20]
mov al, byte [edx + 5]
test al, 4
je 0x100583f5
mov ecx, dword [edi + 0x10]
and al, 0xfb
mov byte [edx + 5], al
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x28], edx
mov eax, dword [esp + 0x14]
sub esi, 0x10
mov ecx, dword [esp + 0x20]
dec eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
jg 0x10058377
movsd xmm2, qword [0x101218b0]
xorps xmm3, xmm3
jmp 0x10057296
mov edx, esi
mov ecx, edi
call fcn.10042370
movsd xmm2, qword [0x101218b0]
xorps xmm3, xmm3
jmp 0x10057296
mov ecx, dword [esp + 0x40]
shr edx, 0xe
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
mov ecx, edi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*4]
xor edx, edx
mov dword [esp + 0x14], eax
mov al, byte [eax + 0x48]
mov byte [esp + 0x1b], al
movzx eax, al
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
lea eax, [eax*4 + 0x14]
push eax
push 0
call fcn.10047bf0
mov edx, dword [edi + 0x10]
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, dword [edx + 0x1c]
mov dword [eax], ecx
mov cl, byte [edx + 0x14]
mov dword [edx + 0x1c], eax
and cl, 3
mov edx, dword [esp + 0x10]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x30]
mov byte [eax + 5], cl
mov byte [eax + 4], 6
mov byte [eax + 6], 0
mov al, byte [esp + 0x1b]
mov byte [edx + 7], al
test esi, esi
je 0x100584cf
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 5]
lea eax, [edx + eax*4]
nop dword [eax]
mov dword [eax - 4], 0
lea eax, [eax - 4]
sub ecx, 1
jne 0x100584c0
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [edx + 0x10], eax
mov dword [esp + 0x20], ecx
test esi, esi
je 0x100585b1
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, eax
and al, 0x3f
shr esi, 0x17
cmp al, 4
jne 0x10058502
mov eax, dword [esp + 0x40]
mov edx, dword [eax + esi*4 + 0x14]
jmp 0x10058587
mov edx, dword [edi + 0x68]
lea ecx, [edi + 0x68]
mov eax, dword [edi + 0x10]
shl esi, 4
add esi, dword [esp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], ecx
test edx, edx
je 0x10058537
nop
cmp dword [edx + 8], esi
jb 0x10058537
je 0x100585c3
mov eax, dword [edx]
mov dword [esp + 0x3c], edx
mov edx, eax
test eax, eax
jne 0x10058520
push 0x20
push 0
xor edx, edx
mov ecx, edi
call fcn.10047bf0
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x44]
add esp, 8
mov byte [edx + 4], 0xa
mov cl, byte [ecx + 0x14]
mov dword [edx + 8], esi
and cl, 3
mov esi, dword [esp + 0x14]
mov byte [edx + 5], cl
mov ecx, dword [eax]
mov dword [edx], ecx
mov dword [eax], edx
lea ecx, [esi + 0x78]
mov dword [edx + 0x10], ecx
mov eax, dword [esi + 0x8c]
mov dword [edx + 0x14], eax
mov dword [eax + 0x10], edx
mov dword [esi + 0x8c], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x14], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
inc ecx
add eax, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], eax
cmp ecx, dword [esp + 0x30]
jl 0x100584e8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov dword [eax], edx
mov dword [eax + 8], 6
jmp 0x1005765b
mov ecx, dword [esp + 0x14]
movzx eax, byte [edx + 5]
movzx ecx, byte [ecx + 0x14]
not ecx
and ecx, eax
test cl, 3
je 0x10058583
xor byte [edx + 5], 3
jmp 0x10058583
mov eax, dword [edi + 0x14]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
shr edx, 0x17
mov eax, dword [eax]
dec edx
mov dword [esp + 0x20], edx
sub eax, dword [edi + 4]
mov edi, dword [esp + 0x24]
sar eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
movzx eax, byte [eax + 0x49]
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
cmp edx, 0xffffffff
jne 0x1005866e
mov edx, eax
mov dword [edi + 0x18], ecx
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 8]
shl edx, 4
mov dword [esp + 0x3c], edx
cmp eax, edx
jg 0x10058650
mov ecx, dword [edi + 0x2c]
mov eax, dword [esp + 0x14]
lea edx, [ecx + ecx]
cmp eax, ecx
jle 0x10058645
lea edx, [ecx + eax]
mov ecx, edi
call fcn.10040f50
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
add esi, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
add eax, esi
mov dword [esp + 0x20], edx
mov dword [edi + 8], eax
movsd xmm2, qword [0x101218b0]
xor eax, eax
mov dword [esp + 0x30], eax
xorps xmm3, xmm3
test edx, edx
jle case.default.0x100573c4
mov ecx, dword [esp + 0x14]
mov edi, ecx
neg edi
shl edi, 4
cmp eax, ecx
jge 0x100586b6
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov eax, dword [edx + edi]
mov ecx, dword [edx + edi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [edx + edi + 8]
mov edx, dword [esp + 0x20]
jmp 0x100586b8
xor ecx, ecx
mov dword [esi + 8], ecx
inc eax
mov ecx, dword [esp + 0x14]
add esi, 0x10
add edi, 0x10
mov dword [esp + 0x30], eax
cmp eax, edx
jl 0x10058692
movsd xmm2, qword [0x101218b0]
xorps xmm3, xmm3
mov edi, dword [esp + 0x24]
jmp 0x10057296
inc dword [esp + 0x44]
jmp 0x10057266
cmp dword [edi + 0x68], 0
mov edx, dword [edi + 0x14]
mov dword [esp + 0x30], edx
mov eax, dword [edx - 0x14]
mov esi, dword [edx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], esi
je 0x10058714
mov edx, dword [edx - 0x18]
mov ecx, edi
call fcn.10042370
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
mov eax, dword [edx - 0x14]
sub ecx, esi
and ecx, 0xfffffff0
add eax, ecx
mov dword [edx - 0x18], eax
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [esp + 0x28], eax
cmp esi, dword [edi + 8]
jae 0x10058771
xor edx, edx
mov edi, dword [esp + 0x10]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx + edi], eax
mov eax, edi
mov dword [edx + eax + 4], ecx
mov ecx, edi
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov dword [edx + ecx + 8], eax
mov eax, dword [esp + 0x28]
inc eax
mov edx, eax
mov dword [esp + 0x28], eax
shl edx, 4
add esi, edx
cmp esi, dword [edi + 8]
jb 0x10058733
mov edx, dword [esp + 0x30]
jmp 0x10058775
mov ecx, dword [esp + 0x10]
shl eax, 4
add eax, ecx
mov dword [edi + 8], eax
mov dword [edx - 0x10], eax
mov eax, dword [edi + 0x18]
inc dword [edx - 4]
mov dword [edx - 0xc], eax
add dword [edi + 0x14], 0xffffffe8
jmp 0x10057266
shr edx, 0x17
test edx, edx
je 0x100587a4
shl edx, 4
lea eax, [edx - 0x10]
add eax, esi
mov dword [edi + 8], eax
cmp dword [edi + 0x68], 0
je 0x100587b5
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.10042370
mov eax, dword [esp + 0xc]
mov edx, esi
mov ecx, edi
mov dword [edi + 0x18], eax
call fcn.10041730
sub dword [esp + 0x44], 1
je 0x100587f7
movsd xmm2, qword [0x101218b0]
xorps xmm3, xmm3
test eax, eax
je 0x10057271
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jmp 0x10057269
mov eax, dword [esp + 0xc]
add eax, 0xfffffffc
mov dword [edi + 0x18], eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.100c0c44
mov esp, ebp
pop ebp
ret