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

Disassembly:
push 0xffffffffffffffff
push 0x56d457
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 0x4c]
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x4c]
cmp ebx, ecx
jne 0x52403d
push 0x27
xor ebx, ebx
mov ebp, 0xf
push str.Escape_sequence_terminated_prematurely.
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00402e40
mov esi, dword [esi]
sub esi, dword [edi + 0x44]
lea eax, [esp + 0x3c]
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], ebx
push eax
mov dword [esp + 0x154], ebx
mov byte [ecx], bl
call fcn.00402a30
push esi
push 5
mov ecx, edi
call fcn.0051bba0
cmp dword [esp + 0x50], 0x10
jb 0x524036
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0052b74a
add esp, 4
xor al, al
jmp 0x524620
mov dl, byte [ebx]
mov ebp, dword [edi + 4]
mov eax, dword [ebp]
mov byte [esp + 0x1b], dl
movzx edx, dl
movzx eax, byte [edx + eax + 4]
add eax, 0xffffffef
cmp eax, 0x27
ja case.0x524064.19
movzx eax, byte [eax + 0x52467c]
jmp dword [eax*4 + 0x524648]
mov al, 7
jmp 0x52461e
mov al, 0x1b
jmp 0x52461e
mov al, 0xc
jmp 0x52461e
mov al, 0xa
jmp 0x52461e
mov al, 0xd
jmp 0x52461e
mov al, 9
jmp 0x52461e
mov al, 0xb
jmp 0x52461e
mov al, 8
jmp 0x52461e
lea eax, [ebx + 1]
mov dword [esi], eax
cmp eax, ecx
jne 0x52410e
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebp, dword [ebp]
mov cl, byte [ecx + ebp + 4]
mov dl, 0xc
cmp cl, dl
je 0x5240d1
nop
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
movzx ebx, byte [eax]
mov ecx, dword [ecx]
cmp byte [ebx + ecx + 4], dl
jne 0x5240c0
push str.ASCII_escape_sequence_terminated_prematurely.
lea ecx, [esp + 0x5c]
call fcn.00402f40
mov eax, dword [esi]
sub eax, dword [edi + 0x44]
lea edx, [esp + 0x58]
push edx
push eax
push 5
mov ecx, edi
mov dword [esp + 0x134], 1
call fcn.0051c560
lea ecx, [esp + 0x58]
call fcn.0051b240
xor al, al
jmp 0x524620
movsx eax, byte [eax]
and eax, 0x8000001f
jns 0x52461e
dec eax
or eax, 0xffffffe0
inc eax
jmp 0x52461e
lea eax, [ebx + 1]
mov dword [esi], eax
cmp eax, ecx
jne 0x524199
dec eax
mov dword [esi], eax
movzx edx, byte [eax]
mov ebp, dword [ebp]
mov cl, byte [edx + ebp + 4]
mov dl, 0xc
cmp cl, dl
je 0x524153
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
movzx ebx, byte [eax]
mov ecx, dword [ecx]
cmp byte [ebx + ecx + 4], dl
jne 0x524142
push str.Hexadecimal_escape_sequence_terminated_prematurely.
lea ecx, [esp + 0xe8]
call fcn.00402f40
mov ecx, dword [esi]
sub ecx, dword [edi + 0x44]
lea eax, [esp + 0xe4]
push eax
push ecx
push 5
mov ecx, edi
mov dword [esp + 0x134], 2
call fcn.0051c560
lea ecx, [esp + 0xe4]
call fcn.0051b240
xor al, al
jmp 0x524620
movzx ebx, byte [eax]
mov edx, dword [ebp]
cmp byte [ebx + edx + 4], 0xf
jne 0x5242b0
inc eax
mov dword [esi], eax
cmp eax, ecx
jne 0x52421b
dec eax
mov dword [esi], eax
movzx edx, byte [eax]
mov ebp, dword [ebp]
mov cl, byte [edx + ebp + 4]
mov dl, 0xc
cmp cl, dl
je 0x5241d5
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
movzx ebx, byte [eax]
mov ecx, dword [ecx]
cmp byte [ebx + ecx + 4], dl
jne 0x5241c4
push str.Missing__in_hexadecimal_escape_sequence.
lea ecx, [esp + 0xb0]
call fcn.00402f40
mov ecx, dword [esi]
sub ecx, dword [edi + 0x44]
lea eax, [esp + 0xac]
push eax
push ecx
push 5
mov ecx, edi
mov dword [esp + 0x134], 3
call fcn.0051c560
lea ecx, [esp + 0xac]
call fcn.0051b240
xor al, al
jmp 0x524620
push ebp
push 0x10
push ecx
push esi
call fcn.00519ba0
mov ecx, dword [esi]
add esp, 0x10
cmp ecx, dword [edi + 0x48]
je 0x52424b
cmp eax, 0x7f
ja 0x52424b
mov edx, dword [edi + 4]
movzx ebx, byte [ecx]
mov edx, dword [edx]
cmp byte [ebx + edx + 4], 0x10
jne 0x52424b
inc ecx
mov dword [esi], ecx
jmp 0x524620
lea eax, [ecx - 1]
mov ecx, dword [edi + 4]
mov dword [esi], eax
movzx edx, byte [eax]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 4]
mov dl, 0xc
cmp cl, dl
je 0x524273
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
movzx ebx, byte [eax]
mov ecx, dword [ecx]
cmp byte [ebx + ecx + 4], dl
jne 0x524262
push str.Hexadecimal_escape_sequence_was_invalid.
lea ecx, [esp + 0x78]
call fcn.00402f40
mov ecx, dword [esi]
sub ecx, dword [edi + 0x44]
lea eax, [esp + 0x74]
push eax
push ecx
push 0xa
mov ecx, edi
mov dword [esp + 0x134], 4
call fcn.0051c560
lea ecx, [esp + 0x74]
call fcn.0051b240
xor al, al
jmp 0x524620
sub ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, 2
mov dword [esp + 0x14], 2
lea ecx, [esp + 0x1c]
jl 0x5242cb
lea ecx, [esp + 0x14]
mov ecx, dword [ecx]
push ebp
add eax, ecx
push 0x10
push eax
push esi
call fcn.00519ba0
add esp, 0x10
test eax, eax
js 0x5242eb
test eax, 0xffffff00
je 0x524620
dec dword [esi]
mov eax, dword [esi]
movzx edx, byte [eax]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 4]
mov dl, 0xc
cmp cl, dl
je 0x524312
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
movzx ebx, byte [eax]
mov ecx, dword [ecx]
cmp byte [ebx + ecx + 4], dl
jne 0x524301
push str.Escape_sequence_did_not_encode_a_valid_character.
lea ecx, [esp + 0x94]
call fcn.00402f40
mov ecx, dword [esi]
sub ecx, dword [edi + 0x44]
lea eax, [esp + 0x90]
push eax
push ecx
push 5
mov ecx, edi
mov dword [esp + 0x134], 5
call fcn.0051c560
lea ecx, [esp + 0x90]
call fcn.0051b240
xor al, al
jmp 0x524620
sub ecx, ebx
mov dword [esp + 0x14], 4
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x14]
cmp ecx, 4
jg 0x524373
lea eax, [esp + 0x1c]
mov edx, dword [eax]
push ebp
lea eax, [ebx + 1]
push 8
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebx
call fcn.00519ba0
add esp, 0x10
test eax, eax
je 0x524407
lea eax, [ebx - 1]
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebp, dword [ebp]
mov cl, byte [ecx + ebp + 4]
mov dl, 0xc
cmp cl, dl
je 0x5243c1
lea ebx, [ebx]
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
movzx ebx, byte [eax]
mov ecx, dword [ecx]
cmp byte [ebx + ecx + 4], dl
jne 0x5243b0
push str.Invalid_octal_escape_sequence.
lea ecx, [esp + 0xcc]
call fcn.00402f40
mov eax, dword [esi]
sub eax, dword [edi + 0x44]
lea edx, [esp + 0xc8]
push edx
push eax
push 5
mov ecx, edi
mov dword [esp + 0x134], 6
call fcn.0051c560
lea ecx, [esp + 0xc8]
call fcn.0051b240
xor al, al
jmp 0x524620
mov ecx, dword [esp + 0x1c]
push ebp
lea eax, [ebx + ecx]
push 8
push eax
push esi
call fcn.00519ba0
add esp, 0x10
test eax, eax
jns 0x524620
dec dword [esi]
mov eax, dword [esi]
movzx edx, byte [eax]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 4]
mov dl, 0xc
cmp cl, dl
je 0x524451
lea esp, [esp]
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
movzx ebx, byte [eax]
mov ecx, dword [ecx]
cmp byte [ebx + ecx + 4], dl
jne 0x524440
push str.Octal_escape_sequence_is_invalid.
lea ecx, [esp + 0x104]
call fcn.00402f40
mov ecx, dword [esi]
sub ecx, dword [edi + 0x44]
lea eax, [esp + 0x100]
push eax
push ecx
push 5
mov ecx, edi
mov dword [esp + 0x134], 7
call fcn.0051c560
lea ecx, [esp + 0x100]
call fcn.0051b240
xor al, al
jmp 0x524620
lea eax, [ebx + 1]
mov dword [esi], eax
cmp eax, ecx
jne 0x5244d6
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebx, dword [ebp]
mov dl, 0xc
cmp byte [ecx + ebx + 4], dl
je 0x5244c0
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebx, dword [ebp]
cmp byte [ecx + ebx + 4], dl
jne 0x5244b1
mov edx, dword [esi]
sub edx, dword [edi + 0x44]
mov ecx, edi
push edx
push 5
call fcn.0051dc20
xor al, al
jmp 0x524620
movzx ebx, byte [eax]
mov edx, dword [ebp]
mov dl, byte [ebx + edx + 4]
cmp dl, 0xf
jne 0x5245e4
mov dword [esp + 0x14], eax
lea ecx, [ecx]
movzx ebx, byte [eax]
mov edx, dword [ebp]
cmp byte [ebx + edx + 4], 0x10
je 0x524506
inc eax
mov edx, eax
mov dword [esi], eax
cmp edx, ecx
jne 0x5244f0
mov eax, dword [esi]
cmp eax, ecx
jne 0x524543
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebx, dword [ebp]
mov dl, 0xc
cmp byte [ecx + ebx + 4], dl
je 0x52452f
lea ecx, [ecx]
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebx, dword [ebp]
cmp byte [ecx + ebx + 4], dl
jne 0x524520
sub eax, dword [edi + 0x44]
mov ecx, edi
push eax
push 5
call fcn.0051dc20
xor al, al
jmp 0x524620
mov ecx, dword [esp + 0x14]
push eax
inc ecx
lea edx, [eax + 1]
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
mov dword [esi], edx
call fcn.00520fe0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x128], 8
test eax, eax
jne 0x5245ad
dec dword [esi]
mov eax, dword [esi]
mov edx, dword [edi + 4]
movzx ecx, byte [eax]
mov ebx, dword [edx]
mov dl, 0xc
cmp byte [ecx + ebx + 4], dl
je 0x524593
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebx, dword [edi + 4]
mov ebx, dword [ebx]
cmp byte [ecx + ebx + 4], dl
jne 0x524582
sub eax, dword [edi + 0x44]
mov ecx, edi
push eax
push 3
call fcn.0051dc20
lea ecx, [esp + 0x20]
call fcn.0051b240
xor al, al
jmp 0x524620
cmp eax, 1
jne 0x5245d0
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x5245c1
lea eax, [esp + 0x20]
mov bl, byte [eax]
lea ecx, [esp + 0x20]
call fcn.0051b240
mov al, bl
jmp 0x524620
lea ecx, [esp + 0x20]
mov dword [esp + 0x128], 0xffffffff
call fcn.0051b240
dec dword [esi]
mov eax, dword [esi]
mov edx, dword [edi + 4]
movzx ecx, byte [eax]
mov ebx, dword [edx]
mov dl, 0xc
cmp byte [ecx + ebx + 4], dl
je 0x524609
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebx, dword [edi + 4]
mov ebx, dword [ebx]
cmp byte [ecx + ebx + 4], dl
jne 0x5245f8
sub eax, dword [edi + 0x44]
mov ecx, edi
push eax
push 5
call fcn.0051dc20
xor al, al
jmp 0x524620
mov al, byte [esp + 0x1b]
inc dword [esi]
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0052b755
add esp, 0x118
ret