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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52b8d4
sub esp, 0x6c
mov eax, dword [esp + 0x78]
cmp eax, 3
jl 0x52b8ce
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0x5b
jne 0x52b8c5
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x5d
jne 0x52b8c5
lea edx, [ecx + 1]
lea ebx, [eax - 2]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005120b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x52b6c1
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0x218]
mov esi, dword [ebx + 0x214]
test ebp, ebp
jle 0x52b64d
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ebp
xor edi, edi
jmp 0x52b60b
mov ebx, dword [esp + 0x54]
lea esi, [ebx + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], esi
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.00510d10
movzx eax, byte [esp + 0x18]
test al, al
jne 0x52b6aa
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jl 0x52b5f6
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
lea eax, [0x65ed0c]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.004092a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x1fc]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x200]
mov dword [esp + 0x20], edx
mov dword [esp], eax
call fcn.0052b0b0
movzx eax, byte [esp + 4]
test al, al
je 0x52b8b8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x70]
mov ebx, dword [eax + 0x138]
mov ebp, dword [eax + 0x13c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov ecx, 1
lea edx, [esp + 0x58]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
call fcn.0052b450
nop
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call fcn.0052aee0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x1f], al
xor ecx, ecx
jmp 0x52b776
mov edx, dword [esp + 0x3c]
lea ecx, [edx + 1]
movzx eax, byte [esp + 0x1f]
mov edx, dword [esp + 0x20]
cmp edx, ecx
jle 0x52b85b
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x40]
lea ebp, [ebx + ecx*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
test al, al
jne 0x52b81f
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x52b7df
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
call fcn.0052b240
movzx eax, byte [esp + 0x10]
test al, al
je 0x52b76a
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x6c
ret
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
call fcn.0052b170
movzx eax, byte [esp + 0x10]
test al, al
je 0x52b76a
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x6c
ret
mov dword [esp + 0x30], ebp
mov dword [esp + 0x4c], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov byte [esp + 8], 1
call fcn.0052aee0
movzx edi, byte [esp + 0xc]
movzx eax, byte [esp + 0x1f]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
jmp 0x52b79d
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x68], eax
lea eax, [0x65ed0c]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.004092a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
jmp 0x52b71f
mov ebx, eax
mov edx, ecx
jmp 0x52b5a6
mov ecx, dword [esp + 0x74]
jmp 0x52b8c5
call fcn.0045c8b0
jmp fcn.0052b560