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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101729b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x102933b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 0x20]
mov eax, dword [edi + 8]
push edx
mov edx, dword [ecx + 0x1c]
push edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
push edx
mov edx, dword [eax + 0x80]
push ecx
mov ecx, dword [eax + 0x7c]
push edx
mov edx, dword [eax + 0x78]
push ecx
mov ecx, dword [eax + 0x74]
push edx
push ecx
add eax, 0x3c
push eax
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], 0
call fcn.10133640
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
inc ecx
inc eax
imul eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 0xe8]
imul ecx, eax
mov eax, dword [edi + 0xc]
add esp, 0x28
cmp dword [eax + 0xc], 0
je 0x10129650
cmp dword [eax + 8], ecx
jge 0x10129650
mov edx, eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x10], eax
mov edx, dword [edi + 0xc]
mov ecx, dword [ebp - 0x38]
push edx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x24], esp
push esi
push eax
call edx
mov ecx, dword [edi + 0xc]
mov dword [ecx + 8], eax
jmp 0x10129661
mov edx, eax
mov dword [edx + 0x10], 1
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
nop
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x2c]
jg 0x101297a0
xor ebx, ebx
mov edi, edi
mov esi, dword [edi + 8]
mov ecx, dword [esi + 0xd8]
sub ecx, dword [esi + 0xd4]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x10129769
mov ecx, dword [esi + 0xd8]
sub ecx, dword [esi + 0xd4]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x101296ce
call fcn.1014f6d2
mov eax, dword [esi + 0xd4]
lea edx, [ebx + ebx*4]
mov ecx, dword [eax + edx*8 + 0x24]
imul ecx, dword [ebp - 0x34]
mov edi, dword [eax + edx*8 + 0x20]
lea eax, [eax + edx*8]
mov edx, dword [ebp - 0x38]
imul edi, edx
cmp byte [eax + 0x15], 0
mov dword [ebp - 0x24], ecx
je 0x10129712
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1012cdf0
mov edi, dword [ebp - 0x18]
add esp, 0xc
inc ebx
jmp 0x10129680
mov esi, dword [eax + 0xc]
fld qword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x24]
sub edx, edi
imul ecx, dword [eax + 0x10]
imul edx, esi
mov edi, dword [eax + 4]
push edi
mov edi, dword [eax]
push edi
mov edi, dword [ebp - 0x18]
mov edi, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
add ecx, edx
mov edx, dword [ebp - 0x1c]
add ecx, dword [eax + 8]
movzx eax, byte [eax + 0x14]
dec edx
imul edx, esi
push edi
sub esp, 8
add edx, ecx
fstp qword [esp]
push eax
push esi
push edx
push ecx
lea ecx, [ebp - 0x20]
push ecx
call fcn.1012d030
mov edi, dword [ebp - 0x18]
add esp, 0x28
inc ebx
jmp 0x10129680
inc dword [ebp - 0x14]
jmp 0x10129670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret