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

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x6c]
lea eax, [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x68]
push esi
push eax
imul eax, dword [ebx + 0xc], 0x14
push dword [esp + 0x7c]
mov ebp, dword [ebp]
mov dword [esp + 0x1c], ebp
add eax, dword [ebx + 0x14]
push eax
push ebp
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x6707c63d
imul ecx, dword [ebx + 0xc], 0x14
lea eax, [esp + 0xc]
mov esi, dword [esp + 0x70]
push eax
mov eax, dword [ebx + 0x14]
movzx eax, word [ecx + eax]
push eax
lea eax, [esi + 4]
push eax
call fcn.67085a3a
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x6707c63d
inc eax
cmp word [esi + 0x3a], ax
jae 0x6707c171
mov eax, 0xffff
jmp 0x6707c63d
lea eax, [esp + 0x10]
push eax
movzx eax, word [esi + 0x36]
add eax, eax
push eax
call fcn.67084b96
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
test eax, eax
jne 0x6707c63d
and dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
movzx ecx, word [esi + 0x3a]
push edi
push eax
add ecx, ecx
push ecx
call fcn.67084b96
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
pop ecx
pop ecx
test eax, eax
jne 0x6707c629
movzx ecx, word [esi + 0x38]
lea eax, [esp + 0x14]
push eax
add ecx, ecx
mov dword [esp + 0x38], 1
push ecx
call fcn.67084b96
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x6707c61a
imul ecx, dword [ebx + 0xc], 0x14
lea edx, [esi + 0x1c]
and dword [esp + 0x38], eax
push eax
mov eax, dword [ebx + 0x14]
push edi
mov dword [esp + 0x50], edx
movzx eax, word [ecx + eax]
push eax
push edx
call fcn.67085bd7
add esp, 0x10
mov dword [esp + 0x14], eax
mov ecx, 0xffff
test eax, eax
je 0x6707c220
cmp eax, ecx
jne 0x6707c603
movzx ecx, word [edi]
mov eax, dword [esi]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x6707c240
push 0x1570
call fcn.67084bc1
pop ecx
jmp 0x6707c5ff
xor edx, edx
xor eax, eax
cmp dx, word [ecx + 4]
jmp 0x6707c5f0
movzx eax, ax
lea edi, [esp + 0x50]
imul esi, eax, 0x18
mov eax, 0xffff
push 6
add esi, dword [ecx]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x60]
mov edx, ecx
shr edx, 0x10
mov dword [esp + 0x20], edx
cmp word [esp + 0x80], ax
je 0x6707c288
cmp word [esp + 0x80], dx
jb 0x6707c5e3
movzx eax, cx
mov dword [esp + 0x40], eax
cmp eax, dword [ebx + 0x10]
ja 0x6707c5e3
movzx esi, word [esp + 0x64]
movzx eax, dx
mov dword [esp + 0x44], eax
add eax, esi
add eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 4]
ja 0x6707c5e3
test cx, cx
je 0x6707c3e2
mov ax, word [ebx + 0x10]
xor esi, esi
dec ax
movzx ebp, ax
xor eax, eax
mov dword [esp + 0x1c], ebp
cmp ax, cx
jae 0x6707c3de
lea eax, [esp + 0x78]
movzx ebp, bp
push eax
push dword [esp + 0x80]
imul eax, ebp, 0x14
add eax, dword [ebx + 0x18]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x6707c35a
mov edx, 0xffff
test eax, eax
je 0x6707c310
cmp eax, edx
jne 0x6707c603
mov ecx, dword [esp + 0x40]
lea eax, [ebp + 1]
movzx edi, si
sub ecx, edi
cmp eax, ecx
je 0x6707c5df
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x1c], eax
movzx ebp, ax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x80]
imul eax, ebp, 0x14
add eax, dword [ebx + 0x18]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x6707c2ff
jmp 0x6707c35d
movzx edi, si
mov ebp, dword [esp + 0x1c]
cmp si, word [esp + 0x30]
jb 0x6707c3ad
mov eax, dword [esp + 0x2c]
push 0
lea eax, [eax + edi*2]
push eax
movzx eax, bp
imul ecx, eax, 0x14
mov eax, dword [ebx + 0x18]
movzx eax, word [ecx + eax]
push eax
mov eax, dword [esp + 0x80]
add eax, 0x10
push eax
call fcn.67085bd7
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x6707c3a6
cmp eax, 0xffff
jne 0x6707c603
movzx eax, si
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov ax, word [eax + edi*2]
cmp ax, word [ecx + edi*2]
jne 0x6707c5df
mov eax, 0xffff
inc esi
add ebp, eax
mov dword [esp + 0x1c], ebp
cmp si, word [esp + 0x60]
jb 0x6707c2d5
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov ax, word [ebx + 0xc]
xor ecx, ecx
inc ecx
inc ax
movzx edi, ax
mov esi, ecx
cmp cx, dx
jae 0x6707c4ed
jmp 0x6707c3ff
mov ebp, dword [esp + 0x18]
movzx eax, di
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], eax
imul eax, eax, 0x14
push ecx
push dword [esp + 0x80]
add eax, dword [ebx + 0x14]
push eax
push ebp
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x6707c481
cmp eax, 0xffff
jne 0x6707c603
movzx eax, word [esp + 0x64]
movzx ebp, si
sub eax, ebp
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x44]
cmp eax, dword [ebx + 4]
je 0x6707c5df
inc edi
lea ecx, [esp + 0x78]
movzx eax, di
mov dword [esp + 0x1c], eax
imul eax, eax, 0x14
push ecx
push dword [esp + 0x80]
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x6707c42a
jmp 0x6707c484
movzx ebp, si
cmp si, word [esp + 0x34]
jb 0x6707c4c9
mov eax, dword [esp + 0x28]
push 0
lea eax, [eax + ebp*2]
push eax
movzx eax, di
imul ecx, eax, 0x14
mov eax, dword [ebx + 0x14]
movzx eax, word [ecx + eax]
push eax
push dword [esp + 0x54]
call fcn.67085bd7
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x6707c4c2
cmp eax, 0xffff
jne 0x6707c603
movzx eax, si
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov ax, word [eax + ebp*2 - 2]
cmp ax, word [ecx + ebp*2]
jne 0x6707c5df
inc esi
inc edi
cmp si, word [esp + 0x20]
jb 0x6707c3fb
xor esi, esi
cmp si, word [esp + 0x64]
jae 0x6707c644
movzx eax, di
lea ecx, [esp + 0x78]
mov dword [esp + 0x1c], eax
imul eax, eax, 0x14
push ecx
push dword [esp + 0x80]
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x6707c57b
cmp eax, 0xffff
jne 0x6707c603
movzx eax, word [esp + 0x64]
movzx ebp, si
sub eax, ebp
add eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 4]
je 0x6707c5df
inc edi
lea ecx, [esp + 0x78]
movzx eax, di
mov dword [esp + 0x1c], eax
imul eax, eax, 0x14
push ecx
push dword [esp + 0x80]
add eax, dword [ebx + 0x14]
push eax
push dword [esp + 0x24]
call fcn.67078088
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x6707c528
jmp 0x6707c57e
movzx ebp, si
cmp si, word [esp + 0x38]
jb 0x6707c5c6
mov eax, dword [esp + 0x24]
push 0
lea eax, [eax + ebp*2]
push eax
movzx eax, di
imul ecx, eax, 0x14
mov eax, dword [ebx + 0x14]
movzx eax, word [ecx + eax]
push eax
mov eax, dword [esp + 0x80]
add eax, 0x28
push eax
call fcn.67085bd7
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x6707c5bf
cmp eax, 0xffff
jne 0x6707c603
movzx eax, si
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov ax, word [eax + ebp*2]
cmp ax, word [ecx + ebp*2]
jne 0x6707c5df
inc esi
inc edi
jmp 0x6707c4ef
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
inc eax
cmp ax, word [ecx + 4]
mov dword [esp + 0x3c], eax
jb 0x6707c24d
mov eax, 0xffff
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x6707c616
push ecx
call fcn.67084bc6
mov eax, dword [esp + 0x18]
pop ecx
mov edi, dword [esp + 0x28]
test edi, edi
je 0x6707c629
push edi
call fcn.67084bc6
mov eax, dword [esp + 0x18]
pop ecx
mov ecx, dword [esp + 0x2c]
pop edi
test ecx, ecx
je 0x6707c63d
push ecx
call fcn.67084bc6
mov eax, dword [esp + 0x14]
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push dword [esp + 0x84]
push ebx
push dword [esp + 0x64]
push dword [esp + 0x72]
push dword [esp + 0x30]
push dword [esp + 0x84]
call fcn.67078176
add esp, 0x18
jmp 0x6707c5ff