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

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
push ebx
push ebp
mov eax, dword [edx + 0x50]
push esi
inc eax
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [edx + 0x44]
mov ebp, dword [edx + 0x48]
push edi
mov dword [esp + 0x80], eax
mov eax, dword [edx + 8]
mov edi, pe_nt_image_headers32
lea ebx, [esi + 0x900]
sub edi, eax
mov dword [esp + 0x24], ebx
sar edi, 1
cmp eax, ecx
mov dword [esp + 0x2c], edi
jg 0x1005048b
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jmp 0x100504b4
cmp eax, ebp
mov dword [esp + 0x4c], ecx
jg 0x100504a3
sub eax, ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
jmp 0x100504b2
sub ebp, ecx
mov ecx, dword [edx + 0x48]
sub eax, ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], eax
xor eax, eax
mov ebp, dword [edx + 0x10]
mov ecx, 2
cmp ebp, ecx
jne 0x10050d8f
mov edi, dword [edx + 0x14]
mov dword [esp + 0x10], eax
fld dword [0x1007c530]
cmp edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
je 0x1005050d
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
lea eax, [eax + eax*2]
mov dword [esp + 0x58], ecx
shl eax, 2
mov edi, dword [eax + 0x100c096c]
mov eax, dword [eax + 0x100cc51c]
jmp 0x10050536
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 edi, dword [eax + 0x100c0970]
mov eax, dword [eax + 0x100cc520]
mov dword [esp + 0x40], eax
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], ecx
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 + 0x100937c0]
mov dword [esp + 0x34], edx
je 0x10050a33
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
jmp 0x10050586
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x1005061a
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [edi]
add edi, 4
add edi, 4
lea ebx, [ebp + ecx*4 + 0x900]
lea esi, [ebp + ecx*4]
mov ebp, dword [edi - 4]
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
add edi, 4
cmp ebp, 3
mov ecx, dword [ecx]
mov dword [esp + 0x24], ebx
fstp st(0)
mov dword [esp + 0x14], ebp
jne 0x100505f4
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], 1
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x64]
fld dword [ecx + edx*4]
add dword [esp + 0x74], 4
jmp 0x1005061e
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], 3
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + ebp*4 + 0x58]
fld dword [ecx + edx*4]
add dword [esp + 0x74], 4
jmp 0x1005061e
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 4]
movsx ecx, word [edx]
add edx, 2
mov dword [esp + 0x1c], ecx
test ecx, ecx
mov dword [esp + 0x6c], edx
jge 0x1005069f
mov ebx, dword [eax + 0x486c]
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, 0x80
mov dword [eax + 0x486c], ebp
je 0x10050672
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x10050676
mov edx, dword [esp + 0x6c]
movsx ecx, word [edx]
mov ebp, dword [esp + 0x80]
add edx, 2
dec ebp
mov dword [esp + 0x1c], ecx
test ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x6c], edx
jl 0x10050637
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov edx, ecx
and ecx, 0xf
sar edx, 4
cmp edx, 0xf
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], ecx
jne 0x100507b3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov dword [esp + ebp*4 + 0x58], ecx
mov ebp, dword [esp + 0x80]
mov edx, dword [edx]
or ecx, 0xffffffff
sub ecx, edx
add ebp, ecx
test edx, edx
mov dword [esp + 0x80], ebp
jne 0x100506e5
mov dword [esp + 0x30], edx
jmp 0x1005073c
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bh, byte [ebp]
mov cl, byte [ebp + 2]
mov bl, byte [ebp + 1]
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
mov ecx, 0x18
sar ebx, 3
sub ecx, edx
mov edx, dword [esp + 0x6c]
add ebx, ebp
shr edx, cl
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [ebp]
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 0x10050795
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x100c4510]
mov ecx, dword [esp + 0x1c]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005085a
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
fmul dword [edx*4 + 0x100c4510]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x1005085a
test edx, edx
je 0x10050856
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov ebp, dword [eax + 0x486c]
mov dword [esp + edx*4 + 0x58], ecx
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebp]
shl dl, cl
inc ecx
fld st(0)
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 0x1005082c
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x100c44d4]
mov ecx, dword [esp + 0x80]
dec ecx
fld st(0)
fadd dword [esi]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x1c]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005085a
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
dec ecx
fmul dword [edx*4 + 0x100c44d4]
fld dword [esi]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x1c]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x1005085a
mov edx, dword [esi]
mov dword [ebx], edx
mov edx, dword [esp + 0x10]
shl edx, 2
add ebx, edx
add esi, edx
cmp ecx, 0xf
mov dword [esp + 0x24], ebx
jne 0x10050969
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x80]
mov dword [esp + ecx*4 + 0x58], edx
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 0x100508a3
mov dword [esp + 0x30], edx
jmp 0x100508fa
mov ebp, dword [eax + 0x486c]
xor ebx, ebx
xor ecx, ecx
mov bh, byte [ebp]
mov cl, byte [ebp + 2]
mov bl, byte [ebp + 1]
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
mov ecx, 0x18
sar ebx, 3
sub ecx, edx
mov edx, dword [esp + 0x6c]
add ebx, ebp
shr edx, cl
mov dword [eax + 0x486c], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [ebp]
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 0x1005094f
mov ecx, dword [esp + 0x30]
fmul dword [ecx*4 + 0x100c4510]
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x10050a08
mov edx, dword [esp + 0x30]
fmul dword [edx*4 + 0x100c4510]
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x10050a08
test ecx, ecx
je 0x10050a04
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov ebp, dword [eax + 0x486c]
mov dword [esp + edx*4 + 0x58], ecx
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebp]
shl dl, cl
inc ecx
fld st(0)
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 0x100509de
mov ecx, dword [esp + 0x1c]
fmul dword [ecx*4 + 0x100c44d4]
mov ecx, dword [esp + 0x80]
dec ecx
fld st(0)
fadd dword [esi]
mov dword [esp + 0x80], ecx
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x10050a08
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
dec ecx
fmul dword [edx*4 + 0x100c44d4]
fld dword [esi]
mov dword [esp + 0x80], ecx
fsub st(1)
fstp dword [ebx]
fadd dword [esi]
fstp dword [esi]
jmp 0x10050a08
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esp + 0x10]
lea ecx, [edx*4]
mov edx, dword [esp + 0x18]
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], ecx
jne 0x1005057e
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, 4
add ebp, ecx
add edx, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], ebp
dec ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], ecx
jne 0x10050551
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10050cb1
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x10050cb1
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x100938c4]
mov bp, word [ecx]
add ecx, 2
test bp, bp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ecx
jge 0x10050b1b
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
js 0x10050b0a
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebp]
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 0x10050af1
movsx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x3c]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x10050af5
mov ecx, dword [esp + 0x3c]
mov bp, word [ecx]
add ecx, 2
test bp, bp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ecx
jl 0x10050a9b
jmp 0x10050b1b
mov ecx, dword [esp + 0x80]
inc ecx
xor ebp, ebp
mov dword [esp + 0x80], ecx
movsx edx, bp
xor ecx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ecx
test cl, 1
jne 0x10050bf7
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10050be4
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x70]
mov ecx, dword [edi]
mov ebp, dword [edi + 4]
add edi, 4
mov dword [esp + 0x14], ebp
add edi, 4
lea ebx, [esi + ecx*4 + 0x900]
fstp st(0)
mov edx, dword [edi]
add edi, 4
cmp ebp, 3
lea esi, [esi + ecx*4]
mov dword [esp + 0x20], edx
jne 0x10050bab
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], 1
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x64]
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x10050bfb
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], 3
mov edx, dword [edx]
shl edx, cl
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + ebp*4 + 0x58]
fld dword [ecx + edx*4]
mov ecx, dword [esp + 0x74]
add ecx, 4
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x10050bfb
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x10050bfb
mov ebp, dword [esp + 0x14]
mov edx, 8
sar edx, cl
mov ecx, dword [esp + 0x48]
test ecx, edx
je 0x10050c74
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + ebp*4 + 0x58], edx
mov dword [esp + 0x80], ecx
js 0x10050c9b
mov ebp, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [ebp]
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 0x10050c66
fld st(0)
fadd dword [esi]
fstp dword [ebx]
fld dword [esi]
fsub st(1)
fstp dword [esi]
jmp 0x10050c78
fld dword [esi]
fsub st(1)
fstp dword [ebx]
fld st(0)
fadd dword [esi]
fstp dword [esi]
jmp 0x10050c78
mov ecx, dword [esi]
mov dword [ebx], ecx
mov edx, dword [esp + 0x10]
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 0x10050b28
jmp 0x10050ca2
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x10050a67
cmp edi, dword [esp + 0x40]
fstp st(0)
jae 0x10050d16
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x70]
test edx, edx
jne 0x10050cf8
mov edx, dword [edi]
mov ecx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x10], 1
add edi, 4
lea ebx, [ebp + ecx*4 + 0x900]
lea esi, [ebp + ecx*4]
mov ecx, dword [edi]
add edi, 4
cmp ecx, 3
je 0x10050cf5
mov dword [esp + 0x10], 3
add edi, 4
mov ecx, dword [esi]
dec edx
mov dword [ebx], ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
add esi, ecx
add ebx, ecx
mov ebp, dword [esi]
add esi, ecx
mov dword [ebx], ebp
add ebx, ecx
cmp edi, dword [esp + 0x40]
jb 0x10050cbd
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 0x10050d48
mov edx, esi
cmp edx, edi
jg 0x10050d4e
mov edx, edi
inc edx
test edx, edx
je 0x10050d72
mov esi, dword [esp + 0x7c]
lea edi, [esi*8]
sub edi, esi
lea edx, [edx + edi*2]
mov edx, dword [edx*4 + 0x100d30a0]
mov dword [ecx + 0x40], edx
jmp 0x100514b1
mov edx, dword [esp + 0x7c]
lea esi, [edx + edx*2]
shl esi, 3
sub esi, edx
add esi, ebx
mov edx, dword [esi*4 + 0x100d2d64]
mov dword [ecx + 0x40], edx
jmp 0x100514b1
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x18], 0x10093988
cmp ecx, eax
jne 0x10050da6
mov dword [esp + 0x18], 0x100ccdb4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], 0xffffffff
fld dword [0x1007c530]
lea eax, [eax + eax*2]
mov dword [esp + 0x30], 3
mov ecx, dword [eax*4 + 0x100c0974]
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], ecx
lea ecx, [edx + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], ecx
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 + 0x100937c0]
mov dword [esp + 0x3c], ebp
je 0x1005125a
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10050e5d
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + 0x64]
fstp st(0)
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], edi
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
mov ebp, dword [ecx]
mov ecx, dword [edi]
add edi, 4
add ebp, ecx
mov ecx, dword [esp + 0x28]
shl ebp, cl
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], edi
add ecx, 4
mov dword [esp + 0x74], ecx
fld dword [edx + ebp*4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
movsx ecx, word [edx]
add edx, 2
mov dword [esp + 0x6c], ecx
test ecx, ecx
mov dword [esp + 0x40], edx
jge 0x10050ed6
mov edi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [edi]
shl dl, cl
inc ecx
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x10050eb1
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
neg ecx
lea edx, [edx + ecx*2]
jmp 0x10050eb5
mov edx, dword [esp + 0x40]
movsx ecx, word [edx]
mov ebp, dword [esp + 0x80]
add edx, 2
dec ebp
mov dword [esp + 0x6c], ecx
test ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x40], edx
jl 0x10050e76
mov edx, ecx
and ecx, 0xf
sar edx, 4
cmp edx, 0xf
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], ecx
jne 0x10050ff4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
mov ebp, dword [edx]
mov edx, dword [esp + 0x80]
sub ecx, ebp
add edx, ecx
test ebp, ebp
mov dword [esp + 0x80], edx
jne 0x10050f1c
mov dword [esp + 0x40], ebp
jmp 0x10050f6e
mov edi, dword [eax + 0x486c]
xor edx, edx
xor ecx, ecx
mov dh, byte [edi]
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
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
sar edx, 3
and ecx, 7
add edx, edi
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
mov dword [eax + 0x486c], edx
mov edx, dword [esp + 0x48]
sub ecx, ebp
shr edx, cl
mov dword [esp + 0x40], edx
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
fld st(0)
je 0x10050fcc
mov ecx, dword [esp + 0x40]
add ebx, 4
add esi, 4
fmul dword [ecx*4 + 0x100c4510]
mov ecx, dword [esp + 0x6c]
fld st(0)
fadd dword [esi - 4]
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
fstp st(0)
jmp 0x10051090
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fmul dword [edx*4 + 0x100c4510]
fld dword [esi - 4]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x10051090
test edx, edx
je 0x10051086
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov dword [esp + 0x24], ecx
mov dl, byte [edi]
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
fld st(0)
je 0x10051055
mov edx, dword [esp + 0x48]
add ebx, 4
fmul dword [edx*4 + 0x100c44d4]
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x1005106e
mov ecx, dword [esp + 0x48]
add ebx, 4
fmul dword [ecx*4 + 0x100c44d4]
fld dword [esi]
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 0x10051090
mov edx, dword [esi]
mov dword [ebx], edx
add ebx, 4
add esi, 4
cmp ecx, 0xf
jne 0x1005118a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
or ecx, 0xffffffff
mov ebp, dword [edx]
mov edx, dword [esp + 0x80]
sub ecx, ebp
add edx, ecx
test ebp, ebp
mov dword [esp + 0x80], edx
jne 0x100510c6
mov dword [esp + 0x6c], ebp
jmp 0x10051118
mov edi, dword [eax + 0x486c]
xor edx, edx
xor ecx, ecx
mov dh, byte [edi]
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, dword [eax + 0x4868]
shl edx, cl
add ecx, ebp
and edx, 0xffffff
mov dword [esp + 0x6c], edx
mov edx, ecx
sar edx, 3
and ecx, 7
add edx, edi
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
mov dword [eax + 0x486c], edx
mov edx, dword [esp + 0x6c]
sub ecx, ebp
shr edx, cl
mov dword [esp + 0x6c], edx
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
fld st(0)
je 0x1005116c
mov ecx, dword [esp + 0x6c]
add ebx, 4
fmul dword [ecx*4 + 0x100c4510]
fld st(0)
fadd dword [esi]
fstp dword [ebx - 4]
fld dword [esi]
fsub st(1)
fstp dword [esi]
fstp st(0)
jmp 0x10051237
mov edx, dword [esp + 0x6c]
add ebx, 4
fmul dword [edx*4 + 0x100c4510]
fld dword [esi]
fsub st(1)
fstp dword [ebx - 4]
fadd dword [esi]
fstp dword [esi]
jmp 0x10051237
test ecx, ecx
je 0x10051230
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov dword [esp + 0x24], ecx
mov dl, byte [edi]
mov ecx, ebp
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
fld st(0)
je 0x10051200
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x80]
add ebx, 4
add esi, 4
fmul dword [edx*4 + 0x100c44d4]
dec ecx
mov dword [esp + 0x80], ecx
fld st(0)
fadd dword [esi - 4]
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
fstp st(0)
jmp 0x1005123a
mov ecx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fmul dword [ecx*4 + 0x100c44d4]
fld dword [esi - 4]
mov ecx, dword [esp + 0x80]
fsub st(1)
dec ecx
mov dword [esp + 0x80], ecx
fstp dword [ebx - 4]
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x1005123a
mov edx, dword [esi]
mov dword [ebx], edx
add ebx, 4
add esi, 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
jne 0x10050e0d
mov edi, dword [esp + 0x2c]
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 0x10050de9
test edi, edi
je 0x10051463
mov ecx, dword [esp + 0x80]
test ecx, ecx
jle 0x10051463
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x54]
mov ecx, dword [edx*8 + 0x100938c4]
mov di, word [ecx]
add ecx, 2
test di, di
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], ecx
jge 0x10051335
mov ecx, dword [esp + 0x80]
dec ecx
mov dword [esp + 0x80], ecx
js 0x10051324
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x1005130b
movsx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x6c]
neg ecx
lea ecx, [edx + ecx*2]
jmp 0x1005130f
mov ecx, dword [esp + 0x6c]
mov di, word [ecx]
add ecx, 2
test di, di
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], ecx
jl 0x100512ba
jmp 0x10051335
mov ecx, dword [esp + 0x80]
inc ecx
xor edi, edi
mov dword [esp + 0x80], ecx
movsx ecx, di
xor edx, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x6c], edx
test dl, 1
jne 0x10051399
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10051395
mov ecx, dword [esp + 0x14]
fstp st(0)
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], edi
mov edi, dword [ecx]
add ecx, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
mov ebp, dword [ecx]
mov ecx, dword [edi]
add edi, 4
add ebp, ecx
mov ecx, dword [esp + 0x28]
shl ebp, cl
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x18], edi
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebp*4]
add dword [esp + 0x74], 4
dec dword [esp + 0x1c]
mov edi, 8
mov ecx, edx
sar edi, cl
mov ecx, dword [esp + 0x48]
test ecx, edi
je 0x10051433
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x24], edx
test ecx, ecx
mov dword [esp + 0x80], ecx
jle 0x1005144d
mov edi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
mov ecx, ebp
mov dl, byte [edi]
shl dl, cl
lea ecx, [ebp + 1]
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, edi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x10051418
fld st(0)
fadd dword [esi]
mov edx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fstp dword [ebx - 4]
fld dword [esi - 4]
fsub st(1)
fstp dword [esi - 4]
jmp 0x1005143d
fld dword [esi]
fsub st(1)
mov edx, dword [esp + 0x6c]
add ebx, 4
add esi, 4
fstp dword [ebx - 4]
fld st(0)
fadd dword [esi - 4]
fstp dword [esi - 4]
jmp 0x1005143d
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 0x10051342
jmp 0x10051454
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x1005128a
mov ecx, dword [esp + 0x70]
sub ecx, ebx
add ecx, 0x1200
sar ecx, 3
fstp st(0)
je 0x1005148d
mov edx, dword [esi]
add esi, 4
mov dword [ebx], edx
add ebx, 4
mov edx, dword [esi]
add esi, 4
mov dword [ebx], edx
add ebx, 4
dec ecx
jne 0x10051476
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
inc ecx
lea edi, [esi + esi*2]
shl edi, 3
sub edi, esi
mov dword [edx + 0x3c], ecx
add edi, ecx
mov ecx, dword [edi*4 + 0x100d2d60]
mov dword [edx + 0x40], ecx
mov esi, dword [esp + 0x80]
cmp esi, 0x10
jle 0x100514f4
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 0x100514cc
test esi, esi
jle 0x10051527
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 0x1005151d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret