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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a96b7
sub esp, 0x54
mov eax, dword [esp + 0x58]
movzx ecx, word [eax]
test cx, 0x80
jne 0x5a8fac
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x60]
cmp ecx, 2
jl 0x5a8f67
mov edx, dword [esp + 0x5c]
movzx ebx, byte [edx]
cmp bl, 0x5c
jne 0x5a8f67
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x5a8fcf
cmp bl, 0x50
jne 0x5a8f67
cmp bl, 0x50
jne 0x5a9691
mov ebx, 0xffffffff
mov dword [esp + 0x28], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.005aae50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
test edx, edx
jne 0x5a9654
cmp eax, 0x7b
je 0x5a945c
mov eax, dword [esp + 0x60]
mov edx, eax
sub eax, ecx
test eax, eax
jl 0x5a96b0
cmp eax, edx
ja 0x5a96b0
cmp eax, 2
jb 0x5a96a9
lea edx, [eax - 2]
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, 2
mov esi, dword [esp + 0x5c]
add edx, esi
test ebp, ebp
je 0x5a9453
movzx edi, byte [edx]
xchg edi, eax
cmp al, 0x5e
xchg edi, eax
jne 0x5a944a
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec ebp
mov dword [esp + 0x30], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add edx, ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
cmp ebp, 3
jne 0x5a9337
movzx esi, word [edx]
cmp si, 0x6e41
jne 0x5a9337
movzx esi, byte [edx + 2]
xchg esi, eax
cmp al, 0x79
xchg esi, eax
jne 0x5a9337
mov edx, dword [0x7fc894]
mov ebp, edx
test edx, edx
je 0x5a928e
mov eax, dword [esp + 0x58]
movzx esi, word [eax]
test si, 1
jne 0x5a917b
test edi, edi
jle 0x5a914d
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.005aa690
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.005aa870
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x5a9114
test ebp, ebp
je 0x5a90e4
mov dword [esp + 0x50], ebp
mov ecx, dword [eax + 0x28]
mov ebx, dword [eax + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005aa690
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 + 0x50]
mov dword [esp + 0xc], eax
call fcn.005aa690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
lea edi, [ebx + 0x20]
mov ecx, dword [0x813ad0]
test ecx, ecx
jne 0x5a9284
mov dword [ebx + 0x20], eax
mov dword [esp], edi
call fcn.005a9ee0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x5a924e
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005aa420
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, edx
mov edx, ebx
jmp 0x5a9114
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005aa580
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5a9243
call fcn.0044b8d0
jmp 0x5a91f3
lea eax, [0x612140]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0x813ad0]
test eax, eax
jne 0x5a932a
lea ecx, [0x647394]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x813ad0]
test ecx, ecx
jne 0x5a9314
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x6848a0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x54
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044b8d0
mov edi, edx
jmp 0x5a92d1
lea eax, [0x647394]
call fcn.0044b8d0
jmp 0x5a92b9
mov dword [esp + 0x48], edx
mov dword [esp + 0x34], ebp
lea eax, [0x600f60]
mov dword [esp], eax
mov ecx, dword [0x801aa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.0040dc40
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x5a93b4
mov dword [esp + 0x44], eax
lea eax, [0x600f60]
mov dword [esp], eax
mov eax, dword [0x801aa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0040dc40
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
jmp 0x5a90ca
lea eax, [0x600f60]
mov dword [esp], eax
mov ecx, dword [0x801ab0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
call fcn.0040dc40
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x5a93ff
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
xor edx, edx
xor ebp, ebp
jmp 0x5a90ca
mov dword [esp + 0x40], eax
lea eax, [0x600f60]
mov dword [esp], eax
mov eax, dword [0x801aa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0040dc40
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
jmp 0x5a90ca
mov edi, dword [esp + 0x28]
jmp 0x5a908c
mov edi, dword [esp + 0x28]
jmp 0x5a908c
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.004abf30
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x5a954a
lea ecx, [eax + 1]
test ecx, ecx
jl 0x5a96a2
mov edx, dword [esp + 0x60]
cmp ecx, edx
ja 0x5a96a2
sub edx, ecx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov ebp, dword [esp + 0x5c]
add edx, ebp
cmp eax, 3
jb 0x5a969b
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
add eax, 0xfffffffd
mov dword [esp + 0x30], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, ebp
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005aad40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5a950d
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
jmp 0x5a9055
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x54
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.005aad40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5a9617
lea eax, [0x612140]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0x813ad0]
test eax, eax
jne 0x5a960a
lea ecx, [0x647394]
mov dword [edi], ecx
mov ecx, dword [esp + 0x60]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x813ad0]
test ecx, ecx
jne 0x5a95f4
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x6848a0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x54
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044b8d0
mov edi, edx
jmp 0x5a95b1
lea eax, [0x647394]
call fcn.0044b8d0
jmp 0x5a9599
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x54
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebp
add esp, 0x54
ret
mov ebx, 1
jmp 0x5a8fdd
call fcn.00425a10
ud2
call fcn.00425a10
ud2
call fcn.00425a10
ud2
call fcn.00425a10
ud2
call fcn.0044a170
jmp fcn.005a8f40