Function at 0x403ff0
Capabilities:
Get hostname

Disassembly:
mov ecx, dword [0x41bffc]
mov eax, dword [0x4224e0]
sub esp, 0x410
inc ecx
mov dword [0x41bffc], ecx
push ebx
push esi
mov esi, 1
push edi
cmp eax, esi
jne 0x4040d9
mov ecx, 0x41d488
call fcn.00409330
mov eax, dword [0x423ee0]
mov dword [eax + 0x214c], esi
mov ecx, dword [0x423ee0]
mov dword [ecx + 0x104c], esi
mov edx, dword [0x423ee0]
xor ecx, ecx
mov dword [edx + 0x21dc], ecx
mov eax, dword [0x423ee0]
mov dword [esp + 0x18], ecx
mov dword [eax + 0x106c], ecx
mov edx, dword [0x423ee0]
mov eax, dword [0x41d48c]
mov dword [edx + 0x2160], eax
mov eax, dword [0x423ee0]
mov edx, dword [eax + 0x2160]
mov eax, dword [eax + 0x106c]
mov dword [esp + 0x14], edx
fild qword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
fidiv dword [esp + 0x14]
fmul dword [0x414324]
call fcn.0040a758
mov ecx, dword [0x41c098]
mov dword [ecx*4 + 0x41d578], eax
shl ecx, 4
add ecx, 0x41e540
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x41c098]
inc eax
cmp eax, 0x3e8
mov dword [0x41c098], eax
jl 0x404432
mov dword [0x41c098], 0
jmp 0x404432
push 0x41bfe0
call sub.KERNEL32.dll_GetSystemPowerStatus
test eax, eax
jne 0x40410a
mov ecx, dword [esp + 0x420]
push eax
push 0x416124
push 0x416968
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov eax, dword [0x4224e0]
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x404129
mov edx, dword [esp + 0x424]
mov ecx, dword [0x423ee0]
push edx
call fcn.00401610
mov eax, dword [0x424020]
mov dword [esp + 0x14], ebp
mov dword [eax + 4], esi
mov ecx, dword [0x423ee0]
mov eax, dword [0x424020]
mov edx, dword [ecx + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [0x423ee0]
mov eax, dword [0x424020]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov ecx, dword [0x423ee0]
mov edx, dword [0x424020]
add ecx, 0x21ec
add edx, 0x920
xor ebx, ebx
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, 0x10
mov eax, dword [0x423ee0]
mov ecx, dword [eax + edx + 0x192c]
mov eax, dword [0x424020]
mov dword [eax + edx], ecx
mov eax, dword [0x41e524]
test eax, eax
je 0x4041d4
mov edi, str.Evaluation_version._Please_purchase_BatteryMon
or ecx, 0xffffffff
xor eax, eax
mov esi, str.Evaluation_version._Please_purchase_BatteryMon
repne scasb al, byte es:[edi]
mov eax, dword [0x424020]
mov edi, dword [esp + 0x14]
not ecx
dec ecx
lea edi, [edi + eax + 0x20]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4041f6
mov ecx, dword [0x423ee0]
mov eax, dword [esp + 0x14]
lea esi, [eax + ecx + 0x194c]
mov ecx, dword [0x424020]
lea edi, [eax + ecx + 0x20]
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x423ee0]
add edx, 4
mov ecx, dword [eax + edx + 0x1038]
mov eax, dword [0x424020]
mov dword [eax + edx + 0x85c], ecx
mov ecx, dword [0x423ee0]
mov eax, dword [0x424020]
lea esi, [ecx + ebp + 0x105c]
mov ecx, 9
lea edi, [eax + ebp + 0x880]
add ebp, 0x24
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x423ee0]
mov edi, dword [esp + 0x14]
add edi, 0x200
mov eax, dword [ecx + edx + 0x2138]
mov ecx, dword [0x424020]
mov dword [esp + 0x14], edi
mov dword [ecx + edx + 0x80c], eax
mov eax, dword [0x423ee0]
lea ecx, [ebx + eax + 0x215c]
mov eax, dword [0x424020]
mov esi, dword [ecx]
lea eax, [ebx + eax + 0x830]
add ebx, 0x10
cmp edx, 0x20
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [0x423ee0]
mov ecx, dword [eax + edx + 0x2188]
mov eax, dword [0x424020]
mov dword [eax + edx + 0x8fc], ecx
jl 0x404186
mov ecx, dword [0x424020]
call fcn.00406740
mov cl, byte [0x41bfe2]
pop ebp
cmp cl, 0x64
jbe 0x4042cd
mov cl, 0x64
mov byte [0x41bfe2], cl
mov eax, dword [0x41bfe4]
xor edi, edi
cmp eax, edi
jle 0x4042f4
xor edx, edx
mov dword [esp + 0x14], eax
mov dl, cl
mov dword [esp + 0x18], edi
mov esi, edx
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
fidiv dword [esp + 0x14]
jmp 0x404334
call fcn.0040a77f
mov edx, dword [0x41e530]
xor ecx, ecx
mov cl, byte [0x41bfe2]
mov esi, ecx
mov ecx, dword [0x41c08c]
sub edx, esi
sub eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [0x41bfe4]
fild dword [esp + 0x14]
fmul dword [0x414328]
fdivp st(1)
fstp dword [0x41d3a8]
cmp eax, edi
jg 0x40436d
fld dword [0x41d3a8]
fcomp qword [0x414360]
fnstsw ax
and eax, 0x4100
jne 0x40436d
fld dword [0x41435c]
fdiv dword [0x41d3a8]
fimul dword [esp + 0x10]
call fcn.0040a758
mov dword [0x41bfe4], eax
cmp dword [0x41bfe8], edi
jg 0x4043a6
fld dword [0x41d3a8]
fcomp qword [0x414360]
fnstsw ax
and eax, 0x4100
jne 0x4043a6
fld dword [0x41435c]
fdiv dword [0x41d3a8]
fmul dword [0x414324]
call fcn.0040a758
mov dword [0x41bfe8], eax
fld dword [0x41d3a8]
fcomp qword [0x414360]
fnstsw ax
and eax, 0x4100
jne 0x4043db
fld dword [0x41435c]
fdiv dword [0x41d3a8]
fmul dword [0x414324]
fmul dword [0x414358]
fstp dword [0x424014]
jmp 0x4043e5
mov dword [0x424014], 0
mov eax, dword [0x41c098]
mov dword [eax*4 + 0x41d578], esi
shl eax, 4
add eax, 0x41e540
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x41c098]
mov ecx, dword [0x41bfe4]
fld dword [0x424014]
mov dword [eax*4 + 0x41af48], ecx
fstp dword [eax*4 + 0x41c0e0]
inc eax
cmp eax, 0x3e8
mov dword [0x41c098], eax
jl 0x404432
mov dword [0x41c098], edi
mov esi, dword [esp + 0x420]
push esi
call fcn.004053c0
add esp, 4
push 0x3f1
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00404a50
mov al, byte [0x4223cc]
add esp, 4
cmp al, 1
jne 0x40446b
push 1
push esi
call fcn.00405770
add esp, 8
mov bl, byte [0x41bfe2]
mov cx, word [0x4223d0]
xor ax, ax
mov al, bl
cmp ax, cx
jae 0x4044b5
mov dl, byte [0x424028]
test dl, dl
jne 0x4044b2
mov edx, dword [0x423ed4]
push 0x20000
push edx
push 0x4223d2
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov bl, byte [0x41bfe2]
mov byte [0x424028], 1
jmp 0x4044be
cmp ax, cx
jbe 0x4044be
mov byte [0x424028], 0
mov al, byte [0x4224f9]
cmp al, 1
mov eax, dword [0x423e80]
jne 0x40456b
xor ecx, ecx
mov cl, bl
cmp ecx, eax
jge 0x40456b
mov cl, byte [0x424029]
test cl, cl
jne 0x40456b
lea edx, [esp + 0x14]
lea eax, [esp + 0x11c]
push edx
push eax
mov byte [0x424029], 1
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0x124], 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x40452d
mov cl, byte [eax + str.UNKNOWN]
mov byte [esp + eax + 0x11c], cl
inc eax
test cl, cl
jne 0x40451b
mov ecx, dword [0x423e80]
lea edx, [esp + 0x11c]
push ecx
push edx
lea eax, [esp + 0x224]
push 0x4168f8
push eax
call fcn.00409efc
lea ecx, [esp + 0x22c]
push ecx
push str.BatteryMon
call fcn.00405f10
mov bl, byte [0x41bfe2]
add esp, 0x18
jmp 0x40457a
xor edx, edx
mov dl, bl
cmp edx, eax
jle 0x40457a
mov byte [0x424029], 0
mov al, byte [0x41bfe0]
mov byte [esp + 0xf], 0
cmp al, 0xff
jne 0x4045b5
lea eax, [esp + 0x1c]
push 0x41606c
push eax
call fcn.00409efc
mov edx, dword [0x41c090]
lea ecx, [esp + 0x24]
push ecx
push 0x3039
push edx
call fcn.00405e20
add esp, 0x14
jmp 0x404674
cmp al, 1
je 0x404632
mov esi, dword [0x41bfe4]
mov eax, 0x91a2b3c5
mul esi
mov ecx, edx
shr ecx, 0xb
lea eax, [ecx + ecx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 4
sub esi, eax
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push ecx
xor ecx, ecx
lea edx, [esp + 0x24]
mov cl, bl
push ecx
push str.BatteryMon__
push edx
call fcn.00409efc
mov ecx, dword [0x41c090]
lea eax, [esp + 0x30]
push eax
push 0x3039
push ecx
call fcn.00405e20
mov al, byte [0x42402b]
add esp, 0x20
test al, al
jne 0x404629
mov byte [esp + 0xf], 1
mov byte [0x42402b], 1
jmp 0x404674
xor edx, edx
lea eax, [esp + 0x1c]
mov dl, bl
push edx
push 0x41686c
push eax
call fcn.00409efc
mov edx, dword [0x41c090]
lea ecx, [esp + 0x28]
push ecx
push 0x3039
push edx
call fcn.00405e20
mov al, byte [0x42402b]
add esp, 0x18
cmp al, 1
jne 0x40466d
mov byte [esp + 0xf], 1
mov byte [0x42402b], 0
mov eax, dword [0x416328]
xor ecx, ecx
mov cl, byte [0x41bfe2]
xor dl, dl
lea esi, [eax - 0xa]
cmp ecx, esi
jge 0x4046a0
cmp ecx, eax
jge 0x4046a0
test eax, eax
jle 0x40469b
sub eax, 0xa
mov dl, 1
cmp ecx, eax
jl 0x40468e
mov dword [0x416328], eax
lea esi, [eax + 0xa]
cmp ecx, esi
jle 0x4046c5
cmp ecx, eax
jle 0x4046c5
cmp eax, 0x64
jge 0x4046c0
add eax, 0xa
mov dl, 1
cmp ecx, eax
jg 0x4046ab
mov dword [0x416328], eax
jmp 0x4046d5
mov dword [0x416328], eax
cmp dl, 1
je 0x4046d5
cmp byte [esp + 0xf], 1
jne case.0x4046f3.11
cmp byte [0x423e84], 1
jne case.0x4046f3.11
cmp eax, 0x64
ja case.0x4046f3.11
xor ecx, ecx
mov cl, byte [eax + 0x4049e0]
jmp dword [ecx*4 + 0x4049b0]
cmp byte [0x41bfe0], 1
je 0x404727
mov edx, dword [0x423ed0]
mov eax, dword [0x41c090]
push edx
push 0x3039
push eax
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov ecx, dword [0x41d210]
mov edx, dword [0x41c090]
push ecx
push 0x3039
push edx
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
cmp byte [0x41bfe0], 1
je 0x40475f
mov eax, dword [0x41bee8]
jmp 0x404991
mov edx, dword [0x423e90]
mov eax, dword [0x41c090]
push edx
push 0x3039
push eax
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
cmp byte [0x41bfe0], 1
je 0x4047b1
mov ecx, dword [0x41bfdc]
mov edx, dword [0x41c090]
push ecx
push 0x3039
push edx
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov eax, dword [0x41af3c]
jmp 0x404991
cmp byte [0x41bfe0], 1
je 0x4047e8
mov edx, dword [0x41befc]
mov eax, dword [0x41c090]
push edx
push 0x3039
push eax
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov ecx, dword [0x41e518]
mov edx, dword [0x41c090]
push ecx
push 0x3039
push edx
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
cmp byte [0x41bfe0], 1
je 0x404820
mov eax, dword [0x41d3c0]
jmp 0x404991
mov edx, dword [0x41c07c]
mov eax, dword [0x41c090]
push edx
push 0x3039
push eax
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
cmp byte [0x41bfe0], 1
je 0x404872
mov ecx, dword [0x41d3ac]
mov edx, dword [0x41c090]
push ecx
push 0x3039
push edx
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov eax, dword [0x41c0c4]
jmp 0x404991
cmp byte [0x41bfe0], 1
je 0x4048a9
mov edx, dword [0x41d474]
mov eax, dword [0x41c090]
push edx
push 0x3039
push eax
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov ecx, dword [0x41d3d0]
mov edx, dword [0x41c090]
push ecx
push 0x3039
push edx
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
cmp byte [0x41bfe0], 1
je 0x4048e1
mov eax, dword [0x423e94]
jmp 0x404991
mov edx, dword [0x41e52c]
mov eax, dword [0x41c090]
push edx
push 0x3039
push eax
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
cmp byte [0x41bfe0], 1
je 0x404933
mov ecx, dword [0x423e8c]
mov edx, dword [0x41c090]
push ecx
push 0x3039
push edx
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov eax, dword [0x41beec]
jmp 0x404991
cmp byte [0x41bfe0], 1
je 0x404967
mov edx, dword [0x41e534]
mov eax, dword [0x41c090]
push edx
push 0x3039
push eax
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov ecx, dword [0x41d470]
mov edx, dword [0x41c090]
push ecx
push 0x3039
push edx
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret
mov eax, dword [0x41c000]
mov ecx, dword [0x41c090]
push eax
push 0x3039
push ecx
call fcn.00405de0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x410
ret