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

Disassembly:
push 0xffffffffffffffff
push 0x7dac70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [esp + 0x74]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esi + 0x10]
push ecx
push 0x870c08
mov ecx, edx
call fcn.00404eb0
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
mov ecx, edx
call fcn.00404eb0
mov al, byte [esp + 0x74]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x28]
mov word [esi + 0x70], bx
mov word [esi + 0x72], bx
mov word [esi + 0x74], bx
mov byte [esp + 0x28], al
call fcn.00404e60
mov cl, byte [esp + 0x74]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x14], cl
push ebx
lea ecx, [esp + 0x18]
call fcn.00404e60
mov eax, dword [ebp + 0x74c]
mov byte [esp + 0x6c], 1
cmp eax, ebx
je 0x6f9564
mov ecx, dword [ebp + 0x79c]
mov eax, dword [ebp + 0x748]
cmp ecx, ebx
mov eax, dword [eax]
jle 0x6f953c
mov eax, dword [eax]
dec ecx
jne 0x6f9537
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x6f9564
mov eax, dword [eax + 0xc0]
cmp eax, ebx
je 0x6f9564
mov edx, dword [0x7e565c]
add eax, 0xc8
push edx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00404c60
mov eax, dword [ebp + 0x758]
cmp eax, ebx
je 0x6f95a2
mov ecx, dword [ebp + 0x7a0]
cmp ecx, eax
ja 0x6f9933
mov eax, dword [ebp + 0x754]
cmp ecx, ebx
mov eax, dword [eax]
jle 0x6f958d
mov eax, dword [eax]
dec ecx
jne 0x6f9588
mov ecx, dword [0x7e565c]
add eax, 8
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00404c60
lea edi, [ebp + 0x768]
mov ecx, edi
call fcn.006fb540
test eax, eax
je 0x6f9690
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x6f95c4
mov dword [esp + 0x10], ebx
jmp 0x6f95e0
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], ebx
cmp eax, ebx
jle 0x6f9690
xor edi, edi
push 0x870c08
lea ecx, [esp + 0x28]
call fcn.004c8670
test eax, eax
mov eax, dword [ebp + 0x76c]
jne 0x6f9622
lea ecx, [edi + eax + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040e820
test eax, eax
je 0x6f96bf
jmp 0x6f9678
mov ecx, dword [eax + edi + 8]
mov eax, dword [eax + edi + 4]
cmp eax, ebx
jne 0x6f9633
mov eax, 0x7e5658
mov edx, dword [esp + 0x1c]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x24]
call fcn.0040b7c0
cmp eax, ebx
jne 0x6f9678
mov eax, dword [ebp + 0x76c]
mov ecx, dword [eax + edi + 0x18]
mov eax, dword [eax + edi + 0x14]
cmp eax, ebx
jne 0x6f965f
mov eax, 0x7e5658
push ecx
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push eax
push ebx
call fcn.0040b7c0
cmp eax, ebx
je 0x6f9869
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
inc eax
add edi, 0x7c
cmp eax, ecx
mov dword [esp + 0x74], eax
jl 0x6f95f2
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6c], bl
cmp eax, ebx
je 0x6f9a81
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x6f9a78
cmp al, 0xff
je 0x6f9a78
dec al
mov byte [ecx], al
jmp 0x6f9a81
mov ecx, dword [esp + 0x74]
mov ebp, dword [ebp + 0x76c]
mov eax, ecx
shl eax, 5
sub eax, ecx
shl eax, 2
cmp word [eax + ebp + 0x70], bx
jge 0x6f9789
mov cl, byte [esp + 0x74]
push ebx
mov byte [esp + 0x48], cl
lea ecx, [esp + 0x48]
call fcn.00404e60
lea edx, [esp + 0x44]
mov byte [esp + 0x6c], 2
push edx
push 0x1b27
call fcn.00709cc0
mov al, byte [esp + 0x7c]
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
push ebx
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x3c]
call fcn.00404eb0
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ebx
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x64]
push edx
push eax
mov byte [esp + 0x84], 3
call fcn.00763d10
add esp, 0x18
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 3
call fcn.00404e60
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 2
call fcn.00404e60
mov byte [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x48]
jmp 0x6f992e
mov ecx, dword [0x7e565c]
lea edi, [eax + ebp]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.00404c60
mov edx, dword [0x7e565c]
lea eax, [edi + 0x10]
push edx
push ebx
push eax
lea ecx, [esi + 0x10]
call fcn.00404c60
mov ecx, dword [0x7e565c]
lea edx, [edi + 0x20]
push ecx
push ebx
push edx
lea ecx, [esi + 0x20]
call fcn.00404c60
mov eax, dword [0x7e565c]
lea ecx, [edi + 0x30]
push eax
push ebx
push ecx
lea ecx, [esi + 0x30]
call fcn.00404c60
mov edx, dword [0x7e565c]
lea eax, [edi + 0x40]
push edx
push ebx
push eax
lea ecx, [esi + 0x40]
call fcn.00404c60
mov ecx, dword [0x7e565c]
lea edx, [edi + 0x50]
push ecx
push ebx
push edx
lea ecx, [esi + 0x50]
call fcn.00404c60
mov eax, dword [0x7e565c]
lea ecx, [edi + 0x60]
push eax
push ebx
push ecx
lea ecx, [esi + 0x60]
call fcn.00404c60
mov dx, word [edi + 0x70]
push 1
mov word [esi + 0x70], dx
mov ax, word [edi + 0x72]
mov word [esi + 0x72], ax
mov cx, word [edi + 0x74]
mov word [esi + 0x74], cx
mov dx, word [edi + 0x76]
mov word [esi + 0x76], dx
mov ax, word [edi + 0x78]
mov word [esi + 0x78], ax
mov cl, byte [edi + 0x7a]
mov byte [esi + 0x7a], cl
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.00404e60
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
call fcn.00404e60
mov al, 1
jmp 0x6f9abb
mov ecx, dword [esp + 0x74]
mov ebp, dword [ebp + 0x76c]
mov eax, ecx
shl eax, 5
sub eax, ecx
shl eax, 2
cmp word [eax + ebp + 0x70], bx
jge 0x6f995a
mov dl, byte [esp + 0x74]
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.00404e60
lea eax, [esp + 0x34]
mov byte [esp + 0x6c], 5
push eax
push 0x1b27
call fcn.00709cc0
mov cl, byte [esp + 0x7c]
add esp, 8
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
push ebx
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x4c]
call fcn.00404eb0
push ebx
push ebx
lea edx, [esp + 0x4c]
push ebx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x84], 6
call fcn.00763d10
add esp, 0x18
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 6
call fcn.00404e60
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 5
call fcn.00404e60
mov byte [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x38]
call fcn.00404e60
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.00404e60
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
call fcn.00404e60
jmp 0x6f9ab9
mov edx, dword [0x7e565c]
lea edi, [eax + ebp]
push edx
push ebx
push edi
mov ecx, esi
call fcn.00404c60
mov eax, dword [0x7e565c]
lea ecx, [edi + 0x10]
push eax
push ebx
push ecx
lea ecx, [esi + 0x10]
call fcn.00404c60
mov edx, dword [0x7e565c]
lea eax, [edi + 0x20]
push edx
push ebx
push eax
lea ecx, [esi + 0x20]
call fcn.00404c60
mov ecx, dword [0x7e565c]
lea edx, [edi + 0x30]
push ecx
push ebx
push edx
lea ecx, [esi + 0x30]
call fcn.00404c60
mov eax, dword [0x7e565c]
lea ecx, [edi + 0x40]
push eax
push ebx
push ecx
lea ecx, [esi + 0x40]
call fcn.00404c60
mov edx, dword [0x7e565c]
lea eax, [edi + 0x50]
push edx
push ebx
push eax
lea ecx, [esi + 0x50]
call fcn.00404c60
mov ecx, dword [0x7e565c]
lea edx, [edi + 0x60]
push ecx
push ebx
push edx
lea ecx, [esi + 0x60]
call fcn.00404c60
mov ax, word [edi + 0x70]
mov word [esi + 0x70], ax
mov cx, word [edi + 0x72]
mov word [esi + 0x72], cx
mov dx, word [edi + 0x74]
mov word [esi + 0x74], dx
mov ax, word [edi + 0x76]
mov word [esi + 0x76], ax
mov cx, word [edi + 0x78]
mov eax, dword [esp + 0x18]
mov word [esi + 0x78], cx
mov dl, byte [edi + 0x7a]
cmp eax, ebx
mov byte [esi + 0x7a], dl
mov byte [esp + 0x6c], bl
je 0x6f9a3a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x6f9a31
cmp al, 0xff
je 0x6f9a31
dec al
mov byte [ecx], al
jmp 0x6f9a3a
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x6c], 0xffffffff
je 0x6f9a74
mov al, byte [ecx - 1]
cmp al, bl
je 0x6f9a6a
cmp al, 0xff
je 0x6f9a6a
dec al
mov byte [ecx - 1], al
mov al, 1
jmp 0x6f9abb
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov al, 1
jmp 0x6f9abb
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x6c], 0xffffffff
je 0x6f9ab9
mov al, byte [ecx - 1]
cmp al, bl
je 0x6f9aaf
cmp al, 0xff
je 0x6f9aaf
dec al
mov byte [ecx - 1], al
jmp 0x6f9ab9
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4