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

Disassembly:
push 0xffffffffffffffff
push 0x7c8e60
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x18]
call fcn.00705220
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x78], ebp
cmp ebx, ebp
je 0x708159
cmp word [esi + ebx*2 - 2], 0x5c
lea eax, [esi + ebx*2 - 2]
je 0x708103
cmp eax, esi
je 0x708159
sub eax, 2
cmp word [eax], 0x5c
jne 0x7080f6
sub eax, esi
sar eax, 1
cmp eax, ebp
jle 0x708159
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x708159
cmp ebx, 3
jne 0x708145
cmp word [esi + 2], 0x3a
jne 0x708145
push esi
mov dword [esp + 0x7c], 0xffffffff
call fcn.00704960
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00707850
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
call fcn.00705280
push esi
mov byte [esp + 0x7c], 1
mov edi, ebx
call fcn.00707670
add esp, 4
test al, al
jne 0x708315
nop
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x708252
cmp ebx, ebp
je 0x7083cd
cmp word [esi + ebx*2 - 2], 0x5c
lea eax, [esi + ebx*2 - 2]
je 0x7081b6
cmp eax, esi
je 0x7083cd
sub eax, 2
cmp word [eax], 0x5c
jne 0x7081a5
sub eax, esi
sar eax, 1
mov edi, eax
js 0x7083cd
cmp edi, ebp
je 0x7083cd
cmp word [esi + edi*2 - 2], 0x3a
je 0x7083c6
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00705e90
mov ebp, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
cmp ebp, ecx
je 0x70822b
xor edx, edx
mov word [esi], dx
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x1c], 0
call fcn.00704f10
mov esi, dword [esp + 0x14]
mov edx, dword [ebp]
mov ecx, esi
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x708213
mov ebx, dword [ebp + 4]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x2c]
push ecx
mov byte [esp + 0x7c], 1
call fcn.00704960
push esi
call fcn.00707670
add esp, 8
test al, al
jne 0x708315
xor ebp, ebp
jmp 0x708180
push 3
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
call fcn.00704f10
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.00709450
mov byte [esp + 0x78], 1
test al, al
jne 0x7082c7
mov edx, dword [esp + 0x60]
push edx
call fcn.00704960
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x80], 0
call fcn.00704960
push esi
mov dword [esp + 0x84], 0xffffffff
call fcn.00704960
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x58]
shr ecx, 4
test cl, 1
jne 0x708308
mov edx, dword [esp + 0x60]
push edx
call fcn.00704960
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x80], 0
call fcn.00704960
push esi
mov dword [esp + 0x84], 0xffffffff
call fcn.00704960
add esp, 0xc
jmp 0x7083f0
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00704960
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.00705320
mov ebp, dword [esp + 0x18]
cmp edi, ebp
mov esi, dword [esp + 0x14]
jge 0x70838d
nop
movzx ecx, word [esi + edi*2 + 2]
lea eax, [esi + edi*2 + 2]
cmp cx, 0x5c
je 0x708352
nop
test cx, cx
je 0x70835a
movzx ecx, word [eax + 2]
add eax, 2
cmp cx, 0x5c
jne 0x708340
sub eax, esi
sar eax, 1
mov edi, eax
jns 0x70835c
mov edi, ebp
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00705e90
mov eax, dword [eax]
push eax
call fcn.00707670
mov ecx, dword [esp + 0x30]
test al, al
push ecx
sete bl
call fcn.00704960
add esp, 8
test bl, bl
jne 0x7083cd
cmp edi, ebp
jl 0x708330
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x7c], 0
call fcn.00704960
push esi
mov dword [esp + 0x80], 0xffffffff
call fcn.00704960
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x7083d2
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x7c], 0
call fcn.00704960
push esi
mov dword [esp + 0x80], 0xffffffff
call fcn.00704960
add esp, 8
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret