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

Disassembly:
sub esp, 0xfc
push esi
mov esi, eax
mov eax, dword [esi + 0x3c]
cmp dword [eax + 4], 5
push edi
jae 0x5e1872
push 0x20
push eax
mov eax, dword [esi + 0x34]
push eax
call fcn.005dfb90
add esp, 0xc
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov al, byte [esi]
mov byte [edx], al
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
test ecx, ecx
lea edx, [ecx - 1]
mov edi, 1
mov dword [eax], edx
jbe 0x5e189d
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
jmp 0x5e18a9
mov eax, dword [esi + 0x38]
push eax
call fcn.005dfa40
add esp, 4
cmp eax, dword [esp + 0x108]
mov dword [esi], eax
je 0x5e1c9d
push ebx
push ebp
mov ebp, 6
nop
mov eax, dword [esi + 0x3c]
cmp ebp, dword [eax + 4]
jbe 0x5e18d9
mov edx, dword [esi + 0x34]
lea ecx, [edi + 0x20]
push ecx
push eax
push edx
call fcn.005dfb90
add esp, 0xc
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x5e1c2a
cmp eax, 0xa
je 0x5e1bf3
cmp eax, 0x5c
je 0x5e1924
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov dl, byte [esi]
mov byte [edi + ecx], dl
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1941
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
jmp 0x5e194d
mov eax, dword [esi + 0x38]
push eax
call fcn.005dfa40
add esp, 4
lea ecx, [eax + 1]
cmp ecx, 0x77
mov dword [esi], eax
ja case.0x5e1962.0
movzx ecx, byte [ecx + 0x5e1d30]
jmp dword [ecx*4 + 0x5e1d08]
mov edx, dword [esi + 0x3c]
mov eax, dword [edx]
mov byte [edi + eax], 7
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov byte [edi + edx], 8
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov byte [edi + edx], 0xc
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov byte [edi + edx], 0xa
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov byte [edi + edx], 0xd
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov byte [edi + edx], 9
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov byte [edi + edx], 0xb
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov byte [edi + edx], 0xa
inc edi
inc ebp
call fcn.005e1550
jmp 0x5e1c8c
push eax
call fcn.00633759
add esp, 4
test eax, eax
jne 0x5e1b1f
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov dl, byte [esi]
mov byte [edi + ecx], dl
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
inc ebp
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b0c
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
mov dword [esi], eax
jmp 0x5e1c8c
mov eax, dword [esi + 0x38]
push eax
call fcn.005dfa40
add esp, 4
mov dword [esi], eax
jmp 0x5e1c8c
xor eax, eax
xor ebx, ebx
jmp 0x5e1b30
mov eax, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2 - 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1b5a
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
jmp 0x5e1b66
mov eax, dword [esi + 0x38]
push eax
call fcn.005dfa40
add esp, 4
inc ebx
cmp ebx, 3
mov dword [esi], eax
jge 0x5e1b7b
push eax
call fcn.00633759
add esp, 4
test eax, eax
jne 0x5e1b25
cmp dword [esp + 0x18], 0xff
jle 0x5e1be0
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov byte [edi + edx], 0
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 4]
mov ebx, dword [esi + 0x34]
push 0x50
add eax, 0x10
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x24]
inc edi
push ecx
inc ebp
mov dword [esp + 0x1c], edx
call fcn.005de8b0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push str.escape_sequence_too_large
push eax
lea ecx, [esp + 0x34]
push ecx
push str._s:_d:__s_near___s
push ebx
call fcn.005de890
push 3
push ebx
call fcn.005dadd0
add esp, 0x2c
mov edx, dword [esi + 0x3c]
mov eax, dword [edx]
mov cl, byte [esp + 0x18]
mov byte [edi + eax], cl
inc edi
inc ebp
jmp 0x5e1c8c
mov edx, dword [esi + 0x3c]
mov eax, dword [edx]
mov byte [edi + eax], 0
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x34]
push 0x50
add ecx, 0x10
mov dword [esp + 0x14], edx
push ecx
lea edx, [esp + 0x74]
inc edi
push edx
inc ebp
mov dword [esp + 0x20], eax
call fcn.005de8b0
lea edx, [esp + 0x78]
jmp 0x5e1c66
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov byte [edi + ecx], 0
mov edx, dword [str._eof_]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x34]
push 0x50
add ecx, 0x10
mov dword [esp + 0x14], edx
push ecx
lea edx, [esp + 0xc4]
inc edi
push edx
inc ebp
mov dword [esp + 0x20], eax
call fcn.005de8b0
lea edx, [esp + 0xc8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push str.unfinished_string
push ecx
push edx
push str._s:_d:__s_near___s
push ebx
call fcn.005de890
push 3
push ebx
call fcn.005dadd0
add esp, 0x2c
mov eax, dword [esp + 0x110]
cmp dword [esi], eax
jne 0x5e18c0
pop ebp
pop ebx
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov al, byte [esi]
mov byte [edi + edx], al
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
inc edi
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax], edx
jbe 0x5e1cc5
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 4]
movzx eax, byte [edx]
inc edx
mov dword [ecx + 4], edx
jmp 0x5e1cd1
mov eax, dword [esi + 0x38]
push eax
call fcn.005dfa40
add esp, 4
mov ecx, dword [esi + 0x3c]
mov dword [esi], eax
mov edx, dword [ecx]
mov byte [edi + edx], 0
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov edx, dword [esi + 0x34]
add edi, 0xfffffffe
push edi
inc ecx
push ecx
push edx
call fcn.005deae0
mov ecx, dword [esp + 0x118]
add esp, 0xc
pop edi
mov dword [ecx], eax
pop esi
add esp, 0xfc
ret