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

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x44]
inc eax
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
sub eax, ebp
mov ebp, dword [edx + 0x48]
push esi
mov esi, dword [esp + 0x6c]
push edi
mov dword [esp + 0x80], eax
mov eax, dword [edx + 8]
mov edi, pe_nt_image_headers32
sub edi, eax
sar edi, 1
cmp eax, ecx
lea ebx, [esi + 0x900]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], edi
jg 0x1005ecd9
xor edi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
xor eax, eax
jmp 0x1005ecfd
cmp eax, ebp
mov dword [esp + 0x4c], ecx
jg 0x1005ecf3
sub eax, ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
jmp 0x1005ed03
mov edi, ebp
sub edi, ecx
mov dword [esp + 0x50], edi
sub eax, ebp
mov dword [esp + 0x54], eax
xor ecx, ecx
cmp dword [esp + 0x4c], ecx
jge 0x1005ed0d
mov dword [esp + 0x4c], ecx
cmp edi, ecx
jge 0x1005ed15
mov dword [esp + 0x50], ecx
cmp eax, ecx
jge 0x1005ed1d
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 0x10]
mov ebp, 2
cmp eax, ebp
jne 0x1005f5ec
mov eax, dword [edx + 0x14]
fld dword [0x10087580]
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
je 0x1005ed7a
mov eax, dword [esp + 0x7c]
lea eax, [eax + eax*2]
shl eax, 2
mov edi, dword [eax + 0x100d6190]
mov eax, dword [eax + 0x100e1d40]
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x40], eax
jmp 0x1005eda7
or eax, 0xffffffff
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x7c]
lea eax, [eax + eax*2]
shl eax, 2
mov ecx, dword [eax + 0x100e1d44]
mov edi, dword [eax + 0x100d6194]
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x4c]
add edx, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [edx]
mov ecx, dword [ecx]
test ecx, ecx
lea edx, [edx*8 + 0x100a17b8]
mov dword [esp + 0x34], edx
je 0x1005f2ac
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
jmp 0x1005edf3
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005ee93
mov ecx, dword [edi]
fstp st(0)
add edi, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi]
lea ebx, [ebp + ecx*4 + 0x900]
add edi, 4
lea esi, [ebp + ecx*4]
mov ebp, dword [edi]
mov ecx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
add edi, 4
cmp ebp, 3
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebp
jne 0x1005ee67
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov edx, dword [esp + 0x6c]
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x64]
mov dword [esp + 0x14], 1
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x74], ecx
jmp 0x1005ee97
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov edx, dword [esp + 0x6c]
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + ebp*4 + 0x58]
mov dword [esp + 0x14], 3
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x74], ecx
jmp 0x1005ee97
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 4]
movsx ecx, word [edx]
add edx, 2
test ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x6c], edx
jge 0x1005ef18
mov ebx, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebx]
shl dl, cl
inc ecx
mov ebp, ecx
sar ebp, 3
add ebp, ebx
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005eeeb
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x1005eeef
mov edx, dword [esp + 0x6c]
movsx ecx, word [edx]
mov ebp, dword [esp + 0x80]
dec ebp
add edx, 2
test ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x6c], edx
jl 0x1005eeb0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov edx, ecx
sar edx, 4
and ecx, 0xf
cmp edx, 0xf
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], ecx
jne 0x1005f02c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov edx, dword [edx]
mov dword [esp + ebp*4 + 0x58], ecx
mov ebp, dword [esp + 0x80]
or ecx, 0xffffffff
sub ecx, edx
add ebp, ecx
test edx, edx
mov dword [esp + 0x80], ebp
jne 0x1005ef5e
mov dword [esp + 0x30], edx
jmp 0x1005efb5
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
mov bl, byte [ebp + 1]
xor ecx, ecx
mov cl, byte [ebp + 2]
mov bh, byte [ebp]
shl ebx, 8
or ebx, ecx
mov ecx, dword [eax + 0x4868]
shl ebx, cl
add ecx, edx
and ebx, 0xffffff
mov dword [esp + 0x6c], ebx
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
sar ebx, 3
mov ecx, 0x18
sub ecx, edx
mov edx, dword [esp + 0x6c]
add ebx, ebp
shr edx, cl
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebp, dword [eax + 0x486c]
fld st(0)
mov dl, byte [ebp]
mov ecx, dword [eax + 0x4868]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x1005f00e
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x100d9d34]
mov ecx, dword [esp + 0x20]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005f0d3
mov edx, dword [esp + 0x30]
fmul dword [edx*4 + 0x100d9d34]
mov ecx, dword [esp + 0x20]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x1005f0d3
test edx, edx
je 0x1005f0cf
mov edx, dword [esp + 0x18]
fld st(0)
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax + 0x486c]
mov dword [esp + edx*4 + 0x58], ecx
mov dl, byte [ebp]
mov ecx, dword [eax + 0x4868]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x1005f0a5
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x20]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005f0d3
mov edx, dword [esp + 0x30]
fmul dword [edx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x80]
fld dword [esi]
dec ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x20]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x1005f0d3
mov edx, dword [esi]
mov dword [ebx], edx
mov edx, dword [esp + 0x14]
shl edx, 2
add ebx, edx
add esi, edx
cmp ecx, 0xf
mov dword [esp + 0x10], ebx
jne 0x1005f1e2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x80]
mov dword [esp + edx*4 + 0x58], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
or ecx, 0xffffffff
sub ecx, edx
add ebp, ecx
test edx, edx
mov dword [esp + 0x80], ebp
jne 0x1005f11c
mov dword [esp + 0x30], edx
jmp 0x1005f173
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
mov bl, byte [ebp + 1]
xor ecx, ecx
mov cl, byte [ebp + 2]
mov bh, byte [ebp]
shl ebx, 8
or ebx, ecx
mov ecx, dword [eax + 0x4868]
shl ebx, cl
add ecx, edx
and ebx, 0xffffff
mov dword [esp + 0x6c], ebx
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
sar ebx, 3
mov ecx, 0x18
sub ecx, edx
mov edx, dword [esp + 0x6c]
add ebx, ebp
shr edx, cl
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebp, dword [eax + 0x486c]
fld st(0)
mov dl, byte [ebp]
mov ecx, dword [eax + 0x4868]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x1005f1c8
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x100d9d34]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005f281
mov edx, dword [esp + 0x30]
fmul dword [edx*4 + 0x100d9d34]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x1005f281
test ecx, ecx
je 0x1005f27d
mov edx, dword [esp + 0x18]
fld st(0)
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax + 0x486c]
mov dword [esp + edx*4 + 0x58], ecx
mov dl, byte [ebp]
mov ecx, dword [eax + 0x4868]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x1005f257
mov ecx, dword [esp + 0x20]
fmul dword [ecx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005f281
mov edx, dword [esp + 0x20]
fmul dword [edx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x80]
fld dword [esi]
dec ecx
mov dword [esp + 0x80], ecx
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x1005f281
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esp + 0x14]
lea ecx, [edx*4]
mov edx, dword [esp + 0x1c]
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
jne 0x1005edeb
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, 4
add ebp, ecx
add edx, ecx
mov ecx, dword [esp + 0x48]
dec ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], ecx
jne 0x1005edbe
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1005f509
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x1005f509
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x100a18bc]
mov bp, word [ecx]
add ecx, 2
test bp, bp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ebp
jge 0x1005f380
dec dword [esp + 0x80]
js 0x1005f377
mov ebp, dword [eax + 0x486c]
mov dl, byte [ebp]
mov ecx, dword [eax + 0x4868]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x1005f35e
movsx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x3c]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x1005f362
mov ecx, dword [esp + 0x3c]
mov bp, word [ecx]
add ecx, 2
test bp, bp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ebp
jl 0x1005f310
jmp 0x1005f380
inc dword [esp + 0x80]
xor ebp, ebp
movsx edx, bp
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], edx
test cl, 1
jne 0x1005f454
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005f441
mov ecx, dword [edi]
fstp st(0)
mov esi, dword [esp + 0x70]
add edi, 4
mov ebp, dword [edi + 4]
add edi, 4
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi - 4]
add edi, 4
add edi, 4
cmp ebp, 3
lea ebx, [esi + ecx*4 + 0x900]
lea esi, [esi + ecx*4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edx
jne 0x1005f40d
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x64]
mov dword [esp + 0x14], 1
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x74], ecx
dec dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
jmp 0x1005f458
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov edx, dword [edx]
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + ebp*4 + 0x58]
mov dword [esp + 0x14], 3
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x74], ecx
dec dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
jmp 0x1005f458
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x1005f458
mov ebp, dword [esp + 0x18]
mov edx, 8
sar edx, cl
mov ecx, dword [esp + 0x48]
test ecx, edx
je 0x1005f4d1
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
dec ecx
mov dword [esp + ebp*4 + 0x58], edx
mov dword [esp + 0x80], ecx
js 0x1005f4f8
mov ebp, dword [eax + 0x486c]
mov dl, byte [ebp]
mov ecx, dword [eax + 0x4868]
shl dl, cl
inc ecx
mov byte [esp + 0x6c], dl
mov edx, ecx
and ecx, 7
sar edx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x6c]
add edx, ebp
test cl, 0x80
mov dword [eax + 0x486c], edx
je 0x1005f4c3
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
jmp 0x1005f4d5
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fld st(0)
fadd dword [esi]
fstp dword [esi]
jmp 0x1005f4d5
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esp + 0x14]
lea ecx, [edx*4]
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ecx, 4
mov dword [esp + 0x3c], ecx
jl 0x1005f38d
jmp 0x1005f4ff
inc dword [esp + 0x80]
dec dword [esp + 0x2c]
jne 0x1005f2e0
mov ecx, dword [esp + 0x40]
fstp st(0)
cmp edi, ecx
jae 0x1005f573
mov edx, dword [esp + 0x1c]
test edx, edx
mov ebp, dword [esp + 0x70]
jne 0x1005f552
mov edx, dword [edi]
mov ecx, dword [edi + 4]
add edi, 4
add edi, 4
lea ebx, [ebp + ecx*4 + 0x900]
lea esi, [ebp + ecx*4]
mov ecx, dword [edi]
add edi, 4
cmp ecx, 3
mov dword [esp + 0x14], 1
je 0x1005f54f
mov dword [esp + 0x14], 3
add edi, 4
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x14]
shl ecx, 2
mov ebp, dword [esi + ecx]
add esi, ecx
add ebx, ecx
mov dword [ebx], ebp
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x40]
dec edx
cmp edi, ecx
jb 0x1005f517
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x78]
lea esi, [edx + 1]
mov dword [ecx + 0x30], esi
mov esi, dword [esp + 0x5c]
cmp edx, esi
lea edi, [esi + 1]
mov dword [ecx + 0x34], edi
mov edi, dword [esp + 0x60]
lea ebx, [edi + 1]
mov dword [ecx + 0x38], ebx
mov ebx, dword [esp + 0x64]
lea ebp, [ebx + 1]
mov dword [ecx + 0x3c], ebp
jg 0x1005f5a5
mov edx, esi
cmp edx, edi
jg 0x1005f5ab
mov edx, edi
inc edx
test edx, edx
je 0x1005f5cf
mov esi, dword [esp + 0x7c]
lea edi, [esi*8]
sub edi, esi
lea edx, [edx + edi*2]
mov edx, dword [edx*4 + 0x100e84a0]
mov dword [ecx + 0x40], edx
jmp 0x1005fd09
mov edx, dword [esp + 0x7c]
lea esi, [edx + edx*2]
shl esi, 3
sub esi, edx
add esi, ebx
mov edx, dword [esi*4 + 0x100e8164]
mov dword [ecx + 0x40], edx
jmp 0x1005fd09
cmp dword [edx + 0x4c], ecx
mov dword [esp + 0x1c], 0x100a1960
jne 0x1005f601
mov dword [esp + 0x1c], 0x100e25d8
mov eax, dword [esp + 0x7c]
fld dword [0x10087580]
lea eax, [eax + eax*2]
mov edi, dword [eax*4 + 0x100d6198]
lea eax, [edx + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], 3
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebp, dword [ebp]
mov ecx, dword [ecx]
test ecx, ecx
lea ebp, [ebp*8 + 0x100a17b8]
mov dword [esp + 0x3c], ebp
je 0x1005fabd
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x1005f6b2
mov ecx, dword [edi]
fstp st(0)
mov edx, dword [edx + 0x64]
add edi, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x74]
mov ebp, dword [edi]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
add ebp, dword [ecx]
mov ecx, dword [esp + 0x28]
shl ebp, cl
fld dword [edx + ebp*4]
mov edx, dword [esp + 0x1c]
add edx, 4
add edi, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
movsx ecx, word [edx]
add edx, 2
test ecx, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], edx
jge 0x1005f72b
mov edi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [edi]
shl dl, cl
inc ecx
mov ebp, ecx
sar ebp, 3
add ebp, edi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005f706
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x1005f70a
mov edx, dword [esp + 0x40]
movsx ecx, word [edx]
mov ebp, dword [esp + 0x80]
dec ebp
add edx, 2
test ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], edx
jl 0x1005f6cb
mov edx, ecx
sar edx, 4
and ecx, 0xf
cmp edx, 0xf
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], ecx
jne 0x1005f850
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ebp, dword [edx]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
sub ecx, ebp
add edx, ecx
test ebp, ebp
mov dword [esp + 0x80], edx
jne 0x1005f771
mov dword [esp + 0x40], ebp
jmp 0x1005f7c3
mov edi, dword [eax + 0x486c]
xor edx, edx
mov dl, byte [edi + 1]
xor ecx, ecx
mov cl, byte [edi + 2]
mov dh, byte [edi]
shl edx, 8
or edx, ecx
mov ecx, dword [eax + 0x4868]
shl edx, cl
add ecx, ebp
and edx, 0xffffff
mov dword [esp + 0x48], edx
mov edx, ecx
and ecx, 7
sar edx, 3
add edx, edi
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], edx
mov edx, dword [esp + 0x48]
mov ecx, 0x18
sub ecx, ebp
shr edx, cl
mov dword [esp + 0x40], edx
mov ebp, dword [eax + 0x4868]
fld st(0)
mov edi, dword [eax + 0x486c]
mov dl, byte [edi]
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
sar ebp, 3
add ebp, edi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005f825
mov ecx, dword [esp + 0x40]
fmul dword [ecx*4 + 0x100d9d34]
mov ecx, dword [esp + 0x6c]
add ebx, 4
mov dword [esp + 0x10], ebx
fld st(0)
add esi, 4
fadd dword [esi - 4]
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
fstp st(0)
jmp 0x1005f8f8
mov edx, dword [esp + 0x40]
fmul dword [edx*4 + 0x100d9d34]
mov ecx, dword [esp + 0x6c]
fld dword [esi]
add ebx, 4
mov dword [esp + 0x10], ebx
fsub st(1)
add esi, 4
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x1005f8f8
test edx, edx
je 0x1005f8ea
mov ebp, dword [eax + 0x4868]
fld st(0)
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + 0x486c]
mov dl, byte [edi]
mov dword [esp + 0x18], ecx
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
sar ebp, 3
add ebp, edi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005f8b5
mov edx, dword [esp + 0x48]
fmul dword [edx*4 + 0x100d9cf8]
add ebx, 4
mov dword [esp + 0x10], ebx
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005f8d2
mov ecx, dword [esp + 0x48]
fmul dword [ecx*4 + 0x100d9cf8]
add ebx, 4
fld dword [esi]
mov dword [esp + 0x10], ebx
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi]
fstp dword [esi]
mov ecx, dword [esp + 0x80]
add esi, 4
dec ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x6c]
jmp 0x1005f8f8
mov edx, dword [esi]
mov dword [ebx], edx
add ebx, 4
mov dword [esp + 0x10], ebx
add esi, 4
cmp ecx, 0xf
jne 0x1005f9ee
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ebp, dword [edx]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
sub ecx, ebp
add edx, ecx
test ebp, ebp
mov dword [esp + 0x80], edx
jne 0x1005f92e
mov dword [esp + 0x6c], ebp
jmp 0x1005f97c
mov edi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
xor edx, edx
mov dl, byte [edi + 1]
xor ebx, ebx
mov bl, byte [edi + 2]
mov dh, byte [edi]
shl edx, 8
or edx, ebx
shl edx, cl
add ecx, ebp
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
sar ebx, 3
mov ecx, 0x18
add ebx, edi
and edx, 0xffffff
sub ecx, ebp
shr edx, cl
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x6c], edx
mov ebp, dword [eax + 0x4868]
fld st(0)
mov edi, dword [eax + 0x486c]
mov dl, byte [edi]
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
sar ebp, 3
add ebp, edi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005f9d0
mov edx, dword [esp + 0x6c]
fmul dword [edx*4 + 0x100d9d34]
add ebx, 4
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005fa9a
mov ecx, dword [esp + 0x6c]
fmul dword [ecx*4 + 0x100d9d34]
add ebx, 4
fld dword [esi]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi]
fstp dword [esi]
jmp 0x1005fa9a
test ecx, ecx
je 0x1005fa93
mov ebp, dword [eax + 0x4868]
fld st(0)
mov edx, dword [esp + 0x24]
mov edi, dword [eax + 0x486c]
mov ecx, ebp
mov dword [esp + 0x18], edx
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
sar ebp, 3
add ebp, edi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005fa64
mov ecx, dword [esp + 0x6c]
fmul dword [ecx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x80]
add ebx, 4
add esi, 4
fld st(0)
dec ecx
fadd dword [esi - 4]
mov dword [esp + 0x80], ecx
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
fstp st(0)
jmp 0x1005fa9d
mov edx, dword [esp + 0x6c]
fmul dword [edx*4 + 0x100d9cf8]
mov ecx, dword [esp + 0x80]
fld dword [esi]
add ebx, 4
add esi, 4
fsub st(1)
dec ecx
mov dword [esp + 0x80], ecx
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x1005fa9d
mov ecx, dword [esi]
mov dword [ebx], ecx
add ebx, 4
add esi, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
dec edx
dec ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
jne 0x1005f668
mov ebp, dword [esp + 0x38]
mov ecx, 4
add ebp, ecx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x34]
add ebp, ecx
mov ecx, dword [esp + 0x30]
dec ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ecx
jne 0x1005f644
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1005fcba
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x1005fcba
mov edx, dword [esp + 0x78]
mov ecx, dword [edx + 0x54]
mov ecx, dword [ecx*8 + 0x100a18bc]
mov di, word [ecx]
add ecx, 2
test di, di
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], edi
jge 0x1005fb8c
dec dword [esp + 0x80]
js 0x1005fb83
mov ebp, dword [eax + 0x4868]
mov edi, dword [eax + 0x486c]
mov dl, byte [edi]
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
sar ebp, 3
add ebp, edi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005fb6a
movsx edx, word [esp + 0x48]
mov ecx, dword [esp + 0x6c]
neg edx
lea ecx, [ecx + edx*2]
jmp 0x1005fb6e
mov ecx, dword [esp + 0x6c]
mov di, word [ecx]
add ecx, 2
test di, di
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], edi
jl 0x1005fb21
jmp 0x1005fb8c
inc dword [esp + 0x80]
xor edi, edi
movsx ecx, di
xor edx, edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x48], ecx
test dl, 1
jne 0x1005fbf5
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x1005fbf1
mov ecx, dword [esp + 0x14]
fstp st(0)
mov edi, dword [ecx]
add ecx, 4
add ecx, 4
mov dword [esp + 0x20], edi
mov edi, dword [ecx - 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov ebp, dword [ecx]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x1c]
add ebp, dword [edi]
mov ecx, dword [esp + 0x28]
shl ebp, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x64]
add edi, 4
fld dword [ecx + ebp*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x74], ecx
dec dword [esp + 0x20]
mov ecx, edx
mov edi, 8
sar edi, cl
mov ecx, dword [esp + 0x48]
test ecx, edi
je 0x1005fc8f
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
dec ecx
test ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x80], ecx
jle 0x1005fca9
mov ebp, dword [eax + 0x4868]
mov edi, dword [eax + 0x486c]
mov dl, byte [edi]
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
sar ebp, 3
add ebp, edi
and ecx, 7
test dl, 0x80
mov dword [eax + 0x486c], ebp
mov dword [eax + 0x4868], ecx
je 0x1005fc74
mov edx, dword [esp + 0x6c]
fld st(0)
fadd dword [esi]
add ebx, 4
add esi, 4
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
jmp 0x1005fc99
fld dword [esi]
mov edx, dword [esp + 0x6c]
fsub st(1)
add ebx, 4
add esi, 4
fstp dword [ebx - 4]
fld st(0)
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x1005fc99
mov ecx, dword [esi]
mov dword [ebx], ecx
add ebx, 4
add esi, 4
inc edx
cmp edx, 4
mov dword [esp + 0x6c], edx
jl 0x1005fb99
jmp 0x1005fcb0
inc dword [esp + 0x80]
dec dword [esp + 0x2c]
jne 0x1005faf1
mov ecx, dword [esp + 0x70]
fstp st(0)
sub ecx, ebx
add ecx, 0x1200
sar ecx, 3
je 0x1005fce5
mov edx, dword [esi]
mov dword [ebx], edx
mov edx, dword [esi + 4]
add esi, 4
add ebx, 4
mov dword [ebx], edx
add ebx, 4
add esi, 4
dec ecx
jne 0x1005fccd
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
lea edi, [esi + esi*2]
shl edi, 3
inc ecx
sub edi, esi
add edi, ecx
mov dword [edx + 0x3c], ecx
mov ecx, dword [edi*4 + 0x100e8160]
mov dword [edx + 0x40], ecx
mov esi, dword [esp + 0x80]
cmp esi, 0x10
jle 0x1005fd4c
lea edx, [esi - 1]
shr edx, 4
mov ecx, edx
neg ecx
shl ecx, 4
add esi, ecx
mov ecx, dword [eax + 0x4868]
mov ebx, dword [eax + 0x486c]
add ecx, 0x10
mov edi, ecx
sar edi, 3
add ebx, edi
and ecx, 7
dec edx
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
jne 0x1005fd24
test esi, esi
jle 0x1005fd7f
mov edx, dword [eax + 0x4868]
lea ecx, [edx + esi]
mov esi, dword [eax + 0x486c]
mov edx, ecx
sar edx, 3
add esi, edx
and ecx, 7
mov dword [eax + 0x486c], esi
mov dword [eax + 0x4868], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret
jge 0x1005fd75
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret