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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6fa45e
sub esp, 0x70
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
movzx ebx, byte [ebx + 0x49]
cmp bl, 0xff
je 0x6fa44c
mov byte [edx + 0x44], 0
mov ebp, dword [edx + 0x4c]
xor eax, eax
jmp 0x6fa07f
mov dword [esi + eax*4], 0xffffffff
inc eax
cmp eax, ebp
jge 0x6fa092
mov ecx, dword [edx + 0x4c]
mov esi, dword [edx + 0x48]
cmp eax, ecx
jb 0x6fa077
jmp 0x6fa458
mov byte [esp + 0x2b], bl
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
cmp eax, 0xffffffff
jne 0x6fa418
mov edx, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ebp, dword [esp + 0x80]
test ebp, ebp
jne 0x6fa3d0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0xffffffff
mov esi, dword [esp + 0x74]
lea edi, [esi + 8]
add esi, 0x20
jmp 0x6fa12b
movzx ebp, byte [esp + 0x2b]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov edx, ecx
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov esi, dword [edi + 0x10]
test esi, esi
jne 0x6fa186
movzx esi, byte [esp + 0x2b]
xchg esi, eax
test al, 4
xchg esi, eax
je 0x6fa14e
test ebp, ebp
jne 0x6fa3c7
mov esi, dword [esp + 0x74]
movzx edi, byte [esi + 0x44]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x6fa3c0
mov dword [esp + 0x5c], ebp
mov edi, dword [esi]
mov esi, dword [edi + 0x28]
test esi, esi
jle 0x6fa3b9
cmp dword [edi + 0x38], edx
jne 0x6fa37b
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x6fa2e1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov esi, dword [esp + 0x74]
movzx edi, byte [esi + 0x44]
xchg edi, eax
test al, al
xchg edi, eax
je 0x6fa26b
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp], esi
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov edi, dword [esp + 0x68]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
add ebp, ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x18], eax
call fcn.006fa590
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6fa265
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x6fa1f9
movzx ecx, byte [eax + 0x44]
test cl, cl
jne 0x6fa242
mov ecx, dword [esp + 0x34]
cmp ecx, 0xffffffff
jne 0x6fa20d
mov edx, ecx
mov ebx, dword [esp + 0x2c]
jmp 0x6fa108
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x58]
lea esi, [ebp + ebx]
mov dword [esp + 4], esi
call ecx
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
jmp 0x6fa108
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.006fa470
mov eax, dword [esp + 0x74]
movzx eax, byte [eax + 0x44]
mov byte [esp + 0x84], al
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
jmp 0x6fa242
mov dword [esp + 0x40], eax
mov edi, dword [esi + 0x4c]
mov ebx, dword [esi + 0x48]
test edi, edi
jle 0x6fa27b
mov dword [ebx], ebp
mov dword [esp + 0x80], ebp
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x50]
mov ebx, dword [esi + 0x4c]
mov dword [esp], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call fcn.006fab40
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x74]
jmp 0x6fa1a4
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
mov esi, dword [esp + 0x7c]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x6fa372
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x5c]
add eax, ebp
mov dword [esp + 0x80], eax
mov dword [esp + 4], eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
mov esi, dword [esp + 0x80]
lea edi, [esi + ecx]
mov dword [esp + 4], edi
call ebx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x30]
jmp 0x6fa186
mov eax, dword [esp + 0x74]
jmp 0x6fa242
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
movzx esi, byte [esp + 4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x5c]
jmp 0x6fa17c
xor esi, esi
jmp 0x6fa17c
mov eax, esi
jmp 0x6fa242
mov eax, dword [esp + 0x74]
jmp 0x6fa242
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], ebp
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x80]
jmp 0x6fa0fc
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x80]
lea esi, [ebp + ecx]
mov dword [esp + 4], esi
call edx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
jmp 0x6fa0d1
mov byte [esp + 0x84], 0
add esp, 0x70
ret
call fcn.00459e10
nop
call fcn.00458550
jmp fcn.006fa040