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

Disassembly:
push 0xffffffffffffffff
push 0x10198f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov eax, dword [esp + 0x160]
mov ebx, ecx
mov ecx, dword [esp + 0x164]
imul eax, eax, 0xd8
lea esi, [eax + ecx + 0x6c]
mov ecx, 0x36
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x74]
call fcn.1006ddc0
movzx edx, word [esp + 0x76]
movzx eax, word [esp + 0x78]
mov cx, word [esp + 0x7a]
mov word [ebx + 0x26], dx
movzx edx, word [esp + 0x80]
mov word [ebx + 0x2a], ax
movzx eax, word [esp + 0x74]
xor esi, esi
mov word [ebx + 0x2c], cx
lea ecx, [esp + 0x44]
push ecx
mov word [ebx + 0x2e], dx
mov word [ebx + 0x24], ax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.100635a0
mov dword [esp + 0x158], esi
mov ax, word [esp + 0x82]
xor edx, edx
cmp dx, ax
jae 0x1006dbbb
movzx eax, ax
lea ebp, [esp + 0x88]
mov dword [esp + 0x40], eax
nop
mov ecx, dword [ebp - 4]
add ecx, dword [esp + 0x164]
mov edx, dword [ebp]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 4]
lea esi, [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
call fcn.1006de30
mov eax, esi
push eax
lea edi, [esp + 0x48]
call fcn.1006f360
add ebp, 0x14
sub dword [esp + 0x40], 1
jne 0x1006db70
xor esi, esi
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1006dbe1
call fcn.1016d669
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
sub esp, 0x14
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
xor ecx, ecx
lea eax, [esp + 0x70]
call fcn.10072b90
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add esp, 0x14
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x30]
add ebx, 4
push edx
mov dword [esp + 0x30], eax
call fcn.1006f450
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x1006dc6e
call fcn.1016d669
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x14]
add eax, 0x14
sub esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov ecx, 1
lea eax, [esp + 0x70]
call fcn.10072b90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x14]
add esp, 0x14
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x30], edx
call fcn.1006f450
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x1006dd03
call fcn.1016d669
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x28]
add eax, 0x28
sub esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov ecx, 3
lea eax, [esp + 0x70]
call fcn.10072b90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x14]
add esp, 0x14
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x30], edx
call fcn.1006f450
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x1006dd86
push eax
call fcn.1016d679
add esp, 4
mov edx, dword [esp + 0x44]
push edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call fcn.1016d679
add esp, 4
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 8