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

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x6c]
mov edx, 0x120
mov eax, dword [ecx + 0x50]
push ebp
inc eax
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
sub eax, ebx
mov ebx, dword [ecx + 0x48]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 8]
push esi
mov esi, dword [ecx + 0x44]
sub edx, eax
push edi
sar edx, 1
xor edi, edi
cmp eax, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x2c], edx
jg 0x542830
mov esi, eax
xor edx, edx
mov dword [esp + 0x44], esi
xor eax, eax
jmp 0x542848
cmp eax, ebx
mov dword [esp + 0x44], esi
jg 0x542840
sub eax, esi
mov edx, eax
xor eax, eax
jmp 0x542848
mov edx, ebx
sub eax, ebx
sub edx, esi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jge 0x542858
mov dword [esp + 0x44], edi
cmp edx, edi
jge 0x542860
mov dword [esp + 0x48], edi
cmp eax, edi
jge 0x542868
mov dword [esp + 0x4c], edi
mov edx, dword [ecx + 0x10]
mov eax, 2
cmp edx, eax
jne 0x542fb4
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x18], edi
fld dword [0x5c5a40]
cmp edx, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
je 0x5428c1
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], 0xffffffff
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x657ac8]
mov eax, dword [eax + 0x663680]
mov dword [esp + 0x40], eax
jmp 0x5428ee
or eax, 0xffffffff
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
lea eax, [eax + eax*2]
shl eax, 2
mov edx, dword [eax + 0x663684]
mov ebx, dword [eax + 0x657acc]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x64]
add ecx, 0x18
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, dword [edx]
mov ecx, dword [esp + ecx*4 + 0x44]
test ecx, ecx
lea edx, [edx*8 + 0x626c50]
mov dword [esp + 0x34], edx
je 0x542cf2
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5429ab
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
add ebx, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x68]
add ebx, 4
add ebx, 4
lea ebp, [ecx + edx*4]
mov edx, dword [ebx - 4]
mov ecx, dword [ebx]
add ebx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
cmp edx, 3
mov dword [esp + 0x10], ebp
fstp st(0)
mov dword [esp + 0x20], edx
jne 0x542989
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], 1
mov esi, dword [edx]
shl esi, cl
mov ecx, dword [esp + 0x70]
add edx, 4
mov dword [esp + 0x6c], edx
mov ecx, dword [ecx + 0x64]
fld dword [ecx + esi*4]
jmp 0x5429ab
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x18], 3
mov edi, dword [esi]
shl edi, cl
mov ecx, dword [esp + 0x70]
add esi, 4
mov dword [esp + 0x6c], esi
mov edx, dword [ecx + edx*4 + 0x58]
fld dword [edx + edi*4]
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + 4]
movsx ecx, word [edi]
test ecx, ecx
mov dword [esp + 0x64], ecx
jge 0x542a0c
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
add edi, 2
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], ebp
jns 0x5429f4
mov ecx, dword [esp + 0x64]
neg ecx
lea edi, [edi + ecx*2]
movsx ecx, word [edi]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x64], ecx
dec esi
test ecx, ecx
mov dword [esp + 0x78], esi
jl 0x5429bd
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
mov ecx, edx
and edx, 0xf
sar ecx, 4
cmp ecx, 0xf
mov dword [esp + 0x30], ecx
mov dword [esp + 0x64], edx
jne 0x542af7
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + ecx*4 + 0x50], edx
mov edx, dword [esp + 0x34]
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x78]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x78], edx
jne 0x542a54
mov dword [esp + 0x30], edi
jmp 0x542aa5
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebp, 3
and edx, 0xffffff
sub ecx, edi
add ebp, esi
shr edx, cl
mov dword [eax + 0x486c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], edi
jns 0x542ae7
mov edx, dword [esp + 0x30]
fmul dword [edx*4 + 0x65b674]
fchs
fstp dword [ebp]
jmp 0x542b6a
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x65b674]
fstp dword [ebp]
jmp 0x542b6a
test ecx, ecx
je 0x542b63
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [eax + 0x486c]
mov dword [esp + ecx*4 + 0x50], edx
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], edi
fld st(0)
jns 0x542b4f
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x78]
dec ecx
fmul dword [edx*4 + 0x65b638]
mov dword [esp + 0x78], ecx
fchs
fstp dword [ebp]
jmp 0x542b6a
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x65b638]
dec dword [esp + 0x78]
fstp dword [ebp]
jmp 0x542b6a
mov dword [ebp], 0
mov edx, dword [esp + 0x18]
lea ecx, [edx*4]
add ebp, ecx
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
mov dword [esp + 0x10], ebp
jne 0x542c56
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x78]
mov dword [esp + edx*4 + 0x50], ecx
mov ecx, dword [esp + 0x34]
or edx, 0xffffffff
mov edi, dword [ecx]
sub edx, edi
add esi, edx
test edi, edi
mov dword [esp + 0x78], esi
jne 0x542bb3
mov dword [esp + 0x64], edi
jmp 0x542c04
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebp, 3
and edx, 0xffffff
sub ecx, edi
add ebp, esi
shr edx, cl
mov dword [eax + 0x486c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x64], edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], edi
jns 0x542c46
mov edx, dword [esp + 0x64]
fmul dword [edx*4 + 0x65b674]
fchs
fstp dword [ebp]
jmp 0x542cc9
mov ecx, dword [esp + 0x64]
fmul dword [ecx*4 + 0x65b674]
fstp dword [ebp]
jmp 0x542cc9
test ecx, ecx
je 0x542cc2
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [eax + 0x486c]
mov dword [esp + ecx*4 + 0x50], edx
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], edi
fld st(0)
jns 0x542cae
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
dec ecx
fmul dword [edx*4 + 0x65b638]
mov dword [esp + 0x78], ecx
fchs
fstp dword [ebp]
jmp 0x542cc9
mov ecx, dword [esp + 0x64]
fmul dword [ecx*4 + 0x65b638]
dec dword [esp + 0x78]
fstp dword [ebp]
jmp 0x542cc9
mov dword [ebp], 0
mov edx, dword [esp + 0x18]
lea ecx, [edx*4]
mov edx, dword [esp + 0x14]
add ebp, ecx
mov ecx, dword [esp + 0x3c]
dec edx
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], ecx
jne 0x542926
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
inc ecx
add esi, 4
cmp ecx, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], esi
jl 0x542901
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x542ede
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x542ede
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x626d54]
mov si, word [ecx]
test si, si
mov dword [esp + 0x3c], esi
jge 0x542dab
add ecx, 2
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [esp + 0x78], ecx
js 0x542da0
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], edi
jns 0x542d8e
movsx ecx, word [esp + 0x3c]
mov edx, dword [esp + 0x64]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x542d92
mov ecx, dword [esp + 0x64]
mov si, word [ecx]
test si, si
mov dword [esp + 0x3c], esi
jl 0x542d41
jmp 0x542dab
mov ecx, dword [esp + 0x78]
inc ecx
xor esi, esi
mov dword [esp + 0x78], ecx
movsx ecx, si
xor edx, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x24], edx
test dl, 1
jne 0x542e47
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x542e43
mov ecx, dword [ebx]
mov esi, dword [esp + 0x68]
add ebx, 4
mov dword [esp + 0x14], ecx
fstp st(0)
mov ecx, dword [ebx]
add ebx, 4
add ebx, 4
lea ebp, [esi + ecx*4]
mov esi, dword [ebx - 4]
mov ecx, dword [ebx]
add ebx, 4
cmp esi, 3
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
jne 0x542e1f
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], 1
mov edi, dword [esi]
shl edi, cl
mov ecx, dword [esp + 0x70]
add esi, 4
mov dword [esp + 0x6c], esi
mov ecx, dword [ecx + 0x64]
fld dword [ecx + edi*4]
jmp 0x542e43
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], 3
mov edi, dword [ecx]
mov ecx, dword [esp + 0x28]
shl edi, cl
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + esi*4 + 0x58]
fld dword [ecx + edi*4]
add dword [esp + 0x6c], 4
dec dword [esp + 0x14]
mov esi, 8
mov ecx, edx
sar esi, cl
mov ecx, dword [esp + 0x64]
test ecx, esi
je 0x542eac
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + ecx*4 + 0x50], edx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [esp + 0x78], ecx
js 0x542ecb
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov edx, dword [esp + 0x24]
mov dword [eax + 0x486c], edi
jns 0x542ea7
fld st(0)
fchs
fstp dword [ebp]
jmp 0x542eb3
fst dword [ebp]
jmp 0x542eb3
mov dword [ebp], 0
mov ecx, dword [esp + 0x18]
inc edx
cmp edx, 4
mov dword [esp + 0x24], edx
lea ebp, [ebp + ecx*4]
jl 0x542db8
jmp 0x542ecf
inc dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x542d1b
mov edx, dword [esp + 0x40]
cmp ebx, edx
fstp st(0)
jae 0x542f3b
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
test esi, esi
jne 0x542f1d
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
mov edi, dword [esp + 0x68]
add ebx, 4
add ebx, 4
lea ebp, [edi + ecx*4]
mov edi, 1
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 3
je 0x542f1a
mov edi, 3
add ebx, 4
lea ecx, [edi*4]
mov dword [ebp], 0
add ebp, ecx
dec esi
mov dword [ebp], 0
add ebp, ecx
cmp ebx, edx
jb 0x542ef0
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x70]
lea edx, [ecx + 1]
mov dword [ebx + 0x30], edx
mov edx, dword [esp + 0x54]
cmp ecx, edx
lea esi, [edx + 1]
mov dword [ebx + 0x34], esi
mov esi, dword [esp + 0x58]
lea edi, [esi + 1]
mov dword [ebx + 0x38], edi
mov edi, dword [esp + 0x5c]
lea ebp, [edi + 1]
mov dword [ebx + 0x3c], ebp
jg 0x542f6d
mov ecx, edx
cmp ecx, esi
jg 0x542f73
mov ecx, esi
inc ecx
test ecx, ecx
je 0x542f97
mov edx, dword [esp + 0x74]
lea esi, [edx*8]
sub esi, edx
lea ecx, [ecx + esi*2]
mov ecx, dword [ecx*4 + 0x6756a0]
mov dword [ebx + 0x40], ecx
jmp 0x54352a
mov ecx, dword [esp + 0x74]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
add edx, edi
mov ecx, dword [edx*4 + 0x675364]
mov dword [ebx + 0x40], ecx
jmp 0x54352a
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x30], 0x626df8
cmp eax, edi
jne 0x542fcb
mov dword [esp + 0x30], 0x663f20
mov eax, dword [esp + 0x74]
add ecx, 0x18
fld dword [0x5c5a40]
lea eax, [eax + eax*2]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov edx, dword [eax*4 + 0x657ad0]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx]
mov ecx, dword [esp + ecx*4 + 0x44]
test ecx, ecx
lea edx, [edx*8 + 0x626c50]
mov dword [esp + 0x38], edx
je 0x54332b
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x543078
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x30]
mov ecx, dword [edx]
mov ebx, dword [edi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi]
add ebx, ecx
mov ecx, dword [esp + 0x28]
shl ebx, cl
mov ecx, dword [esp + 0x70]
add edx, 4
fstp st(0)
mov ecx, dword [ecx + 0x64]
add esi, 4
add edi, 4
add edx, 4
fld dword [ecx + ebx*4]
mov ecx, dword [edx - 4]
mov dword [esp + 0x30], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov edi, dword [edx + 4]
movsx ebx, word [edi]
test ebx, ebx
mov dword [esp + 0x64], ebx
jge 0x5430d5
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
add edi, 2
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], ebx
jns 0x5430c1
mov ecx, dword [esp + 0x64]
neg ecx
lea edi, [edi + ecx*2]
movsx ebx, word [edi]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x64], ebx
dec edx
test ebx, ebx
mov dword [esp + 0x78], edx
jl 0x54308a
mov edi, ebx
and ebx, 0xf
sar edi, 4
cmp edi, 0xf
mov dword [esp + 0x64], ebx
jne 0x543199
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x78]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x78], edx
je 0x54315a
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, dword [esp + 0x10]
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
and edx, 0xffffff
sub ecx, edi
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x64]
fmul dword [edi*4 + 0x65b674]
test dl, dl
jns 0x543194
fchs
fstp dword [ebp]
jmp 0x5431f7
test edi, edi
je 0x5431f0
mov edx, dword [esp + 0x24]
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x14], edx
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
fld st(0)
mov dword [eax + 0x486c], ebx
fmul dword [edi*4 + 0x65b638]
test dl, dl
jns 0x5431db
fchs
fstp dword [ebp]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
add ebp, 4
dec ecx
mov dword [esp + 0x78], ecx
jmp 0x5431fa
mov dword [ebp], 0
add ebp, 4
cmp ebx, 0xf
mov dword [esp + 0x10], ebp
jne 0x5432b2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x78]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x78], edx
je 0x543277
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, dword [esp + 0x10]
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
and edx, 0xffffff
sub ecx, edi
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], ebx
fmul dword [edi*4 + 0x65b674]
test dl, dl
jns 0x5432ad
fchs
fstp dword [ebp]
jmp 0x54330c
test ebx, ebx
je 0x543305
mov edx, dword [esp + 0x24]
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x14], edx
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
fld st(0)
mov dword [eax + 0x486c], edi
fmul dword [ebx*4 + 0x65b638]
test dl, dl
jns 0x5432f4
fchs
fstp dword [ebp]
mov ecx, dword [esp + 0x78]
add ebp, 4
dec ecx
mov dword [esp + 0x78], ecx
jmp 0x54330f
mov dword [ebp], 0
add ebp, 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
dec edx
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], ecx
jne 0x543027
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
inc ecx
add esi, 4
cmp ecx, 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], esi
jl 0x543002
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5434da
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x5434da
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x626d54]
mov di, word [ecx]
test di, di
jge 0x5433e2
add ecx, 2
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [esp + 0x78], ecx
js 0x5433d7
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], ebx
jns 0x5433c5
mov edx, dword [esp + 0x64]
movsx ecx, di
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x5433c9
mov ecx, dword [esp + 0x64]
mov di, word [ecx]
mov ebx, dword [esp + 0x1c]
test di, di
jl 0x54337a
jmp 0x5433e2
mov ecx, dword [esp + 0x78]
inc ecx
xor edi, edi
mov dword [esp + 0x78], ecx
movsx edx, di
xor ecx, ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x20], ecx
test cl, 1
jne 0x54344a
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x54343d
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x30]
add ebx, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [esi]
mov dword [esp + 0x24], edx
mov edx, dword [edi]
add ebx, 4
add edx, ecx
mov ecx, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esp + 0x70]
add esi, 4
fstp st(0)
mov ecx, dword [ecx + 0x64]
add edi, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x6c], edi
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov edx, 8
sar edx, cl
mov ecx, dword [esp + 0x64]
test ecx, edx
je 0x5434a5
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x78], ecx
js 0x5434c3
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, dl
mov dword [eax + 0x486c], edi
jns 0x5434a0
fld st(0)
fchs
fstp dword [ebp]
jmp 0x5434ac
fst dword [ebp]
jmp 0x5434ac
mov dword [ebp], 0
mov ecx, dword [esp + 0x20]
add ebp, 4
inc ecx
cmp ecx, 4
mov dword [esp + 0x20], ecx
jl 0x5433ef
jmp 0x5434c7
inc dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x543358
mov ecx, dword [esp + 0x68]
sub ecx, ebp
add ecx, 0x900
sar ecx, 3
fstp st(0)
je 0x543504
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
dec ecx
jne 0x5434ed
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x74]
mov dword [edx + 0x3c], esi
lea edi, [ecx + ecx*2]
shl edi, 3
sub edi, ecx
add edi, esi
mov ecx, dword [edi*4 + 0x675360]
mov dword [edx + 0x40], ecx
mov edi, dword [esp + 0x78]
cmp edi, 0x10
jle 0x54356b
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 0x54354f
mov dword [eax + 0x486c], esi
mov dword [eax + 0x4868], ecx
test edi, edi
jle 0x54359e
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, 0x50
ret
jge 0x543594
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret