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

Disassembly:
sub esp, 0x98
mov eax, dword [0x101df584]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
mov ebx, dword [esp + 0xa0]
push esi
mov esi, ecx
mov dword [esp + 0x54], ebx
push edi
mov dword [esp + 0x70], esi
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
imul edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 8]
imul eax, ebx
add eax, dword [ecx + 0x3c]
mov dword [esp + 0x34], eax
mov eax, edx
imul eax, ebx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
lea edi, [eax + ecx*4]
mov ecx, dword [esi + 0x24]
add edi, dword [esi + 4]
mov dword [esp + 0x44], edi
lea eax, [edi + edx*4]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x20]
imul eax, dword [esi + 0x1c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
imul eax, dword [esi + 0x18]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0x2c]
imul eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x38]
imul eax, dword [esi + 0x2c]
imul eax, dword [esi + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
cmp ebx, dword [esi + 0x48]
jge 0x100f954f
push ebp
nop
mov ebp, dword [esi + 0x24]
mov ecx, ebp
mov eax, dword [esi + 0x38]
imul ecx, ebx
mov ebx, dword [esi + 0x50]
mov dword [esp + 0x1c], ebx
sub eax, ecx
mov dword [esp + 0x3c], ecx
cmp eax, ebp
cmovle ebp, eax
mov eax, ecx
cdq
idiv ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x20], eax
mov ecx, edx
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x2c], edx
add eax, ebp
mov dword [esp + 0x44], ebp
cdq
xor ebp, ebp
idiv ebx
mov dword [esp + 0x24], ebp
mov edx, eax
mov dword [esp + 0x34], ebp
xor al, al
mov dword [esp + 0x78], edx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x20], edx
jg 0x100f94a1
mov edx, dword [esp + 0x50]
mov edi, edx
mov eax, ebx
mov ebp, dword [esi + 0x60]
sub eax, ecx
mov dword [esp + 0x10], ebp
cmp edx, eax
cmovl eax, edi
mov edi, dword [esi + 0x58]
mov dword [esp + 0x30], eax
xor ecx, ecx
mov eax, dword [esp + 0x20]
cdq
idiv dword [esi + 0x54]
imul edi, edx
mov ebx, eax
mov eax, ebp
sub edi, dword [esi + 0x5c]
sub eax, edi
dec eax
cdq
idiv ebp
test eax, eax
cmovg ecx, eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], eax
sub eax, edi
dec eax
mov dword [esp + 0x18], ecx
add eax, ebp
mov ecx, dword [esi + 0x64]
cdq
idiv ebp
mov edx, ecx
cmp eax, ecx
cmovl edx, eax
mov dword [esp + 0x40], edx
mov eax, edx
sub eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp eax, ecx
movzx edx, dl
mov ecx, 1
mov eax, edx
mov dword [esp + 0x14], edx
cmovl eax, ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
imul ecx, ebx
mov ebx, dword [esi + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
add ecx, edi
mov edi, dword [esi + 0x2c]
imul ecx, ebx
imul ecx, eax
imul ecx, edi
add ecx, dword [esp + 0x60]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
cmp edx, dword [esp + 0x40]
jge 0x100f9464
mov edx, eax
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
imul ecx, eax
imul ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
mov ecx, edx
imul ecx, edi
imul ecx, ebx
imul ecx, ebp
xor ebp, ebp
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
test eax, eax
jle 0x100f9444
mov ebx, dword [esp + 0x4c]
mov eax, 1
sub eax, dword [esp + 0x2c]
add ebx, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
shl eax, 4
mov dword [esp + 0x10], edx
add ebx, eax
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x28]
imul eax, dword [esp + 0x1c]
imul ecx, ebp
mov edi, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x74]
add ecx, eax
lea eax, [edx - 1]
add eax, ecx
cdq
idiv dword [esi + 0x28]
cmp eax, edi
cmovl edi, eax
lea eax, [ecx - 1]
cdq
mov ecx, edi
idiv dword [esi + 0x28]
xor edx, edx
test eax, eax
cmovg edx, eax
mov eax, dword [esp + 0x14]
sub ecx, edx
movzx eax, al
cmp ecx, dword [esp + 0x30]
mov dword [esp + 0x70], ecx
mov ecx, 1
cmovl eax, ecx
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
cmp edi, edx
jle 0x100f9427
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x6c]
add eax, edx
imul eax, dword [esi + 0x28]
mov edi, dword [esp + 0x24]
imul ecx, ebp
sub eax, dword [esi + 0x74]
add eax, dword [esp + 0x68]
imul eax, dword [esi + 0x3c]
add ecx, dword [esp + 0x64]
imul eax, dword [esi + 0x2c]
mov esi, dword [esp + 0x48]
add eax, dword [esp + 0x6c]
mov dword [esi + edi*4], eax
inc edi
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [ebx - 8], eax
mov dword [esp + 0x24], edi
mov eax, dword [esi + 0x6c]
mov dword [ebx - 4], eax
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
add ebx, 0x10
mov edx, dword [esi + 0x18]
mov dword [esp + 0x10], edx
jmp 0x100f942b
mov edx, dword [esp + 0x10]
inc ebp
cmp ebp, dword [esi + 0x68]
jl 0x100f9364
mov ebp, dword [esi + 0x60]
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x10], ebp
jmp 0x100f9448
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x40]
jl 0x100f9307
mov ebx, dword [esi + 0x50]
mov dword [esp + 0x1c], ebx
jmp 0x100f9468
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov eax, dword [esp + 0x30]
sub edx, eax
add dword [esp + 0x34], eax
mov edi, edx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x78]
jle 0x100f9254
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], ebp
test al, al
jne 0x100f94b2
cmp dword [esi + 0x78], 1
je 0x100f94c8
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
push dword [eax + 8]
push 0
push dword [esp + 0x40]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebp, ebp
mov ebp, dword [esp + 0x38]
jle 0x100f94e6
push dword [esp + 0x4c]
lea eax, [esp + 0x98]
push eax
mov eax, dword [esi + 0x7c]
push edi
push ebp
call eax
add esp, 0x10
mov eax, dword [esi + 0x3c]
imul eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x84]
mov ebx, dword [esp + 0x50]
push ecx
imul eax, dword [esp + 0x40]
lea ecx, [esp + 0x80]
push edx
push ecx
add eax, dword [esp + 0x64]
cmp ebx, dword [esi + 0x24]
jne 0x100f9528
push dword [esp + 0x60]
push ebp
push eax
mov eax, dword [esi + 0x80]
call eax
add esp, 0x18
jmp 0x100f953a
push ebx
push dword [esp + 0x64]
push ebp
push eax
mov eax, dword [esi + 0x94]
call eax
add esp, 0x1c
mov ebx, dword [esp + 0x5c]
add ebx, dword [esi + 0x4c]
mov dword [esp + 0x5c], ebx
cmp ebx, dword [esi + 0x48]
jl 0x100f91f0
pop ebp
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019627f
add esp, 0x98
ret 4