Function at 0x414580
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x495c28
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x4b9668]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4b9668]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
push 0x467
mov ebx, ecx
call fcn.0042352f
test eax, eax
je 0x414607
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 0x414607
lea edx, [esp + 0x7c]
push edx
push 0x467
mov ecx, ebx
call fcn.0042352f
mov ecx, eax
call fcn.00423636
push 0x468
mov ecx, ebx
call fcn.0042352f
test eax, eax
je 0x414740
mov eax, dword [0xefc0c0]
mov ecx, dword [0xefc0bc]
xor edi, edi
push edi
push eax
push ecx
push 0x398
call fcn.004028c0
cmp eax, edi
je 0x414647
push 0xa3
call fcn.00402860
mov esi, eax
jmp 0x414649
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]
add ecx, 1
test al, al
jne 0x414660
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x68]
call fcn.004072f0
push 1
push 0x4abf68
lea edx, [esp + 0x68]
push edx
xor eax, eax
mov dword [esp + 0x2cc], edi
call fcn.00414e90
mov esi, eax
cmp esi, 0xffffffff
je 0x4146c4
push 2
push 0x4abf6c
push 1
mov eax, esi
lea edi, [esp + 0x6c]
call fcn.00414cb0
push 1
push 0x4abf68
mov ecx, edi
lea eax, [esi + 2]
push ecx
call fcn.00414e90
mov esi, eax
cmp esi, 0xffffffff
jne 0x414697
mov ecx, dword [esp + 0x64]
mov edi, 0x10
cmp dword [esp + 0x78], edi
jae 0x4146d7
lea ecx, [esp + 0x64]
lea edx, [esp + 0x44]
push edx
call fcn.00402ca0
mov esi, 8
mov byte [esp + 0x2c0], 1
cmp dword [eax + 0x18], esi
jb 0x4146f8
mov eax, dword [eax + 4]
jmp 0x4146fb
add eax, 4
push eax
push 0x468
mov ecx, ebx
call fcn.0042352f
mov ecx, eax
call fcn.00423636
cmp dword [esp + 0x5c], esi
jb 0x414722
mov eax, dword [esp + 0x48]
push eax
call fcn.0041d0c9
add esp, 4
mov dword [esp + 0x2c0], 0xffffffff
cmp dword [esp + 0x78], edi
jb 0x414740
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0041d0c9
add esp, 4
push 0x462
mov ecx, ebx
call fcn.0042352f
test eax, eax
je 0x41484f
call fcn.0041d0d3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41476e
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.0041ca90
mov esi, eax
cmp esi, 0x400
mov dword [esp + 0x38], esi
jl 0x4147c5
fild dword [esp + 0x38]
sub esp, 8
lea ecx, [esp + 0x3c]
fmul qword [0x4ac858]
fstp qword [esp]
push str._0.1f_GB
push ecx
call fcn.00401be0
add esp, 0x10
jmp 0x4147d8
push esi
lea edx, [esp + 0x38]
push str._d_MB
push edx
call fcn.00401be0
add esp, 0xc
mov edi, dword [esp + 0x34]
push edi
push 0x462
mov ecx, ebx
call fcn.0042352f
mov ecx, eax
call fcn.00423636
cmp esi, 0x1f0
jle 0x4147fc
push 3
jmp 0x414813
cmp esi, 0xf0
jle 0x414808
push 2
jmp 0x414813
cmp esi, 0x70
jle 0x414811
push 1
jmp 0x414813
push 0
push 0x466
mov ecx, ebx
call fcn.0042352f
push eax
call fcn.00414310
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 0x41484f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x461
mov ecx, ebx
call fcn.0042352f
test eax, eax
je 0x414973
call fcn.0041d0d3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41487d
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.0041cd20
mov esi, eax
cmp esi, 0x400
mov dword [esp + 0x38], esi
jl 0x4148cf
fild dword [esp + 0x38]
sub esp, 8
lea ecx, [esp + 0x3c]
fmul qword [0x4ac858]
fstp qword [esp]
push str._0.1f_GB
push ecx
call fcn.00401be0
add esp, 0x10
jmp 0x4148e2
push esi
lea edx, [esp + 0x38]
push str._d_MB
push edx
call fcn.00401be0
add esp, 0xc
mov edi, dword [esp + 0x34]
push edi
push 0x461
mov ecx, ebx
call fcn.0042352f
mov ecx, eax
call fcn.00423636
push 1
push 0x465
mov ecx, ebx
call fcn.0042352f
push eax
call fcn.00414310
add esp, 8
cmp esi, 0xb54
jle 0x41491d
push 3
jmp 0x414937
cmp esi, 0x76c
jle 0x414929
push 2
jmp 0x414937
cmp esi, 0x3e8
jle 0x414935
push 1
jmp 0x414937
push 0
push 0x465
mov ecx, ebx
call fcn.0042352f
push eax
call fcn.00414310
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 0x414973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x460
mov ecx, ebx
call fcn.0042352f
test eax, eax
je 0x414aee
call fcn.0041d0d3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4149a1
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], 4
call fcn.0041cd90
fstp dword [esp + 0x38]
call fcn.0041cda0
fstp dword [esp + 0x40]
mov esi, 0x10
call fcn.0041ca90
lea esi, [esp + 0x44]
mov dword [esp + 0x3c], eax
call fcn.0041cd60
mov byte [esp + 0x2c0], 5
cmp dword [eax + 0x18], 0x10
jb 0x4149f8
mov eax, dword [eax + 4]
jmp 0x4149fb
add eax, 4
call fcn.0041cda0
sub esp, 8
fstp qword [esp]
call fcn.0041cd90
sub esp, 8
fstp qword [esp]
push eax
push str._s__PS_0.1f_VS_0.1f_
lea edi, [esp + 0x4c]
call fcn.00415320
add esp, 0x18
mov byte [esp + 0x2c0], 4
cmp dword [esp + 0x5c], 0x10
jb 0x414a3f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0041d0c9
add esp, 4
mov esi, dword [esp + 0x34]
push esi
push 0x460
mov ecx, ebx
call fcn.0042352f
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
fld dword [0x4ac7e8]
fld dword [esp + 0x38]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x414a9d
fxch st(1)
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
jp 0x414a9f
call fcn.0041d040
test al, al
je 0x414a9f
cmp dword [esp + 0x3c], 0x1f0
jle 0x414a93
fstp st(0)
push 3
jmp 0x414ab2
test al, al
je 0x414a9f
fstp st(0)
push 2
jmp 0x414ab2
fstp st(1)
fcomp dword [0x4ac7ec]
fnstsw ax
test ah, 1
jne 0x414ab0
push 1
jmp 0x414ab2
push 0
push 0x464
mov ecx, ebx
call fcn.0042352f
push eax
call fcn.00414310
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 0x414aee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x45f
mov ecx, ebx
call fcn.0042352f
test eax, eax
je 0x414c67
call fcn.0041d0d3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414b1c
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], 6
call fcn.0041cec0
fstp dword [esp + 0x38]
call fcn.0041cf80
mov edi, eax
lea esi, [esp + 0x44]
mov dword [esp + 0x3c], edi
call fcn.0041cdb0
mov byte [esp + 0x2c0], 7
cmp dword [eax + 0x18], 0x10
jb 0x414b67
mov eax, dword [eax + 4]
jmp 0x414b6a
add eax, 4
fld dword [esp + 0x38]
sub esp, 8
fstp qword [esp]
push edi
push eax
push str._s_x__d___0.2fGhz_
lea edi, [esp + 0x48]
call fcn.00415320
add esp, 0x14
mov byte [esp + 0x2c0], 6
cmp dword [esp + 0x5c], 0x10
jb 0x414ba3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0041d0c9
add esp, 4
mov esi, dword [esp + 0x34]
push esi
push 0x45f
mov ecx, ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.0042352f
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
fild dword [esp + 0x3c]
call fcn.00492d30
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fmul dword [esp + 0x38]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fcom qword [0x4ac850]
fnstsw ax
test ah, 0x41
jne 0x414c03
fstp st(0)
push 3
jmp 0x414c2b
fld dword [0x4ac848]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x414c18
fstp st(0)
push 2
jmp 0x414c2b
fcomp qword [0x4ac840]
fnstsw ax
test ah, 0x41
jne 0x414c29
push 1
jmp 0x414c2b
push 0
push 0x463
mov ecx, ebx
call fcn.0042352f
push eax
call fcn.00414310
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 0x414c67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x20]
call fcn.0040c4f0
mov ecx, ebx
call fcn.0042564d
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.0043a54e
mov esp, ebp
pop ebp
ret