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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a7122
sub esp, 0x58
mov eax, dword [esp + 0x5c]
movzx ecx, word [eax]
test cx, 0x80
jne 0x5a69bf
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
mov dword [esp + 0x8c], 0
add esp, 0x58
ret
mov ecx, dword [esp + 0x64]
cmp ecx, 2
jl 0x5a6977
mov edx, dword [esp + 0x60]
movzx ebx, byte [edx]
cmp bl, 0x5c
jne 0x5a6977
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x5a69e2
cmp bl, 0x50
jne 0x5a6977
cmp bl, 0x50
jne 0x5a7118
mov ebx, 0xffffffff
mov dword [esp + 0x28], ebx
lea ebp, [ecx - 3]
sar ebp, 0x1f
xor ebp, 0xffffffff
and ebp, 2
add ebp, edx
mov dword [esp], ebp
lea ebp, [ecx - 2]
mov dword [esp + 4], ebp
call fcn.005a8a30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x5a70d8
cmp eax, 0x7b
je 0x5a6eae
mov eax, dword [esp + 0x64]
mov ebx, eax
sub eax, ecx
cmp eax, ebx
ja 0x5a6ea7
cmp eax, 2
jb 0x5a6ea0
lea ebx, [eax - 3]
sar ebx, 0x1f
xor ebx, 0xffffffff
and ebx, 2
mov ebp, dword [esp + 0x60]
add ebx, ebp
lea esi, [eax - 2]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ecx
test esi, esi
je 0x5a6e95
movzx edi, byte [ebx]
xchg edi, eax
cmp al, 0x5e
xchg edi, eax
jne 0x5a6e8a
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
lea ebp, [esi - 2]
sar ebp, 0x1f
xor ebp, 0xffffffff
and ebp, 1
add ebx, ebp
lea ebp, [esi - 1]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], edi
cmp ebp, 3
jne 0x5a6d7f
movzx esi, byte [ebx]
xchg esi, eax
cmp al, 0x41
xchg esi, eax
jne 0x5a6d7f
movzx esi, byte [ebx + 1]
xchg esi, eax
cmp al, 0x6e
xchg esi, eax
jne 0x5a6d7f
movzx esi, byte [ebx + 2]
xchg esi, eax
cmp al, 0x79
xchg esi, eax
jne 0x5a6d7f
mov ebx, dword [0x7663f8]
mov ebp, ebx
mov dword [esp + 0x4c], ebp
test ebx, ebx
je 0x5a6cbe
mov eax, dword [esp + 0x5c]
movzx esi, word [eax]
test si, 1
jne 0x5a6ba2
test edi, edi
jle 0x5a6b74
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.005a8280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x58
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.005a8450
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x5a6b38
test ebp, ebp
jne 0x5a6bab
jmp 0x5a6b08
mov esi, dword [eax + 0x20]
mov ecx, dword [eax + 0x28]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.005a8280
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 + 0x4c]
mov dword [esp + 0xc], eax
call fcn.005a8280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
mov ecx, dword [0x77c810]
lea edx, [ebx + 0x20]
mov dword [esp + 0x54], edx
test ecx, ecx
jne 0x5a6ca9
mov dword [ebx + 0x20], eax
mov dword [esp], edx
call fcn.005a7ab0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x5a6c70
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005a8020
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5a6b38
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005a8180
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5a6b38
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov edx, dword [esp + 0x54]
jmp 0x5a6c1b
lea ecx, [0x61e2c0]
mov dword [esp], ecx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov dword [eax + 4], 0x1d
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x5a6d64
lea ecx, [0x653be3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 8]
test ecx, ecx
jne 0x5a6d4e
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
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
lea ecx, [0x742000]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x58
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x50]
jmp 0x5a6d08
mov dword [esp], eax
lea ecx, [0x653be3]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x50]
jmp 0x5a6ced
lea esi, [0x60ece0]
mov dword [esp], esi
mov eax, dword [0x76ab0c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004094e0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x5a6df4
lea ecx, [0x60ece0]
mov dword [esp], ecx
mov ecx, dword [0x76ab10]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
call fcn.004094e0
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
jmp 0x5a6aea
lea eax, [0x60ece0]
mov dword [esp], eax
mov ecx, dword [0x76ab1c]
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.004094e0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x5a6e43
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov ebp, ebx
jmp 0x5a6aea
lea ecx, [0x60ece0]
mov dword [esp], ecx
mov ecx, dword [0x76ab14]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
call fcn.004094e0
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
jmp 0x5a6aea
mov ebp, esi
mov edi, dword [esp + 0x28]
jmp 0x5a6aa1
mov ebp, esi
mov edi, dword [esp + 0x28]
jmp 0x5a6aa1
call fcn.004246c0
ud2
call fcn.004246c0
ud2
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.004bf300
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x5a6fb3
lea ecx, [eax + 1]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x64]
cmp ecx, edx
ja 0x5a6fac
mov ebx, edx
sub edx, ecx
mov dword [esp + 0x24], edx
lea ebp, [edx - 1]
sar ebp, 0x1f
xor ebp, 0xffffffff
and ebp, ecx
mov esi, dword [esp + 0x60]
add ebp, esi
mov dword [esp + 0x38], ebp
cmp eax, 3
jb 0x5a6fa5
cmp eax, ebx
ja 0x5a6fa5
lea ebx, [eax - 4]
sar ebx, 0x1f
xor ebx, 0xffffffff
and ebx, 3
add ebx, esi
mov dword [esp + 0x44], ebx
mov dword [esp], ebx
add eax, 0xfffffffd
mov dword [esp + 0x30], eax
mov dword [esp + 4], eax
call fcn.005a8900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5a6f65
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
jmp 0x5a6a64
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], eax
mov dword [esp + 0x8c], ecx
add esp, 0x58
ret
call fcn.004246c0
ud2
call fcn.004246c0
ud2
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.005a8900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5a7098
lea eax, [0x61e2c0]
mov dword [esp], eax
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov dword [eax + 4], 0x1d
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x5a707d
lea ecx, [0x653be3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 8]
test ecx, ecx
jne 0x5a7067
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
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
lea ecx, [0x742000]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x58
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x50]
jmp 0x5a7021
mov dword [esp], eax
lea ecx, [0x653be3]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x50]
jmp 0x5a7006
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], ecx
mov dword [esp + 0x8c], eax
add esp, 0x58
ret
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], ebp
mov dword [esp + 0x8c], ebx
add esp, 0x58
ret
mov ebx, 1
jmp 0x5a69f0
call fcn.00448420
jmp fcn.005a6950