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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
push ebx
push ebp
mov ecx, dword [eax + 0x50]
mov ebp, dword [esp + 0x64]
inc ecx
push esi
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax + 0x44]
sub ecx, edx
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 8]
mov edx, pe_nt_image_headers32
push edi
mov edi, dword [eax + 0x48]
sub edx, ecx
sar edx, 1
cmp ecx, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x1004f65e
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x4c], ecx
jmp 0x1004f680
cmp ecx, edi
mov dword [esp + 0x48], esi
jg 0x1004f676
sub ecx, esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], ecx
jmp 0x1004f684
mov edx, edi
sub edx, esi
sub ecx, edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x10]
mov edx, 2
xor esi, esi
cmp ecx, edx
jne 0x1004fdf6
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x1c], esi
fld dword [0x1007c530]
cmp ecx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
je 0x1004f6db
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x54], edx
shl ecx, 2
mov ebx, dword [ecx + 0x100c096c]
mov ecx, dword [ecx + 0x100cc51c]
jmp 0x1004f704
or ecx, 0xffffffff
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x78]
lea ecx, [ecx + ecx*2]
shl ecx, 2
mov ebx, dword [ecx + 0x100c0970]
mov ecx, dword [ecx + 0x100cc520]
mov dword [esp + 0x3c], ecx
add eax, 0x18
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov edx, dword [esp + 0x38]
test ecx, ecx
mov edx, dword [edx]
lea edx, [edx*8 + 0x100937c0]
mov dword [esp + 0x30], edx
je 0x1004fb1d
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
jmp 0x1004f758
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1004f7ce
mov edx, dword [ebx]
mov edi, dword [esp + 0x6c]
add ebx, 4
mov dword [esp + 0x14], edx
fstp st(0)
mov edx, dword [ebx]
add ebx, 4
add ebx, 4
lea ebp, [edi + edx*4]
mov edx, dword [ebx - 4]
mov edi, dword [ebx]
add ebx, 4
cmp edx, 3
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
jne 0x1004f7b2
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], 1
mov edi, dword [edx]
shl edi, cl
mov ecx, dword [esi + 0x64]
add edx, 4
mov dword [esp + 0x70], edx
fld dword [ecx + edi*4]
jmp 0x1004f7ce
mov edi, dword [esp + 0x70]
mov edx, dword [esi + edx*4 + 0x58]
mov dword [esp + 0x1c], 3
mov edi, dword [edi]
shl edi, cl
add dword [esp + 0x70], 4
fld dword [edx + edi*4]
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx + 4]
movsx ecx, word [edi]
add edi, 2
mov dword [esp + 0x68], ecx
test ecx, ecx
jge 0x1004f833
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
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, 0x80
mov dword [eax + 0x486c], ebp
je 0x1004f818
mov ecx, dword [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
movsx ecx, word [edi]
mov ebp, dword [esp + 0x7c]
add edi, 2
dec ebp
mov dword [esp + 0x68], ecx
test ecx, ecx
mov dword [esp + 0x7c], ebp
jl 0x1004f7e3
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov ecx, edx
and edx, 0xf
sar ecx, 4
cmp ecx, 0xf
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], edx
jne 0x1004f91f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + edx*4 + 0x54], ecx
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
jne 0x1004f87b
mov dword [esp + 0x2c], edi
jmp 0x1004f8cc
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
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 + 0x2c], 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, 0x80
mov dword [eax + 0x486c], edi
je 0x1004f90f
mov edx, dword [esp + 0x2c]
fmul dword [edx*4 + 0x100c4510]
fchs
fstp dword [ebp]
jmp 0x1004f993
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x100c4510]
fstp dword [ebp]
jmp 0x1004f993
test ecx, ecx
je 0x1004f98c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov dword [esp + ecx*4 + 0x54], 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, 0x80
mov dword [eax + 0x486c], edi
fld st(0)
je 0x1004f978
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x100c44d4]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x1004f993
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x100c44d4]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x1004f993
mov dword [ebp], 0
mov edx, dword [esp + 0x1c]
lea ecx, [edx*4]
add ebp, ecx
mov ecx, dword [esp + 0x68]
cmp ecx, 0xf
mov dword [esp + 0x10], ebp
jne 0x1004fa80
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
mov dword [esp + edx*4 + 0x54], ecx
mov ecx, dword [esp + 0x30]
or edx, 0xffffffff
mov edi, dword [ecx]
sub edx, edi
add esi, edx
test edi, edi
mov dword [esp + 0x7c], esi
jne 0x1004f9dc
mov dword [esp + 0x68], edi
jmp 0x1004fa2d
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
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 + 0x68], 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, 0x80
mov dword [eax + 0x486c], edi
je 0x1004fa70
mov edx, dword [esp + 0x68]
fmul dword [edx*4 + 0x100c4510]
fchs
fstp dword [ebp]
jmp 0x1004faf4
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x100c4510]
fstp dword [ebp]
jmp 0x1004faf4
test ecx, ecx
je 0x1004faed
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov dword [esp + ecx*4 + 0x54], 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, 0x80
mov dword [eax + 0x486c], edi
fld st(0)
je 0x1004fad9
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x100c44d4]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x1004faf4
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x100c44d4]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x1004faf4
mov dword [ebp], 0
mov edx, dword [esp + 0x1c]
lea ecx, [edx*4]
mov edx, dword [esp + 0x14]
add ebp, ecx
mov ecx, dword [esp + 0x40]
dec edx
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], ecx
jne 0x1004f750
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, 4
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], esi
dec ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ecx
jne 0x1004f723
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1004fdce
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x1004fd19
mov ecx, dword [edi + 0x54]
mov ecx, dword [ecx*8 + 0x100938c4]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x44], esi
mov dword [esp + 0x68], ecx
jge 0x1004fbed
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x1004fbde
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, 0x80
mov dword [eax + 0x486c], edi
je 0x1004fbc5
movsx edx, word [esp + 0x44]
mov ecx, dword [esp + 0x68]
neg edx
lea ecx, [ecx + edx*2]
jmp 0x1004fbc9
mov ecx, dword [esp + 0x68]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x44], esi
mov dword [esp + 0x68], ecx
jl 0x1004fb7e
jmp 0x1004fbe9
mov ecx, dword [esp + 0x7c]
inc ecx
xor esi, esi
mov dword [esp + 0x7c], ecx
mov edi, dword [esp + 0x74]
movsx ecx, si
xor edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], edx
test dl, 1
jne 0x1004fc75
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x1004fc71
mov ecx, dword [ebx]
mov esi, dword [esp + 0x6c]
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 ecx, dword [ebx - 4]
mov esi, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], ecx
cmp ecx, 3
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x24]
jne 0x1004fc57
shl esi, cl
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x1c], 1
fld dword [ecx + esi*4]
add dword [esp + 0x70], 4
jmp 0x1004fc71
shl esi, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], 3
mov ecx, dword [edi + ecx*4 + 0x58]
fld dword [ecx + esi*4]
add dword [esp + 0x70], 4
dec dword [esp + 0x14]
mov esi, 8
mov ecx, edx
sar esi, cl
mov ecx, dword [esp + 0x44]
test ecx, esi
je 0x1004fce7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x54], edx
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x1004fd06
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, 0x80
mov dword [eax + 0x486c], edi
je 0x1004fcda
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
fld st(0)
fchs
fstp dword [ebp]
jmp 0x1004fcee
fst dword [ebp]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
jmp 0x1004fcee
mov dword [ebp], 0
mov ecx, dword [esp + 0x1c]
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
lea ebp, [ebp + ecx*4]
jl 0x1004fbfa
jmp 0x1004fd0a
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x1004fb55
fstp st(0)
cmp ebx, dword [esp + 0x3c]
jae 0x1004fd76
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test edx, edx
jne 0x1004fd56
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x6c]
add ebx, 4
add ebx, 4
lea ebp, [esi + ecx*4]
mov esi, 1
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 3
je 0x1004fd53
mov esi, 3
add ebx, 4
lea ecx, [esi*4]
mov dword [ebp], 0
add ebp, ecx
dec edx
mov dword [ebp], 0
add ebp, ecx
cmp ebx, dword [esp + 0x3c]
jb 0x1004fd29
mov ecx, dword [esp + 0x54]
lea edx, [ecx + 1]
mov dword [edi + 0x30], edx
mov edx, dword [esp + 0x58]
cmp ecx, edx
lea esi, [edx + 1]
mov dword [edi + 0x34], esi
mov esi, dword [esp + 0x5c]
lea ebx, [esi + 1]
mov dword [edi + 0x38], ebx
mov ebx, dword [esp + 0x60]
lea ebp, [ebx + 1]
mov dword [edi + 0x3c], ebp
jg 0x1004fda4
mov ecx, edx
cmp ecx, esi
jg 0x1004fdaa
mov ecx, esi
inc ecx
test ecx, ecx
je 0x1004fdd9
mov edx, dword [esp + 0x78]
lea esi, [edx*8]
sub esi, edx
lea ecx, [ecx + esi*2]
mov ecx, dword [ecx*4 + 0x100d30a0]
mov dword [edi + 0x40], ecx
jmp 0x1005039f
mov edi, dword [esp + 0x74]
fstp st(0)
jmp 0x1004fd1b
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
add edx, ebx
mov ecx, dword [edx*4 + 0x100d2d64]
mov dword [edi + 0x40], ecx
jmp 0x1005039f
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x14], 0x10093988
cmp ecx, esi
jne 0x1004fe0d
mov dword [esp + 0x14], 0x100ccdb4
mov ecx, dword [esp + 0x78]
add eax, 0x18
fld dword [0x1007c530]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0xffffffff
mov edx, dword [ecx*4 + 0x100c0974]
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], 3
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
mov edx, dword [esp + 0x34]
test ecx, ecx
mov edx, dword [edx]
lea edx, [edx*8 + 0x100937c0]
mov dword [esp + 0x3c], edx
je 0x1005018e
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1004fec4
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
mov ecx, dword [edx]
mov ebx, dword [edi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
add ebx, ecx
mov ecx, dword [esp + 0x24]
shl ebx, cl
mov ecx, dword [esp + 0x74]
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 + 0x14], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3c]
mov edi, dword [edx + 4]
movsx ebx, word [edi]
add edi, 2
mov dword [esp + 0x68], ebx
test ebx, ebx
jge 0x1004ff25
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, 0x80
mov dword [eax + 0x486c], ebx
je 0x1004ff0e
mov ecx, dword [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
movsx ebx, word [edi]
mov esi, dword [esp + 0x7c]
add edi, 2
dec esi
mov dword [esp + 0x68], ebx
test ebx, ebx
mov dword [esp + 0x7c], esi
jl 0x1004fed9
mov edi, ebx
and ebx, 0xf
sar edi, 4
cmp edi, 0xf
mov dword [esp + 0x68], ebx
jne 0x1004fff1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x1004ffaa
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
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 + 0x100c4510]
test dl, 0x80
je 0x1004ffe1
fchs
fstp dword [ebp]
mov ebx, dword [esp + 0x68]
add ebp, 4
mov dword [esp + 0x10], ebp
jmp 0x1005005b
test edi, edi
je 0x1005004d
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x18], 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 + 0x100c44d4]
test dl, 0x80
je 0x10050034
fchs
fstp dword [ebp]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ecx
jmp 0x1005005b
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
cmp ebx, 0xf
jne 0x10050110
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x100500d4
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dh, byte [esi]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
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 + 0x100c4510]
test dl, 0x80
je 0x1005010b
fchs
fstp dword [ebp]
jmp 0x1005016f
test ebx, ebx
je 0x10050168
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x18], 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 + 0x100c44d4]
test dl, 0x80
je 0x10050153
fchs
fstp dword [ebp]
mov ecx, dword [esp + 0x7c]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ecx
jmp 0x10050176
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
jne 0x1004fe73
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ecx, 4
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], esi
dec ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ecx
jne 0x1004fe50
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1005034f
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x1005034f
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x54]
mov edi, dword [edx*8 + 0x100938c4]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jge 0x10050248
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x1005023d
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, 0x80
mov dword [eax + 0x486c], ebx
je 0x1005022c
movsx ecx, word [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jl 0x100501eb
jmp 0x10050248
mov ecx, dword [esp + 0x7c]
inc ecx
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov edi, dword [esp + 0x2c]
xor edx, edx
movsx ecx, cx
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], ecx
test dl, 1
jne 0x100502a9
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x100502a5
mov ecx, dword [edi]
mov esi, dword [esp + 0x14]
add edi, 4
mov dword [esp + 0x1c], ecx
fstp st(0)
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
add esi, 4
mov ebx, dword [ecx]
mov ecx, dword [esi - 4]
add ebx, ecx
mov ecx, dword [esp + 0x24]
shl ebx, cl
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], esi
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebx*4]
add dword [esp + 0x70], 4
dec dword [esp + 0x1c]
mov esi, 8
mov ecx, edx
sar esi, cl
mov ecx, dword [esp + 0x44]
test ecx, esi
je 0x10050315
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x7c], ecx
js 0x10050333
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, 0x80
mov dword [eax + 0x486c], ebx
je 0x10050309
mov edx, dword [esp + 0x68]
add ebp, 4
fld st(0)
fchs
fstp dword [ebp - 4]
jmp 0x1005031f
fst dword [ebp]
mov edx, dword [esp + 0x68]
add ebp, 4
jmp 0x1005031f
mov dword [ebp], 0
add ebp, 4
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
jl 0x10050259
mov dword [esp + 0x2c], edi
jmp 0x10050340
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x2c], edi
inc ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x100501c2
mov ecx, dword [esp + 0x6c]
sub ecx, ebp
add ecx, 0x900
sar ecx, 3
fstp st(0)
je 0x10050379
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
dec ecx
jne 0x10050362
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x3c], edx
lea edi, [ecx + ecx*2]
shl edi, 3
sub edi, ecx
add edi, edx
mov edx, dword [edi*4 + 0x100d2d60]
mov dword [esi + 0x40], edx
mov esi, dword [esp + 0x7c]
cmp esi, 0x10
jle 0x100503df
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
and ecx, 7
sar edi, 3
add ebx, edi
dec edx
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
jne 0x100503b7
test esi, esi
jle 0x10050412
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, 0x54
ret
jge 0x10050408
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret