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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6a1ac5
sub esp, 0x70
mov eax, dword [esp + 0x80]
test eax, eax
je 0x6a1aa7
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, 0xffffffff
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
jmp 0x6a18c1
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x84]
mov ebp, edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x8c]
cmp edi, ebx
jge 0x6a1aa3
mov ebx, dword [esp + 0x44]
cmp ebx, ecx
jg 0x6a1aa3
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x10]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.0069dc10
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
test eax, eax
je 0x6a1aa3
cmp eax, 1
jbe 0x6a1abe
mov ebx, dword [ecx + 4]
mov ebp, dword [esp + 0x44]
cmp ebp, ebx
je 0x6a19cd
mov ebp, 1
mov esi, dword [ecx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6a1979
mov eax, dword [esp + 0x50]
jmp 0x6a187c
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.006a1750
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x50]
inc eax
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
jmp 0x6a187c
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x4c], edx
mov ebx, dword [ecx]
mov dword [esp + 0x58], ebx
mov esi, dword [esp + 0x80]
test esi, esi
je 0x6a1a67
mov edi, dword [esp + 0x54]
test edi, edi
jl 0x6a1ab0
cmp ebp, edi
ja 0x6a1ab0
mov edx, dword [esp + 0x88]
cmp edi, edx
ja 0x6a1ab0
sub edx, ebp
mov ecx, edx
neg edx
sar edx, 0x1f
and edx, ebp
add edx, esi
mov dword [esp], edx
sub edi, ebp
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
call fcn.004557c0
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x6a1a5e
mov ecx, dword [esp + 0x44]
add eax, ecx
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x58]
cmp esi, edi
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov ebx, eax
mov eax, dword [esp + 0x48]
jmp 0x6a1967
mov ecx, dword [esp + 0x54]
lea eax, [ecx + 1]
jmp 0x6a1a3a
mov edi, dword [esp + 0x54]
test edi, edi
jl 0x6a1ab7
cmp ebp, edi
ja 0x6a1ab7
mov edx, dword [esp + 0x7c]
cmp edi, edx
ja 0x6a1ab7
sub edi, ebp
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ebp
mov edx, dword [esp + 0x78]
lea ebx, [edx + edi]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004559a0
mov eax, dword [esp + 0xc]
jmp 0x6a1a30
add esp, 0x70
ret
mov ecx, dword [esp + 0x7c]
jmp 0x6a183f
call fcn.004288c0
ud2
call fcn.004288c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.006a1810