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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
mov eax, dword [eax + 8]
mov dword [ecx + 0xf4], 0
test al, 0x20
je 0x6fc851f8
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x6fc851f8
mov eax, dword [edi + 0x10]
sub eax, 1
cmp dword [esp + 0x8c], eax
jae 0x6fc851f8
mov eax, dword [esp + 0x90]
test eax, eax
je 0x6fc851f8
mov eax, dword [edi + 0x14]
sub eax, 1
cmp dword [esp + 0x90], eax
jae 0x6fc851f8
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call dword [0x70fcbec0]
test eax, eax
mov ebx, eax
jne 0x6fc85865
mov eax, dword [esp + 0x88]
mov dword [eax + 0xf4], ebx
mov eax, dword [esp + 0x94]
mov ebx, 5
mov dword [esp], eax
call dword [0x70fcbe40]
mov eax, dword [esp + 0x94]
sub eax, 0xffffff80
mov dword [esp + 0x2c], eax
mov dword [esp], eax
call dword [0x70fcbe40]
mov eax, dword [esp + 0x94]
add eax, 0x100
mov dword [esp + 0x30], eax
mov dword [esp], eax
call dword [0x70fcbe40]
mov eax, dword [esp + 0x94]
add eax, 0x180
mov dword [esp + 0x34], eax
mov dword [esp], eax
call dword [0x70fcbe40]
mov eax, dword [esp + 0x94]
add eax, 0x200
mov dword [esp + 0x38], eax
mov dword [esp], eax
call dword [0x70fcbe40]
mov eax, dword [esp + 0x94]
add eax, 0x280
mov dword [esp + 0x28], eax
mov dword [esp], eax
call dword [0x70fcbe40]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x98]
mov byte [esp + 0x14], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
and eax, 0x20
cmp eax, 1
sbb eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x6c]
and dword [esp + 0x20], 0xfffffffd
add dword [esp + 0x20], 6
mov dword [esp + 0x18], eax
mov eax, dword [0x70fcbe84]
and dword [esp + 0x18], 1
mov dword [esp + 0x58], eax
mov eax, dword [0x70fcbe90]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x94]
mov ebp, eax
mov eax, dword [edi + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0xf0]
mov dword [esp + 4], ebp
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
call dword [esp + eax*4 + 0x58]
test eax, eax
mov edx, eax
jne 0x6fc85351
cmp word [esi + 2], 0
jne 0x6fc853ca
cmp word [esi + 0x10], 0
jne 0x6fc853ca
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0xec]
cmp eax, 5
jne 0x6fc85404
movzx eax, word [esi]
add eax, 1
cmp ax, 1
seta al
movzx eax, al
jmp 0x6fc853cf
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xf0]
cmp ecx, 2
jle 0x6fc853c0
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
test al, 8
je 0x6fc853c0
cmp dword [esp + 0x18], 0
jne 0x6fc855e8
mov dword [esp + 0x24], 0x7074bba0
shr eax, 0xe
and eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x15c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x17c]
mov dword [esp + 4], edx
mov edx, ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, esi
call fcn.6fc84150
mov edx, eax
cmp edx, dword [esp + 0x20]
jl 0x6fc85313
mov eax, 1
mov ecx, ebx
sub ebx, 1
shl eax, cl
sub esi, 0xffffff80
or al, byte [esp + 0x14]
sub ebp, 0xffffff80
add dword [esp + 0x1c], 4
cmp ebx, 0xffffffff
mov byte [esp + 0x14], al
jne 0x6fc852e6
test byte [edi + 0x18], 1
mov ebp, eax
jne 0x6fc85417
add esp, 0x6c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
test eax, eax
je 0x6fc8533f
xor eax, eax
cmp word [esi], 0
setne al
jmp 0x6fc853cf
mov eax, dword [esp + 0x88]
mov esi, dword [edi + 0x6c]
mov ebx, dword [eax + 0xf0]
mov eax, dword [0x70fcbe88]
and esi, 1
mov dword [esp + 0x58], eax
mov eax, dword [0x70fcbe8c]
mov dword [esp + 0x5c], eax
mov eax, ebp
and eax, 0x20
mov byte [esp + 0x14], al
jne 0x6fc856f0
mov eax, ebp
and eax, 0x10
mov byte [esp + 0x18], al
jne 0x6fc85723
mov eax, ebp
and eax, 8
mov byte [esp + 0x1c], al
jne 0x6fc85756
mov eax, ebp
and eax, 4
mov byte [esp + 0x20], al
jne 0x6fc8578b
mov eax, ebp
and eax, 2
mov byte [esp + 0x24], al
jne 0x6fc857c0
mov eax, ebp
and eax, 1
mov byte [esp + 0x3c], al
je 0x6fc854b8
mov eax, dword [edi + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
add eax, 0x280
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [esp + esi*4 + 0x58]
cmp byte [esp + 0x14], 0
jne 0x6fc85850
cmp byte [esp + 0x18], 0
jne 0x6fc857f0
cmp byte [esp + 0x1c], 0
jne 0x6fc85808
cmp byte [esp + 0x20], 0
jne 0x6fc85820
cmp byte [esp + 0x24], 0
jne 0x6fc85838
cmp byte [esp + 0x3c], 0
je 0x6fc85503
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [0x70fcbe44]
mov edx, dword [esp + 0x90]
mov edi, dword [edi + 8]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
shl edx, 4
mov ebx, dword [0x70fcbeb8]
imul edx, edi
mov esi, edi
shl eax, 4
shr esi, 1
add eax, edx
mov edx, dword [esp + 0x90]
add eax, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
shl edx, 3
imul edx, esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x8c]
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 0x40]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 0xf4]
test edx, edx
jne 0x6fc85620
cmp byte [esp + 0x14], 0
lea edx, [edi*8]
mov dword [esp + 0x44], edx
jne 0x6fc85631
cmp byte [esp + 0x18], 0
jne 0x6fc85658
cmp byte [esp + 0x1c], 0
jne 0x6fc8567f
cmp byte [esp + 0x20], 0
jne 0x6fc856a9
cmp byte [esp + 0x24], 0
jne 0x6fc856cd
cmp byte [esp + 0x3c], 0
je 0x6fc853fa
mov eax, dword [esp + 0x28]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x40]
mov dword [esp], eax
call ebx
add esp, 0x6c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0x78]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
call fcn.6fcc1cf0
mov edx, dword [esp + 0x88]
mov ecx, dword [edx + 0xf0]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
jmp 0x6fc85384
mov dword [esp + 0x44], edi
add edi, edi
cmp byte [esp + 0x14], 0
je 0x6fc8558e
mov ecx, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 0x14], eax
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call ebx
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x18], 0
je 0x6fc85599
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 8], edi
mov dword [esp + 4], edx
lea edx, [eax + 8]
mov dword [esp], edx
call ebx
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x1c], 0
je 0x6fc855a4
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 8], edi
add edx, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call ebx
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x20], 0
je 0x6fc855af
mov dword [esp + 8], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
lea eax, [eax + edi + 8]
mov dword [esp], eax
call ebx
cmp byte [esp + 0x24], 0
je 0x6fc855ba
mov eax, dword [esp + 0x38]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x40]
mov dword [esp], eax
call ebx
jmp 0x6fc855ba
mov eax, dword [edi + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call dword [esp + esi*4 + 0x58]
mov eax, ebp
and eax, 0x10
mov byte [esp + 0x18], al
je 0x6fc8545a
mov eax, dword [edi + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
sub eax, 0xffffff80
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [esp + esi*4 + 0x58]
mov eax, ebp
and eax, 8
mov byte [esp + 0x1c], al
je 0x6fc85469
mov eax, dword [edi + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
add eax, 0x100
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [esp + esi*4 + 0x58]
mov eax, ebp
and eax, 4
mov byte [esp + 0x20], al
je 0x6fc85478
mov eax, dword [edi + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
add eax, 0x180
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [esp + esi*4 + 0x58]
mov eax, ebp
and eax, 2
mov byte [esp + 0x24], al
je 0x6fc85487
mov eax, dword [edi + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
add eax, 0x200
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + esi*4 + 0x58]
jmp 0x6fc85487
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [0x70fcbe44]
cmp byte [esp + 0x1c], 0
je 0x6fc854d9
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [0x70fcbe44]
cmp byte [esp + 0x20], 0
je 0x6fc854e4
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [0x70fcbe44]
cmp byte [esp + 0x24], 0
je 0x6fc854ef
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [0x70fcbe44]
jmp 0x6fc854ef
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call dword [0x70fcbe44]
jmp 0x6fc854c3
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.6fc84c90
jmp 0x6fc851eb