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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a8110
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
movzx eax, byte [eax + 0x5d8fd2]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x198]
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5a80fa
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xdc], 0
jne 0x5a7d01
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x5a80f0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x5a7d33
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 1
mov edx, dword [ebp - 0xc]
call fcn.005a7920
jmp 0x5a7d53
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.005a78d0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x60], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5a7d8c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.005a78d0
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5a7d62
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5a80e7
push ebp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
call fcn.005a7c6c
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x5a7dc3
mov edx, dword [ebp + 8]
push edx
call fcn.005a7c00
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x5a80ac
call fcn.005a5914
jmp 0x5a80ac
mov eax, dword [0x5dba84]
cmp byte [eax + 0x119], 0
jne 0x5a80c2
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xc8], 0
je 0x5a7e12
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.005a7c00
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.005a7c20
pop ecx
jmp 0x5a7e1f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.005a7c00
pop ecx
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x19c]
cmp eax, dword [ebp - 4]
jle 0x5a7e6c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
inc eax
call fcn.005a7c98
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jle 0x5a7e76
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xc8], 0
je 0x5a7e60
mov eax, dword [ebp + 8]
push eax
call fcn.005a7c20
pop ecx
jmp 0x5a7e76
mov eax, dword [ebp + 8]
dec dword [eax - 4]
mov byte [ebp - 5], 0
jmp 0x5a7e76
mov eax, dword [ebp + 8]
push eax
call fcn.005a7c20
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5a8021
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5a7ee2
mov eax, dword [ebp - 0x10]
add eax, 0x68
call fcn.004150d8
test al, al
jne 0x5a7ee2
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xec]
mov eax, dword [0x5dba68]
call fcn.0058f51c
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add edx, 0x68
call fcn.00405e2c
je 0x5a800e
mov eax, dword [ebp + 8]
mov byte [eax - 0x19d], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5a7f38
xor eax, eax
push ebp
push 0x5a7f24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a7f38
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x24]
cmp ebx, dword [ebp - 0x10]
je 0x5a7f83
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx + 0x7c]
call fcn.005a7c00
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, ebx
call fcn.005a78d0
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5a7f7b
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
call fcn.005a78d0
mov ebx, dword [ebx + 0x14]
cmp ebx, dword [ebp - 0x10]
jne 0x5a7f43
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
call fcn.005a7c00
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.005a7c20
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5a8021
mov eax, dword [ebp + 8]
cmp byte [eax - 0x19d], 0
je 0x5a7fc9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xc9], 0
je 0x5a7fef
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xcd], 0
je 0x5a7fef
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005a7ac4
push ebp
mov eax, dword [ebp - 0x10]
call fcn.005a7c6c
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.005a78d0
jmp 0x5a8021
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5a7e97
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x5a8045
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 2
mov edx, dword [ebp - 0xc]
call fcn.005a7920
jmp 0x5a809e
cmp byte [ebp - 5], 0
je 0x5a809e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
inc dword [eax + 0x88]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x60]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x5c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5a809e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xc9], 0
je 0x5a809e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xcd], 0
je 0x5a809e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005a7ac4
mov eax, dword [0x5dba84]
cmp byte [eax + 0x119], 0
jne 0x5a80c2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
je 0x5a7ddb
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x5a80e1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005a782c
jmp 0x5a80e7
mov eax, dword [ebp + 8]
dec dword [eax - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5a7ce7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8117
lea eax, [ebp - 0x20]
call fcn.00405e78
ret