Function at 0x403330
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 0x403390
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 0x4033c0
test cl, 1
mov bx, word [esp + 0x2e]
jne 0x4033fc
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 0x403500
add eax, 5
mov word [ebp + ecx*2], ax
jmp 0x403500
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
sub eax, edx
jne 0x403442
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 0x403500
add eax, 6
mov word [ebp + ecx*2], ax
jmp 0x403500
test cl, 3
jne 0x40347d
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 0x403500
add eax, 7
mov word [ebp + ecx*2], ax
jmp 0x403500
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
jne 0x4034b1
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 0x4034fb
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea edx, [edx + edx*2]
add edx, edx
mov eax, ecx
sub eax, edx
jne 0x4034dd
movzx eax, word [ebp + ecx*2]
movzx edx, di
add eax, edx
cdq
mov ebx, 9
idiv ebx
add edx, 0x30
jmp 0x4034fb
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 0x4033c0
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 0x403540
cmp si, 0x3a
ja 0x40355c
cmp si, 0x30
jb 0x40355c
cmp si, 0x5b
jbe 0x403552
cmp si, 0x61
jb 0x40355c
cmp si, 0x7a
jbe 0x40360e
lea ebx, [edi - 1]
test bl, 1
jne 0x40357f
mov eax, dword [esp + 0x14]
movzx edx, si
lea eax, [edx + eax + 2]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x40360a
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 0x4035a5
mov eax, dword [esp + 0x18]
movzx edx, si
lea eax, [edx + eax + 3]
jmp 0x4035ff
test bl, 3
jne 0x4035c2
mov eax, dword [esp + 0x1c]
movzx edx, si
lea eax, [edx + eax + 4]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x40360a
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ebx
sub eax, edx
jne 0x4035ed
mov eax, dword [esp + 0x20]
movzx edx, si
lea eax, [edx + eax + 5]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x40360a
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 0x40361e
cmp si, 0x3a
ja 0x40363a
cmp si, 0x30
jb 0x40363a
cmp si, 0x5b
jbe 0x403630
cmp si, 0x61
jb 0x40363a
cmp si, 0x7a
jbe 0x4036f5
mov edx, dword [esp + 0x10]
test dl, 1
jne 0x40365e
mov edx, dword [esp + 0x14]
movzx eax, si
lea eax, [eax + edx + 5]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4036f1
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 0x40368b
mov edx, dword [esp + 0x18]
movzx eax, si
lea eax, [eax + edx + 7]
jmp 0x4036e6
test bl, 3
jne 0x4036a8
mov edx, dword [esp + 0x1c]
movzx eax, si
lea eax, [eax + edx + 9]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4036f1
mov eax, 0xcccccccd
mul ebx
shr edx, 2
lea eax, [edx + edx*4]
sub edi, eax
add edi, 1
jne 0x4036d4
mov eax, dword [esp + 0x20]
movzx edx, si
lea eax, [edx + eax + 0xb]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4036f1
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 0x403704
cmp di, 0x3a
ja 0x403720
cmp di, 0x30
jb 0x403720
cmp di, 0x5b
jbe 0x403716
cmp di, 0x61
jb 0x403720
cmp di, 0x7a
jbe 0x4037e1
mov esi, dword [esp + 0x10]
lea eax, [esi - 1]
test al, 1
mov dword [esp + 0x24], eax
jne 0x40374a
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 8]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4037de
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 0x403773
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0xb]
jmp 0x4037d3
mov eax, dword [esp + 0x10]
add eax, 1
test al, 3
jne 0x403796
mov eax, dword [esp + 0x1c]
movzx edx, di
lea eax, [edx + eax + 0xe]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4037de
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 0x4037c6
mov edx, dword [esp + 0x20]
lea eax, [eax + edx + 0x11]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4037de
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 0x4037f1
cmp di, 0x3a
ja 0x40380d
cmp di, 0x30
jb 0x40380d
cmp di, 0x5b
jbe 0x403803
cmp di, 0x61
jb 0x40380d
cmp di, 0x7a
jbe 0x4038d5
mov esi, dword [esp + 0x10]
lea eax, [esi - 2]
test al, 1
mov dword [esp + 0x24], eax
jne 0x403837
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 0xb]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4038d1
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 0x403865
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0xf]
jmp 0x4038c2
test byte [esp + 0x24], 3
jne 0x403884
mov edx, dword [esp + 0x1c]
movzx eax, di
lea eax, [eax + edx + 0x13]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4038cd
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea eax, [edx + edx*4]
sub ebp, eax
add ebp, 3
jne 0x4038b0
mov eax, dword [esp + 0x20]
movzx edx, di
lea eax, [edx + eax + 0x17]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4038cd
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 0x4038e5
cmp di, 0x3a
ja 0x403901
cmp di, 0x30
jb 0x403901
cmp di, 0x5b
jbe 0x4038f7
cmp di, 0x61
jb 0x403901
cmp di, 0x7a
jbe 0x4039c2
mov ebx, dword [esp + 0x10]
add ebx, 0xffffffff
test bl, 1
jne 0x403928
mov edx, dword [esp + 0x14]
movzx eax, di
lea eax, [eax + edx + 0xe]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4039be
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 0x403954
mov edx, dword [esp + 0x18]
movzx eax, di
lea eax, [eax + edx + 0x13]
jmp 0x4039af
test bl, 3
jne 0x403971
mov edx, dword [esp + 0x1c]
movzx eax, di
lea eax, [eax + edx + 0x18]
cdq
mov esi, 0x19
idiv esi
add edx, 0x61
jmp 0x4039ba
mov eax, 0xcccccccd
mul esi
shr edx, 2
lea eax, [edx + edx*4]
sub ebx, eax
add ebx, 4
jne 0x40399d
mov eax, dword [esp + 0x20]
movzx edx, di
lea eax, [edx + eax + 0x1d]
cdq
mov esi, 0x19
idiv esi
add edx, 0x41
jmp 0x4039ba
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 0x403530
xor eax, eax
cmp word [ebp + eax*2], 9
jne 0x403a02
lea ecx, [eax + 9]
mov word [ebp + eax*2], cx
add eax, 1
cmp eax, 0x27
jle 0x4039f2
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 0x403a11
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 0x403a31
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 0x403a51
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 0x403a71
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 0x403a91
cmp word [ebp], 0
pop edi
pop esi
mov word [ebp + 0x50], 0
pop ebx
jne 0x403ac0
mov word [ebp], 0x41
xor eax, eax
pop ebp
add esp, 0x28
ret