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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
cmp dword [0x798170], 0
je 0x7017b9
cmp dword [0x798184], 0
jne 0x701528
mov eax, dword [esp + 0x80]
add eax, 0xa
mov dword [0x798184], eax
mov edx, dword [0x798184]
cmp dword [esp + 0x80], edx
jl 0x7016b8
mov ebp, dword [0x6916b0]
test ebp, ebp
je 0x70165c
mov ebx, dword [0x6916ac]
cmp dword [ebx], 0
je 0x701571
jmp 0x701561
mov ebx, eax
add eax, 4
cmp dword [eax - 4], 0
je 0x701579
test ebx, ebx
jne 0x70158a
mov eax, dword [esp + 0x80]
jmp 0x701663
lea eax, [ebx + 4]
mov ecx, 0
inc ecx
cmp ecx, ebp
jne 0x701556
mov eax, dword [esp + 0x80]
jmp 0x701663
mov dword [esp + 0x2c], esi
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
lea esi, [eax + edx]
cmp esi, 0x4fff
ja 0x7015a9
inc dword [0x798174]
jmp 0x7015d1
lea esi, [eax + eax*4]
shl esi, 1
cmp edx, esi
jb 0x7015ba
inc dword [0x798178]
jmp 0x7015d1
lea edx, [edx + edx*4]
shl edx, 1
cmp eax, edx
jb 0x7015cb
inc dword [0x79817c]
jmp 0x7015d1
inc dword [0x798180]
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov edx, dword [edx]
mov dword [ebx], edx
dec dword [0x6916b4]
cmp dword [ebx], 0
jne 0x70162c
mov esi, dword [0x6916b0]
mov edx, 0
div esi
lea eax, [edx + 1]
cmp esi, eax
jbe 0x701627
mov ebp, dword [0x6916ac]
lea ebx, [ebp + eax*4]
cmp dword [ebx], 0
je 0x701617
jmp 0x70162c
mov ebx, edx
add edx, 4
cmp dword [edx - 4], 0
je 0x70161b
jmp 0x70162c
lea edx, [ebp + edx*4 + 8]
inc eax
cmp esi, eax
ja 0x70160a
mov ebx, 0
jmp 0x70162c
mov ebx, 0
test ecx, ecx
je 0x701638
mov dword [esp], ecx
call 0x911fb0
test ebx, ebx
jne 0x70158e
mov esi, dword [esp + 0x2c]
mov edx, dword [0x798184]
cmp dword [esp + 0x80], edx
jl 0x701670
mov eax, dword [esp + 0x80]
jmp 0x701663
mov eax, dword [esp + 0x80]
add edx, 0xa
cmp eax, edx
jge 0x701663
mov dword [0x798184], edx
mov eax, dword [0x798180]
mov dword [esp + 0x1c], eax
mov eax, dword [0x79817c]
mov dword [esp + 0x18], eax
mov eax, dword [0x798178]
mov dword [esp + 0x14], eax
mov eax, dword [0x798174]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6c87d8
mov dword [esp + 8], 0x6c8d88
mov dword [esp + 4], 1
mov dword [esp], 6
call fcn.0077d2e6
cmp dword [esp + 0x78], 0
jne 0x7016ca
cmp dword [esp + 0x7c], 0
je 0x7017b9
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
lea eax, [esp + 0x38]
call fcn.006fbf99
mov dword [esp + 0x3c], eax
mov ecx, dword [0x6916ac]
test ecx, ecx
je 0x70173d
mov edx, 0
div dword [0x6916b0]
lea ebx, [ecx + edx*4]
mov eax, dword [ebx]
test eax, eax
je 0x701723
mov ecx, edi
xor ecx, dword [eax + 0xc]
mov edx, esi
xor edx, dword [eax + 8]
or ecx, edx
jne 0x70171b
jmp 0x701723
mov ecx, edi
xor ecx, dword [eax + 0xc]
mov edx, esi
xor edx, dword [eax + 8]
or ecx, edx
je 0x701723
mov ebx, eax
mov eax, dword [eax]
test eax, eax
jne 0x70170d
test ebx, ebx
je 0x70173d
mov eax, dword [ebx]
test eax, eax
je 0x70173d
mov edx, dword [esp + 0x7c]
add dword [eax + 0x14], edx
mov edx, dword [esp + 0x78]
add dword [eax + 0x10], edx
jmp 0x7017b9
mov dword [esp], 0x18
call fcn.00780eb8
mov ebx, eax
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x14], eax
mov edx, dword [esp + 0x78]
mov dword [ebx + 0x10], edx
cmp dword [0x6916ac], 0
je 0x701775
mov eax, dword [0x6916b8]
cmp dword [0x6916b4], eax
jb 0x70178b
mov eax, dword [0x6916b4]
inc eax
mov dword [esp + 4], eax
mov dword [esp], 0x6916ac
call fcn.00701066
inc dword [0x6916b4]
mov eax, ebx
call fcn.006fbf99
mov dword [ebx + 4], eax
mov edx, 0
div dword [0x6916b0]
lea eax, [edx*4]
add eax, dword [0x6916ac]
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ebx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret