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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x5a23e4
sub esp, 0x98
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 0x84]
mov dword [esp + 0x34], ebx
mov ebp, dword [edx + 0x88]
mov dword [esp + 0x30], ebp
mov esi, dword [edx + 0x8c]
mov dword [esp + 0x2c], esi
cmp dword [edx + 0x64], 2
jge 0x5a1f09
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.005997f0
movzx eax, byte [esp + 8]
test al, al
je 0x5a23c1
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ecx, dword [edx + 0x58]
mov edi, dword [edx + 0x60]
lea eax, [edi + 1]
cmp ecx, eax
jbe 0x5a23de
mov eax, dword [edx + 0x54]
lea eax, [edi + eax + 1]
cmp byte [eax], 0x3c
jne 0x5a2067
mov dword [esp], edx
call fcn.0059c5c0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.0059c5c0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
lea ebp, [esp + 0x38]
mov dword [esp + 0x20], ebp
call fcn.005a2740
movzx eax, byte [esp + 0x24]
test al, al
je 0x5a2058
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx + 0x58]
mov eax, dword [edx + 0x60]
cmp ecx, eax
jbe 0x5a23d9
mov ecx, dword [edx + 0x54]
add eax, ecx
cmp byte [eax], 0x3e
je 0x5a204b
nop
mov dword [edx], 3
mov dword [edx + 0x24], 0x14
mov eax, dword [0x7da640]
test eax, eax
je 0x5a1fdf
mov eax, dword [edx + 0x20]
call fcn.0046be70
mov dword [edi], eax
lea eax, [0x60f626]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x30], eax
mov dword [edx + 8], 0x1d
mov eax, dword [0x7da640]
test eax, eax
je 0x5a2018
mov eax, dword [edx + 4]
call fcn.0046be70
mov dword [edi], eax
lea eax, [0x613ce7]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x8c]
mov ebx, dword [edx + 0x84]
mov dword [edx + 0x14], ebx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov dword [esp], edx
call fcn.0059c5c0
jmp 0x5a21ca
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov dword [esp], edx
mov byte [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.005a23f0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5a23b2
mov edx, dword [esp + 0x48]
test edx, edx
jbe 0x5a23d0
mov eax, dword [esp + 0x44]
cmp byte [eax], 0x21
jne 0x5a2120
cmp edx, 1
jle 0x5a2120
lea ecx, [edx + eax - 1]
cmp byte [ecx], 0x21
jne 0x5a2120
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
lea ebp, [esp + 0x38]
mov dword [esp + 0x20], ebp
call fcn.005a2740
movzx eax, byte [esp + 0x24]
test al, al
jne 0x5a21ca
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov byte [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
lea ebp, [esp + 0x38]
mov dword [esp + 0x20], ebp
call fcn.005a2740
movzx eax, byte [esp + 0x24]
test al, al
je 0x5a23a3
lea eax, [0x5dabc0]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov byte [eax], 0x21
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5a21ca
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x64]
test ecx, ecx
jg 0x5a21fc
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.005997f0
movzx eax, byte [esp + 8]
test al, al
je 0x5a2394
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x58]
mov ebx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.005ac8d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5a22ff
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
lea edi, [esp + 0x50]
lea esi, [0x6598b0]
call fcn.0046c4ec
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov edi, dword [esp + 0xa0]
test byte [edi], al
mov eax, dword [0x7da640]
test eax, eax
je 0x5a22e7
lea eax, [0x5fb200]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.00412350
mov edi, dword [esp + 0xa0]
lea esi, [esp + 0x50]
call fcn.0046c4ec
mov byte [esp + 0xa4], 1
add esp, 0x98
ret
nop
mov eax, dword [esp + 0x9c]
mov dword [eax], 3
mov dword [eax + 0x24], 0x14
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x5a2328
mov ecx, dword [eax + 0x20]
call fcn.0046be70
mov dword [edi], ecx
lea ecx, [0x60f626]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x30], ecx
mov dword [eax + 8], 0x2e
mov ecx, dword [0x7da640]
test ecx, ecx
je 0x5a2361
mov ecx, dword [eax + 4]
call fcn.0046be70
mov dword [edi], ecx
lea ecx, [0x618f8c]
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
mov byte [esp + 0xa4], 0
add esp, 0x98
ret
xor eax, eax
mov ecx, eax
call fcn.0046bef0
call fcn.0046bef0
call fcn.0046bef0
nop
call fcn.0046aa70
jmp fcn.005a1e60