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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005ffee
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x100746ac]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x100746ac]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x20], eax
call dword [0x100624a8]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x6a68f8
lea edx, [esp + 0x34]
push edx
call fcn.00696a80
push 0x10066b38
push ecx
lea eax, [esp + 0x3c]
push 0x10065a98
push eax
mov dword [esp + 0x1a0], edi
call fcn.00698d80
add esp, 0xc
push eax
call fcn.00698d80
push 0x10066b38
push 0x10077320
call fcn.00698d80
add esp, 0x10
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0069a2d0
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + esi + 0xc]
xor ebx, ebx
test cl, 6
jne 0x6a6774
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x6a6774
mov ebx, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp ebx, edi
je 0x6a6793
mov eax, dword [ecx + 0xc]
or eax, ebx
cmp dword [ecx + 0x38], edi
jne 0x6a678c
or eax, 4
push edi
push eax
call fcn.0069a4b0
lea esi, [esp + 0x164]
lea eax, [esp + 0x34]
call fcn.00696b60
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x6a67af
mov eax, dword [eax]
push eax
call dword [0x100622b0]
cmp dword [esp + 0x178], esi
jb 0x6a67cf
mov edx, dword [esp + 0x164]
push edx
call fcn.006d42e1
add esp, 4
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x84]
mov dword [esp + 0x18], eax
mov dword [esp + edx + 0x34], 0x10065b0c
mov dword [esp + 0x190], 1
test byte [esp + 0x78], 1
lea eax, [esp + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0x10065acc
je 0x6a681a
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
push eax
call fcn.006d42e1
add esp, 4
mov edx, dword [esp + 0x48]
mov dword [edx], edi
mov eax, dword [esp + 0x58]
mov dword [eax], edi
mov ecx, dword [esp + 0x68]
mov dword [ecx], edi
mov edx, dword [esp + 0x4c]
mov dword [edx], edi
mov eax, dword [esp + 0x5c]
mov dword [eax], edi
mov ecx, dword [esp + 0x6c]
mov dword [ecx], edi
and dword [esp + 0x78], 0xfffffffe
mov dword [esp + 0x74], edi
mov dword [esp + 0x38], 0x1006274c
mov byte [esp + 0x190], 2
mov eax, dword [esp + 0x70]
mov ebx, eax
cmp eax, edi
je 0x6a68ab
mov edi, dword [eax]
test edi, edi
je 0x6a68a2
push 0
lea ecx, [esp + 0x18]
call fcn.006d342a
mov eax, dword [edi + 4]
test eax, eax
je 0x6a6882
cmp eax, 0xffffffff
jae 0x6a6882
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x14]
not esi
call fcn.006d3452
and esi, edi
je 0x6a68a2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.006d42e1
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x190], 1
call fcn.006d32a9
mov dword [esp + 0x190], 0xffffffff
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x84]
mov dword [esp + edx + 0x34], 0x100626f8
push eax
mov dword [esp + 0x88], 0x100626f0
call fcn.006d3392
add esp, 4
xor eax, eax
jmp 0x6a6c00
push esi
push 2
mov dword [esp + 0x28], edi
call dword [0x100620b4]
push eax
mov dword [esp + 0x18], eax
call dword [0x100620b8]
mov ecx, dword [esp + 0x24]
mov edi, eax
push edi
push esi
push ecx
push ebx
call dword [0x100624a0]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push 0x10065cc4
push edi
call dword [0x100624a4]
test eax, eax
jne 0x6a6ba8
lea ecx, [esp + 0xcc]
push ecx
call fcn.00696a80
push 0x10066b74
push ecx
lea edx, [esp + 0xd4]
push 0x10065a98
push edx
mov dword [esp + 0x1a0], 3
call fcn.00698d80
add esp, 0xc
push eax
call fcn.00698d80
push 0x10066b74
push 0x10077320
call fcn.00698d80
add esp, 0x10
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0069a2d0
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0xc]
xor edi, edi
test cl, 6
jne 0x6a69bb
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x6a69bb
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x6a69dc
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x6a69d4
or eax, 4
push 0
push eax
call fcn.0069a4b0
lea esi, [esp + 0x164]
lea eax, [esp + 0xcc]
call fcn.00696b60
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x6a69fb
mov eax, dword [eax]
push eax
call dword [0x100622b0]
cmp dword [esp + 0x178], esi
jb 0x6a6a1b
mov edx, dword [esp + 0x164]
push edx
call fcn.006d42e1
add esp, 4
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x11c]
mov dword [esp + 0x28], eax
mov dword [esp + edx + 0xcc], 0x10065b0c
mov dword [esp + 0x190], 4
test byte [esp + 0x110], 1
lea eax, [esp + 0xd0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xd0], 0x10065acc
je 0x6a6a78
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx]
push eax
call fcn.006d42e1
add esp, 4
mov edx, dword [esp + 0xe0]
mov dword [edx], 0
mov eax, dword [esp + 0xf0]
mov dword [eax], 0
mov ecx, dword [esp + 0x100]
mov dword [ecx], 0
mov edx, dword [esp + 0xe4]
mov dword [edx], 0
mov eax, dword [esp + 0xf4]
mov dword [eax], 0
mov ecx, dword [esp + 0x104]
mov dword [ecx], 0
and dword [esp + 0x110], 0xfffffffe
mov dword [esp + 0x10c], 0
mov dword [esp + 0xd0], 0x1006274c
mov byte [esp + 0x190], 5
mov eax, dword [esp + 0x108]
mov ebx, eax
test eax, eax
je 0x6a6b43
mov edi, dword [eax]
test edi, edi
je 0x6a6b3a
push 0
lea ecx, [esp + 0x1c]
call fcn.006d342a
mov eax, dword [edi + 4]
test eax, eax
je 0x6a6b1a
cmp eax, 0xffffffff
jae 0x6a6b1a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x18]
not esi
call fcn.006d3452
and esi, edi
je 0x6a6b3a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.006d42e1
add esp, 4
lea ecx, [esp + 0xd4]
mov byte [esp + 0x190], 4
call fcn.006d32a9
mov dword [esp + 0x190], 0xffffffff
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x11c]
mov dword [esp + edx + 0xcc], 0x100626f8
push eax
mov dword [esp + 0x120], 0x100626f0
call fcn.006d3392
mov esi, dword [esp + 0x18]
add esp, 4
push esi
call dword [0x100620bc]
push esi
call dword [0x100620c0]
xor eax, eax
jmp 0x6a6c00
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov cx, word [eax + 0x14]
mov si, word [eax + 0x12]
mov di, word [eax + 0x10]
mov bx, word [eax + 0x16]
push edx
mov word [esp + 0x36], cx
call dword [0x100620bc]
mov eax, dword [esp + 0x14]
push eax
call dword [0x100620c0]
movzx ecx, word [esp + 0x32]
push ecx
movzx edx, bx
push edx
mov edx, dword [esp + 0x20]
movzx eax, di
push eax
movzx ecx, si
push ecx
push 0x10066b8c
push edx
call fcn.006d49bb
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.006d42ec
mov esp, ebp
pop ebp
ret