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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov eax, dword [ecx + 0x50]
push esi
inc eax
mov esi, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
sub eax, ebx
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x48]
push edi
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 8]
mov edi, pe_nt_image_headers32
lea edx, [esi + 0x900]
sub edi, eax
mov dword [esp + 0x18], edx
sar edi, 1
cmp eax, ebx
mov dword [esp + 0x30], edi
jg 0x5954d4
mov dword [esp + 0x48], eax
xor ebx, ebx
xor edi, edi
xor eax, eax
jmp 0x5954ec
cmp eax, ebp
mov dword [esp + 0x48], ebx
jg 0x5954e4
sub eax, ebx
mov edi, eax
xor eax, eax
jmp 0x5954ea
mov edi, ebp
sub edi, ebx
sub eax, ebp
xor ebx, ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x4c], edi
cmp ebp, ebx
mov dword [esp + 0x50], eax
jge 0x595500
mov dword [esp + 0x48], ebx
cmp edi, ebx
jge 0x595508
mov dword [esp + 0x4c], ebx
cmp eax, ebx
jge 0x595510
mov dword [esp + 0x50], ebx
mov edi, dword [ecx + 0x10]
mov eax, 2
cmp edi, eax
jne 0x595d12
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x10], ebx
fld dword [0x622ff8]
cmp edi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
je 0x595569
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], 0xffffffff
lea eax, [eax + eax*2]
shl eax, 2
mov edi, dword [eax + 0x6c1560]
mov eax, dword [eax + 0x6cd118]
jmp 0x595592
or eax, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov edi, dword [eax + 0x6c1564]
mov eax, dword [eax + 0x6cd11c]
add ecx, 0x18
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ecx
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + ebx*4 + 0x48]
test ecx, ecx
mov ebp, dword [ebp]
lea ebp, [ebp*8 + 0x690418]
mov dword [esp + 0x34], ebp
je 0x5959fd
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x595658
mov ecx, dword [edi]
mov esi, dword [esp + 0x6c]
add edi, 4
mov dword [esp + 0x14], ecx
fstp st(0)
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x20], ebx
add edi, 4
lea edx, [esi + ecx*4 + 0x900]
lea esi, [esi + ecx*4]
mov dword [esp + 0x18], edx
mov ecx, dword [edi]
add edi, 4
cmp ebx, 3
mov dword [esp + 0x24], ecx
jne 0x595634
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], 1
mov ebp, dword [ebx]
shl ebp, cl
mov ecx, dword [esp + 0x74]
add ebx, 4
mov dword [esp + 0x70], ebx
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebp*4]
jmp 0x595658
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], 3
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x2c]
shl ebp, cl
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + ebx*4 + 0x58]
fld dword [ecx + ebp*4]
add dword [esp + 0x70], 4
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
movsx ebx, word [ecx]
test ebx, ebx
mov dword [esp + 0x1c], ebx
jge 0x5956c2
mov ebx, dword [eax + 0x486c]
add ecx, 2
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebx]
shl dl, cl
inc ecx
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, ebx
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], ebp
jns 0x5956ab
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x68]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x5956af
mov ecx, dword [esp + 0x68]
dec dword [esp + 0x7c]
movsx ebx, word [ecx]
test ebx, ebx
mov dword [esp + 0x1c], ebx
jl 0x59566a
mov edx, dword [esp + 0x18]
mov ecx, ebx
and ebx, 0xf
sar ecx, 4
cmp ecx, 0xf
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
jne 0x5957cc
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x7c]
mov dword [esp + ebx*4 + 0x54], ecx
mov ecx, dword [esp + 0x34]
or ebx, 0xffffffff
mov ecx, dword [ecx]
sub ebx, ecx
mov dword [esp + 0x68], ecx
add ebp, ebx
test ecx, ecx
mov dword [esp + 0x7c], ebp
jne 0x59570a
mov dword [esp + 0x18], ecx
jmp 0x595765
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [ebp + 1]
mov cl, byte [ebp + 2]
mov bh, byte [ebp]
shl ebx, 8
or ebx, ecx
mov ecx, dword [eax + 0x4868]
shl ebx, cl
and ebx, 0xffffff
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x68]
add ecx, ebx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, ebp
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x68]
mov ecx, 0x18
sub ecx, ebx
mov ebx, dword [esp + 0x44]
shr ebx, cl
mov dword [esp + 0x18], ebx
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov bl, byte [ebp]
shl bl, cl
inc ecx
mov byte [esp + 0x68], bl
mov ebx, ecx
and ecx, 7
sar ebx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x68]
add ebx, ebp
test cl, cl
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x1c]
fmul dword [ecx*4 + 0x6c510c]
jns 0x5957bd
fld st(0)
fadd dword [esi]
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x59585b
fld dword [esi]
fsub st(1)
fstp dword [edx]
fadd dword [esi]
fstp dword [esi]
jmp 0x59585b
test ecx, ecx
je 0x595857
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax + 0x486c]
mov dword [esp + ebx*4 + 0x54], ecx
mov ecx, dword [eax + 0x4868]
mov bl, byte [ebp]
shl bl, cl
inc ecx
fld st(0)
mov byte [esp + 0x68], bl
mov ebx, ecx
and ecx, 7
sar ebx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x68]
add ebx, ebp
test cl, cl
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x486c], ebx
fmul dword [ecx*4 + 0x6c50d0]
jns 0x59583e
fld st(0)
fadd dword [esi]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x7c], ecx
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x59585b
fld dword [esi]
fsub st(1)
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x7c], ecx
fstp dword [edx]
fadd dword [esi]
fstp dword [esi]
jmp 0x59585b
mov ecx, dword [esi]
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
add edx, ecx
add esi, ecx
cmp ebx, 0xf
jne 0x595959
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x7c]
mov dword [esp + ebx*4 + 0x54], ecx
mov ecx, dword [esp + 0x34]
or ebx, 0xffffffff
mov ecx, dword [ecx]
sub ebx, ecx
mov dword [esp + 0x68], ecx
add ebp, ebx
test ecx, ecx
mov dword [esp + 0x7c], ebp
jne 0x59589e
mov dword [esp + 0x1c], ecx
jmp 0x5958f9
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [ebp + 1]
mov cl, byte [ebp + 2]
mov bh, byte [ebp]
shl ebx, 8
or ebx, ecx
mov ecx, dword [eax + 0x4868]
shl ebx, cl
and ebx, 0xffffff
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x68]
add ecx, ebx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, ebp
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x68]
mov ecx, 0x18
sub ecx, ebx
mov ebx, dword [esp + 0x44]
shr ebx, cl
mov dword [esp + 0x1c], ebx
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov bl, byte [ebp]
shl bl, cl
inc ecx
mov byte [esp + 0x68], bl
mov ebx, ecx
and ecx, 7
sar ebx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x68]
add ebx, ebp
test cl, cl
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x486c], ebx
fmul dword [ecx*4 + 0x6c510c]
jns 0x59594d
fld st(0)
fadd dword [esi]
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x5959d2
fld dword [esi]
fsub st(1)
fstp dword [edx]
fadd dword [esi]
fstp dword [esi]
jmp 0x5959d2
test ebx, ebx
je 0x5959ce
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax + 0x486c]
mov dword [esp + ebx*4 + 0x54], ecx
mov ecx, dword [eax + 0x4868]
mov bl, byte [ebp]
shl bl, cl
inc ecx
fld st(0)
mov byte [esp + 0x68], bl
mov ebx, ecx
and ecx, 7
sar ebx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x68]
add ebx, ebp
test cl, cl
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x486c], ebx
fmul dword [ecx*4 + 0x6c50d0]
jns 0x5959be
fld st(0)
fadd dword [esi]
dec dword [esp + 0x7c]
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x5959d2
fld dword [esi]
fsub st(1)
dec dword [esp + 0x7c]
fstp dword [edx]
fadd dword [esi]
fstp dword [esi]
jmp 0x5959d2
mov ecx, dword [esi]
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
shl ecx, 2
add edx, ecx
add esi, ecx
mov ecx, dword [esp + 0x40]
dec ebx
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], ecx
jne 0x5955c7
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
inc ebx
add ebp, 4
cmp ebx, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebp
jl 0x5955a5
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x595c34
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x595c34
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x54]
mov ecx, dword [ecx*8 + 0x69051c]
mov bp, word [ecx]
test bp, bp
mov dword [esp + 0x38], ebp
jge 0x595abb
add ecx, 2
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x595ab0
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov bl, byte [ebp]
shl bl, cl
inc ecx
mov byte [esp + 0x68], bl
mov ebx, ecx
and ecx, 7
sar ebx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x68]
add ebx, ebp
test cl, cl
mov dword [eax + 0x486c], ebx
jns 0x595a9e
movsx ecx, word [esp + 0x38]
mov ebx, dword [esp + 0x40]
neg ecx
lea ecx, [ebx + ecx*2]
jmp 0x595aa2
mov ecx, dword [esp + 0x40]
mov bp, word [ecx]
test bp, bp
mov dword [esp + 0x38], ebp
jl 0x595a48
jmp 0x595abb
mov ecx, dword [esp + 0x7c]
inc ecx
xor ebp, ebp
mov dword [esp + 0x7c], ecx
movsx ebx, bp
xor ecx, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ecx
test cl, 1
jne 0x595b88
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x595b75
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x6c]
add edi, 4
add edi, 4
mov dword [esp + 0x14], edx
lea edx, [esi + ecx*4 + 0x900]
lea esi, [esi + ecx*4]
mov ebp, dword [edi]
mov ecx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x70]
add edi, 4
fstp st(0)
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x2c]
shl ebx, cl
mov ecx, dword [esp + 0x74]
cmp ebp, 3
mov dword [esp + 0x20], ebp
jne 0x595b4c
mov ecx, dword [ecx + 0x64]
mov dword [esp + 0x10], 1
fld dword [ecx + ebx*4]
mov ecx, dword [esp + 0x70]
add ecx, 4
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
jmp 0x595b8c
mov ecx, dword [ecx + ebp*4 + 0x58]
mov dword [esp + 0x10], 3
fld dword [ecx + ebx*4]
mov ecx, dword [esp + 0x70]
add ecx, 4
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
jmp 0x595b8c
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
jmp 0x595b8c
mov ebp, dword [esp + 0x20]
mov ebx, 8
sar ebx, cl
mov ecx, dword [esp + 0x44]
test ecx, ebx
je 0x595bfe
mov ecx, dword [esp + 0x24]
mov dword [esp + ebp*4 + 0x54], ecx
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x595c21
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov bl, byte [ebp]
shl bl, cl
inc ecx
mov byte [esp + 0x68], bl
mov ebx, ecx
and ecx, 7
sar ebx, 3
mov dword [eax + 0x4868], ecx
mov cl, byte [esp + 0x68]
add ebx, ebp
test cl, cl
mov dword [eax + 0x486c], ebx
jns 0x595bf0
fld st(0)
fadd dword [esi]
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
jmp 0x595c02
fld dword [esi]
fsub st(1)
fstp dword [edx]
fld st(0)
fadd dword [esi]
fstp dword [esi]
jmp 0x595c02
mov ecx, dword [esi]
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
add edx, ecx
add esi, ecx
mov ecx, dword [esp + 0x28]
inc ecx
cmp ecx, 4
mov dword [esp + 0x28], ecx
jl 0x595ac8
jmp 0x595c25
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
dec ecx
mov dword [esp + 0x30], ecx
jne 0x595a22
cmp edi, dword [esp + 0x3c]
fstp st(0)
jae 0x595c99
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x6c]
test ebx, ebx
jne 0x595c7b
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x10], 1
add edi, 4
lea edx, [ebp + ecx*4 + 0x900]
lea esi, [ebp + ecx*4]
mov ecx, dword [edi]
add edi, 4
cmp ecx, 3
je 0x595c78
mov dword [esp + 0x10], 3
add edi, 4
mov ecx, dword [esi]
dec ebx
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
add esi, ecx
add edx, ecx
mov ebp, dword [esi]
add esi, ecx
mov dword [edx], ebp
add edx, ecx
cmp edi, dword [esp + 0x3c]
jb 0x595c40
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
lea esi, [edx + 1]
mov dword [ecx + 0x30], esi
mov esi, dword [esp + 0x58]
cmp edx, esi
lea edi, [esi + 1]
mov dword [ecx + 0x34], edi
mov edi, dword [esp + 0x5c]
lea ebx, [edi + 1]
mov dword [ecx + 0x38], ebx
mov ebx, dword [esp + 0x60]
lea ebp, [ebx + 1]
mov dword [ecx + 0x3c], ebp
jg 0x595ccb
mov edx, esi
cmp edx, edi
jg 0x595cd1
mov edx, edi
inc edx
test edx, edx
je 0x595cf5
mov esi, dword [esp + 0x78]
lea edi, [esi*8]
sub edi, esi
lea edx, [edx + edi*2]
mov edx, dword [edx*4 + 0x6df220]
mov dword [ecx + 0x40], edx
jmp 0x596350
mov edx, dword [esp + 0x78]
lea esi, [edx + edx*2]
shl esi, 3
sub esi, edx
add esi, ebx
mov edx, dword [esi*4 + 0x6deee4]
mov dword [ecx + 0x40], edx
jmp 0x596350
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x14], 0x6905c0
cmp eax, ebx
jne 0x595d29
mov dword [esp + 0x14], 0x6cd9b8
mov eax, dword [esp + 0x78]
add ecx, 0x18
fld dword [0x622ff8]
lea eax, [eax + eax*2]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [eax*4 + 0x6c1568]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edi, dword [edi]
mov ecx, dword [esp + ecx*4 + 0x48]
test ecx, ecx
lea edi, [edi*8 + 0x690418]
mov dword [esp + 0x38], edi
je 0x59613d
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x595dd5
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x70]
fstp st(0)
mov edi, dword [ecx]
add ecx, 4
mov ebp, dword [ebx]
mov dword [esp + 0x20], edi
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi]
add edi, 4
add ebp, ecx
mov ecx, dword [esp + 0x2c]
shl ebp, cl
mov ecx, dword [esp + 0x74]
add ebx, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x70], ebx
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebp*4]
mov ecx, dword [esp + 0x38]
mov ebp, dword [ecx + 4]
movsx ecx, word [ebp]
test ecx, ecx
mov dword [esp + 0x68], ecx
jge 0x595e39
mov edi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
add ebp, 2
mov dl, byte [edi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, edi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], ebx
jns 0x595e20
mov ecx, dword [esp + 0x68]
neg ecx
lea ebp, [ebp + ecx*2]
movsx ecx, word [ebp]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x68], ecx
dec edi
test ecx, ecx
mov dword [esp + 0x7c], edi
jl 0x595de8
mov edx, dword [esp + 0x18]
mov edi, ecx
and ecx, 0xf
sar edi, 4
cmp edi, 0xf
mov dword [esp + 0x40], edi
mov dword [esp + 0x68], ecx
jne 0x595f2a
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov ebp, dword [ecx]
or ecx, 0xffffffff
sub ecx, ebp
add edi, ecx
test ebp, ebp
mov dword [esp + 0x7c], edi
jne 0x595e79
mov dword [esp + 0x3c], ebp
jmp 0x595ecb
mov edi, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [edi + 1]
mov cl, byte [edi + 2]
mov bh, byte [edi]
shl ebx, 8
or ebx, ecx
mov ecx, dword [eax + 0x4868]
shl ebx, cl
add ecx, ebp
and ebx, 0xffffff
mov dword [esp + 0x40], ebx
mov ebx, ecx
and ecx, 7
sar ebx, 3
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
add ebx, edi
mov edi, dword [esp + 0x40]
sub ecx, ebp
mov dword [eax + 0x486c], ebx
shr edi, cl
mov dword [esp + 0x3c], edi
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov bl, byte [edi]
shl bl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
mov dword [eax + 0x4868], ecx
mov ecx, dword [esp + 0x3c]
add ebp, edi
fld st(0)
mov dword [eax + 0x486c], ebp
fmul dword [ecx*4 + 0x6c510c]
mov ecx, dword [esp + 0x68]
test bl, bl
jns 0x595f1e
fld st(0)
fadd dword [esi]
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x595fa5
fld dword [esi]
fsub st(1)
fstp dword [edx]
fadd dword [esi]
fstp dword [esi]
jmp 0x595fa5
test edi, edi
je 0x595fa1
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov dword [esp + 0x28], ecx
mov bl, byte [edi]
mov ecx, ebp
shl bl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
mov dword [eax + 0x4868], ecx
mov ecx, dword [esp + 0x40]
add ebp, edi
fld st(0)
mov dword [eax + 0x486c], ebp
fmul dword [ecx*4 + 0x6c50d0]
test bl, bl
jns 0x595f82
fld st(0)
fadd dword [esi]
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x595f8c
fld dword [esi]
fsub st(1)
fstp dword [edx]
fadd dword [esi]
fstp dword [esi]
mov ecx, dword [esp + 0x7c]
add edx, 4
add esi, 4
dec ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x68]
jmp 0x595fab
mov edi, dword [esi]
mov dword [edx], edi
add edx, 4
add esi, 4
cmp ecx, 0xf
jne 0x59608b
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov ebp, dword [ecx]
or ecx, 0xffffffff
sub ecx, ebp
add edi, ecx
test ebp, ebp
mov dword [esp + 0x7c], edi
jne 0x595fdb
mov dword [esp + 0x68], ebp
jmp 0x59602d
mov edi, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [edi + 1]
mov cl, byte [edi + 2]
mov bh, byte [edi]
shl ebx, 8
or ebx, ecx
mov ecx, dword [eax + 0x4868]
shl ebx, cl
add ecx, ebp
and ebx, 0xffffff
mov dword [esp + 0x68], ebx
mov ebx, ecx
and ecx, 7
sar ebx, 3
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
add ebx, edi
mov edi, dword [esp + 0x68]
sub ecx, ebp
mov dword [eax + 0x486c], ebx
shr edi, cl
mov dword [esp + 0x68], edi
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov bl, byte [edi]
shl bl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
mov dword [eax + 0x4868], ecx
mov ecx, dword [esp + 0x68]
add ebp, edi
fld st(0)
mov dword [eax + 0x486c], ebp
fmul dword [ecx*4 + 0x6c510c]
test bl, bl
jns 0x59607c
fld st(0)
fadd dword [esi]
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x59611b
fld dword [esi]
fsub st(1)
fstp dword [edx]
fadd dword [esi]
fstp dword [esi]
jmp 0x59611b
test ecx, ecx
je 0x596117
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov dword [esp + 0x28], ecx
mov bl, byte [edi]
mov ecx, ebp
shl bl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
mov dword [eax + 0x4868], ecx
mov ecx, dword [esp + 0x68]
add ebp, edi
fld st(0)
mov dword [eax + 0x486c], ebp
fmul dword [ecx*4 + 0x6c50d0]
test bl, bl
jns 0x5960f9
fld st(0)
fadd dword [esi]
mov ecx, dword [esp + 0x7c]
add edx, 4
add esi, 4
dec ecx
mov dword [esp + 0x7c], ecx
fstp dword [edx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
fstp st(0)
jmp 0x596121
fld dword [esi]
fsub st(1)
mov ecx, dword [esp + 0x7c]
add edx, 4
add esi, 4
dec ecx
mov dword [esp + 0x7c], ecx
fstp dword [edx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x596121
mov ecx, dword [esi]
mov dword [edx], ecx
add edx, 4
add esi, 4
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
dec edi
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], ecx
jne 0x595d85
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
inc ecx
add ebx, 4
cmp ecx, 3
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], ebx
jl 0x595d60
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x596300
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x596300
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x54]
mov ecx, dword [ecx*8 + 0x69051c]
mov di, word [ecx]
test di, di
mov dword [esp + 0x44], edi
jge 0x5961fa
add ecx, 2
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x5961ef
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov bl, byte [edi]
shl bl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test bl, bl
mov dword [eax + 0x486c], ebp
jns 0x5961dd
movsx ecx, word [esp + 0x44]
mov edi, dword [esp + 0x68]
neg ecx
lea ecx, [edi + ecx*2]
jmp 0x5961e1
mov ecx, dword [esp + 0x68]
mov di, word [ecx]
test di, di
mov dword [esp + 0x44], edi
jl 0x59618c
jmp 0x5961fa
mov ecx, dword [esp + 0x7c]
inc ecx
xor edi, edi
mov dword [esp + 0x7c], ecx
movsx ecx, di
xor ebx, ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x1c], ebx
test bl, 1
jne 0x59625e
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x59625a
mov ecx, dword [esp + 0x10]
fstp st(0)
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x20], edi
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x14]
mov ebp, dword [ecx]
mov ecx, dword [edi]
add edi, 4
add ebp, ecx
mov ecx, dword [esp + 0x2c]
shl ebp, cl
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], edi
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebp*4]
add dword [esp + 0x70], 4
dec dword [esp + 0x20]
mov edi, 8
mov ecx, ebx
sar edi, cl
mov ecx, dword [esp + 0x68]
test ecx, edi
je 0x5962d3
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x7c]
dec ecx
test ecx, ecx
mov dword [esp + 0x7c], ecx
jle 0x5962ed
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov bl, byte [edi]
shl bl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test bl, bl
mov ebx, dword [esp + 0x1c]
mov dword [eax + 0x486c], ebp
jns 0x5962c5
fld st(0)
fadd dword [esi]
fstp dword [edx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
jmp 0x5962d7
fld dword [esi]
fsub st(1)
fstp dword [edx]
fld st(0)
fadd dword [esi]
fstp dword [esi]
jmp 0x5962d7
mov ecx, dword [esi]
mov dword [edx], ecx
add edx, 4
add esi, 4
inc ebx
cmp ebx, 4
mov dword [esp + 0x1c], ebx
jl 0x596207
jmp 0x5962f1
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
dec ecx
mov dword [esp + 0x30], ecx
jne 0x596166
mov ecx, dword [esp + 0x6c]
sub ecx, edx
add ecx, 0x1200
sar ecx, 3
fstp st(0)
je 0x59632a
mov edi, dword [esi]
add esi, 4
mov dword [edx], edi
add edx, 4
mov edi, dword [esi]
add esi, 4
mov dword [edx], edi
add edx, 4
dec ecx
jne 0x596313
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
lea ecx, [edx + 1]
mov edx, dword [esp + 0x78]
mov dword [esi + 0x3c], ecx
lea edi, [edx + edx*2]
shl edi, 3
sub edi, edx
add edi, ecx
mov ecx, dword [edi*4 + 0x6deee0]
mov dword [esi + 0x40], ecx
mov edi, dword [esp + 0x7c]
cmp edi, 0x10
jle 0x596391
lea edx, [edi - 0x11]
mov esi, dword [eax + 0x486c]
shr edx, 4
mov ecx, dword [eax + 0x4868]
inc edx
mov ebx, edx
neg ebx
shl ebx, 4
add edi, ebx
add ecx, 0x10
mov ebx, ecx
and ecx, 7
sar ebx, 3
add esi, ebx
dec edx
jne 0x596375
mov dword [eax + 0x486c], esi
mov dword [eax + 0x4868], ecx
test edi, edi
jle 0x5963c4
mov edx, dword [eax + 0x4868]
mov esi, dword [eax + 0x486c]
lea ecx, [edx + edi]
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, 0x54
ret
jge 0x5963ba
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret