Function at 0x414840
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4a0a08
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x4de6d0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4de6d0]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
push 0x467
mov ebx, ecx
call fcn.0042642e
test eax, eax
je 0x4148c7
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x40], 0xff
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x4148c7
lea edx, [esp + 0x7c]
push edx
push 0x467
mov ecx, ebx
call fcn.0042642e
mov ecx, eax
call fcn.00426546
push 0x468
mov ecx, ebx
call fcn.0042642e
test eax, eax
je 0x4149fe
mov eax, dword [0xf415d8]
mov ecx, dword [0xf415d4]
xor edi, edi
push edi
push eax
push ecx
push 0x398
call fcn.00402920
cmp eax, edi
je 0x414907
push 0xa3
call fcn.004028b0
mov esi, eax
jmp 0x414909
xor esi, esi
mov ecx, esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414920
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x68]
call fcn.004074c0
push 1
push 0x4cfb90
lea edx, [esp + 0x68]
push edx
xor eax, eax
mov dword [esp + 0x2cc], edi
call fcn.00415130
mov esi, eax
cmp esi, 0xffffffff
je 0x414982
push 2
push 0x4cfb94
push 1
mov eax, esi
lea edi, [esp + 0x6c]
call fcn.00414f60
push 1
push 0x4cfb90
mov ecx, edi
lea eax, [esi + 2]
push ecx
call fcn.00415130
mov esi, eax
cmp esi, 0xffffffff
jne 0x414955
mov ecx, dword [esp + 0x64]
mov edi, 0x10
cmp dword [esp + 0x78], edi
jae 0x414995
lea ecx, [esp + 0x64]
lea edx, [esp + 0x44]
push edx
call fcn.00402d80
mov esi, 8
mov byte [esp + 0x2c0], 1
cmp dword [eax + 0x18], esi
jb 0x4149b6
mov eax, dword [eax + 4]
jmp 0x4149b9
add eax, 4
push eax
push 0x468
mov ecx, ebx
call fcn.0042642e
mov ecx, eax
call fcn.00426546
cmp dword [esp + 0x5c], esi
jb 0x4149e0
mov eax, dword [esp + 0x48]
push eax
call fcn.0041d512
add esp, 4
mov dword [esp + 0x2c0], 0xffffffff
cmp dword [esp + 0x78], edi
jb 0x4149fe
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0041d512
add esp, 4
push 0x462
mov ecx, ebx
call fcn.0042642e
test eax, eax
je 0x414b0d
call fcn.0041df80
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414a2c
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov esi, 0x10
mov dword [esp + 0x2c0], 2
call fcn.0041cf10
mov esi, eax
cmp esi, 0x400
mov dword [esp + 0x38], esi
jl 0x414a83
fild dword [esp + 0x38]
sub esp, 8
lea ecx, [esp + 0x3c]
fmul qword [0x4d0470]
fstp qword [esp]
push str._0.1f_GB
push ecx
call fcn.00401bf0
add esp, 0x10
jmp 0x414a96
push esi
lea edx, [esp + 0x38]
push str._d_MB
push edx
call fcn.00401bf0
add esp, 0xc
mov edi, dword [esp + 0x34]
push edi
push 0x462
mov ecx, ebx
call fcn.0042642e
mov ecx, eax
call fcn.00426546
cmp esi, 0x1f0
jle 0x414aba
push 3
jmp 0x414ad1
cmp esi, 0xf0
jle 0x414ac6
push 2
jmp 0x414ad1
cmp esi, 0x70
jle 0x414acf
push 1
jmp 0x414ad1
push 0
push 0x466
mov ecx, ebx
call fcn.0042642e
push eax
call fcn.004145d0
lea eax, [edi - 0x10]
add esp, 8
mov dword [esp + 0x2c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x461
mov ecx, ebx
call fcn.0042642e
test eax, eax
je 0x414c1a
call fcn.0041df80
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414b3b
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c0], 3
call fcn.0041d1e0
mov esi, eax
cmp esi, 0x400
mov dword [esp + 0x38], esi
jl 0x414b8d
fild dword [esp + 0x38]
sub esp, 8
lea ecx, [esp + 0x3c]
fmul qword [0x4d0470]
fstp qword [esp]
push str._0.1f_GB
push ecx
call fcn.00401bf0
add esp, 0x10
jmp 0x414ba0
push esi
lea edx, [esp + 0x38]
push str._d_MB
push edx
call fcn.00401bf0
add esp, 0xc
mov edi, dword [esp + 0x34]
push edi
push 0x461
mov ecx, ebx
call fcn.0042642e
mov ecx, eax
call fcn.00426546
cmp esi, 0xb54
jle 0x414bc4
push 3
jmp 0x414bde
cmp esi, 0x76c
jle 0x414bd0
push 2
jmp 0x414bde
cmp esi, 0x3e8
jle 0x414bdc
push 1
jmp 0x414bde
push 0
push 0x465
mov ecx, ebx
call fcn.0042642e
push eax
call fcn.004145d0
lea eax, [edi - 0x10]
add esp, 8
mov dword [esp + 0x2c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x460
mov ecx, ebx
call fcn.0042642e
test eax, eax
je 0x414d91
call fcn.0041df80
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414c48
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c0], 4
call fcn.0041d250
fstp dword [esp + 0x38]
call fcn.0041d260
fstp dword [esp + 0x3c]
mov esi, 0x10
call fcn.0041cf10
lea esi, [esp + 0x44]
mov dword [esp + 0x34], eax
call fcn.0041d220
mov byte [esp + 0x2c0], 5
cmp dword [eax + 0x18], 0x10
jb 0x414c9f
mov eax, dword [eax + 4]
jmp 0x414ca2
add eax, 4
call fcn.0041d260
sub esp, 8
fstp qword [esp]
call fcn.0041d250
sub esp, 8
fstp qword [esp]
push eax
push str._s__PS_0.1f_VS_0.1f_
lea edi, [esp + 0x58]
call fcn.004155c0
add esp, 0x18
mov byte [esp + 0x2c0], 4
cmp dword [esp + 0x5c], 0x10
jb 0x414ce6
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0041d512
add esp, 4
mov esi, dword [esp + 0x40]
push esi
push 0x460
mov ecx, ebx
call fcn.0042642e
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
fld dword [0x4d0408]
fcom dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jp 0x414d51
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jp 0x414d46
call fcn.0041d480
test al, al
je 0x414d46
cmp dword [esp + 0x34], 0x1f0
jle 0x414d34
push 3
jmp 0x414d55
test al, al
je 0x414d46
cmp dword [esp + 0x34], 0xf0
jle 0x414d46
push 2
jmp 0x414d55
cmp dword [esp + 0x34], 0x70
jle 0x414d53
push 1
jmp 0x414d55
fstp st(0)
push 0
push 0x464
mov ecx, ebx
call fcn.0042642e
push eax
call fcn.004145d0
lea eax, [esi - 0x10]
add esp, 8
mov dword [esp + 0x2c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x45f
mov ecx, ebx
call fcn.0042642e
test eax, eax
je 0x414f11
call fcn.0041df80
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414dbf
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c0], 6
call fcn.0041d380
fstp dword [esp + 0x34]
call fcn.0041d440
mov edi, eax
lea esi, [esp + 0x44]
mov dword [esp + 0x38], edi
call fcn.0041d270
mov byte [esp + 0x2c0], 7
cmp dword [eax + 0x18], 0x10
jb 0x414e0a
mov eax, dword [eax + 4]
jmp 0x414e0d
add eax, 4
fld dword [esp + 0x34]
sub esp, 8
fstp qword [esp]
push edi
push eax
push str._s_x__d___0.2fGhz_
lea edi, [esp + 0x54]
call fcn.004155c0
add esp, 0x14
mov byte [esp + 0x2c0], 6
cmp dword [esp + 0x5c], 0x10
jb 0x414e46
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0041d512
add esp, 4
mov esi, dword [esp + 0x40]
push esi
push 0x45f
mov ecx, ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.0042642e
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
fild dword [esp + 0x38]
call fcn.004997c0
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fmul dword [esp + 0x34]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fcom qword [0x4d0468]
fnstsw ax
test ah, 0x41
jne 0x414ead
cmp dword [esp + 0x38], 1
jle 0x414ead
fstp st(0)
push 3
jmp 0x414ed5
fld dword [0x4d0460]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x414ec2
fstp st(0)
push 2
jmp 0x414ed5
fcomp qword [0x4d0458]
fnstsw ax
test ah, 0x41
jne 0x414ed3
push 1
jmp 0x414ed5
push 0
push 0x463
mov ecx, ebx
call fcn.0042642e
push eax
call fcn.004145d0
lea eax, [esi - 0x10]
add esp, 8
mov dword [esp + 0x2c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414f11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x20]
call fcn.0040c510
mov ecx, ebx
call fcn.0041ee73
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0043ba5f
mov esp, ebp
pop ebp
ret