Function at 0x1ccde90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x248
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x1cff040]
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 0x1ccdfc7
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
movsx eax, byte [esi + 0xb]
test eax, eax
mov ecx, dword [esi + 4]
mov edx, eax
cmovs edx, ecx
test edx, edx
je 0x1cce5d2
cmp edx, 1
je 0x1ccdf7c
mov edx, eax
test al, al
jns 0x1ccdef7
mov esi, dword [esi]
cmp word [esi], 0x22
mov esi, dword [ebp + 8]
jne 0x1ccdf16
mov ecx, esi
call fcn.01cc84c0
cmp word [eax], 0x22
je 0x1ccdf3e
mov dl, byte [esi + 0xb]
mov ecx, dword [esi + 4]
movzx eax, dl
test dl, dl
cmovs eax, ecx
test eax, eax
je 0x1cce95f
mov eax, esi
test dl, dl
jns 0x1ccdf2b
mov eax, dword [esi]
cmp word [eax], 0x27
jne 0x1ccdf7c
mov ecx, esi
call fcn.01cc84c0
cmp word [eax], 0x27
jne 0x1ccdf7c
movsx ecx, byte [esi + 0xb]
mov eax, ecx
test ecx, ecx
jns 0x1ccdf4b
mov eax, dword [esi + 4]
test eax, eax
je 0x1cce969
lea ebx, [eax - 1]
mov edx, esi
test cl, cl
jns 0x1ccdf5e
mov edx, dword [esi]
js 0x1cce602
and bl, 0x7f
mov byte [esi + 0xb], bl
mov word [edx + eax*2 - 2], 0
mov ecx, esi
push 1
push 0
call fcn.01c66730
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
xor eax, eax
dec eax
mov dword [ebp - 0x240], eax
test edi, edi
je 0x1ccdfa8
push 0x1cf032a
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x248], eax
lea ebx, [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x254], edi
jmp 0x1cce1fc
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.01c66180
jmp 0x1ccded0
mov dword [ebp - 0x230], 0
push edi
call fcn.01ca0524
add esp, 4
mov dword [ebp - 0x22c], eax
push 0x208
push 0xff
lea edi, [ebp - 0x218]
push edi
call fcn.01c8abb0
add esp, 0xc
mov eax, dword [ebp - 0x24c]
mov esi, dword [eax*8 + 0x1cf0360]
mov ecx, dword [ebp - 0x240]
call dword [0x1cfa1e0]
xor eax, eax
push eax
push esi
push edi
push eax
call ecx
test eax, eax
jne 0x1cce038
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
mov ecx, ebx
lea eax, [ebp - 0x218]
push eax
call fcn.01cc6740
movsx eax, byte [ebp - 0x219]
mov ecx, eax
test eax, eax
mov edx, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
mov edi, eax
cmovs edi, esi
test edi, edi
je 0x1cce159
mov dword [ebp - 0x234], esi
test cl, cl
mov esi, ebx
cmovs esi, edx
mov dword [ebp - 0x244], esi
cmp word [esi + edi*2 - 2], 0x5c
jne 0x1cce153
mov byte [ebp - 0x23c], cl
mov ebx, dword [ebp + 8]
movsx ecx, byte [ebx + 0xb]
mov esi, ecx
mov dword [ebp - 0x238], ecx
test ecx, ecx
jns 0x1cce0ba
mov esi, dword [ebx + 4]
mov ebx, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x22c]
add ecx, ebx
cmp esi, ecx
mov esi, dword [ebp - 0x234]
jbe 0x1cce145
mov dword [ebp - 0x250], ecx
mov ebx, dword [ebp + 8]
cmp byte [ebp - 0x238], 0
jns 0x1cce0e6
mov ebx, dword [ebx]
mov dword [ebp - 0x238], ebx
mov ebx, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x238]
cmp word [ecx + ebx*2], 0x5c
lea ebx, [ebp - 0x224]
jne 0x1cce14b
lea eax, [edi - 1]
cmp byte [ebp - 0x23c], 0
js 0x1cce11b
and al, 0x7f
mov byte [ebp - 0x219], al
jmp 0x1cce121
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x244]
mov word [eax + edi*2 - 2], 0
mov cl, byte [ebp - 0x219]
mov edx, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
movzx eax, cl
jmp 0x1cce159
lea ebx, [ebp - 0x224]
mov cl, byte [ebp - 0x23c]
jmp 0x1cce159
mov esi, dword [ebp - 0x234]
test cl, cl
cmovs eax, esi
cmovns edx, ebx
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
push edx
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
call fcn.01cc9330
cmp byte [ebp - 0x219], 0
jns 0x1cce1e6
push dword [ebp - 0x224]
call fcn.01c86cb6
add esp, 4
jmp 0x1cce1e6
mov edx, edi
add edx, ebx
je 0x1cce1e6
mov word [ebp - 0x238], cx
mov dword [ebp - 0x230], edx
xor edx, edx
mov ecx, dword [ebp - 0x230]
movzx esi, word [ecx + edx*2]
mov ecx, dword [ebp - 0x22c]
cmp si, word [ecx + edx*2]
jne 0x1cce292
inc edx
cmp eax, edx
jne 0x1cce1a7
mov ecx, dword [ebp - 0x230]
cmp ecx, dword [ebp - 0x23c]
mov esi, dword [ebp + 8]
je 0x1cce1e6
sub ecx, dword [ebp - 0x234]
cmp ecx, 0xfffffffe
jne 0x1cce5e9
mov eax, dword [ebp - 0x24c]
inc eax
cmp eax, 7
lea ebx, [ebp - 0x224]
je 0x1cce2bb
mov edi, dword [eax*8 + 0x1cf035c]
test edi, edi
je 0x1cce60a
mov dword [ebp - 0x24c], eax
push edi
call fcn.01ca0524
add esp, 4
movsx edx, byte [esi + 0xb]
mov dword [ebp - 0x234], esi
test edx, edx
jns 0x1cce230
mov ecx, dword [esi]
mov dword [ebp - 0x234], ecx
test eax, eax
je 0x1ccdfd8
mov dword [ebp - 0x22c], edi
test dl, dl
jns 0x1cce245
mov edx, dword [esi + 4]
cmp edx, eax
jl 0x1cce1e6
mov edi, dword [ebp - 0x234]
lea ecx, [edi + edx*2]
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp - 0x22c]
movzx ecx, word [ecx]
lea ebx, [edi + edx*2]
add ebx, 0xfffffffe
mov dword [ebp - 0x244], ebx
mov ebx, edx
sub ebx, eax
inc ebx
je 0x1cce1e6
inc edx
xor ebx, ebx
cmp word [edi + ebx], cx
je 0x1cce192
add ebx, 2
dec edx
cmp eax, edx
jne 0x1cce27b
jmp 0x1cce1e6
mov edx, dword [ebp - 0x244]
sub edx, edi
add edi, ebx
add edi, 2
sub edx, ebx
sar edx, 1
cmp edx, eax
mov esi, dword [ebp + 8]
movzx ecx, word [ebp - 0x238]
jge 0x1cce26d
jmp 0x1cce1e6
xor eax, eax
dec eax
jmp 0x1cce2dc
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 0x24c], eax
je 0x1cce2b6
push 0x1cf0396
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
movsx ecx, byte [esi + 0xb]
test ecx, ecx
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov ebx, esi
mov dword [ebp - 0x22c], edx
cmovs ebx, edx
mov esi, ecx
cmovs esi, edi
mov edx, ecx
cmp esi, 0xc
jl 0x1cce3d4
mov byte [ebp - 0x234], dl
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x238], eax
lea eax, [ebx + esi*2]
mov dword [ebp - 0x23c], eax
lea eax, [ebx + esi*2]
add eax, 0xfffffffe
mov dword [ebp - 0x244], eax
mov edi, ebx
mov eax, dword [ebp - 0x22c]
add esi, 0xfffffff5
xor edx, edx
cmp word [edi + edx], 0x24
je 0x1cce354
add edx, 2
dec esi
jne 0x1cce336
mov edi, dword [ebp - 0x230]
mov dl, byte [ebp - 0x234]
jmp 0x1cce3da
mov esi, edi
add esi, edx
je 0x1cce343
cmp word [edi + edx + 2], 0x7b
jne 0x1cce37e
cmp word [edi + edx + 4], 0x75
jne 0x1cce37e
cmp word [edi + edx + 6], 0x73
jne 0x1cce37e
cmp word [edi + edx + 8], 0x65
je 0x1cce619
mov esi, dword [ebp - 0x244]
sub esi, edi
add edi, edx
add edi, 2
sub esi, edx
sar esi, 1
cmp esi, 0xc
jge 0x1cce331
jmp 0x1cce343
mov esi, ebx
add esi, edx
je 0x1cce40b
cmp word [ebx + edx + 2], 0x7b
jne 0x1cce3c0
cmp word [ebx + edx + 4], 0x6d
jne 0x1cce3c0
cmp word [ebx + edx + 6], 0x61
jne 0x1cce3c0
cmp word [ebx + edx + 8], 0x63
je 0x1cce81b
mov ecx, edi
sub ecx, ebx
add ebx, edx
add ebx, 2
sub ecx, edx
sar ecx, 1
cmp ecx, 0xf
jge 0x1cce3f9
jmp 0x1cce40b
mov eax, dword [ebp - 0x22c]
test dl, dl
cmovns eax, dword [ebp + 8]
cmovs ecx, edi
cmp ecx, 0xf
jl 0x1cce40b
lea edx, [eax + ecx*2]
mov dword [ebp - 0x22c], edx
lea edi, [eax + ecx*2]
add edi, 0xfffffffe
mov ebx, eax
add ecx, 0xfffffff2
xor edx, edx
cmp word [ebx + edx], 0x24
je 0x1cce396
add edx, 2
dec ecx
jne 0x1cce3fe
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
xor edi, edi
dec edi
mov eax, edi
test esi, esi
je 0x1cce42d
push 0x1cf03c0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x234], esi
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test eax, eax
mov ebx, dword [ebp + 8]
je 0x1cce45b
push 0x1cf03f8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x244], esi
movsx ecx, byte [ebx + 0xb]
test ecx, ecx
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x22c], eax
cmovs ebx, eax
mov esi, ecx
cmovs esi, edx
mov byte [ebp - 0x230], cl
cmp esi, 0xe
jl 0x1cce54f
mov dword [ebp - 0x240], edx
lea eax, [ebx + esi*2]
mov dword [ebp - 0x250], eax
lea eax, [ebx + esi*2]
add eax, 0xfffffffe
mov dword [ebp - 0x248], eax
mov edi, ebx
mov eax, dword [ebp - 0x22c]
add esi, 0xfffffff3
xor edx, edx
cmp word [edi + edx], 0x24
je 0x1cce4cf
add edx, 2
dec esi
jne 0x1cce4b7
mov edx, dword [ebp - 0x240]
jmp 0x1cce555
mov esi, edi
add esi, edx
je 0x1cce4c4
cmp word [edi + edx + 2], 0x7b
jne 0x1cce4f9
cmp word [edi + edx + 4], 0x63
jne 0x1cce4f9
cmp word [edi + edx + 6], 0x6c
jne 0x1cce4f9
cmp word [edi + edx + 8], 0x69
je 0x1cce672
mov esi, dword [ebp - 0x248]
sub esi, edi
add edi, edx
add edi, 2
sub esi, edx
sar esi, 1
cmp esi, 0xe
jge 0x1cce4b2
jmp 0x1cce4c4
mov esi, ebx
add esi, edx
je 0x1cce58b
cmp word [ebx + edx + 2], 0x7b
jne 0x1cce53b
cmp word [ebx + edx + 4], 0x73
jne 0x1cce53b
cmp word [ebx + edx + 6], 0x65
jne 0x1cce53b
cmp word [ebx + edx + 8], 0x73
je 0x1cce6e3
mov ecx, edi
sub ecx, ebx
add ebx, edx
add ebx, 2
sub ecx, edx
sar ecx, 1
cmp ecx, 0xf
jge 0x1cce579
jmp 0x1cce58b
mov eax, dword [ebp - 0x22c]
cmp byte [ebp - 0x230], 0
cmovns eax, dword [ebp + 8]
cmovs ecx, edx
cmp ecx, 0xf
jl 0x1cce58b
lea edx, [eax + ecx*2]
mov dword [ebp - 0x22c], edx
lea edi, [eax + ecx*2]
add edi, 0xfffffffe
mov ebx, eax
add ecx, 0xfffffff2
xor edx, edx
cmp word [ebx + edx], 0x24
je 0x1cce511
add edx, 2
dec ecx
jne 0x1cce57e
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x1cce59c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x234]
test eax, eax
mov edi, dword [ebp - 0x254]
je 0x1cce5b3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24c]
test eax, eax
mov esi, dword [ebp + 8]
je 0x1cce5c7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x1cce5d2
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c87bd3
mov eax, esi
add esp, 0x248
pop esi
pop edi
pop ebx
pop ebp
ret
sar ecx, 1
mov dword [ebp - 0x230], ecx
lea ebx, [ebp - 0x224]
mov edi, dword [ebp - 0x22c]
jmp 0x1ccdfe2
mov dword [esi + 4], ebx
jmp 0x1ccdf6a
push str....._third_partylibc_srcinclude_string:3380:_assertion___s___nullptr_failed:_string::find__:_received_nullptr_n
push 0x1ce99e6
call fcn.01cb3fe0
cmp word [edi + edx + 0xa], 0x72
jne 0x1cce37e
cmp word [edi + edx + 0xc], 0x5f
jne 0x1cce37e
cmp word [edi + edx + 0xe], 0x6e
jne 0x1cce37e
cmp word [edi + edx + 0x10], 0x61
jne 0x1cce37e
cmp word [edi + edx + 0x12], 0x6d
jne 0x1cce37e
cmp word [edi + edx + 0x14], 0x65
jne 0x1cce37e
cmp word [edi + edx + 0x16], 0x7d
jne 0x1cce37e
jmp 0x1cce97e
cmp word [edi + edx + 0xa], 0x65
jne 0x1cce4f9
cmp word [edi + edx + 0xc], 0x6e
jne 0x1cce4f9
cmp word [edi + edx + 0xe], 0x74
jne 0x1cce4f9
cmp word [edi + edx + 0x10], 0x5f
jne 0x1cce4f9
cmp word [edi + edx + 0x12], 0x6e
jne 0x1cce4f9
cmp word [edi + edx + 0x14], 0x61
jne 0x1cce4f9
cmp word [edi + edx + 0x16], 0x6d
jne 0x1cce4f9
cmp word [edi + edx + 0x18], 0x65
jne 0x1cce4f9
cmp word [edi + edx + 0x1a], 0x7d
jne 0x1cce4f9
jmp 0x1ccea91
cmp word [ebx + edx + 0xa], 0x73
jne 0x1cce53b
cmp word [ebx + edx + 0xc], 0x69
jne 0x1cce53b
cmp word [ebx + edx + 0xe], 0x6f
jne 0x1cce53b
cmp word [ebx + edx + 0x10], 0x6e
jne 0x1cce53b
cmp word [ebx + edx + 0x12], 0x5f
jne 0x1cce53b
cmp word [ebx + edx + 0x14], 0x6e
jne 0x1cce53b
cmp word [ebx + edx + 0x16], 0x61
jne 0x1cce53b
cmp word [ebx + edx + 0x18], 0x6d
jne 0x1cce53b
cmp word [ebx + edx + 0x1a], 0x65
jne 0x1cce53b
cmp word [ebx + edx + 0x1c], 0x7d
jne 0x1cce53b
cmp esi, dword [ebp - 0x22c]
je 0x1cce58b
sub esi, eax
cmp esi, 0xfffffffe
je 0x1cce58b
xor edi, edi
mov dword [ebp - 0x224], edi
lea ebx, [ebp - 0x228]
mov dword [ebx], edi
mov ecx, dword [ebp - 0x23c]
call dword [0x1cfa1e0]
push ebx
lea eax, [ebp - 0x224]
push eax
push 6
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
je 0x1cce58b
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.01cc6740
movsx eax, byte [edi + 0xb]
test eax, eax
jns 0x1cce7d9
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.01cc9330
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x238]
call dword [0x1cfa1e0]
push esi
call ecx
cmp byte [ebp - 0x20d], 0
jns 0x1cce58b
push dword [ebp - 0x218]
call fcn.01c86cb6
add esp, 4
jmp 0x1cce58b
cmp word [ebx + edx + 0xa], 0x68
jne 0x1cce3c0
cmp word [ebx + edx + 0xc], 0x69
jne 0x1cce3c0
cmp word [ebx + edx + 0xe], 0x6e
jne 0x1cce3c0
cmp word [ebx + edx + 0x10], 0x65
jne 0x1cce3c0
cmp word [ebx + edx + 0x12], 0x5f
jne 0x1cce3c0
cmp word [ebx + edx + 0x14], 0x6e
jne 0x1cce3c0
cmp word [ebx + edx + 0x16], 0x61
jne 0x1cce3c0
cmp word [ebx + edx + 0x18], 0x6d
jne 0x1cce3c0
cmp word [ebx + edx + 0x1a], 0x65
jne 0x1cce3c0
cmp word [ebx + edx + 0x1c], 0x7d
jne 0x1cce3c0
cmp esi, dword [ebp - 0x22c]
je 0x1cce40b
sub esi, eax
cmp esi, 0xfffffffe
je 0x1cce40b
xor eax, eax
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x224]
push ecx
push eax
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1cce40b
sar esi, 1
lea ecx, [eax + eax]
xor edx, edx
dec edx
test eax, eax
cmovs ecx, edx
push ecx
call fcn.01c86ce3
add esp, 4
mov edi, eax
lea eax, [ebp - 0x224]
push eax
push edi
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.01cc6740
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x1cce925
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.01cc9330
cmp byte [ebp - 0x20d], 0
jns 0x1cce949
push dword [ebp - 0x218]
call fcn.01c86cb6
add esp, 4
test edi, edi
je 0x1cce40b
push edi
call fcn.01c86cec
add esp, 4
jmp 0x1cce40b
push str....._third_partylibc_srcinclude_string:1349:_assertion__empty___failed:_string::front__:_string_is_empty_n
jmp 0x1cce60f
push str....._third_partylibc_srcinclude_string:3179:_assertion__empty___failed:_string::pop_back__:_string_is_already_empty_n
jmp 0x1cce60f
mov eax, dword [ebp - 0x22c]
jmp 0x1cce343
cmp esi, dword [ebp - 0x23c]
je 0x1cce973
sub esi, ebx
cmp esi, 0xfffffffe
mov eax, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x230]
mov dl, byte [ebp - 0x234]
je 0x1cce3da
xor edi, edi
mov dword [ebp - 0x224], edi
mov ecx, dword [ebp - 0x238]
call dword [0x1cfa1e0]
lea eax, [ebp - 0x224]
push eax
push edi
call ecx
mov eax, dword [ebp - 0x224]
test eax, eax
jne 0x1cce9de
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0xb]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
movzx ecx, dl
jmp 0x1cce3da
sar esi, 1
lea ecx, [eax + eax]
xor edi, edi
dec edi
test eax, eax
cmovs ecx, edi
push ecx
call fcn.01c86ce3
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x238]
call dword [0x1cfa1e0]
lea eax, [ebp - 0x224]
push eax
push ebx
call ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
lea ecx, [ebp - 0x218]
push ebx
call fcn.01cc6740
movsx eax, byte [ebp - 0x20d]
test eax, eax
jns 0x1ccea47
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.01cc9330
cmp byte [ebp - 0x20d], 0
jns 0x1ccea70
push dword [ebp - 0x218]
call fcn.01c86cb6
add esp, 4
test ebx, ebx
je 0x1cce9cb
push ebx
call fcn.01c86cec
add esp, 4
jmp 0x1cce9cb
mov edx, dword [ebp - 0x240]
jmp 0x1cce54f
cmp esi, dword [ebp - 0x250]
je 0x1ccea86
sub esi, ebx
cmp esi, 0xfffffffe
mov edx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x22c]
je 0x1cce555
xor edi, edi
mov dword [ebp - 0x224], edi
lea ebx, [ebp - 0x228]
mov dword [ebx], edi
mov ecx, dword [ebp - 0x23c]
call dword [0x1cfa1e0]
push ebx
lea eax, [ebp - 0x224]
push eax
push 0xa
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
jne 0x1cceafa
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0xb]
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
mov byte [ebp - 0x230], al
movzx ecx, al
mov eax, esi
jmp 0x1cce555
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.01cc6740
movsx eax, byte [edi + 0xb]
test eax, eax
jns 0x1cceb2e
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.01cc9330
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x238]
call dword [0x1cfa1e0]
push esi
call ecx
cmp byte [ebp - 0x20d], 0
jns 0x1cceadf
push dword [ebp - 0x218]
call fcn.01c86cb6
add esp, 4
jmp 0x1cceadf