Function at 0x50071f2b
Capabilities:
Get hostname
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x704
push edi
mov edi, eax
cmp dword [edi + 8], 0xfffffffd
jne 0x50071f64
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x50071f64
push dword [ebx + 0x6c]
push 1
push 0x111
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x5007251b
cmp dword [edi + 8], 0xffffff9b
jne 0x5007251b
push esi
lea esi, [ebx + 0xdc]
mov ecx, dword [esi]
push edi
call fcn.500a990e
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x6c], eax
je 0x50072510
mov ecx, dword [esi]
lea eax, [ebp + 0x74]
push eax
call fcn.500a993a
mov eax, dword [ebp + 0x74]
cmp eax, edi
je 0x500722b9
cmp dword [ebx + 0x7c], edi
jne 0x500722c2
mov eax, dword [eax + 0x20]
lea ecx, [ebx + 0x118]
push eax
push ecx
call dword [sym.imp.MSVCR70.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x50072108
mov esi, dword [ebx + 0x40]
call fcn.5006f169
mov dword [ebp + 0x70], edi
jmp 0x50071fd3
xor edi, edi
mov esi, dword [ebp + 0x70]
mov eax, dword [ebp + 0x74]
inc esi
push esi
push 0x50008cac
push dword [eax + 0x20]
lea eax, [ebp - 0x64]
push 0x50008c9c
push eax
call dword [sym.imp.vsansi.dll_wsprintfW]
mov dword [ebp - 0x26c], edi
xor eax, eax
add esp, 0x14
mov ecx, 0x81
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x50008c84
call fcn.50272bbe
test eax, eax
je 0x5007203d
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 0x70]
push dword [ebx + 0x40]
call fcn.50272bbe
cmp esi, 5
mov dword [ebp + 0x70], esi
jl 0x50071fd1
xor edi, edi
push edi
push dword [ebx + 0x40]
call fcn.50272bbe
mov eax, dword [ebp + 0x74]
test byte [eax + 0x2c], 1
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
jne 0x50072075
cmp dword [ebx + 0x80], edi
je 0x50072068
push dword [ebx + 0x40]
call esi
test eax, eax
jne 0x50072075
mov ecx, dword [ebx + 0xcc]
call fcn.500a70fc
jmp 0x500720ea
mov eax, dword [ebp + 0x74]
test byte [eax + 0x2c], 1
je 0x500720f3
push dword [ebx + 0x40]
call esi
test eax, eax
jne 0x500720f3
mov dword [ebp + 0x4c], edi
push 7
pop ecx
lea edi, [ebp + 0x50]
rep stosd dword es:[edi], eax
mov esi, 0x50008c50
lea edi, [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 8
movsd dword es:[edi], dword [esi]
pop ecx
lea edi, [ebp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x4c]
push eax
mov dword [ebp + 0x70], 0x10
call dword [sym.imp.vsansi.dll_GetComputerNameW]
test eax, eax
je 0x500720c6
cmp word [ebp + 0x4c], 0
jne 0x500720d7
push 0xf
lea eax, [ebp + 0x4c]
push eax
push 0x50008bc0
call dword [sym.imp.vsansi.dll_GetEnvironmentVariableW]
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.MSVCR70.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp + 0x1c]
push eax
push dword [ebx + 0x40]
call fcn.50272bbe
mov eax, dword [ebp + 0x74]
push dword [eax + 0x20]
lea eax, [ebx + 0x118]
push eax
call dword [sym.imp.MSVCR70.dll_wcscpy]
pop ecx
pop ecx
mov eax, dword [ebp + 0x74]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebx + 0xbc]
xor edi, edi
inc edi
and eax, edi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x74]
mov ecx, dword [ecx + 0x2c]
lea eax, [ebx + 0xc0]
mov edx, dword [eax]
and ecx, 2
mov dword [edx], ecx
mov eax, dword [eax]
xor esi, esi
cmp dword [eax], esi
je 0x5007219e
cmp dword [ebx + 0x60], esi
je 0x50072160
mov eax, 0x4a0
push eax
push 0x4a1
push eax
push dword [ebx + 0x14]
mov dword [ebx + 0x80], edi
call dword [sym.imp.USER32.dll_CheckRadioButton]
push esi
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x190
push dword [ebx + 0x14]
mov dword [ebx + 0x84], edi
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [ebx + 0xd0]
lea eax, [ebx + 0xcc]
cmp dword [eax], ecx
je 0x50072510
mov dword [eax], ecx
call fcn.500a70fc
push eax
push dword [ebx + 0x40]
call fcn.50272bbe
jmp 0x50072510
mov eax, dword [ebx + 0xbc]
cmp dword [eax], esi
je 0x500721c2
push esi
push 0x190
push dword [ebx + 0x14]
mov dword [ebx + 0x84], esi
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x50072510
mov eax, dword [ebx + 0x60]
cmp eax, esi
je 0x500721fe
mov ecx, dword [ebx + 0xa0]
push edi
lea esi, [ebx + 0x80]
push eax
mov dword [esi], ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi]
neg ecx
mov eax, 0x4a1
sbb ecx, ecx
add ecx, eax
push ecx
push eax
push 0x4a0
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_CheckRadioButton]
xor esi, esi
mov eax, dword [ebx + 0xa4]
cmp eax, esi
mov dword [ebx + 0x84], eax
je 0x5007221a
cmp dword [ebx + 0x80], esi
je 0x5007221a
mov eax, edi
jmp 0x5007221c
xor eax, eax
push eax
push 0x190
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov edx, dword [ebx + 0x80]
cmp edx, esi
je 0x50072249
mov ecx, dword [ebx + 0xd0]
lea eax, [ebx + 0xcc]
cmp dword [eax], ecx
jne 0x50072259
cmp edx, esi
jne 0x50072269
mov ecx, dword [ebx + 0xd4]
lea eax, [ebx + 0xcc]
cmp dword [eax], ecx
je 0x50072269
mov dword [eax], ecx
call fcn.500a70fc
push eax
push dword [ebx + 0x40]
call fcn.50272bbe
cmp dword [ebx + 0x80], esi
je 0x50072510
cmp dword [ebx + 0x84], esi
je 0x50072510
push dword [ebx + 0x14]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
je 0x50072510
push dword [ebx + 0x54]
call esi
test eax, eax
jne 0x50072510
call fcn.50062782
push edi
push dword [eax + 0x9c]
mov esi, ebx
call fcn.50272bbe
jmp 0x50072510
cmp dword [ebx + 0x7c], edi
je 0x50072510
cmp eax, edi
je 0x50072510
test byte [ebx + 0x110], 0x10
mov esi, dword [sym.imp.MSVCR70.dll__wcsicmp]
je 0x50072408
mov ecx, dword [ebx + 0x108]
cmp ecx, edi
je 0x50072408
cmp dword [ecx], edi
je 0x50072408
mov eax, dword [eax + 0x20]
lea ecx, [ebx + 0x118]
push eax
push ecx
call esi
test eax, eax
pop ecx
pop ecx
je 0x50072408
mov eax, dword [ebp + 0x74]
mov eax, dword [eax + 0x20]
push 0x50008c78
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x500723e3
mov eax, dword [ebp + 0x74]
push 0x50008cac
push dword [eax + 0x20]
lea eax, [ebp - 0x64]
push 0x50008c6c
push eax
call dword [sym.imp.vsansi.dll_wsprintfW]
mov dword [ebp - 0x26c], edi
xor eax, eax
add esp, 0x10
mov ecx, 0x81
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x50008c84
call fcn.50272bbe
test eax, eax
jne 0x500723d0
and dword [ebp + 0x4c], eax
push 7
pop ecx
lea edi, [ebp + 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x26c]
push 0x50008c50
push eax
mov dword [ebp + 0x70], 0x10
call dword [sym.imp.MSVCR70.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x4c]
push eax
call dword [sym.imp.vsansi.dll_GetComputerNameW]
test eax, eax
je 0x500723ac
cmp word [ebp + 0x4c], 0
jne 0x500723bd
push 0xf
lea eax, [ebp + 0x4c]
push eax
push 0x50008bc0
call dword [sym.imp.vsansi.dll_GetEnvironmentVariableW]
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.MSVCR70.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0x26c]
push eax
push dword [ebx + 0x40]
call fcn.50272bbe
xor edi, edi
jmp 0x500723f3
mov eax, dword [ebx + 0x108]
push dword [eax]
push dword [ebx + 0x40]
call fcn.50272bbe
mov eax, dword [ebp + 0x74]
push dword [eax + 0x20]
lea eax, [ebx + 0x118]
push eax
call dword [sym.imp.MSVCR70.dll_wcscpy]
pop ecx
pop ecx
lea ecx, [ebp - 0x68c]
call fcn.500a785c
mov eax, dword [0x5028e1a0]
cmp dword [eax + 0xb0], edi
je 0x50072505
mov ecx, dword [ebp + 0x74]
lea eax, [ebp - 0x68c]
push eax
call fcn.500a8feb
test eax, eax
jl 0x50072505
push 0x50008c60
lea ecx, [ebp - 0x68c]
call fcn.50272bbe
push eax
call esi
pop ecx
pop ecx
test eax, eax
mov eax, dword [0x5028e1a0]
push 0xfffffffffffffff0
push dword [eax + 0x6c]
jne 0x500724a4
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
call edi
mov esi, eax
mov eax, dword [0x5028e1a0]
push 0xffffffffffffffec
push dword [eax + 0x6c]
call edi
and esi, 0xffffbff5
or esi, 1
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
mov edi, eax
mov eax, dword [0x5028e1a0]
push 0xfffffffffffffff0
push dword [eax + 0x6c]
or edi, 4
call esi
mov eax, dword [0x5028e1a0]
push edi
push 0xffffffffffffffec
push dword [eax + 0x6c]
call esi
jmp 0x500724e5
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
call esi
mov edi, eax
mov eax, dword [0x5028e1a0]
push 0xffffffffffffffec
push dword [eax + 0x6c]
call esi
or edi, 0x400b
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, eax
mov eax, dword [0x5028e1a0]
push 0xfffffffffffffff0
push dword [eax + 0x6c]
and esi, 0xfffffffb
call edi
mov eax, dword [0x5028e1a0]
push esi
push 0xffffffffffffffec
push dword [eax + 0x6c]
call edi
mov eax, dword [0x5028e1a0]
push 1
push 0
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x5028e1a0]
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [ebp - 0x68c]
call fcn.501b7afc
push dword [ebp + 0x6c]
mov eax, ebx
call fcn.50272bbe
pop esi
pop edi
add ebp, 0x78
leave
ret