Function at 0x1c45e50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x244
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x1cf3040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
cmp byte [eax + 0xb], 0
js 0x1c45f4e
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [edi], xmm0
movzx ecx, byte [edi + 0xb]
test cl, cl
mov esi, dword [edi + 4]
mov eax, ecx
cmovs eax, esi
test eax, eax
je 0x1c46531
cmp eax, 1
je 0x1c45f14
test cl, cl
mov edx, dword [ebp + 8]
mov edi, dword [edx]
cmovs edx, edi
movzx ebx, word [edx]
cmp ebx, 0x27
je 0x1c45edc
cmp ebx, 0x22
jne 0x1c45f14
test cl, cl
jns 0x1c46d13
test esi, esi
je 0x1c46d20
cmp word [edi + esi*2 - 2], 0x22
je 0x1c45ef4
jmp 0x1c45f14
test cl, cl
jns 0x1c46d23
test esi, esi
je 0x1c46d30
cmp word [edi + esi*2 - 2], 0x27
jne 0x1c45f14
lea ebx, [eax - 1]
test cl, cl
js 0x1c45f5f
and bl, 0x7f
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xb], bl
mov word [edx + eax*2 - 2], 0
push 1
push 0
call fcn.01c7af50
push str.shell32.dll
call dword [sym.imp.progwrp.dll_LoadLibraryW]
xor ecx, ecx
dec ecx
mov dword [ebp - 0x234], ecx
test eax, eax
mov dword [ebp - 0x250], eax
je 0x1c45f44
push 0x1ce8eb9
push eax
call dword [sym.imp.progwrp.dll_GetProcAddress]
mov dword [ebp - 0x234], eax
xor esi, esi
mov edi, dword [ebp + 8]
jmp 0x1c46186
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.01c24b90
jmp 0x1c45e90
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], ebx
jmp 0x1c45f04
mov dword [ebp - 0x244], 0
push dword [ebp - 0x230]
call fcn.01c96aca
add esp, 4
mov dword [ebp - 0x22c], eax
push 0x208
push 0xff
lea edi, [ebp - 0x218]
push edi
call fcn.01c99a20
add esp, 0xc
mov esi, dword [esi*8 + 0x1ce16ac]
mov ecx, dword [ebp - 0x234]
call dword [0x1cef298]
xor eax, eax
push eax
push esi
push edi
push eax
call ecx
test eax, eax
jne 0x1c45fc6
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
push edi
call fcn.01c96aca
add esp, 4
cmp eax, 0x7ffffff8
jae 0x1c46d33
mov ebx, eax
cmp eax, 5
jae 0x1c46008
mov byte [ebp - 0x219], bl
lea edi, [ebp - 0x224]
test ebx, ebx
jne 0x1c4603a
jmp 0x1c4604f
mov esi, ebx
or esi, 3
inc esi
js 0x1c46d36
lea eax, [esi + esi]
push eax
call fcn.01c9515a
add esp, 4
mov edi, eax
mov dword [ebp - 0x224], eax
or esi, 0x80000000
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], ebx
mov eax, ebx
add eax, ebx
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.01c994a0
add esp, 0xc
mov word [edi + ebx*2], 0
mov cl, byte [ebp - 0x219]
test cl, cl
mov eax, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
movzx edx, cl
mov ebx, edx
cmovs ebx, esi
test ebx, ebx
je 0x1c46139
test cl, cl
lea edi, [ebp - 0x224]
cmovs edi, eax
cmp word [edi + ebx*2 - 2], 0x5c
jne 0x1c46139
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x238], esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 0xb]
mov esi, eax
mov dword [ebp - 0x248], eax
test al, al
jns 0x1c460bb
mov esi, dword [ebp + 8]
mov esi, dword [esi + 4]
mov eax, esi
mov esi, dword [ebp - 0x244]
mov edi, dword [ebp - 0x22c]
add edi, esi
cmp eax, edi
jbe 0x1c4612d
mov esi, dword [ebp + 8]
cmp byte [ebp - 0x248], 0
jns 0x1c460dd
mov esi, dword [esi]
cmp word [esi + edi*2], 0x5c
mov esi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x230]
jne 0x1c46125
lea eax, [ebx - 1]
test cl, cl
js 0x1c4611d
and al, 0x7f
mov byte [ebp - 0x219], al
mov word [esi + ebx*2 - 2], 0
mov cl, byte [ebp - 0x219]
mov eax, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
movzx edx, cl
jmp 0x1c46139
mov dword [ebp - 0x220], eax
jmp 0x1c460ff
mov esi, dword [ebp - 0x238]
jmp 0x1c46139
mov esi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x230]
test cl, cl
cmovs edx, esi
lea ecx, [ebp - 0x224]
cmovns eax, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
push edx
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x244]
call fcn.01c678c0
cmp byte [ebp - 0x219], 0
jns 0x1c46176
push dword [ebp - 0x224]
call fcn.01c95155
add esp, 4
mov esi, dword [ebp - 0x23c]
inc esi
cmp esi, 7
je 0x1c46338
mov eax, dword [esi*8 + 0x1ce16a8]
mov dword [ebp - 0x230], eax
push eax
call fcn.01c96aca
add esp, 4
movzx edx, byte [edi + 0xb]
mov ecx, edi
test dl, dl
jns 0x1c461a8
mov ecx, dword [edi]
test eax, eax
mov dword [ebp - 0x23c], esi
je 0x1c45f67
mov dword [ebp - 0x238], ecx
test dl, dl
jns 0x1c461c3
mov edx, dword [edi + 4]
cmp edx, eax
jl 0x1c46176
mov esi, dword [ebp - 0x238]
lea ecx, [esi + edx*2]
mov dword [ebp - 0x248], ecx
mov ecx, dword [ebp - 0x230]
movzx ecx, word [ecx]
mov word [ebp - 0x22c], cx
lea ecx, [esi + edx*2]
add ecx, 0xfffffffe
mov dword [ebp - 0x240], ecx
mov ecx, esi
mov esi, edx
sub esi, eax
inc esi
je 0x1c46176
inc edx
xor esi, esi
movzx ebx, word [ebp - 0x22c]
cmp word [ecx + esi], bx
je 0x1c4621c
add esi, 2
dec edx
cmp eax, edx
jne 0x1c46202
jmp 0x1c46176
mov edx, ecx
add edx, esi
je 0x1c46176
mov dword [ebp - 0x244], edx
xor edx, edx
mov edi, dword [ebp - 0x244]
movzx edi, word [edi + edx*2]
mov ebx, dword [ebp - 0x230]
cmp di, word [ebx + edx*2]
jne 0x1c46280
inc edx
cmp eax, edx
jne 0x1c4622e
mov ebx, dword [ebp - 0x244]
cmp ebx, dword [ebp - 0x248]
mov edi, dword [ebp + 8]
je 0x1c46176
sub ebx, dword [ebp - 0x238]
cmp ebx, 0xfffffffe
je 0x1c46176
sar ebx, 1
mov dword [ebp - 0x244], ebx
mov esi, dword [ebp - 0x23c]
jmp 0x1c45f71
mov edx, dword [ebp - 0x240]
sub edx, ecx
add ecx, esi
add ecx, 2
sub edx, esi
sar edx, 1
cmp edx, eax
mov edi, dword [ebp + 8]
jge 0x1c461f4
jmp 0x1c46176
mov edi, ebx
add edi, edx
je 0x1c463fa
cmp word [ebx + edx + 2], 0x7b
jne 0x1c462cf
cmp word [ebx + edx + 4], 0x6d
jne 0x1c462cf
cmp word [ebx + edx + 6], 0x61
jne 0x1c462cf
cmp word [ebx + edx + 8], 0x63
je 0x1c4677c
mov ecx, esi
sub ecx, ebx
add ebx, edx
add ebx, 2
sub ecx, edx
sar ecx, 1
cmp ecx, 0xf
jge 0x1c463e4
jmp 0x1c463fa
mov esi, edi
add esi, eax
je 0x1c463b4
cmp word [edi + eax + 2], 0x7b
jne 0x1c46318
cmp word [edi + eax + 4], 0x75
jne 0x1c46318
cmp word [edi + eax + 6], 0x73
jne 0x1c46318
cmp word [edi + eax + 8], 0x65
je 0x1c46b2a
mov esi, dword [ebp - 0x234]
sub esi, edi
add edi, eax
add edi, 2
sub esi, eax
sar esi, 1
cmp esi, 0xc
jge 0x1c4639e
jmp 0x1c463b4
xor eax, eax
dec eax
jmp 0x1c46359
push str.advapi32.dll
call dword [sym.imp.progwrp.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 0x244], eax
je 0x1c46333
push 0x1ce8ed3
push eax
call dword [sym.imp.progwrp.dll_GetProcAddress]
mov dword [ebp - 0x23c], eax
mov cl, byte [edi + 0xb]
test cl, cl
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ebx, edi
cmovs ebx, eax
mov byte [ebp - 0x230], cl
movzx ecx, cl
mov esi, ecx
mov dword [ebp - 0x22c], edx
cmovs esi, edx
cmp esi, 0xc
jl 0x1c463bd
mov dword [ebp - 0x238], eax
lea edx, [ebx + esi*2]
lea eax, [ebx + esi*2]
add eax, 0xfffffffe
mov dword [ebp - 0x234], eax
mov edi, ebx
add esi, 0xfffffff5
xor eax, eax
cmp word [edi + eax], 0x24
je 0x1c462ea
add eax, 2
dec esi
jne 0x1c463a3
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x238]
cmp byte [ebp - 0x230], 0
cmovns eax, edi
cmovs ecx, dword [ebp - 0x22c]
cmp ecx, 0xf
jl 0x1c463fa
lea edx, [eax + ecx*2]
mov dword [ebp - 0x22c], edx
lea esi, [eax + ecx*2]
add esi, 0xfffffffe
mov ebx, eax
add ecx, 0xfffffff2
xor edx, edx
cmp word [ebx + edx], 0x24
je 0x1c462a1
add edx, 2
dec ecx
jne 0x1c463e9
push str.wtsapi32.dll
call dword [sym.imp.progwrp.dll_LoadLibraryW]
mov esi, eax
xor ebx, ebx
dec ebx
mov eax, ebx
test esi, esi
je 0x1c4641c
push 0x1ce8e9b
push esi
call dword [sym.imp.progwrp.dll_GetProcAddress]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x22c], esi
push str.wtsapi32.dll
call dword [sym.imp.progwrp.dll_LoadLibraryW]
mov esi, eax
test eax, eax
mov edi, dword [ebp + 8]
je 0x1c4644a
push 0x1ce6086
push esi
call dword [sym.imp.progwrp.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], 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 0x1c464b5
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x234], eax
lea eax, [edi + esi*2]
mov dword [ebp - 0x24c], eax
lea eax, [edi + esi*2]
add eax, 0xfffffffe
mov dword [ebp - 0x248], eax
mov ebx, edi
add esi, 0xfffffff3
xor eax, eax
cmp word [ebx + eax], 0x24
je 0x1c46548
add eax, 2
dec esi
jne 0x1c46498
mov eax, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x240]
test dl, dl
cmovns eax, dword [ebp + 8]
cmovs ecx, ebx
cmp ecx, 0xf
jl 0x1c464ea
lea edx, [eax + ecx*2]
mov dword [ebp - 0x234], edx
lea edi, [eax + ecx*2]
add edi, 0xfffffffe
mov ebx, eax
add ecx, 0xfffffff2
xor edx, edx
cmp word [ebx + edx], 0x24
je 0x1c46595
add edx, 2
dec ecx
jne 0x1c464d9
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x1c464fb
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x1c4650c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x244]
test eax, eax
mov edi, dword [ebp + 8]
je 0x1c46520
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x1c46531
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, edi
add esp, 0x244
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ebx
add esi, eax
je 0x1c464a9
cmp word [ebx + eax + 2], 0x7b
jne 0x1c46576
cmp word [ebx + eax + 4], 0x63
jne 0x1c46576
cmp word [ebx + eax + 6], 0x6c
jne 0x1c46576
cmp word [ebx + eax + 8], 0x69
je 0x1c46954
mov esi, dword [ebp - 0x248]
sub esi, ebx
add ebx, eax
add ebx, 2
sub esi, eax
sar esi, 1
cmp esi, 0xe
jge 0x1c46493
jmp 0x1c464a9
mov esi, ebx
add esi, edx
je 0x1c464ea
cmp word [ebx + edx + 2], 0x7b
jne 0x1c465bf
cmp word [ebx + edx + 4], 0x73
jne 0x1c465bf
cmp word [ebx + edx + 6], 0x65
jne 0x1c465bf
cmp word [ebx + edx + 8], 0x73
je 0x1c465da
mov ecx, edi
sub ecx, ebx
add ebx, edx
add ebx, 2
sub ecx, edx
sar ecx, 1
cmp ecx, 0xf
jge 0x1c464d4
jmp 0x1c464ea
cmp word [ebx + edx + 0xa], 0x73
jne 0x1c465bf
cmp word [ebx + edx + 0xc], 0x69
jne 0x1c465bf
cmp word [ebx + edx + 0xe], 0x6f
jne 0x1c465bf
cmp word [ebx + edx + 0x10], 0x6e
jne 0x1c465bf
cmp word [ebx + edx + 0x12], 0x5f
jne 0x1c465bf
cmp word [ebx + edx + 0x14], 0x6e
jne 0x1c465bf
cmp word [ebx + edx + 0x16], 0x61
jne 0x1c465bf
cmp word [ebx + edx + 0x18], 0x6d
jne 0x1c465bf
cmp word [ebx + edx + 0x1a], 0x65
jne 0x1c465bf
cmp word [ebx + edx + 0x1c], 0x7d
jne 0x1c465bf
cmp esi, dword [ebp - 0x234]
je 0x1c464ea
sub esi, eax
cmp esi, 0xfffffffe
je 0x1c464ea
xor edi, edi
lea eax, [ebp - 0x224]
mov dword [eax], edi
lea ebx, [ebp - 0x228]
mov dword [ebx], edi
mov ecx, dword [ebp - 0x23c]
call dword [0x1cef298]
push ebx
lea eax, [ebp - 0x224]
push eax
push 6
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
je 0x1c464ea
xor eax, eax
dec eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x234], eax
push eax
call fcn.01c96aca
add esp, 4
cmp eax, 0x7ffffff8
jae 0x1c46d45
mov edi, eax
cmp edi, 5
jae 0x1c466c9
lea ecx, [ebp - 0x218]
mov eax, edi
mov dword [ebp - 0x23c], ecx
mov byte [ecx + 0xb], al
test edi, edi
jne 0x1c46701
jmp 0x1c4671a
mov ebx, edi
or ebx, 3
inc ebx
js 0x1c46d4e
lea eax, [ebx + ebx]
push eax
call fcn.01c9515a
add esp, 4
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x218], eax
or ebx, 0x80000000
mov dword [ebp - 0x210], ebx
mov eax, edi
mov dword [ebp - 0x214], edi
mov eax, edi
add eax, edi
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x23c]
call fcn.01c994a0
add esp, 0xc
sar esi, 1
mov eax, dword [ebp - 0x23c]
mov word [eax + edi*2], 0
lea edi, [ebp - 0x218]
movzx eax, byte [edi + 0xb]
test al, al
cmovs eax, dword [edi + 4]
mov edx, dword [edi]
cmovns edx, edi
mov ecx, dword [ebp + 8]
push eax
push edx
push 0xf
push esi
call fcn.01c678c0
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x238]
call dword [0x1cef298]
push esi
call ecx
cmp byte [edi + 0xb], 0
jns 0x1c464ea
push dword [ebp - 0x218]
call fcn.01c95155
add esp, 4
jmp 0x1c464ea
cmp word [ebx + edx + 0xa], 0x68
jne 0x1c462cf
cmp word [ebx + edx + 0xc], 0x69
jne 0x1c462cf
cmp word [ebx + edx + 0xe], 0x6e
jne 0x1c462cf
cmp word [ebx + edx + 0x10], 0x65
jne 0x1c462cf
cmp word [ebx + edx + 0x12], 0x5f
jne 0x1c462cf
cmp word [ebx + edx + 0x14], 0x6e
jne 0x1c462cf
cmp word [ebx + edx + 0x16], 0x61
jne 0x1c462cf
cmp word [ebx + edx + 0x18], 0x6d
jne 0x1c462cf
cmp word [ebx + edx + 0x1a], 0x65
jne 0x1c462cf
cmp word [ebx + edx + 0x1c], 0x7d
jne 0x1c462cf
cmp edi, dword [ebp - 0x22c]
je 0x1c463fa
sub edi, eax
cmp edi, 0xfffffffe
je 0x1c463fa
xor eax, eax
lea esi, [ebp - 0x224]
mov dword [esi], eax
push esi
push eax
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [esi]
test eax, eax
je 0x1c463fa
lea ecx, [eax + eax]
xor edx, edx
dec edx
test eax, eax
cmovs ecx, edx
push ecx
call fcn.01c96a5d
add esp, 4
mov ebx, eax
push esi
push eax
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
xor eax, eax
dec eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x230], ebx
push ebx
call fcn.01c96aca
add esp, 4
mov dword [ebp - 0x22c], eax
cmp eax, 0x7ffffff8
jae 0x1c46d42
cmp dword [ebp - 0x22c], 5
jae 0x1c4689c
lea esi, [ebp - 0x218]
mov eax, dword [ebp - 0x22c]
mov byte [esi + 0xb], al
test eax, eax
jne 0x1c468d8
jmp 0x1c468f0
mov ebx, dword [ebp - 0x22c]
or ebx, 3
inc ebx
js 0x1c46d4b
lea eax, [ebx + ebx]
push eax
call fcn.01c9515a
add esp, 4
mov esi, eax
mov dword [ebp - 0x218], eax
or ebx, 0x80000000
mov dword [ebp - 0x210], ebx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x22c]
add eax, eax
push eax
push dword [ebp - 0x230]
push esi
call fcn.01c994a0
add esp, 0xc
sar edi, 1
mov eax, dword [ebp - 0x22c]
mov word [esi + eax*2], 0
lea esi, [ebp - 0x218]
movzx eax, byte [esi + 0xb]
test al, al
cmovs eax, dword [esi + 4]
mov edx, dword [esi]
cmovns edx, esi
mov ecx, dword [ebp + 8]
push eax
push edx
push 0xf
push edi
call fcn.01c678c0
cmp byte [esi + 0xb], 0
jns 0x1c46934
push dword [ebp - 0x218]
call fcn.01c95155
add esp, 4
cmp dword [ebp - 0x230], 0
je 0x1c463fa
push dword [ebp - 0x230]
call fcn.01c968a6
add esp, 4
jmp 0x1c463fa
cmp word [ebx + eax + 0xa], 0x65
jne 0x1c46576
cmp word [ebx + eax + 0xc], 0x6e
jne 0x1c46576
cmp word [ebx + eax + 0xe], 0x74
jne 0x1c46576
cmp word [ebx + eax + 0x10], 0x5f
jne 0x1c46576
cmp word [ebx + eax + 0x12], 0x6e
jne 0x1c46576
cmp word [ebx + eax + 0x14], 0x61
jne 0x1c46576
cmp word [ebx + eax + 0x16], 0x6d
jne 0x1c46576
cmp word [ebx + eax + 0x18], 0x65
jne 0x1c46576
cmp word [ebx + eax + 0x1a], 0x7d
jne 0x1c46576
cmp esi, dword [ebp - 0x24c]
je 0x1c464a9
sub esi, edi
cmp esi, 0xfffffffe
mov eax, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x240]
je 0x1c464b5
xor edi, edi
lea eax, [ebp - 0x224]
mov dword [eax], edi
lea ebx, [ebp - 0x228]
mov dword [ebx], edi
mov ecx, dword [ebp - 0x23c]
call dword [0x1cef298]
push ebx
lea eax, [ebp - 0x224]
push eax
push 0xa
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
je 0x1c46b15
xor eax, eax
dec eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x240], eax
push eax
call fcn.01c96aca
add esp, 4
cmp eax, 0x7ffffff8
jae 0x1c46d3c
mov edi, eax
cmp edi, 5
jae 0x1c46a6b
lea ecx, [ebp - 0x218]
mov eax, edi
mov dword [ebp - 0x234], ecx
mov byte [ecx + 0xb], al
test edi, edi
jne 0x1c46aa3
jmp 0x1c46abc
mov ebx, edi
or ebx, 3
inc ebx
js 0x1c46d48
lea eax, [ebx + ebx]
push eax
call fcn.01c9515a
add esp, 4
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x218], eax
or ebx, 0x80000000
mov dword [ebp - 0x210], ebx
mov eax, edi
mov dword [ebp - 0x214], edi
mov eax, edi
add eax, edi
push eax
push dword [ebp - 0x240]
push dword [ebp - 0x234]
call fcn.01c994a0
add esp, 0xc
sar esi, 1
mov eax, dword [ebp - 0x234]
mov word [eax + edi*2], 0
lea edi, [ebp - 0x218]
movzx eax, byte [edi + 0xb]
test al, al
cmovs eax, dword [edi + 4]
mov edx, dword [edi]
cmovns edx, edi
mov ecx, dword [ebp + 8]
push eax
push edx
push 0xe
push esi
call fcn.01c678c0
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x238]
call dword [0x1cef298]
push esi
call ecx
cmp byte [edi + 0xb], 0
jns 0x1c46b15
push dword [ebp - 0x218]
call fcn.01c95155
add esp, 4
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 0x1c464b5
cmp word [edi + eax + 0xa], 0x72
jne 0x1c46318
cmp word [edi + eax + 0xc], 0x5f
jne 0x1c46318
cmp word [edi + eax + 0xe], 0x6e
jne 0x1c46318
cmp word [edi + eax + 0x10], 0x61
jne 0x1c46318
cmp word [edi + eax + 0x12], 0x6d
jne 0x1c46318
cmp word [edi + eax + 0x14], 0x65
jne 0x1c46318
cmp word [edi + eax + 0x16], 0x7d
jne 0x1c46318
cmp esi, edx
je 0x1c463b4
sub esi, ebx
cmp esi, 0xfffffffe
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x238]
je 0x1c463bd
xor ebx, ebx
lea edi, [ebp - 0x224]
mov dword [edi], ebx
mov ecx, dword [ebp - 0x23c]
call dword [0x1cef298]
push edi
push ebx
call ecx
mov eax, dword [edi]
test eax, eax
je 0x1c46cf4
lea ecx, [eax + eax]
xor edx, edx
dec edx
test eax, eax
cmovs ecx, edx
push ecx
call fcn.01c96a5d
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x23c]
call dword [0x1cef298]
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
mov dword [ebp - 0x230], ebx
push ebx
call fcn.01c96aca
add esp, 4
mov dword [ebp - 0x22c], eax
cmp eax, 0x7ffffff8
jae 0x1c46d39
cmp dword [ebp - 0x22c], 5
jae 0x1c46c3a
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 0x20d], al
lea edi, [ebp - 0x218]
test eax, eax
jne 0x1c46c76
jmp 0x1c46c8e
mov ebx, dword [ebp - 0x22c]
or ebx, 3
inc ebx
js 0x1c46d3f
lea eax, [ebx + ebx]
push eax
call fcn.01c9515a
add esp, 4
mov edi, eax
mov dword [ebp - 0x218], eax
or ebx, 0x80000000
mov dword [ebp - 0x210], ebx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x22c]
add eax, eax
push eax
push dword [ebp - 0x230]
push edi
call fcn.01c994a0
add esp, 0xc
sar esi, 1
mov eax, dword [ebp - 0x22c]
mov word [edi + eax*2], 0
movzx eax, byte [ebp - 0x20d]
test al, al
cmovs eax, dword [ebp - 0x214]
lea edx, [ebp - 0x218]
cmovs edx, dword [ebp - 0x218]
mov ecx, dword [ebp + 8]
push eax
push edx
push 0xc
push esi
call fcn.01c678c0
cmp byte [ebp - 0x20d], 0
jns 0x1c46cdd
push dword [ebp - 0x218]
call fcn.01c95155
add esp, 4
cmp dword [ebp - 0x230], 0
je 0x1c46cf4
push dword [ebp - 0x230]
call fcn.01c968a6
add esp, 4
mov edi, dword [ebp + 8]
mov dl, byte [edi + 0xb]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x22c], ecx
mov byte [ebp - 0x230], dl
movzx ecx, dl
jmp 0x1c463bd
mov edi, dword [ebp + 8]
mov esi, ecx
test ecx, ecx
jne 0x1c45ed2
int3
mov edi, dword [ebp + 8]
mov esi, ecx
test ecx, ecx
jne 0x1c45eec
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3