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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5381f4
sub esp, 0x6c
mov eax, dword [esp + 0x78]
cmp eax, 3
jl 0x5381ee
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0x5b
jne 0x5381e5
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x5d
jne 0x5381e5
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.004ca780
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x537fe1
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0x218]
mov esi, dword [ebx + 0x214]
test ebp, ebp
jle 0x537f6d
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
xor edi, edi
jmp 0x537f2b
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 + 0x54], esi
mov dword [esp + 0x38], edi
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.004c96a0
movzx eax, byte [esp + 0x18]
test al, al
jne 0x537fca
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jg 0x537f16
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, [0x6cb450]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0040a0f0
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.005379a0
movzx eax, byte [esp + 4]
test al, al
je 0x5381d8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x138]
mov edx, dword [eax + 0x13c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
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.00537d70
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call fcn.005377b0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x1f], al
xor ecx, ecx
jmp 0x538096
mov edx, dword [esp + 0x3c]
lea ecx, [edx + 1]
movzx eax, byte [esp + 0x1f]
mov edx, dword [esp + 0x20]
cmp ecx, edx
jge 0x53817b
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 0x53813f
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x5380ff
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
call fcn.00537b30
movzx eax, byte [esp + 0x10]
test al, al
je 0x53808a
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 + 0x4c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
call fcn.00537a60
movzx eax, byte [esp + 0x10]
test al, al
je 0x53808a
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x6c
ret
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov byte [esp + 8], 1
call fcn.005377b0
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 + 0x48]
jmp 0x5380bd
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, [0x6cb450]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0040a0f0
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 0x53803f
mov ebx, eax
mov edx, ecx
jmp 0x537ec6
mov ecx, dword [esp + 0x74]
jmp 0x5381e5
call fcn.0045b380
jmp fcn.00537e80