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

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x9c
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x40], ecx
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xe1e4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], eax
call fcn.70075860
cmp ebx, 2
mov dword [esi + 0x11d354], 1
ja 0x700e21d3
cmp byte [esi + 0x10f32f], 0
jne 0x700e2470
lea eax, [esi + 0x8000]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, esi
call fcn.700e1b40
mov eax, dword [esi + 0xe134]
mov edx, dword [eax]
mov dword [edx + 0x50], ebx
mov edx, dword [edi + 0x118]
mov dword [esi + 0xa000], edx
mov edx, dword [edi + 0x13c]
mov dword [esi + 0xe060], edx
mov edx, dword [edi + 0x160]
mov dword [esi + 0xe064], edx
mov edx, dword [edi + 0x184]
mov dword [esi + 0xe068], edx
mov edx, dword [edi + 0x124]
mov dword [esi + 0xc020], edx
mov edx, dword [edi + 0x148]
mov dword [esi + 0xe09c], edx
mov edx, dword [edi + 0x16c]
mov dword [esi + 0xe0a0], edx
mov edx, dword [edi + 0x190]
mov dword [esi + 0xe0a4], edx
mov edx, dword [edi + 0x130]
mov dword [esi + 0xe040], edx
mov edx, dword [edi + 0x154]
mov dword [esi + 0xe0d8], edx
mov edx, dword [edi + 0x178]
mov dword [esi + 0xe0dc], edx
mov edx, dword [edi + 0x19c]
mov dword [esi + 0xe0e0], edx
mov eax, dword [eax]
lea edx, [esp + 0x8c]
mov dword [edi + 0x1a8], 0
mov dword [esi + 0xe1bc], 0
mov byte [eax + 0x48], 0
imul eax, ebx, 0x2c
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x707a04a0
mov edx, dword [esi + 0xa008]
mov dword [esp + 4], edx
mov edx, dword [esi + 0xa004]
mov dword [esp], edx
call dword [esi + eax + 0x1f6f74]
mov ebp, dword [ebx*4 + 0x7079f280]
mov edx, 1
lea ecx, [ebp - 1]
shl edx, cl
mov ecx, ebp
mov ebp, dword [esi + 0x15cabc]
add edx, eax
shr edx, cl
mov dword [esi + 0xe218], edx
cmp ebp, 1
je 0x700e24a0
fld1
fstp qword [esp + 0x48]
cmp dword [esi + 0x15cb04], 1
je 0x700e25a0
cmp ebp, 1
je 0x700e2566
mov eax, dword [esi + 0x15613c]
test eax, eax
jne 0x700e2390
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], edx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.70107400
cmp dword [esi + 0x15cabc], 1
je 0x700e2409
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esi + 0x156148]
test ebp, ebp
jne 0x700e2339
cmp ebx, 2
jbe 0x700e2508
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x28], edx
mov dword [esp], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.70108060
cmp dword [esi + 0x15cabc], 1
jne 0x700e2384
mov eax, dword [esp + 0x68]
mov dword [esi + 0xe1e4], eax
mov eax, dword [esp + 0xb4]
cmp dword [eax], 0x7fffffff
je 0x700e2384
call fcn.70075860
mov eax, dword [esp + 0xb4]
fild dword [eax]
fmul qword [esp + 0x48]
fstp qword [esp]
call fcn.6feeebc0
fnstcw word [esp + 0x7e]
movzx eax, word [esp + 0x7e]
mov ah, 0xc
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0xb4]
fldcw word [esp + 0x7c]
fistp dword [eax]
fldcw word [esp + 0x7e]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xb4]
mov dword [eax], 0
mov eax, dword [esp + 0xb8]
mov dword [eax], 0
mov dword [eax + 4], 0
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 6
ja 0x700e24f0
mov edx, dword [esi + 0xe1e8]
mov eax, dword [esi + 0xe134]
mov dword [esp + 0x48], edx
mov ebp, dword [eax]
mov dword [esp], edx
call fcn.700f5950
mov edx, dword [esp + 0x48]
mov byte [ebp + 0x49], al
mov dword [esp], edx
call fcn.700f5990
mov eax, dword [esp + 0x44]
mov dword [esp], esi
mov dword [esp + 4], eax
fstp qword [esp + 0x48]
call fcn.700dfc60
mov ebp, dword [esi + 0x15cabc]
jmp 0x700e2319
mov eax, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.700f5bc0
mov edx, eax
jmp 0x700e24ab
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x28], edx
mov dword [esp], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.7010baf0
jmp 0x700e2377
call fcn.70075860
fild dword [esi + 0xe1e4]
fmul qword [esp + 0x48]
fstp qword [esp]
call fcn.6feeebc0
fnstcw word [esp + 0x7e]
movzx eax, word [esp + 0x7e]
mov ah, 0xc
mov word [esp + 0x7c], ax
fldcw word [esp + 0x7c]
fistp dword [esi + 0xe1e4]
fldcw word [esp + 0x7e]
jmp 0x700e232f
mov eax, dword [esi + 0xe1ec]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x5c], 0
mov edx, eax
mov eax, dword [esi + 0x1f7d0c]
mov dword [esp + 0x6c], edx
mov ebx, eax
mov eax, dword [edx]
xor edx, edx
mov ecx, ebx
add ecx, ecx
mov dword [esp + 0x58], ecx
mov ecx, ebx
add dword [esp + 0x58], eax
adc dword [esp + 0x5c], edx
shld edx, eax, 1
add eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xe1e4]
mov dword [esp + 0x60], ebx
xor ebx, ebx
add dword [esp + 0x50], ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], edx
adc dword [esp + 0x54], ebx
cdq
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], ebx
mov ebx, edx
mov edx, dword [esp + 0x54]
imul edx, dword [esi + 0xe1e4]
imul ecx, ebx
mov ebx, dword [esp + 0x5c]
add ecx, edx
mul dword [esi + 0xe1e4]
mov dword [esp + 0x54], edx
mov edx, ebx
add dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, ecx
shrd eax, edx, 1
sar edx, 1
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.703e0860
mov ebx, dword [esp + 0x60]
imul ecx, dword [esi + 0xe1e0], 0x6e
mov dword [esp + 0x5c], 0
mov dword [esi + 0xe1e4], eax
imul eax, eax, 0x64
cdq
idiv ecx
xor edx, edx
test eax, eax
sete dl
add eax, edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xe1d4], eax
shl ebx, 2
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x78]
mov ecx, dword [edx]
xor edx, edx
add dword [esp + 0x58], ecx
adc dword [esp + 0x5c], edx
shld edx, ecx, 2
mov eax, ecx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x74]
shl eax, 2
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x50], eax
adc dword [esp + 0x54], edx
cmp edx, 0
jg 0x700e272a
jge 0x700e2724
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
shrd eax, edx, 1
mov dword [esp + 0x60], eax
sar edx, 1
mov eax, dword [esp + 0x50]
add dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x54]
adc dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.703e0860
sub eax, 1
mov dword [esi + 0xe1f4], eax
jmp 0x700e2326
cmp dword [esp + 0x60], ecx
jb 0x700e26cc
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
shrd eax, edx, 1
mov dword [esp + 0x60], eax
sar edx, 1
mov eax, dword [esp + 0x58]
add dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
adc dword [esp + 0x64], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.703e0860
mov edx, 1
sub edx, eax
mov dword [esi + 0xe1f4], edx
jmp 0x700e2326