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

Disassembly:
push 0xffffffffffffffff
push 0x54bfa7
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x59b364]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b364]
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 0x4f12fe
push 0x27
xor ebx, ebx
mov ebp, 0xf
push str.Escape_sequence_terminated_prematurely.
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004029ca
mov esi, dword [esi]
sub esi, dword [edi + 0x44]
lea eax, [esp + 0x20]
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x154], ebx
mov byte [ecx + 4], bl
call fcn.00402938
push esi
push 5
mov ecx, edi
call fcn.004ed080
cmp dword [esp + 0x38], 0x10
jb 0x4f12f7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00511b06
add esp, 4
xor al, al
jmp 0x4f195b
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.0x4f1325.19
movzx eax, byte [eax + 0x4f19b8]
jmp dword [eax*4 + 0x4f1984]
mov al, 7
jmp 0x4f1959
mov al, 0x1b
jmp 0x4f1959
mov al, 0xc
jmp 0x4f1959
mov al, 0xa
jmp 0x4f1959
mov al, 0xd
jmp 0x4f1959
mov al, 9
jmp 0x4f1959
mov al, 0xb
jmp 0x4f1959
mov al, 8
jmp 0x4f1959
lea eax, [ebx + 1]
mov dword [esi], eax
cmp eax, ecx
jne 0x4f13db
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebp, dword [ebp]
mov al, byte [ecx + ebp + 4]
cmp al, 0xc
je 0x4f1393
mov edi, edi
dec dword [esi]
mov edx, dword [esi]
mov eax, dword [edi + 4]
movzx ecx, byte [edx]
mov eax, dword [eax]
cmp byte [ecx + eax + 4], 0xc
jne 0x4f1380
push str.ASCII_escape_sequence_terminated_prematurely.
lea ecx, [esp + 0x40]
call fcn.004020cc
mov eax, dword [esi]
sub eax, dword [edi + 0x44]
lea edx, [esp + 0x3c]
push edx
push eax
push 5
mov ecx, edi
mov dword [esp + 0x134], 1
call fcn.004eed70
lea ecx, [esp + 0x3c]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f195b
movsx eax, byte [eax]
and eax, 0x8000001f
jns 0x4f1959
dec eax
or eax, 0xffffffe0
inc eax
jmp 0x4f1959
lea eax, [ebx + 1]
mov dword [esi], eax
cmp eax, ecx
jne 0x4f146b
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebp, dword [ebp]
mov al, byte [ecx + ebp + 4]
cmp al, 0xc
je 0x4f1423
lea ecx, [ecx]
dec dword [esi]
mov edx, dword [esi]
mov eax, dword [edi + 4]
movzx ecx, byte [edx]
mov eax, dword [eax]
cmp byte [ecx + eax + 4], 0xc
jne 0x4f1410
push str.Hexadecimal_escape_sequence_terminated_prematurely.
lea ecx, [esp + 0x78]
call fcn.004020cc
mov eax, dword [esi]
sub eax, dword [edi + 0x44]
lea edx, [esp + 0x74]
push edx
push eax
push 5
mov ecx, edi
mov dword [esp + 0x134], 2
call fcn.004eed70
lea ecx, [esp + 0x74]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f195b
movzx ebx, byte [eax]
mov edx, dword [ebp]
cmp byte [ebx + edx + 4], 0xf
jne 0x4f159c
inc eax
mov dword [esi], eax
cmp eax, ecx
jne 0x4f14f8
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebp, dword [ebp]
mov al, byte [ecx + ebp + 4]
cmp al, 0xc
je 0x4f14a7
dec dword [esi]
mov edx, dword [esi]
mov eax, dword [edi + 4]
movzx ecx, byte [edx]
mov eax, dword [eax]
cmp byte [ecx + eax + 4], 0xc
jne 0x4f1494
push str.Missing__in_hexadecimal_escape_sequence.
lea ecx, [esp + 0xcc]
call fcn.004020cc
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], 3
call fcn.004eed70
lea ecx, [esp + 0xc8]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f195b
push 0x10
push ecx
push esi
mov ecx, ebp
call fcn.004eb730
mov ecx, dword [esi]
cmp ecx, dword [edi + 0x48]
je 0x4f1526
cmp eax, 0x7f
ja 0x4f1526
mov edx, dword [edi + 4]
movzx ebx, byte [ecx]
mov edx, dword [edx]
cmp byte [ebx + edx + 4], 0x10
jne 0x4f1526
inc ecx
mov dword [esi], ecx
jmp 0x4f195b
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]
cmp cl, 0xc
je 0x4f1554
lea esp, [esp]
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov edx, eax
movzx edx, byte [edx]
cmp byte [edx + ecx + 4], 0xc
jne 0x4f1540
push str.Hexadecimal_escape_sequence_was_invalid.
lea ecx, [esp + 0x5c]
call fcn.004020cc
mov ecx, dword [esi]
sub ecx, dword [edi + 0x44]
lea eax, [esp + 0x58]
push eax
push ecx
push 0xa
mov ecx, edi
mov dword [esp + 0x134], 4
call fcn.004eed70
lea ecx, [esp + 0x58]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f195b
sub ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, 2
mov dword [esp + 0x14], 2
lea ecx, [esp + 0x1c]
jl 0x4f15b7
lea ecx, [esp + 0x14]
mov ecx, dword [ecx]
push 0x10
add eax, ecx
push eax
push esi
mov ecx, ebp
call fcn.004eb730
test eax, eax
jl 0x4f15d5
test eax, 0xffffff00
je 0x4f195b
dec dword [esi]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
movzx edx, byte [eax]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 4]
cmp cl, 0xc
je 0x4f1604
lea ebx, [ebx]
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov edx, eax
movzx edx, byte [edx]
cmp byte [edx + ecx + 4], 0xc
jne 0x4f15f0
push str.Escape_sequence_did_not_encode_a_valid_character.
lea ecx, [esp + 0xb0]
call fcn.004020cc
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], 5
call fcn.004eed70
lea ecx, [esp + 0xac]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f195b
sub ecx, ebx
cmp ecx, 4
mov dword [esp + 0x14], 4
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x14]
jg 0x4f1670
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.004eaec0
add esp, 0x10
test eax, eax
je 0x4f170b
lea eax, [ebx - 1]
mov dword [esi], eax
movzx ecx, byte [eax]
mov ebp, dword [ebp]
mov cl, byte [ecx + ebp + 4]
cmp cl, 0xc
je 0x4f16ba
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov edx, eax
movzx edx, byte [edx]
cmp byte [edx + ecx + 4], 0xc
jne 0x4f16a6
push str.Invalid_octal_escape_sequence.
lea ecx, [esp + 0xe8]
call fcn.004020cc
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], 6
call fcn.004eed70
lea ecx, [esp + 0xe4]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f195b
mov edx, dword [esp + 0x1c]
push 8
add ebx, edx
push ebx
push esi
mov ecx, ebp
call fcn.004eb730
test eax, eax
jge 0x4f195b
dec dword [esi]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
movzx edx, byte [eax]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 4]
cmp cl, 0xc
je 0x4f1754
lea esp, [esp]
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov edx, eax
movzx edx, byte [edx]
cmp byte [edx + ecx + 4], 0xc
jne 0x4f1740
push str.Octal_escape_sequence_is_invalid.
lea ecx, [esp + 0x94]
call fcn.004020cc
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], 7
call fcn.004eed70
lea ecx, [esp + 0x90]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f195b
lea eax, [ebx + 1]
mov dword [esi], eax
cmp eax, ecx
jne 0x4f17e8
dec eax
mov dword [esi], eax
movzx edx, byte [eax]
mov eax, dword [ebp]
cmp byte [edx + eax + 4], 0xc
je 0x4f17d2
mov edi, edi
dec dword [esi]
mov ecx, dword [esi]
movzx edx, byte [ecx]
mov eax, ebp
mov ecx, dword [eax]
cmp byte [edx + ecx + 4], 0xc
jne 0x4f17c0
mov edx, dword [esi]
sub edx, dword [edi + 0x44]
mov ecx, edi
push edx
push 5
call fcn.004eedb0
xor al, al
jmp 0x4f195b
movzx ebx, byte [eax]
mov edx, dword [ebp]
mov dl, byte [ebx + edx + 4]
cmp dl, 0xf
jne 0x4f191c
mov dword [esp + 0x14], eax
nop
movzx ebx, byte [eax]
mov edx, dword [ebp]
cmp byte [ebx + edx + 4], 0x10
je 0x4f1816
inc eax
mov edx, eax
mov dword [esi], eax
cmp edx, ecx
jne 0x4f1800
mov eax, dword [esi]
cmp eax, ecx
jne 0x4f1857
dec eax
mov dword [esi], eax
movzx ecx, byte [eax]
mov edx, dword [ebp]
cmp byte [ecx + edx + 4], 0xc
je 0x4f1843
lea esp, [esp]
dec eax
mov dword [esi], eax
mov ecx, eax
movzx edx, byte [ecx]
mov ecx, ebp
mov ecx, dword [ecx]
cmp byte [edx + ecx + 4], 0xc
jne 0x4f1830
sub eax, dword [edi + 0x44]
mov ecx, edi
push eax
push 5
call fcn.004eedb0
xor al, al
jmp 0x4f195b
mov ecx, dword [esp + 0x14]
push eax
inc ecx
lea edx, [eax + 1]
push ecx
lea eax, [esp + 0x108]
push eax
mov ecx, ebp
mov dword [esi], edx
call fcn.004f0190
mov eax, dword [esp + 0x114]
mov dword [esp + 0x128], 8
test eax, eax
jne 0x4f18dc
dec dword [esi]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
movzx edx, byte [eax]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 4]
cmp cl, 0xc
je 0x4f18b4
lea ecx, [ecx]
dec eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
mov edx, eax
movzx edx, byte [edx]
cmp byte [edx + ecx + 4], 0xc
jne 0x4f18a0
sub eax, dword [edi + 0x44]
mov ecx, edi
push eax
push 3
call fcn.004eedb0
lea ecx, [esp + 0x100]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
xor al, al
jmp 0x4f195b
lea ecx, [esp + 0x100]
cmp eax, 1
jne 0x4f190c
push 0
call fcn.0040545d
mov bl, byte [eax]
lea ecx, [esp + 0x100]
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
mov al, bl
jmp 0x4f195b
mov dword [esp + 0x128], 0xffffffff
call fcn.0040214b
dec dword [esi]
mov eax, dword [esi]
movzx ecx, byte [eax]
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp byte [ecx + edx + 4], 0xc
je 0x4f1944
nop
dec eax
mov dword [esi], eax
mov ecx, eax
movzx edx, byte [ecx]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp byte [edx + ecx + 4], 0xc
jne 0x4f1930
sub eax, dword [edi + 0x44]
mov ecx, edi
push eax
push 5
call fcn.004eedb0
xor al, al
jmp 0x4f195b
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.005139d8
add esp, 0x118
ret