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

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x70]
push ebx
imul eax, eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x84]
mov ebp, ecx
cdq
mov ebx, eax
mov ecx, edx
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, edi
push ecx
push ebx
mov dword [esp + 0x18], ecx
cdq
mov esi, eax
mov dword [esp + 0x8c], edx
or edx, 0xffffffff
mov dword [esp + 0x20], esi
lea eax, [edi*4]
imul edx
add eax, 1
adc edx, 0
push edx
push eax
call fcn.10080080
mov ecx, esi
mov esi, dword [esp + 0x84]
shld esi, ecx, 2
push dword [esp + 0x10]
shl ecx, 2
add eax, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
adc edx, esi
mov dword [esp + 0x38], edx
mov esi, eax
mov edx, ecx
shld ecx, eax, 1
push ebx
add eax, eax
add esi, eax
lea eax, [edi + edi]
adc edx, ecx
mov ecx, 0xfffffffc
shld edx, esi, 2
mov dword [esp + 0x2c], edx
imul ecx
shl esi, 2
add eax, 8
mov dword [esp + 0x34], esi
adc edx, 0
push edx
push eax
call fcn.10080080
add eax, esi
mov ecx, edx
mov esi, dword [esp + 0x84]
adc ecx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
adc esi, eax
push eax
push ebx
push eax
push ebx
mov dword [esp + 0x50], esi
call fcn.10080080
push esi
push dword [esp + 0x2c]
push edx
push eax
call fcn.1007ffd0
push dword [esp + 0x8c]
mov ebx, dword [esp + 0x8c]
mov ecx, ebp
mov esi, dword [esp + 0x80]
mov dword [esp + 0x60], eax
sub esi, edi
mov eax, dword [esp + 0x7c]
shl ebx, 8
push ebx
shl esi, 8
shl eax, 8
push esi
push eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
call fcn.1001dc70
mov eax, dword [esp + 0x7c]
mov ecx, ebp
lea eax, [eax + edi]
mov edi, dword [esp + 0x8c]
push edi
shl eax, 8
push ebx
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x98], eax
call fcn.1001dc70
push edi
push ebx
push esi
push dword [esp + 0x2c]
mov ecx, ebp
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x90]
mov ecx, ebp
push dword [esp + 0x2c]
call fcn.1001dc70
xor ecx, ecx
xor eax, eax
imul ecx
mov ecx, edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
cmp ecx, dword [esp + 0x58]
jg 0x1001f31d
jl 0x1001f19e
cmp eax, dword [esp + 0x5c]
jae 0x1001f31d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
shld ecx, eax, 3
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x20]
shl eax, 3
mov dword [esp + 0x44], eax
lea eax, [ecx + 0x100]
lea edx, [ecx - 0x100]
mov dword [esp + 0x20], eax
mov dword [esp + 0x8c], edx
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
adc eax, dword [esp + 0x24]
inc ecx
cmp dword [esp + 0x34], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
jl 0x1001f243
jg 0x1001f20d
cmp dword [esp + 0x30], 0
jbe 0x1001f243
mov eax, dword [esp + 0x38]
add esi, 0x100
sub dword [esp + 0x88], 0x100
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
shld eax, esi, 3
shl esi, 3
jmp 0x1001f25b
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
push edi
push ebx
push dword [esp + 0x24]
mov ecx, ebp
mov dword [esp + 0x60], eax
push edx
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x90]
mov ecx, ebp
push dword [esp + 0x98]
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x24]
mov ecx, ebp
push dword [esp + 0x2c]
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x90]
mov ecx, ebp
push dword [esp + 0x2c]
call fcn.1001dc70
mov eax, dword [esp + 0x60]
sub dword [esp + 0x8c], 0x100
add dword [esp + 0x20], 0x100
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
adc eax, dword [esp + 0x50]
add dword [esp + 0x38], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
adc eax, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
mov eax, ecx
imul ecx
cmp edx, dword [esp + 0x58]
mov edx, dword [esp + 0x8c]
jl 0x1001f1e0
jg 0x1001f31d
cmp eax, dword [esp + 0x5c]
jb 0x1001f1e0
mov eax, dword [esp + 0x80]
or ecx, 0xffffffff
push dword [esp + 0x84]
shl eax, 2
push dword [esp + 0x1c]
imul ecx
add eax, 1
adc edx, 0
push edx
push eax
call fcn.10080080
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push dword [esp + 0x84]
shld esi, ecx, 2
push dword [esp + 0x1c]
shl ecx, 2
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
adc edx, esi
mov dword [esp + 0x38], edx
mov esi, ecx
mov edx, eax
shld ecx, eax, 1
add eax, eax
add edx, eax
mov eax, dword [esp + 0x88]
adc esi, ecx
add eax, eax
shld esi, edx, 2
shl edx, 2
mov dword [esp + 0x44], edx
cdq
push edx
push eax
mov dword [esp + 0x48], esi
call fcn.10080080
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], ecx
mov ecx, esi
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x10]
shld esi, ecx, 2
shl ecx, 2
add dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x8c]
adc dword [esp + 0x88], esi
sub ecx, eax
mov eax, dword [esp + 0x88]
sbb eax, edx
shld eax, ecx, 2
shl ecx, 2
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x84]
push ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push eax
call fcn.10080080
push dword [esp + 0x40]
push dword [esp + 0x2c]
push edx
push eax
call fcn.1007ffd0
mov esi, dword [esp + 0x78]
sub esi, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x7c]
shl eax, 8
push edi
shl esi, 8
push ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], esi
push eax
push esi
mov ecx, ebp
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x84]
mov ecx, ebp
push esi
call fcn.1001dc70
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
push edi
push ebx
lea eax, [eax + ecx]
mov ecx, dword [esp + 0x84]
shl eax, 8
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x90], eax
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x84]
mov ecx, ebp
push dword [esp + 0x8c]
call fcn.1001dc70
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x50]
jg 0x1001f648
jl 0x1001f4c1
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x4c]
jae 0x1001f648
mov eax, dword [esp + 0x14]
shld dword [esp + 0x10], eax, 3
mov ecx, dword [esp + 0x7c]
shl eax, 3
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x100]
lea edx, [ecx - 0x100]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
xor ecx, ecx
nop dword [eax]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
adc eax, dword [esp + 0x38]
inc ecx
cmp dword [esp + 0x30], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
jl 0x1001f55c
jg 0x1001f51d
cmp dword [esp + 0x34], 0
jbe 0x1001f55c
mov eax, dword [esp + 0x8c]
add esi, 0x100
sub dword [esp + 0x80], 0x100
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
shld eax, esi, 3
mov dword [esp + 0x58], ecx
shl esi, 3
jmp 0x1001f574
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
push edi
push ebx
push edx
push dword [esp + 0x90]
mov ecx, ebp
mov dword [esp + 0x64], eax
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x80]
mov ecx, ebp
push dword [esp + 0x90]
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x84]
mov ecx, ebp
push dword [esp + 0x8c]
call fcn.1001dc70
push edi
push ebx
push dword [esp + 0x80]
mov ecx, ebp
push dword [esp + 0x8c]
call fcn.1001dc70
mov eax, dword [esp + 0x70]
sub dword [esp + 0x7c], 0x100
add dword [esp + 0x78], 0x100
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
adc eax, dword [esp + 0x58]
add dword [esp + 0x8c], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x88]
adc eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
mov eax, ecx
imul ecx
cmp edx, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
jl 0x1001f4f0
jg 0x1001f648
cmp eax, dword [esp + 0x4c]
jb 0x1001f4f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x18