Function at 0x451330
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 0x451390
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 0x4513c0
test cl, 1
mov bx, word [esp + 0x2e]
jne 0x4513fc
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 0x451500
add eax, 5
mov word [ebp + ecx*2], ax
jmp 0x451500
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
sub eax, edx
jne 0x451442
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 0x451500
add eax, 6
mov word [ebp + ecx*2], ax
jmp 0x451500
test cl, 3
jne 0x45147d
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 0x451500
add eax, 7
mov word [ebp + ecx*2], ax
jmp 0x451500
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
jne 0x4514b1
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 0x4514fb
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea edx, [edx + edx*2]
add edx, edx
mov eax, ecx
sub eax, edx
jne 0x4514dd
movzx eax, word [ebp + ecx*2]
movzx edx, di
add eax, edx
cdq
mov ebx, 9
idiv ebx
add edx, 0x30
jmp 0x4514fb
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 0x4513c0
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 0x451540
cmp si, 0x3a
ja 0x45155c
cmp si, 0x30
jb 0x45155c
cmp si, 0x5b
jbe 0x451552
cmp si, 0x61
jb 0x45155c
cmp si, 0x7a
jbe 0x45160e
lea ebx, [edi - 1]
test bl, 1
jne 0x45157f
mov eax, dword [esp + 0x14]
movzx edx, si
lea eax, [edx + eax + 2]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x45160a
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 0x4515a5
mov eax, dword [esp + 0x18]
movzx edx, si
lea eax, [edx + eax + 3]
jmp 0x4515ff
test bl, 3
jne 0x4515c2
mov eax, dword [esp + 0x1c]
movzx edx, si
lea eax, [edx + eax + 4]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x45160a
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ebx
sub eax, edx
jne 0x4515ed
mov eax, dword [esp + 0x20]
movzx edx, si
lea eax, [edx + eax + 5]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x45160a
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 0x45161e
cmp si, 0x3a
ja 0x45163a
cmp si, 0x30
jb 0x45163a
cmp si, 0x5b
jbe 0x451630
cmp si, 0x61
jb 0x45163a
cmp si, 0x7a
jbe 0x4516f5
mov edx, dword [esp + 0x10]
test dl, 1
jne 0x45165e
mov edx, dword [esp + 0x14]
movzx eax, si
lea eax, [eax + edx + 5]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4516f1
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 0x45168b
mov edx, dword [esp + 0x18]
movzx eax, si
lea eax, [eax + edx + 7]
jmp 0x4516e6
test bl, 3
jne 0x4516a8
mov edx, dword [esp + 0x1c]
movzx eax, si
lea eax, [eax + edx + 9]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4516f1
mov eax, 0xcccccccd
mul ebx
shr edx, 2
lea eax, [edx + edx*4]
sub edi, eax
add edi, 1
jne 0x4516d4
mov eax, dword [esp + 0x20]
movzx edx, si
lea eax, [edx + eax + 0xb]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4516f1
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 0x451704
cmp di, 0x3a
ja 0x451720
cmp di, 0x30
jb 0x451720
cmp di, 0x5b
jbe 0x451716
cmp di, 0x61
jb 0x451720
cmp di, 0x7a
jbe 0x4517e1
mov esi, dword [esp + 0x10]
lea eax, [esi - 1]
test al, 1
mov dword [esp + 0x24], eax
jne 0x45174a
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 8]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4517de
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 0x451773
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0xb]
jmp 0x4517d3
mov eax, dword [esp + 0x10]
add eax, 1
test al, 3
jne 0x451796
mov eax, dword [esp + 0x1c]
movzx edx, di
lea eax, [edx + eax + 0xe]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4517de
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 0x4517c6
mov edx, dword [esp + 0x20]
lea eax, [eax + edx + 0x11]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4517de
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 0x4517f1
cmp di, 0x3a
ja 0x45180d
cmp di, 0x30
jb 0x45180d
cmp di, 0x5b
jbe 0x451803
cmp di, 0x61
jb 0x45180d
cmp di, 0x7a
jbe 0x4518d5
mov esi, dword [esp + 0x10]
lea eax, [esi - 2]
test al, 1
mov dword [esp + 0x24], eax
jne 0x451837
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 0xb]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4518d1
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 0x451865
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0xf]
jmp 0x4518c2
test byte [esp + 0x24], 3
jne 0x451884
mov edx, dword [esp + 0x1c]
movzx eax, di
lea eax, [eax + edx + 0x13]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4518cd
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea eax, [edx + edx*4]
sub ebp, eax
add ebp, 3
jne 0x4518b0
mov eax, dword [esp + 0x20]
movzx edx, di
lea eax, [edx + eax + 0x17]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4518cd
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 0x4518e5
cmp di, 0x3a
ja 0x451901
cmp di, 0x30
jb 0x451901
cmp di, 0x5b
jbe 0x4518f7
cmp di, 0x61
jb 0x451901
cmp di, 0x7a
jbe 0x4519c2
mov ebx, dword [esp + 0x10]
add ebx, 0xffffffff
test bl, 1
jne 0x451928
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 0xe]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4519be
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 0x451954
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0x13]
jmp 0x4519af
test bl, 3
jne 0x451971
mov edx, dword [esp + 0x1c]
movzx eax, di
lea eax, [eax + edx + 0x18]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4519ba
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea eax, [edx + edx*4]
sub ebx, eax
add ebx, 4
jne 0x45199d
mov eax, dword [esp + 0x20]
movzx edx, di
lea eax, [edx + eax + 0x1d]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4519ba
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 0x451530
xor eax, eax
cmp word [ebp + eax*2], 9
jne 0x451a02
lea ecx, [eax + 9]
mov word [ebp + eax*2], cx
add eax, 1
cmp eax, 0x27
jle 0x4519f2
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 0x451a11
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 0x451a31
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 0x451a51
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 0x451a71
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 0x451a91
cmp word [ebp], 0
pop edi
pop esi
mov word [ebp + 0x50], 0
pop ebx
jne 0x451ac0
mov word [ebp], 0x41
xor eax, eax
pop ebp
add esp, 0x28
ret