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

Disassembly:
sub esp, 8
mov ecx, dword [0x211592ec]
mov edx, dword [ecx + 0x10]
mov ecx, dword [0x211592e8]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, eax
mov eax, dword [ebp + 4]
imul eax, eax, 0x34
mov eax, dword [eax + edx + 0x18]
mov edx, dword [ecx + 0x10]
imul eax, eax, 0x12c
mov ecx, dword [esp + 0x1c]
add eax, edx
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x38]
mov ebx, dword [eax + 0x128]
imul edx, edx, 0x3c
add edx, ebx
mov dword [esi + 0xc], edx
xor ebx, ebx
mov dword [esi], 1
mov dword [esi + 8], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [ebp]
mov dword [esi + 0x10], eax
mov edx, dword [ebp + 4]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edi
test byte [eax + 4], 1
mov edx, ebx
setne dl
mov dword [esi + 0x50], ebx
inc edx
mov dword [esi + 0x44], edx
mov eax, dword [eax + 4]
mov edx, dword [0x211570fc]
mov edx, dword [edx + 4]
and edx, 2
or edx, 0x60
shr edx, 1
and eax, 1
shl eax, 1
or edx, eax
mov dword [esi + 0x1c], edx
mov edx, dword [edi + 0x3c]
mov eax, dword [edx + 0x5c]
mov edx, eax
imul edx, ecx
movsx ecx, word [edi + 0x12]
sar edx, 7
mov dword [esp + 0x18], edx
movzx edx, word [edi + 0x10]
fild dword [esp + 0x18]
imul edx, eax
mov dword [esp + 0x18], ecx
sar edx, 7
fiadd dword [esp + 0x18]
mov dword [esp + 0x18], edx
fisub dword [esp + 0x18]
fstp dword [esi + 0x3c]
movzx eax, byte [ebp + 3]
mov ecx, eax
imul ecx, eax
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fdivr qword [0x2114bdd8]
fmul qword [0x2114bdd0]
fldlg2
fxch st(1)
fyl2x
fmul dword [0x2114bdc8]
fst dword [esi + 0x40]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
cmp eax, 0x80000000
je 0x21106b5f
fild dword [esp + 0x18]
fmul dword [0x2114bdc4]
fsubr st(1)
fstp dword [esi + 0x40]
mov edx, dword [edi + 0x3c]
fstp st(0)
fild dword [edx + 0x48]
mov eax, 0x51eb851f
fmul dword [0x2114bdc4]
fistp qword [esp + 0xc]
mov ecx, dword [esp + 0xc]
shl ecx, 7
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xbc], edx
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + 0x4c]
cmp eax, 0x80000000
mov dword [esp + 0x18], eax
jne 0x21106ba8
mov dword [esi + 0x64], ebx
jmp 0x21106d3d
fild dword [esp + 0x18]
mov dword [esi + 0x64], 1
mov dword [esi + 0x68], ebx
fmul dword [0x2114bdc0]
fst dword [esp + 0x18]
fst dword [esi + 0x6c]
fstp dword [esi + 0x70]
fld qword [0x2114bdb8]
fld dword [esp + 0x18]
fmul dword [0x2114bdb4]
call fcn.21136d30
fstp dword [esi + 0x78]
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0x18]
cmp ecx, 0x80000000
mov dword [esp + 0xc], ecx
je 0x21106c59
mov eax, dword [eax + 0x28]
cmp eax, 0x80000000
je 0x21106c10
cdq
and edx, 0x7f
add eax, edx
movzx edx, byte [ebp + 3]
sar eax, 7
imul eax, edx
add ecx, eax
mov dword [esp + 0xc], ecx
fld qword [0x2114bd10]
fild dword [esp + 0xc]
fmul dword [0x2114bdb0]
call fcn.21136d30
fmul qword [0x2114bda8]
mov eax, dword [0x211570fc]
fdiv dword [eax + 0x2c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0xc], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], eax
je 0x21106c5c
fild dword [esp + 0xc]
fdivr dword [esp + 0x18]
fstp dword [esi + 0x74]
jmp 0x21106c5c
mov dword [esi + 0x7c], ebx
mov ecx, dword [edi + 0x3c]
fild dword [ecx + 0x20]
fmul dword [0x2114bdc4]
fmul dword [esp + 0x18]
fmul dword [0x2114bda0]
fsubr dword [esp + 0x18]
fst dword [esi + 0x88]
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x80000000
mov dword [esp + 0xc], ecx
je 0x21106cd6
mov eax, dword [eax + 0x2c]
fstp st(0)
cmp eax, 0x80000000
je 0x21106cae
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
imul eax, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0xc], ecx
fld qword [0x2114bd10]
fild dword [esp + 0xc]
fmul dword [0x2114bdb0]
call fcn.21136d30
fmul qword [0x2114bda8]
mov edx, dword [0x211570fc]
fdiv dword [edx + 0x2c]
fdivr dword [esp + 0x18]
fstp dword [esi + 0x84]
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x24]
cmp eax, 0x80000000
mov dword [esp + 0xc], eax
je 0x21106d37
fld qword [0x2114bd10]
fild dword [esp + 0xc]
fmul dword [0x2114bdb0]
call fcn.21136d30
fmul qword [0x2114bda8]
mov ecx, dword [0x211570fc]
fdiv dword [ecx + 0x2c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0xc], eax
mov dword [esi + 0x90], eax
je 0x21106d3d
fild dword [esp + 0xc]
fdivr dword [esp + 0x18]
fstp dword [esi + 0x8c]
jmp 0x21106d3d
mov dword [esi + 0x90], ebx
mov edx, dword [edi + 0x3c]
mov eax, dword [edx + 0x50]
cmp eax, 0x80000000
mov dword [esp + 0x18], eax
jne 0x21106d59
mov dword [esi + 0x94], ebx
jmp 0x21106ee6
fild dword [esp + 0x18]
mov dword [esi + 0x94], 1
mov dword [esi + 0x98], ebx
fmul dword [0x2114bd9c]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], ecx
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0x30]
cmp ecx, 0x80000000
mov dword [esp + 0xc], ecx
je 0x21106e05
mov eax, dword [eax + 0x40]
cmp eax, 0x80000000
je 0x21106dbb
cdq
and edx, 0x7f
add eax, edx
movzx edx, byte [ebp + 3]
sar eax, 7
imul eax, edx
add ecx, eax
mov dword [esp + 0xc], ecx
fld qword [0x2114bd10]
fild dword [esp + 0xc]
fmul dword [0x2114bdb0]
call fcn.21136d30
fmul qword [0x2114bda8]
mov ebp, dword [0x211570fc]
fdiv dword [ebp + 0x2c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0xc], eax
mov dword [esi + 0xa8], eax
je 0x21106e11
fild dword [esp + 0xc]
fdivr dword [esp + 0x18]
fstp dword [esi + 0xa4]
jmp 0x21106e11
mov ebp, dword [0x211570fc]
mov dword [esi + 0xa8], ebx
mov eax, dword [edi + 0x3c]
fild dword [eax + 0x38]
fmul dword [0x2114bdc4]
fmul dword [esp + 0x18]
fmul dword [0x2114bda0]
fsubr dword [esp + 0x18]
fst dword [esi + 0xb0]
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0x34]
cmp ecx, 0x80000000
mov dword [esp + 0xc], ecx
je 0x21106e85
mov eax, dword [eax + 0x44]
fstp st(0)
cmp eax, 0x80000000
je 0x21106e63
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
imul eax, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0xc], ecx
fld qword [0x2114bd10]
fild dword [esp + 0xc]
fmul dword [0x2114bdb0]
call fcn.21136d30
fmul qword [0x2114bda8]
fdiv dword [ebp + 0x2c]
fdivr dword [esp + 0x18]
fstp dword [esi + 0xac]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + 0x3c]
cmp eax, 0x80000000
mov dword [esp + 0x1c], eax
je 0x21106ee0
fld qword [0x2114bd10]
fild dword [esp + 0x1c]
fmul dword [0x2114bdb0]
call fcn.21136d30
fmul qword [0x2114bda8]
fdiv dword [ebp + 0x2c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esi + 0xb8], eax
je 0x21106ee6
fild dword [esp + 0x1c]
fdivr dword [esp + 0x18]
fstp dword [esi + 0xb4]
jmp 0x21106ee6
mov dword [esi + 0xb8], ebx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x3c]
mov eax, dword [edx + 4]
cmp eax, 0x80000000
mov dword [esp + 0x1c], eax
jne 0x21106eff
mov dword [esi + 0x48], ebx
jmp 0x21106f2d
fld qword [0x2114bd10]
fild dword [esp + 0x1c]
fmul dword [0x2114bdb0]
call fcn.21136d30
fmul qword [0x2114bda8]
mov eax, dword [0x211570fc]
fdiv dword [eax + 0x2c]
fistp qword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x3c]
fld qword [0x2114bd10]
fild dword [edx]
fmul dword [0x2114bd9c]
fsub dword [0x2114bd98]
fmul dword [0x2114bd94]
call fcn.21136d30
mov eax, dword [0x211570fc]
fmul dword [0x2114bd90]
fmul dword [eax + 0x2c]
fmul dword [0x2114bd8c]
fmul dword [0x2114bd88]
fstp dword [esi + 0x4c]
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + 8]
cmp ecx, 0x80000000
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jne 0x21106f8d
fld dword [0x2114bd24]
jmp 0x21106f97
fild dword [esp + 0x1c]
fmul dword [0x2114bdc4]
cmp eax, 0x80000000
fstp dword [esi + 0x54]
jne 0x21106fa9
fld dword [0x2114bd24]
jmp 0x21106fb3
fild dword [esp + 0x18]
fmul dword [0x2114bdc4]
fstp dword [esi + 0x5c]
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + 0xc]
cmp ecx, 0x80000000
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jne 0x21106fd7
fld dword [0x2114bd24]
jmp 0x21106fe1
fild dword [esp + 0x1c]
fmul dword [0x2114bd9c]
cmp eax, 0x80000000
fstp dword [esi + 0x58]
jne 0x21106ff3
fld dword [0x2114bd24]
jmp 0x21106ffd
fild dword [esp + 0x18]
fmul dword [0x2114bd9c]
fstp dword [esi + 0x60]
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x2110701a
pop edi
or eax, 0xffffffff
pop ebp
mov dword [esi + 0x38], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
pop ebx
add esp, 8
ret
mov ecx, dword [edi + 0x28]
mov eax, dword [esi + 0x44]
imul ecx, eax
mov dword [esi + 0x30], ecx
mov edi, dword [edi + 0x2c]
imul edi, eax
mov edx, ecx
add edx, edi
mov dword [esi + 0x38], edi
pop edi
pop ebp
mov dword [esi + 0x34], edx
pop ebx
add esp, 8
ret