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

Disassembly:
push 0xffffffffffffffff
push 0x4bd8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d9b30]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0x8c]
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
cmp esi, eax
ja 0x4186c6
cmp dword [edi + 0x18], eax
je 0x4186c6
push 1
push eax
call fcn.00404430
test al, al
je 0x4186c6
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x4186bf
mov eax, dword [edi + 4]
jmp 0x4186c2
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
dec esi
inc ebp
mov dword [esp + 0x1c], esi
cmp ebp, esi
je 0x4188be
lea ebx, [ebx]
mov bl, byte [ebp]
inc ebp
mov dword [esp + 0x18], ebp
cmp bl, 0x22
je 0x4188be
cmp bl, 0x5c
jne 0x418836
cmp ebp, esi
je 0x4188d6
mov al, byte [ebp]
movsx eax, al
inc ebp
add eax, 0xffffffde
mov dword [esp + 0x18], ebp
cmp eax, 0x53
ja case.0x418720.35
movzx eax, byte [eax + 0x4189c8]
jmp dword [eax*4 + 0x4189a0]
push 0x22
mov eax, 1
call fcn.00419ad0
jmp 0x4188b6
push 0x2f
mov eax, 1
call fcn.00419ad0
jmp 0x4188b6
push 0x5c
mov eax, 1
call fcn.00419ad0
jmp 0x4188b6
push 8
mov eax, 1
call fcn.00419ad0
jmp 0x4188b6
push 0xc
mov eax, 1
call fcn.00419ad0
jmp 0x4188b6
push 0xa
mov eax, 1
call fcn.00419ad0
jmp 0x4188b6
push 0xd
mov eax, 1
call fcn.00419ad0
jmp 0x4188b6
push 9
mov eax, 1
call fcn.00419ad0
jmp 0x4188b6
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x24]
call fcn.00418a20
test al, al
je 0x418933
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x5c]
call fcn.00416970
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov dword [esp + 0x8c], 1
call fcn.0041a2a0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x74], 0x10
jb 0x418818
mov eax, dword [esp + 0x60]
push eax
call fcn.004584ee
add esp, 4
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jmp 0x4188b6
or ecx, 0xffffffff
sub ecx, dword [edi + 0x14]
cmp ecx, 1
ja 0x418846
call fcn.00455694
mov esi, dword [edi + 0x14]
inc esi
cmp esi, 0xfffffffe
jbe 0x418854
call fcn.00455694
mov eax, dword [edi + 0x18]
cmp eax, esi
jae 0x41887f
mov edx, dword [edi + 0x14]
push edx
push esi
mov ecx, edi
call fcn.00404960
test esi, esi
jbe 0x4188b2
mov ebp, dword [edi + 0x14]
mov edx, 0x10
lea eax, [edi + 4]
cmp dword [edi + 0x18], edx
jb 0x41889b
mov ecx, dword [eax]
jmp 0x41889d
test esi, esi
jne 0x418869
mov dword [edi + 0x14], esi
cmp eax, 0x10
jb 0x418893
mov eax, dword [edi + 4]
mov byte [eax], 0
jmp 0x4188b2
lea eax, [edi + 4]
mov byte [eax], 0
jmp 0x4188b2
mov ecx, eax
mov byte [ecx + ebp], bl
mov dword [edi + 0x14], esi
cmp dword [edi + 0x18], edx
jb 0x4188aa
mov eax, dword [eax]
mov ebp, dword [esp + 0x18]
mov byte [eax + esi], 0
mov esi, dword [esp + 0x1c]
cmp ebp, esi
jne 0x4186e0
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
push 0x1f
xor esi, esi
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.004042a0
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push ebp
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], esi
call fcn.00418cd0
cmp dword [esp + 0x3c], 0x10
mov bl, al
jb 0x41892f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004584ee
add esp, 4
mov al, bl
jmp 0x4188c0
xor al, al
jmp 0x4188c0
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.004042a0
mov edx, dword [esp + 0x8c]
push ebp
push edx
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], 2
call fcn.00418cd0
cmp dword [esp + 0x58], 0x10
mov bl, al
jb 0x41892f
mov eax, dword [esp + 0x44]
push eax
call fcn.004584ee
add esp, 4
mov al, bl
jmp 0x4188c0