Function at 0x597b40
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 0x597f55
sub esp, 0x88
mov eax, dword [esp + 0x94]
cmp eax, 3
jl 0x597b95
mov ecx, dword [esp + 0x90]
cmp byte [ecx], 0x5b
jne 0x597b8f
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x5d
jne 0x597b89
lea edx, [ecx + 1]
lea ebx, [eax - 2]
jmp 0x597b9e
mov ebx, eax
mov edx, ecx
jmp 0x597b9e
mov ebx, eax
mov edx, ecx
jmp 0x597b9e
mov ebx, eax
mov edx, dword [esp + 0x90]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x70], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0056eda0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
test edx, edx
jne 0x597bd7
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
xor edx, edx
jmp 0x597ce7
mov dword [esp + 0x6c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 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 0x597c23
mov eax, dword [esp + 0x78]
lea ebp, [eax + 0xc]
mov eax, dword [esp + 0x34]
lea edi, [eax + 1]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x38]
cmp edi, esi
jge 0x597c7a
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], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.0056dc30
movzx eax, byte [esp + 0x18]
test al, al
je 0x597bfe
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 + 0x70]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], eax
lea eax, [0x697ce0]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00408750
mov eax, dword [esp + 8]
lea ecx, [0x8959ac]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x88
ret
cmp eax, edx
jle 0x597d38
movzx ebx, byte [ecx + edx]
cmp ebx, 0x80
jge 0x597cfa
inc edx
jmp 0x597d20
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004586c0
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp ebx, 0xfffd
je 0x597d34
add ebx, 0xffffffbf
cmp ebx, 0x19
ja 0x597ce7
xor edx, edx
jmp 0x597d3d
xor edx, edx
jmp 0x597d3d
mov edx, 1
test dl, dl
jne 0x597d64
lea edx, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044b420
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
jmp 0x597f1a
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.005973d0
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 0x597dc1
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 0x597ec4
mov dword [esp + 0x34], ebp
lea esi, [ecx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test bl, bl
jne 0x597de9
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x3c]
jmp 0x597e2b
mov dword [esp + 0x2c], esi
mov dword [esp + 0x68], edi
mov dword [esp], edi
mov dword [esp + 4], esi
mov byte [esp + 8], 1
call fcn.005973d0
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 + 0x2c]
mov edi, dword [esp + 0x68]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x8c]
movzx eax, byte [esp + 0x1f]
test al, al
je 0x597e5f
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.005977d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x597da6
jmp 0x597e8a
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.00597570
movzx eax, byte [esp + 0x10]
test al, al
je 0x597da6
jmp 0x597ea7
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, [0x697ce0]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00408750
mov eax, dword [esp + 8]
lea ecx, [0x8959ac]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x88
ret
inc edx
cmp edx, ecx
jge 0x597f34
movzx ebx, byte [eax + edx]
lea ebp, [ebx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
ja 0x597f19
add ebx, 0x20
mov byte [eax + edx], bl
jmp 0x597f19
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044b280
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x597d64
call fcn.0045e260
jmp fcn.00597b40