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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10056f70
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x10061018]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
mov esi, edx
mov dword [eax + 0x24], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0x4a38
jmp 0x10006558
mov eax, dword [ebp + 8]
mov ebx, dword [esi]
xor edx, edx
cmp ebx, edx
je 0x100066e3
mov ecx, 0xa
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax + 0x24]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x21], dl
jne 0x10006593
lea ecx, [ecx]
cmp dword [eax + 0xc], ebx
jge 0x1000658a
mov eax, dword [eax + 8]
jmp 0x1000658e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x21], dl
je 0x10006580
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
cmp ecx, eax
je 0x100065a9
cmp ebx, dword [ecx + 0xc]
jl 0x100065a9
lea eax, [esp + 0x18]
jmp 0x100065b1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov eax, dword [eax]
cmp eax, dword [esi + 4]
je 0x10006637
mov edi, dword [eax + 0x14]
lea ebx, [eax + 0x10]
lea eax, [esp + 0x4c]
cmp eax, edi
jae 0x1000660e
mov eax, dword [ebx]
lea ecx, [esp + 0x4c]
cmp eax, ecx
ja 0x1000660e
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 8]
jne 0x100065ef
mov ecx, ebx
call fcn.10012df0
mov edi, dword [ebx + 4]
mov eax, dword [ebx]
lea edx, [esi + esi*4]
lea esi, [eax + edx*8]
test edi, edi
je 0x10006605
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x28
jmp 0x100066e3
cmp edi, dword [ebx + 8]
jne 0x1000661c
mov ecx, ebx
call fcn.10012df0
xor edx, edx
mov edi, dword [ebx + 4]
cmp edi, edx
je 0x1000662e
mov ecx, 0xa
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x28
jmp 0x100066e3
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], edx
call fcn.10012df0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10006668
mov ecx, 0xa
lea esi, [esp + 0x4c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3c]
add eax, 0x28
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ebx
call fcn.10007150
mov edx, dword [ebp + 8]
mov byte [esp + 0x80], 1
mov esi, dword [edx + 0x24]
lea ecx, [esp + 0x38]
mov edx, esi
call fcn.10007080
push esi
mov ebx, eax
lea esi, [esp + 0x24]
call fcn.10042890
mov eax, dword [esp + 0x3c]
xor esi, esi
cmp eax, esi
je 0x100066ba
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x100066d7
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x10]
add esi, 0x28
dec dword [esp + 0x14]
mov dword [esp + 0x10], esi
jne 0x10006555
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4