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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5afd02
sub esp, 0x88
mov eax, dword [esp + 0x94]
cmp eax, 3
jl 0x5af935
mov ecx, dword [esp + 0x90]
cmp byte [ecx], 0x5b
jne 0x5af92f
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x5d
jne 0x5af929
lea edx, [ecx + 1]
lea ebx, [eax - 2]
jmp 0x5af93e
mov ebx, eax
mov edx, ecx
jmp 0x5af93e
mov ebx, eax
mov edx, ecx
jmp 0x5af93e
mov ebx, eax
mov edx, dword [esp + 0x90]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x68], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004cf4a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5af977
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
xor edx, edx
jmp 0x5afa87
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], eax
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x214]
mov esi, dword [ebx + 0x218]
mov dword [esp + 0x38], esi
xor edi, edi
jmp 0x5af9c3
mov eax, dword [esp + 0x78]
lea ebp, [eax + 0xc]
mov eax, dword [esp + 0x34]
lea edi, [eax + 1]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x38]
cmp edi, esi
jge 0x5afa1a
mov dword [esp + 0x34], edi
mov dword [esp + 0x78], ebp
mov ebx, dword [ebp]
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.004cdff0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5af99e
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x88
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
lea eax, [0x74aa60]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00408e50
mov eax, dword [esp + 8]
lea ecx, [0x7cac4c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x88
ret
cmp eax, edx
jle 0x5afad8
movzx ebx, byte [ecx + edx]
cmp ebx, 0x80
jge 0x5afa9a
inc edx
jmp 0x5afac0
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00450500
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp ebx, 0xfffd
je 0x5afad4
add ebx, 0xffffffbf
cmp ebx, 0x19
ja 0x5afa87
xor edx, edx
jmp 0x5afadd
xor edx, edx
jmp 0x5afadd
mov edx, 1
test dl, dl
jne 0x5afb04
lea edx, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004458f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
jmp 0x5afcbb
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], ecx
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call fcn.005af0e0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x1fc]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x200]
mov dword [esp + 0x38], edx
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x1e], bl
xor ebp, ebp
jmp 0x5afb61
mov esi, dword [esp + 0x34]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
movzx ebx, byte [esp + 0x1e]
cmp ebp, edx
jge 0x5afc65
mov dword [esp + 0x34], ebp
lea esi, [ecx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test bl, bl
jne 0x5afb89
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x3c]
jmp 0x5afbcc
mov dword [esp + 0x30], esi
mov dword [esp + 0x6c], edi
nop
mov dword [esp], edi
mov dword [esp + 4], esi
mov byte [esp + 8], 1
call fcn.005af0e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
movzx ebx, byte [esp + 0x1e]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x6c]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x8c]
movzx eax, byte [esp + 0x1f]
test al, al
je 0x5afc00
mov dword [esp], edi
mov dword [esp + 4], esi
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
call fcn.005af520
movzx eax, byte [esp + 0x10]
test al, al
je 0x5afb46
jmp 0x5afc2b
mov dword [esp], edi
mov dword [esp + 4], esi
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
call fcn.005af2a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5afb46
jmp 0x5afc48
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x88
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x88
ret
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x84], eax
lea eax, [0x74aa60]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00408e50
mov eax, dword [esp + 8]
lea ecx, [0x7cac4c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x88
ret
inc edx
cmp edx, ecx
jge 0x5afcd9
movzx ebx, byte [eax + edx]
lea ebp, [ebx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
ja 0x5afcba
cmp edx, ecx
jae 0x5afcfa
add ebx, 0x20
mov byte [eax + edx], bl
jmp 0x5afcba
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00445730
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x5afb04
mov eax, edx
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.005af8e0