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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6a6caf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x68]
call fcn.006e4068
test eax, eax
je 0x6a6c91
mov eax, dword [ebx + 0x68]
call fcn.006e4068
mov esi, eax
mov eax, dword [ebp - 8]
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
or edx, 0xffffffff
call fcn.004134e8
mov eax, dword [ebx + 0x68]
mov edx, dword [eax + 0x98]
mov eax, esi
call fcn.006d71e0
test al, al
je 0x6a6b18
mov eax, dword [ebx + 0x68]
mov edx, dword [eax + 0x98]
mov ecx, 0x6a6ccc
mov eax, esi
call fcn.006dc9a8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.006d71bc
test al, al
je 0x6a694c
mov eax, ebx
call fcn.006a6ff0
test al, al
je 0x6a691b
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [esi + 0x78c8]
lea eax, [edx + eax*4]
push eax
push 0
push 1
lea edx, [ebp - 0x60]
lea eax, [ebx + 0x3c]
call fcn.0071370c
lea edx, [ebp - 0x60]
mov ecx, dword [0x7a92ac]
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x50]
call fcn.00668a48
jmp 0x6a6b18
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [esi + 0x78c8]
lea eax, [edx + eax*4]
push eax
push 0
push 1
mov ecx, dword [0x7a92ac]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x50]
call fcn.00668a48
jmp 0x6a6b18
mov eax, ebx
call fcn.006a6ff0
test al, al
jne 0x6a6b18
mov eax, ebx
call fcn.006a6ea4
dec eax
cmp edi, eax
je 0x6a6b18
mov eax, dword [esi + 0x78f4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.006d71e0
test al, al
je 0x6a6b18
mov ecx, 0x6a6cf8
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.006dc9a8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.006d71bc
test al, al
je 0x6a6b18
mov eax, dword [ebp - 0x18]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [esi + 0x78c8]
movsx edx, word [edx + eax*4 + 0x2c]
mov eax, dword [ebp - 0x18]
mov ecx, eax
shl eax, 4
add eax, ecx
mov ecx, dword [esi + 0x78c8]
movsx eax, word [ecx + eax*4 + 0x30]
add edx, eax
mov eax, 2
call fcn.0048881c
mov edx, dword [ebx + 0x40]
sub edx, 2
call fcn.0071e158
mov dword [ebp - 0x10], eax
push 0xcc0020
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
sub edx, eax
push edx
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x50]
call fcn.00509d18
call fcn.005042cc
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00509d18
call fcn.005042cc
push eax
call fcn.00415da8
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x50]
xor ecx, ecx
xor edx, edx
call fcn.00713cb8
push 0
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
xor ecx, ecx
pop edx
call fcn.007136a8
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
pop edx
sub eax, edx
lea ecx, [ebp - 0x68]
mov edx, 1
call fcn.004133d4
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x68]
call fcn.006e4068
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [ebp - 0x50]
mov cl, 1
mov eax, dword [ebp - 0x14]
call fcn.00717b00
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00509d18
call fcn.005042cc
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
sub edx, eax
push edx
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x50]
call fcn.00509d18
call fcn.005042cc
push eax
call fcn.00415da8
lea eax, [ebp - 0x10]
call fcn.0042e3d4
mov esi, dword [ebx + 0x78]
test esi, esi
je 0x6a6bdf
mov eax, dword [esi + 0x298]
call fcn.004b0880
mov edx, eax
xor ecx, ecx
mov eax, edi
call fcn.00713534
test al, al
je 0x6a6bdf
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x298]
mov edx, edi
call fcn.00575d70
cmp byte [eax + 0x18], 1
jne 0x6a6bdf
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x78]
call fcn.00586314
cmp word [ebp - 0x66], 0
je 0x6a6bdf
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x29c]
call fcn.005042cc
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x50]
call fcn.00509d18
call fcn.005042cc
mov edx, eax
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x29c]
call fcn.00504350
mov eax, dword [ebp - 8]
push eax
mov esi, dword [ebx + 0x78]
mov eax, dword [esi + 0x298]
mov edx, edi
call fcn.00575d70
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x78]
call fcn.00586314
lea edi, [ebp - 0x68]
mov edx, esi
pop ecx
mov eax, dword [edi + 4]
call dword [edi]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x29c]
mov edx, dword [ebp - 0xc]
call fcn.00504350
jmp 0x6a6c91
dec dword [ebp - 0x20]
add dword [ebp - 0x2c], 2
sub dword [ebp - 0x24], 4
lea ecx, [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.006a6eb4
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.007137e4
push eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x50]
call fcn.00509d18
mov edx, dword [ebp - 4]
pop ecx
call fcn.00719b10
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 4]
call fcn.0040aaac
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x6a6c91
mov esi, eax
cmp byte [esi + 0x2a4], 0
jne 0x6a6c79
mov eax, dword [esi + 0x298]
call fcn.004b0880
mov edx, eax
xor ecx, ecx
mov eax, edi
call fcn.00713534
test al, al
je 0x6a6c79
mov eax, dword [esi + 0x298]
mov edx, edi
call fcn.00575d70
movzx edx, byte [eax + 0x14]
mov eax, dword [ebx + 0x78]
call fcn.006be8ac
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.006a679c
jmp 0x6a6c91
mov eax, dword [ebx + 0x78]
xor edx, edx
call fcn.006be8ac
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.006a679c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a6cb6
lea eax, [ebp - 0x6c]
call fcn.0040a684
lea eax, [ebp - 4]
call fcn.0040a684
ret