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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ad1be
sub esp, 0x4c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xffffffff
jne 0x5ace38
mov ecx, eax
jmp 0x5ace3e
mov ecx, eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
lea ebx, [edx + 7]
sar ebx, 0x1f
shr ebx, 0x1d
lea ebx, [ebx + edx + 7]
sar ebx, 3
mov ebp, dword [esp + 0x60]
cmp ebp, ebx
jne 0x5ad004
mov ebp, dword [esp + 0x54]
cmp ebp, ecx
jne 0x5acfec
lea esi, [eax + ecx + 2]
cmp esi, ebx
jg 0x5acfd4
mov esi, dword [esp + 0x5c]
lea edi, [ebx + esi - 1]
cmp byte [edi], 0xbc
jne 0x5acfbc
mov dword [esp + 0x34], ebx
mov edi, ebx
sub ebx, ecx
lea ecx, [ebx - 1]
mov ebp, dword [esp + 0x64]
sub ebp, ebx
inc ebp
mov dword [esp + 0x30], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
shl edi, 3
sub edi, edx
mov edx, dword [esp + 0x34]
sub edx, ebx
add ebp, esi
test edi, edi
jl 0x5ad1b8
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov ecx, edi
mov ebx, 0xffffffff
shr bl, cl
movzx eax, byte [esi]
cmp ecx, 8
sbb edi, edi
and ebx, edi
mov edi, ebx
not ebx
test al, bl
jne 0x5acfa4
mov dword [esp + 0x48], ebp
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
mov dword [esp + 0x2c], edx
mov dword [esp], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x74]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
call fcn.005ad610
mov eax, dword [esp + 0x5c]
movzx ecx, byte [eax]
movzx edx, byte [esp + 0x23]
and edx, ecx
mov byte [eax], dl
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5acf7a
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.004d6510
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5acf8c
mov ecx, dword [esp + 0x40]
sub ecx, eax
lea eax, [ecx - 2]
mov ecx, eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov ebx, edx
sub edx, ecx
lea ecx, [edx - 2]
xor ebp, ebp
jmp 0x5ad02f
mov eax, dword [0x8a74f0]
mov ecx, dword [0x8a74f4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
mov eax, dword [0x8a74f0]
mov ecx, dword [0x8a74f4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
mov eax, dword [0x8a74f0]
mov ecx, dword [0x8a74f4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
mov eax, dword [0x8a74f0]
mov ecx, dword [0x8a74f4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
mov eax, dword [0x8a74f0]
mov ecx, dword [0x8a74f4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
lea eax, [0x713653]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
inc ebp
cmp ebp, ecx
jge 0x5ad055
movzx esi, byte [eax + ebp]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5ad02e
mov eax, dword [0x8a74f0]
mov ecx, dword [0x8a74f4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
lea ecx, [edx + eax - 2]
cmp byte [ecx], 1
jne 0x5ad1a0
mov dword [esp + 0x3c], edx
lea eax, [0x6bae60]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov edx, dword [esp + 0x40]
sub edx, ecx
mov dword [esp + 0x24], edx
inc eax
mov dword [esp + 0x28], eax
neg eax
sar eax, 0x1f
dec ecx
and ecx, eax
mov eax, dword [esp + 0x5c]
add eax, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x1c]
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 8], 8
mov dword [esp + 0xc], 8
call ebp
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
call fcn.004d62e0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5ad188
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x4c
ret
mov eax, dword [0x8a74f0]
mov ecx, dword [0x8a74f4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
mov eax, dword [0x8a74f0]
mov ecx, dword [0x8a74f4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x4c
ret
call fcn.0043a6e0
nop
call fcn.00475ee0
jmp fcn.005ace00