Function at 0x5b0110
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 0x5b059f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
movzx eax, byte [eax + 0x6eee26]
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 0x5b0589
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xf4], 0
jne 0x5b0179
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x5b057f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x5b01ab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 1
mov edx, dword [ebp - 0xc]
call fcn.005afd94
jmp 0x5b01cb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.005afd44
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x7c], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5b0204
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.005afd44
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5b01da
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5b0576
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x5b0231
mov edx, dword [ebp + 8]
push edx
call fcn.005b0078
pop ecx
push ebp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
call fcn.005b00e4
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x5b0538
call fcn.005acb70
jmp 0x5b0538
mov eax, dword [0x6f3b08]
cmp byte [eax + 0x11b], 0
jne 0x5b054e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe0], 0
je 0x5b0290
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.005b0078
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.005b0098
pop ecx
jmp 0x5b029d
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.005b0078
pop ecx
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x19c]
cmp eax, dword [ebp - 4]
jle 0x5b02ea
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
inc eax
call fcn.005b0110
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jle 0x5b02f4
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe0], 0
je 0x5b02de
mov eax, dword [ebp + 8]
push eax
call fcn.005b0098
pop ecx
jmp 0x5b02f4
mov eax, dword [ebp + 8]
dec dword [eax - 4]
mov byte [ebp - 5], 0
jmp 0x5b02f4
mov eax, dword [ebp + 8]
push eax
call fcn.005b0098
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
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 0x5b04ad
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5b0365
mov eax, dword [ebp - 0x10]
add eax, 0x80
call fcn.004189c0
test al, al
jne 0x5b0365
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x104]
mov eax, dword [0x6f3aec]
call fcn.0057ae34
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add edx, 0x80
call fcn.0041a784
je 0x5b049a
mov eax, dword [ebp + 8]
mov byte [eax - 0x19d], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5b03bb
xor eax, eax
push ebp
push 0x5b03a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b03bb
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x24]
cmp ebx, dword [ebp - 0x10]
je 0x5b040c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx + 0x94]
call fcn.005b0078
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, ebx
call fcn.005afd44
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x5b0404
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
call fcn.005afd44
mov ebx, dword [ebx + 0x14]
cmp ebx, dword [ebp - 0x10]
jne 0x5b03c6
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.005b0078
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.005b0098
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5b04ad
mov eax, dword [ebp + 8]
cmp byte [eax - 0x19d], 0
je 0x5b0455
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xe1], 0
je 0x5b047b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xe5], 0
je 0x5b047b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005aff38
push ebp
mov eax, dword [ebp - 0x10]
call fcn.005b00e4
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.005afd44
jmp 0x5b04ad
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5b0315
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x5b04d1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 2
mov edx, dword [ebp - 0xc]
call fcn.005afd94
jmp 0x5b052a
cmp byte [ebp - 5], 0
je 0x5b052a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
inc dword [eax + 0x88]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x7c]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x78]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5b052a
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe1], 0
je 0x5b052a
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe5], 0
je 0x5b052a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005aff38
mov eax, dword [0x6f3b08]
cmp byte [eax + 0x11b], 0
jne 0x5b054e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
je 0x5b0259
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x5b0570
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x94]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005afca0
jmp 0x5b0576
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 0x5b015f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b05a6
lea eax, [ebp - 0x20]
call fcn.00411bc8
ret