Function at 0x1c4ac80
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x244
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x1d17014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
cmp byte [eax + 0xb], 0
js 0x1c4b4ea
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
movzx ecx, byte [esi + 0xb]
test cl, cl
mov edx, dword [esi + 4]
mov eax, ecx
cmovs eax, edx
test eax, eax
je 0x1c4b34d
mov esi, ecx
and esi, 0x7e
test cl, cl
cmovs esi, edx
cmp esi, 2
jb 0x1c4ad20
test cl, cl
js 0x1c4b8a2
test ecx, ecx
mov edi, dword [ebp + 8]
je 0x1c4b8ed
movzx esi, word [edi]
cmp esi, 0x22
je 0x1c4ad14
mov edx, ecx
cmp esi, 0x27
jne 0x1c4ad20
cmp word [edi + edx*2 - 2], 0x27
jne 0x1c4ad20
jmp 0x1c4b8d1
cmp word [edi + ecx*2 - 2], 0x22
je 0x1c4b8d1
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
xor eax, eax
dec eax
mov dword [ebp - 0x24c], eax
test esi, esi
je 0x1c4ad4c
push 0x1d095d6
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x248], eax
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebx*8 + 0x1d09608]
test edi, edi
je 0x1c4b4fb
push edi
call fcn.01cb0da4
add esp, 4
movzx edx, byte [esi + 0xb]
mov dword [ebp - 0x22c], esi
test dl, dl
jns 0x1c4ad91
mov ecx, dword [esi]
mov dword [ebp - 0x22c], ecx
test eax, eax
mov dword [ebp - 0x244], ebx
je 0x1c4ae91
mov dword [ebp - 0x234], edi
test dl, dl
jns 0x1c4adac
mov edx, dword [esi + 4]
cmp edx, eax
jge 0x1c4adc1
mov ebx, dword [ebp - 0x244]
inc ebx
cmp ebx, 7
jne 0x1c4ad63
jmp 0x1c4b080
mov edi, dword [ebp - 0x22c]
lea ecx, [edi + edx*2]
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebp - 0x234]
movzx ecx, word [ecx]
mov word [ebp - 0x238], cx
lea ecx, [edi + edx*2]
add ecx, 0xfffffffe
mov dword [ebp - 0x230], ecx
mov ecx, edi
mov edi, edx
sub edi, eax
inc edi
je 0x1c4adb0
inc edx
xor edi, edi
movzx ebx, word [ebp - 0x238]
cmp word [ecx + edi], bx
je 0x1c4ae0f
add edi, 2
dec edx
cmp eax, edx
jne 0x1c4adf8
jmp 0x1c4adb0
mov edx, ecx
add edx, edi
je 0x1c4adb0
mov dword [ebp - 0x23c], edx
xor edx, edx
mov esi, dword [ebp - 0x23c]
movzx esi, word [esi + edx*2]
mov ebx, dword [ebp - 0x234]
cmp si, word [ebx + edx*2]
jne 0x1c4ae3a
inc edx
cmp eax, edx
jne 0x1c4ae1d
jmp 0x1c4ae57
mov edx, dword [ebp - 0x230]
sub edx, ecx
add ecx, edi
add ecx, 2
sub edx, edi
sar edx, 1
cmp edx, eax
mov esi, dword [ebp + 8]
jge 0x1c4adee
jmp 0x1c4adb0
mov ebx, dword [ebp - 0x23c]
cmp ebx, dword [ebp - 0x240]
mov esi, dword [ebp + 8]
je 0x1c4adb0
sub ebx, dword [ebp - 0x22c]
cmp ebx, 0xfffffffe
je 0x1c4adb0
sar ebx, 1
mov dword [ebp - 0x23c], ebx
mov ebx, dword [ebp - 0x244]
mov edi, dword [ebp - 0x234]
jmp 0x1c4ae9b
mov dword [ebp - 0x23c], 0
push edi
call fcn.01cb0da4
add esp, 4
mov dword [ebp - 0x238], eax
push 0x208
push 0xff
lea edi, [ebp - 0x218]
push edi
call fcn.01c9afc0
add esp, 0xc
mov esi, dword [ebx*8 + 0x1d0960c]
mov ecx, dword [ebp - 0x24c]
call dword [section..00cfg]
xor eax, eax
push eax
push esi
push edi
push eax
call ecx
test eax, eax
jne 0x1c4aeeb
mov word [ebp - 0x218], 0
xor eax, eax
dec eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
call fcn.01cc3870
mov al, byte [ebp - 0x219]
test al, al
mov ecx, dword [ebp - 0x220]
movzx edx, al
mov esi, edx
cmovs esi, ecx
test esi, esi
je 0x1c4affe
test al, al
jns 0x1c4b05e
test ecx, ecx
je 0x1c4b06c
mov edi, dword [ebp - 0x224]
mov ebx, ecx
cmp word [edi + ebx*2 - 2], 0x5c
jne 0x1c4affe
mov dword [ebp - 0x234], ecx
mov edi, dword [ebp + 8]
movzx ebx, byte [edi + 0xb]
test bl, bl
mov ecx, dword [edi + 4]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], ecx
cmovs ebx, ecx
mov edi, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x238]
add ecx, edi
cmp ebx, ecx
jbe 0x1c4afd1
mov ebx, ecx
cmp byte [ebp - 0x22c], 0
mov ecx, dword [ebp - 0x234]
jns 0x1c4b04a
cmp dword [ebp - 0x230], ebx
jb 0x1c4b88e
mov edi, dword [ebp + 8]
mov edi, dword [edi]
cmp word [edi + ebx*2], 0x5c
jne 0x1c4affe
lea edx, [esi - 1]
lea ecx, [ebp - 0x224]
test al, al
jns 0x1c4afc7
mov ecx, dword [ebp - 0x224]
jns 0x1c4afd9
mov dword [ebp - 0x220], edx
jmp 0x1c4afe8
mov ecx, dword [ebp - 0x234]
jmp 0x1c4affe
cmp esi, 6
jae 0x1c4b519
mov byte [ebp - 0x219], dl
mov word [ecx + esi*2 - 2], 0
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0x220]
movzx edx, al
test al, al
cmovs edx, ecx
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x224]
cmovns eax, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
push edx
push eax
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
call fcn.01cd7f20
cmp byte [ebp - 0x219], 0
jns 0x1c4adb0
push dword [ebp - 0x224]
call fcn.01c97151
add esp, 4
jmp 0x1c4adb0
mov edi, dword [ebp + 8]
cmp ebx, dword [ebp - 0x22c]
jbe 0x1c4afad
jmp 0x1c4b88e
lea edi, [ebp - 0x224]
mov ebx, edx
jne 0x1c4af48
push str.string::back__:_string_is_empty
push str._empty__
push 0x4d1
jmp 0x1c4b50a
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 0x23c], eax
je 0x1c4b0a3
push 0x1d09642
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1c4b0a6
xor eax, eax
dec eax
mov cl, byte [esi + 0xb]
test cl, cl
mov edi, dword [esi]
mov edx, dword [esi + 4]
mov ebx, esi
cmovs ebx, edi
mov byte [ebp - 0x234], cl
movzx ecx, cl
mov esi, ecx
mov dword [ebp - 0x238], edx
cmovs esi, edx
cmp esi, 0xc
jl 0x1c4b187
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edi
lea edx, [ebx + esi*2]
lea eax, [ebx + esi*2]
add eax, 0xfffffffe
mov dword [ebp - 0x244], eax
add esi, esi
mov edi, ebx
shr esi, 1
add esi, 0xfffffff5
xor eax, eax
cmp word [edi + eax], 0x24
je 0x1c4b107
add eax, 2
dec esi
jne 0x1c4b0f8
jmp 0x1c4b181
mov esi, edi
add esi, eax
je 0x1c4b181
cmp word [edi + eax + 2], 0x7b
jne 0x1c4b169
cmp word [edi + eax + 4], 0x75
jne 0x1c4b169
cmp word [edi + eax + 6], 0x73
jne 0x1c4b169
cmp word [edi + eax + 8], 0x65
jne 0x1c4b169
cmp word [edi + eax + 0xa], 0x72
jne 0x1c4b169
cmp word [edi + eax + 0xc], 0x5f
jne 0x1c4b169
cmp word [edi + eax + 0xe], 0x6e
jne 0x1c4b169
cmp word [edi + eax + 0x10], 0x61
jne 0x1c4b169
cmp word [edi + eax + 0x12], 0x6d
jne 0x1c4b169
cmp word [edi + eax + 0x14], 0x65
jne 0x1c4b169
cmp word [edi + eax + 0x16], 0x7d
je 0x1c4b52a
mov esi, dword [ebp - 0x244]
sub esi, edi
add edi, eax
add edi, 2
sub esi, eax
cmp esi, 0x18
jge 0x1c4b0f1
mov edi, dword [ebp - 0x22c]
cmp byte [ebp - 0x234], 0
cmovns edi, dword [ebp + 8]
cmovs ecx, dword [ebp - 0x238]
cmp ecx, 0xf
jge 0x1c4b364
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
xor ebx, ebx
dec ebx
mov eax, ebx
test esi, esi
je 0x1c4b1c4
push 0x1d0966c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x238], esi
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test eax, eax
mov edi, dword [ebp + 8]
je 0x1c4b1f2
push 0x1d096a4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x234], esi
mov dl, byte [edi + 0xb]
test dl, dl
mov eax, dword [edi]
mov ebx, dword [edi + 4]
cmovs edi, eax
movzx ecx, dl
mov esi, ecx
cmovs esi, ebx
cmp esi, 0xe
jl 0x1c4b2f4
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x230], eax
lea eax, [edi + esi*2]
mov dword [ebp - 0x248], eax
lea eax, [edi + esi*2]
add eax, 0xfffffffe
mov dword [ebp - 0x24c], eax
add esi, esi
mov ebx, edi
shr esi, 1
add esi, 0xfffffff3
xor eax, eax
cmp word [ebx + eax], 0x24
je 0x1c4b25a
add eax, 2
dec esi
jne 0x1c4b248
jmp 0x1c4b2e8
mov esi, ebx
add esi, eax
je 0x1c4b2e8
cmp word [ebx + eax + 2], 0x7b
jne 0x1c4b2d0
cmp word [ebx + eax + 4], 0x63
jne 0x1c4b2d0
cmp word [ebx + eax + 6], 0x6c
jne 0x1c4b2d0
cmp word [ebx + eax + 8], 0x69
jne 0x1c4b2d0
cmp word [ebx + eax + 0xa], 0x65
jne 0x1c4b2d0
cmp word [ebx + eax + 0xc], 0x6e
jne 0x1c4b2d0
cmp word [ebx + eax + 0xe], 0x74
jne 0x1c4b2d0
cmp word [ebx + eax + 0x10], 0x5f
jne 0x1c4b2d0
cmp word [ebx + eax + 0x12], 0x6e
jne 0x1c4b2d0
cmp word [ebx + eax + 0x14], 0x61
jne 0x1c4b2d0
cmp word [ebx + eax + 0x16], 0x6d
jne 0x1c4b2d0
cmp word [ebx + eax + 0x18], 0x65
jne 0x1c4b2d0
cmp word [ebx + eax + 0x1a], 0x7d
je 0x1c4b586
mov esi, dword [ebp - 0x24c]
sub esi, ebx
add ebx, eax
add ebx, 2
sub esi, eax
cmp esi, 0x1c
jge 0x1c4b241
mov eax, dword [ebp - 0x230]
mov ebx, dword [ebp - 0x240]
test dl, dl
cmovns eax, dword [ebp + 8]
cmovs ecx, ebx
cmp ecx, 0xf
jge 0x1c4b427
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x1c4b317
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x1c4b328
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x23c]
test eax, eax
mov esi, dword [ebp + 8]
je 0x1c4b33c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x1c4b34d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c97fe3
mov eax, esi
add esp, 0x244
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [edi + ecx*2]
mov dword [ebp - 0x238], eax
lea eax, [edi + ecx*2]
add eax, 0xfffffffe
add ecx, ecx
mov ebx, edi
shr ecx, 1
add ecx, 0xfffffff2
xor edx, edx
cmp word [ebx + edx], 0x24
je 0x1c4b390
add edx, 2
dec ecx
jne 0x1c4b37e
jmp 0x1c4b1a2
mov esi, ebx
add esi, edx
je 0x1c4b1a2
cmp word [ebx + edx + 2], 0x7b
jne 0x1c4b40e
cmp word [ebx + edx + 4], 0x6d
jne 0x1c4b40e
cmp word [ebx + edx + 6], 0x61
jne 0x1c4b40e
cmp word [ebx + edx + 8], 0x63
jne 0x1c4b40e
cmp word [ebx + edx + 0xa], 0x68
jne 0x1c4b40e
cmp word [ebx + edx + 0xc], 0x69
jne 0x1c4b40e
cmp word [ebx + edx + 0xe], 0x6e
jne 0x1c4b40e
cmp word [ebx + edx + 0x10], 0x65
jne 0x1c4b40e
cmp word [ebx + edx + 0x12], 0x5f
jne 0x1c4b40e
cmp word [ebx + edx + 0x14], 0x6e
jne 0x1c4b40e
cmp word [ebx + edx + 0x16], 0x61
jne 0x1c4b40e
cmp word [ebx + edx + 0x18], 0x6d
jne 0x1c4b40e
cmp word [ebx + edx + 0x1a], 0x65
jne 0x1c4b40e
cmp word [ebx + edx + 0x1c], 0x7d
je 0x1c4b5f3
mov ecx, eax
sub ecx, ebx
add ebx, edx
add ebx, 2
sub ecx, edx
cmp ecx, 0x1e
jge 0x1c4b377
jmp 0x1c4b1a2
lea edx, [eax + ecx*2]
mov dword [ebp - 0x230], edx
lea edi, [eax + ecx*2]
add edi, 0xfffffffe
add ecx, ecx
mov ebx, eax
shr ecx, 1
add ecx, 0xfffffff2
xor edx, edx
cmp word [ebx + edx], 0x24
je 0x1c4b453
add edx, 2
dec ecx
jne 0x1c4b441
jmp 0x1c4b306
mov esi, ebx
add esi, edx
je 0x1c4b306
cmp word [ebx + edx + 2], 0x7b
jne 0x1c4b4d1
cmp word [ebx + edx + 4], 0x73
jne 0x1c4b4d1
cmp word [ebx + edx + 6], 0x65
jne 0x1c4b4d1
cmp word [ebx + edx + 8], 0x73
jne 0x1c4b4d1
cmp word [ebx + edx + 0xa], 0x73
jne 0x1c4b4d1
cmp word [ebx + edx + 0xc], 0x69
jne 0x1c4b4d1
cmp word [ebx + edx + 0xe], 0x6f
jne 0x1c4b4d1
cmp word [ebx + edx + 0x10], 0x6e
jne 0x1c4b4d1
cmp word [ebx + edx + 0x12], 0x5f
jne 0x1c4b4d1
cmp word [ebx + edx + 0x14], 0x6e
jne 0x1c4b4d1
cmp word [ebx + edx + 0x16], 0x61
jne 0x1c4b4d1
cmp word [ebx + edx + 0x18], 0x6d
jne 0x1c4b4d1
cmp word [ebx + edx + 0x1a], 0x65
jne 0x1c4b4d1
cmp word [ebx + edx + 0x1c], 0x7d
je 0x1c4b6b1
mov ecx, edi
sub ecx, ebx
add ebx, edx
add ebx, 2
sub ecx, edx
cmp ecx, 0x1e
jge 0x1c4b43a
jmp 0x1c4b306
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.01c3d500
jmp 0x1c4acc0
push str.string::find__:_received_nullptr
push str.__s___nullptr
push 0xdbf
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.01cc47f0
push str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
push str.__s_____min_cap
push 0x6d7
jmp 0x1c4b50a
cmp esi, edx
je 0x1c4b181
sub esi, ebx
cmp esi, 0xfffffffe
mov edi, dword [ebp - 0x22c]
je 0x1c4b187
xor ebx, ebx
lea edi, [ebp - 0x224]
mov dword [edi], ebx
mov ecx, dword [ebp - 0x230]
call dword [section..00cfg]
push edi
push ebx
call ecx
mov eax, dword [edi]
test eax, eax
jne 0x1c4b773
mov eax, dword [ebp + 8]
mov dl, byte [eax + 0xb]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x234], dl
movzx ecx, dl
jmp 0x1c4b187
cmp esi, dword [ebp - 0x248]
je 0x1c4b2e8
sub esi, edi
cmp esi, 0xfffffffe
mov eax, dword [ebp - 0x230]
mov ebx, dword [ebp - 0x240]
je 0x1c4b2f4
xor edi, edi
lea eax, [ebp - 0x224]
mov dword [eax], edi
lea ebx, [ebp - 0x228]
mov dword [ebx], edi
mov ecx, dword [ebp - 0x22c]
call dword [section..00cfg]
push ebx
lea eax, [ebp - 0x224]
push eax
push 0xa
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
jne 0x1c4b818
mov eax, dword [ebp + 8]
mov dl, byte [eax + 0xb]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, ecx
movzx ecx, dl
jmp 0x1c4b2f4
cmp esi, dword [ebp - 0x238]
je 0x1c4b1a2
sub esi, edi
cmp esi, 0xfffffffe
je 0x1c4b1a2
xor eax, eax
lea edi, [ebp - 0x224]
mov dword [edi], eax
push edi
push eax
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [edi]
test eax, eax
je 0x1c4b1a2
sar esi, 1
lea ecx, [eax + eax]
xor edx, edx
dec edx
test eax, eax
cmovs ecx, edx
push ecx
call fcn.01c97183
add esp, 4
push edi
push eax
mov edi, eax
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea ebx, [ebp - 0x218]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, ebx
push edi
call fcn.01cc3870
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c4b677
mov eax, dword [ebp - 0x214]
mov ebx, dword [ebp - 0x218]
mov ecx, dword [ebp + 8]
push eax
push ebx
push 0xf
push esi
call fcn.01cd7f20
cmp byte [ebp - 0x20d], 0
jns 0x1c4b69b
push dword [ebp - 0x218]
call fcn.01c97151
add esp, 4
test edi, edi
je 0x1c4b1a2
push edi
call fcn.01c9718c
add esp, 4
jmp 0x1c4b1a2
cmp esi, dword [ebp - 0x230]
je 0x1c4b306
sub esi, eax
cmp esi, 0xfffffffe
je 0x1c4b306
xor edi, edi
lea eax, [ebp - 0x224]
mov dword [eax], edi
lea ebx, [ebp - 0x228]
mov dword [ebx], edi
mov ecx, dword [ebp - 0x22c]
call dword [section..00cfg]
push ebx
lea eax, [ebp - 0x224]
push eax
push 6
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
je 0x1c4b306
sar esi, 1
xor eax, eax
dec eax
lea edi, [ebp - 0x218]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
push dword [ebp - 0x224]
call fcn.01cc3870
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c4b731
mov eax, dword [ebp - 0x214]
mov edi, dword [ebp - 0x218]
mov ecx, dword [ebp + 8]
push eax
push edi
push 0xf
push esi
call fcn.01cd7f20
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x244]
call dword [section..00cfg]
push esi
call ecx
cmp byte [ebp - 0x20d], 0
jns 0x1c4b306
push dword [ebp - 0x218]
call fcn.01c97151
add esp, 4
jmp 0x1c4b306
sar esi, 1
lea ecx, [eax + eax]
xor edx, edx
dec edx
test eax, eax
cmovs ecx, edx
push ecx
call fcn.01c97183
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x230]
call dword [section..00cfg]
push edi
push ebx
call ecx
xor eax, eax
dec eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x218]
push ebx
call fcn.01cc3870
movzx eax, byte [ebp - 0x20d]
test al, al
jns 0x1c4b7d9
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x248], ecx
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 0x248]
push 0xc
push esi
call fcn.01cd7f20
cmp byte [ebp - 0x20d], 0
jns 0x1c4b802
push dword [ebp - 0x218]
call fcn.01c97151
add esp, 4
test ebx, ebx
je 0x1c4b567
push ebx
call fcn.01c9718c
add esp, 4
jmp 0x1c4b567
sar esi, 1
xor eax, eax
dec eax
lea edi, [ebp - 0x218]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
push dword [ebp - 0x224]
call fcn.01cc3870
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c4b84c
mov eax, dword [ebp - 0x214]
mov edi, dword [ebp - 0x218]
mov ecx, dword [ebp + 8]
push eax
push edi
push 0xe
push esi
call fcn.01cd7f20
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x244]
call dword [section..00cfg]
push esi
call ecx
cmp byte [ebp - 0x20d], 0
jns 0x1c4b5de
push dword [ebp - 0x218]
call fcn.01c97151
add esp, 4
jmp 0x1c4b5de
push str.string_index_out_of_bounds
push str.__pos___size__
push 0x464
jmp 0x1c4b50a
test edx, edx
mov esi, dword [ebp + 8]
je 0x1c4b8ed
mov esi, dword [esi]
cmp word [esi], 0x22
jne 0x1c4b901
cmp word [esi + edx*2 - 2], 0x22
je 0x1c4b8d1
test cl, cl
js 0x1c4b901
mov edi, dword [ebp + 8]
mov edx, ecx
cmp si, 0x27
je 0x1c4ad07
jmp 0x1c4ad20
dec eax
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.01cd98e0
mov ecx, esi
push 1
push 0
call fcn.01c75630
jmp 0x1c4ad20
push str.string::front__:_string_is_empty
push str._empty__
push 0x4c7
jmp 0x1c4b50a
mov ecx, dword [ebp + 8]
mov edi, dword [ecx]
cmp word [edi], 0x27
je 0x1c4ad07
jmp 0x1c4ad20