Function at 0x401110
Capabilities:
Get hostname

Disassembly:
sub esp, 0x28
xor eax, eax
push ebp
mov ebp, dword [esp + 0x30]
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], eax
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x20], 0x27
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401170
push ebx
push esi
sub eax, edx
push edi
lea ecx, [esp + 0x28]
sar eax, 1
push ecx
lea esi, [eax - 1]
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov di, word [esp + 0x2c]
xor ecx, ecx
jmp 0x4011a0
test cl, 1
mov bx, word [esp + 0x2e]
jne 0x4011dc
movzx eax, word [ebp + ecx*2]
movzx edx, bx
lea eax, [eax + edx*2]
sub eax, ecx
cdq
mov ebx, 0x19
idiv ebx
cmp ecx, esi
lea eax, [edx + 0x61]
mov word [ebp + ecx*2], ax
jbe 0x4012e0
add eax, 5
mov word [ebp + ecx*2], ax
jmp 0x4012e0
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
sub eax, edx
jne 0x401222
movzx edx, word [ebp + ecx*2]
movzx eax, di
lea eax, [eax + eax*2]
add eax, edx
sub eax, ecx
cdq
mov ebx, 9
idiv ebx
cmp ecx, esi
lea eax, [edx + 0x30]
mov word [ebp + ecx*2], ax
jbe 0x4012e0
add eax, 6
mov word [ebp + ecx*2], ax
jmp 0x4012e0
test cl, 3
jne 0x40125d
movzx eax, word [esp + 0x28]
movzx edx, word [ebp + ecx*2]
shr eax, 2
add eax, edx
sub eax, ecx
cdq
mov ebx, 0x19
idiv ebx
cmp ecx, esi
lea eax, [edx + 0x41]
mov word [ebp + ecx*2], ax
jbe 0x4012e0
add eax, 7
mov word [ebp + ecx*2], ax
jmp 0x4012e0
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
jne 0x401291
movzx edx, word [ebp + ecx*2]
mov eax, ecx
shr eax, 1
sub edx, eax
movzx eax, word [esp + 0x2a]
lea eax, [edx + eax - 4]
cdq
mov ebx, 0x19
idiv ebx
add edx, 0x61
jmp 0x4012db
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea edx, [edx + edx*2]
add edx, edx
mov eax, ecx
sub eax, edx
jne 0x4012bd
movzx eax, word [ebp + ecx*2]
movzx edx, di
add eax, edx
cdq
mov ebx, 9
idiv ebx
add edx, 0x30
jmp 0x4012db
movzx edx, word [ebp + ecx*2]
mov eax, ecx
shr eax, 2
sub edx, eax
movzx eax, bx
lea eax, [edx + eax - 5]
cdq
mov ebx, 0x19
idiv ebx
add edx, 0x41
mov word [ebp + ecx*2], dx
add ecx, 1
cmp ecx, 0x27
jle 0x4011a0
xor eax, eax
mov edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
lea ecx, [ebp + 4]
lea ebx, [ebx]
movzx esi, word [ecx - 4]
cmp si, 0x41
jae 0x401320
cmp si, 0x3a
ja 0x40133c
cmp si, 0x30
jb 0x40133c
cmp si, 0x5b
jbe 0x401332
cmp si, 0x61
jb 0x40133c
cmp si, 0x7a
jbe 0x4013ee
lea ebx, [edi - 1]
test bl, 1
jne 0x40135f
mov eax, dword [esp + 0x14]
movzx edx, si
lea eax, [edx + eax + 2]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4013ea
add edi, 0xffffffff
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov dword [esp + 0x24], edx
lea edx, [edx + edx*2]
mov eax, ebx
sub eax, edx
jne 0x401385
mov eax, dword [esp + 0x18]
movzx edx, si
lea eax, [edx + eax + 3]
jmp 0x4013df
test bl, 3
jne 0x4013a2
mov eax, dword [esp + 0x1c]
movzx edx, si
lea eax, [edx + eax + 4]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4013ea
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ebx
sub eax, edx
jne 0x4013cd
mov eax, dword [esp + 0x20]
movzx edx, si
lea eax, [edx + eax + 5]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4013ea
mov edx, ebx
imul edx, ebx
add edx, dword [esp + 0x24]
shr edi, 1
movzx eax, si
add edx, edi
add eax, edx
cdq
mov esi, 9
idiv esi
add edx, 0x30
mov word [ecx - 4], dx
movzx esi, word [ecx - 2]
cmp si, 0x41
jae 0x4013fe
cmp si, 0x3a
ja 0x40141a
cmp si, 0x30
jb 0x40141a
cmp si, 0x5b
jbe 0x401410
cmp si, 0x61
jb 0x40141a
cmp si, 0x7a
jbe 0x4014d5
mov edx, dword [esp + 0x10]
test dl, 1
jne 0x40143e
mov edx, dword [esp + 0x14]
movzx eax, si
lea eax, [eax + edx + 5]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4014d1
mov ebx, dword [esp + 0x10]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
mov dword [esp + 0x24], edx
lea eax, [edx + edx*2]
lea edi, [ebx - 1]
mov edx, edi
sub edx, eax
add edx, 1
jne 0x40146b
mov edx, dword [esp + 0x18]
movzx eax, si
lea eax, [eax + edx + 7]
jmp 0x4014c6
test bl, 3
jne 0x401488
mov edx, dword [esp + 0x1c]
movzx eax, si
lea eax, [eax + edx + 9]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4014d1
mov eax, 0xcccccccd
mul ebx
shr edx, 2
lea eax, [edx + edx*4]
sub edi, eax
add edi, 1
jne 0x4014b4
mov eax, dword [esp + 0x20]
movzx edx, si
lea eax, [edx + eax + 0xb]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4014d1
mov edx, ebx
imul edx, ebx
shr ebx, 1
add ebx, dword [esp + 0x24]
movzx eax, si
add ebx, edx
add eax, ebx
cdq
mov esi, 9
idiv esi
add edx, 0x30
mov word [ecx - 2], dx
movzx edi, word [ecx]
cmp di, 0x41
jae 0x4014e4
cmp di, 0x3a
ja 0x401500
cmp di, 0x30
jb 0x401500
cmp di, 0x5b
jbe 0x4014f6
cmp di, 0x61
jb 0x401500
cmp di, 0x7a
jbe 0x4015c1
mov esi, dword [esp + 0x10]
lea eax, [esi - 1]
test al, 1
mov dword [esp + 0x24], eax
jne 0x40152a
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 8]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4015be
add esi, 1
mov eax, 0xaaaaaaab
mul esi
mov ebx, edx
mov edx, dword [esp + 0x24]
shr ebx, 1
lea eax, [ebx + ebx*2]
sub edx, eax
add edx, 2
jne 0x401553
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0xb]
jmp 0x4015b3
mov eax, dword [esp + 0x10]
add eax, 1
test al, 3
jne 0x401576
mov eax, dword [esp + 0x1c]
movzx edx, di
lea eax, [edx + eax + 0xe]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4015be
mov eax, 0xcccccccd
mul esi
mov eax, dword [esp + 0x24]
shr edx, 2
lea edx, [edx + edx*4]
sub eax, edx
add eax, 2
movzx eax, di
jne 0x4015a6
mov edx, dword [esp + 0x20]
lea eax, [eax + edx + 0x11]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4015be
mov edx, esi
imul edx, esi
shr esi, 1
add esi, ebx
add esi, edx
add eax, esi
cdq
mov esi, 9
idiv esi
add edx, 0x30
mov word [ecx], dx
movzx edi, word [ecx + 2]
cmp di, 0x41
jae 0x4015d1
cmp di, 0x3a
ja 0x4015ed
cmp di, 0x30
jb 0x4015ed
cmp di, 0x5b
jbe 0x4015e3
cmp di, 0x61
jb 0x4015ed
cmp di, 0x7a
jbe 0x4016b5
mov esi, dword [esp + 0x10]
lea eax, [esi - 2]
test al, 1
mov dword [esp + 0x24], eax
jne 0x401617
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 0xb]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4016b1
mov ebp, dword [esp + 0x10]
add esi, 2
mov eax, 0xaaaaaaab
mul esi
mov ebx, edx
shr ebx, 1
add ebp, 0xffffffff
lea eax, [ebx + ebx*2]
mov edx, ebp
sub edx, eax
add edx, 3
jne 0x401645
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0xf]
jmp 0x4016a2
test byte [esp + 0x24], 3
jne 0x401664
mov edx, dword [esp + 0x1c]
movzx eax, di
lea eax, [eax + edx + 0x13]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4016ad
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea eax, [edx + edx*4]
sub ebp, eax
add ebp, 3
jne 0x401690
mov eax, dword [esp + 0x20]
movzx edx, di
lea eax, [edx + eax + 0x17]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4016ad
mov ebp, esi
imul ebp, esi
mov edx, esi
shr edx, 1
add ebp, ebx
movzx eax, di
add ebp, edx
add eax, ebp
cdq
mov esi, 9
idiv esi
add edx, 0x30
mov ebp, dword [esp + 0x3c]
mov word [ecx + 2], dx
movzx edi, word [ecx + 4]
cmp di, 0x41
jae 0x4016c5
cmp di, 0x3a
ja 0x4016e1
cmp di, 0x30
jb 0x4016e1
cmp di, 0x5b
jbe 0x4016d7
cmp di, 0x61
jb 0x4016e1
cmp di, 0x7a
jbe 0x4017a2
mov ebx, dword [esp + 0x10]
add ebx, 0xffffffff
test bl, 1
jne 0x401708
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 0xe]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x40179e
mov esi, dword [esp + 0x10]
add esi, 3
mov eax, 0xaaaaaaab
mul esi
mov ebp, edx
shr ebp, 1
lea eax, [ebp + ebp*2]
mov edx, ebx
sub edx, eax
add edx, 4
jne 0x401734
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0x13]
jmp 0x40178f
test bl, 3
jne 0x401751
mov edx, dword [esp + 0x1c]
movzx eax, di
lea eax, [eax + edx + 0x18]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x40179a
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea eax, [edx + edx*4]
sub ebx, eax
add ebx, 4
jne 0x40177d
mov eax, dword [esp + 0x20]
movzx edx, di
lea eax, [edx + eax + 0x1d]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x40179a
mov ebx, esi
imul ebx, esi
mov edx, esi
shr edx, 1
add ebx, ebp
movzx eax, di
add ebx, edx
add eax, ebx
cdq
mov esi, 9
idiv esi
add edx, 0x30
mov ebp, dword [esp + 0x3c]
mov word [ecx + 4], dx
mov edi, dword [esp + 0x10]
add dword [esp + 0x14], 0xf
add dword [esp + 0x18], 0x14
add dword [esp + 0x1c], 0x19
add dword [esp + 0x20], 0x1e
add edi, 5
lea eax, [edi - 1]
add ecx, 0xa
cmp eax, 0x27
mov dword [esp + 0x10], edi
jle 0x401310
xor eax, eax
cmp word [ebp + eax*2], 9
jne 0x4017e2
lea ecx, [eax + 9]
mov word [ebp + eax*2], cx
add eax, 1
cmp eax, 0x27
jle 0x4017d2
mov ecx, 1
mov eax, ebp
movzx edx, word [eax]
mov si, word [eax + 2]
mov word [eax], si
mov word [eax + 2], dx
add ecx, 1
add eax, 2
cmp ecx, 0x27
jle 0x4017f1
mov ecx, 2
mov eax, ebp
movzx edx, word [eax]
mov si, word [eax + 4]
mov word [eax], si
mov word [eax + 4], dx
add ecx, 2
add eax, 4
cmp ecx, 0x27
jle 0x401811
mov ecx, 3
mov eax, ebp
movzx edx, word [eax]
mov si, word [eax + 6]
mov word [eax], si
mov word [eax + 6], dx
add ecx, 3
add eax, 6
cmp ecx, 0x27
jle 0x401831
mov ecx, 4
mov eax, ebp
movzx edx, word [eax]
mov si, word [eax + 0xa]
mov word [eax], si
mov word [eax + 8], dx
add ecx, 4
add eax, 8
cmp ecx, 0x27
jle 0x401851
mov ecx, 5
mov eax, ebp
movzx edx, word [eax]
mov si, word [eax + 0xa]
mov word [eax], si
mov word [eax + 0xa], dx
add ecx, 5
add eax, 0xa
cmp ecx, 0x27
jle 0x401871
cmp word [ebp], 0
pop edi
pop esi
mov word [ebp + 0x50], 0
pop ebx
jne 0x4018a0
mov word [ebp], 0x41
xor eax, eax
pop ebp
add esp, 0x28
ret