Function at 0x471f52
Capabilities:
Get common file path
Get comspec environment variable
Get hostname
Get keyboard layout
Get program files directory
Get session user name
Get startup folder
Query environment variable

Disassembly:
sub esp, 0x53c
push ebx
push ebp
mov ebp, dword [esp + 0x54c]
push esi
mov esi, dword [esp + 0x54c]
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x72]
push ecx
mov word [esp + 0x74], ax
call fcn.00414700
add esp, 0xc
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x342]
push eax
mov word [esp + 0x344], dx
call fcn.00414700
mov ecx, dword [esp + 0x564]
add esp, 0xc
xor edi, edi
mov dword [esp + 0x10], ecx
lea ebx, [edi + 1]
mov edx, dword [esp + 0x10]
mov eax, dword [edi*4 + 0x492950]
push edx
push eax
call fcn.004148f4
add esp, 8
test eax, eax
je 0x471fd4
add edi, ebx
cmp edi, 0x60
jl 0x471fb4
cmp edi, 0x60
jne 0x47204f
mov edi, 0x48c554
lea esi, [esp + 0x28]
call fcn.00401640
lea ecx, [esp + 0x558]
push ecx
mov eax, esi
mov dword [esp + 0x14], 0
call fcn.004072b0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
xor ecx, ecx
call fcn.00407570
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x472039
mov ecx, esi
call fcn.00402130
lea ecx, [esp + 0x558]
call fcn.00402130
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x53c
ret 0x18
push eax
mov ebx, ebp
call fcn.00404370
lea ecx, [esp + 0x28]
call fcn.00402130
jmp case.0x472058.87
cmp edi, 0x5f
ja case.0x472058.87
jmp dword [edi*4 + 0x472d36]
mov edi, 0x48c5ac
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov edi, 0x485eb0
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov edi, 0x48813c
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov edi, 0x48c5b0
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 4]
call fcn.00403c40
mov edi, dword [eax + 0x14]
mov esi, ebp
call fcn.00404420
mov dword [ebp], edi
jmp 0x472d17
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 4]
call fcn.00403c40
mov edi, dword [eax + 0x1c]
mov esi, ebp
call fcn.00404420
mov dword [ebp], edi
jmp 0x472d17
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x26]
push eax
push 0x48c5b4
lea ecx, [esp + 0x70]
push ecx
call fcn.00414a4a
add esp, 0xc
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x48c5c0
lea edx, [esp + 0x2d0]
push edx
lea eax, [esp + 0x2bc]
push eax
call fcn.00444298
push eax
call fcn.0045026a
mov edi, eax
mov esi, ebp
call fcn.0040fa60
lea ecx, [esp + 0x2cc]
call fcn.00402130
jmp case.0x472058.87
push 0x48c5c8
lea ecx, [esp + 0x280]
push ecx
lea edx, [esp + 0x314]
push edx
call fcn.00444298
push eax
call fcn.0045026a
mov edi, eax
mov esi, ebp
call fcn.0040fa60
lea ecx, [esp + 0x27c]
call fcn.00402130
jmp case.0x472058.87
push 0x48c5d0
lea eax, [esp + 0x2f0]
push eax
lea ecx, [esp + 0x31c]
push ecx
call fcn.00444298
push eax
call fcn.0045026a
mov edi, eax
mov esi, ebp
call fcn.0040fa60
lea ecx, [esp + 0x2ec]
call fcn.00402130
jmp case.0x472058.87
push 0x488134
lea edx, [esp + 0x290]
push edx
lea eax, [esp + 0x324]
push eax
call fcn.00444298
push eax
call fcn.0045026a
mov edi, eax
mov esi, ebp
call fcn.0040fa60
lea ecx, [esp + 0x28c]
call fcn.00402130
jmp case.0x472058.87
push 0x48c5d8
lea ecx, [esp + 0x2a8]
push ecx
lea edx, [esp + 0x30c]
push edx
call fcn.00444298
push eax
call fcn.0045026a
mov edi, eax
mov esi, ebp
call fcn.0040fa60
lea ecx, [esp + 0x2a4]
call fcn.00402130
jmp case.0x472058.87
push 0x48c5e0
lea eax, [esp + 0x2c0]
push eax
lea ecx, [esp + 0x2a4]
push ecx
call fcn.00444298
push eax
call fcn.0045026a
mov edi, eax
mov esi, ebp
call fcn.0040fa60
lea ecx, [esp + 0x2bc]
call fcn.00402130
jmp case.0x472058.87
lea edx, [esp + 0x2fc]
push edx
call fcn.00444298
push eax
call fcn.004502e6
push eax
push 0x488134
lea eax, [esp + 0x70]
push eax
jmp 0x4720fe
push 0x48c5e8
lea ecx, [esp + 0x2e0]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00444298
push eax
call fcn.0045026a
mov edi, eax
mov esi, ebp
call fcn.0040fa60
lea ecx, [esp + 0x2dc]
call fcn.00402130
jmp case.0x472058.87
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea edx, [esp + 0x68]
push edx
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea edx, [esp + 0x68]
push edx
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 0x1f
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea edx, [esp + 0x68]
push edx
push 0
push 0
push 0x16
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 0x18
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea edx, [esp + 0x68]
push edx
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 6
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea edx, [esp + 0x68]
push edx
push 0
push 0
push 0xb
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 7
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov ecx, dword [0x4a6dbc]
cmp byte [ecx + 0x2a], 0
push 0x104
lea edx, [esp + 0x6c]
push edx
je 0x47258a
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
call fcn.00435d56
call eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00435f82
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov esi, ebp
call fcn.00404420
mov dword [ebp], 6
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 3
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 9
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 5
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 0xa
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 2
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 7
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 8
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 4
jmp 0x472d17
mov esi, ebp
cmp byte [0x494cb2], bl
jne 0x472d0b
call fcn.00404420
mov dword [ebp], ebx
jmp 0x472d17
mov esi, ebp
cmp byte [0x4a5ee9], bl
jne 0x472d0b
call fcn.00404420
mov dword [ebp], ebx
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 0x40
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 0x41
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 0x42
jmp 0x472d17
mov esi, ebp
call fcn.00404420
mov dword [ebp], 0x43
jmp 0x472d17
mov edi, dword [esi + 0xc0]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov edi, dword [esi + 0xb0]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov edi, dword [esi + 0xd0]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov eax, dword [esi + 0xec]
push eax
call fcn.004397dc
mov esi, ebp
mov edi, eax
call fcn.00404420
mov dword [ebp], edi
jmp 0x472d17
lea ecx, [esp + 0x68]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov edx, dword [0x4a6dbc]
movzx eax, word [edx + 0x2c]
test eax, eax
je 0x472790
cmp eax, 6
je 0x47276d
mov ebx, ebp
cmp eax, 9
jne 0x472860
mov edi, 0x48c604
call fcn.0040fb10
jmp case.0x472058.87
mov edi, str.IA64
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
call fcn.00412220
mov edi, 0x48c604
test al, al
jne 0x47210a
mov edi, 0x48c5f0
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov edi, str.WIN32_NT
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov eax, dword [0x4a6dbc]
cmp byte [eax + 0x28], bl
jne 0x4727cd
mov edi, str.WIN_2008R2
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
cmp byte [eax + 0x26], bl
jne 0x4727e3
mov edi, str.WIN_7
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
cmp byte [eax + 0x24], bl
jne 0x4727f9
mov edi, str.WIN_2008
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
cmp byte [eax + 0x22], bl
jne 0x47280f
mov edi, str.WIN_VISTA
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
cmp byte [eax + 0x20], bl
jne 0x472825
mov edi, str.WIN_2003
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
cmp byte [eax + 0x1e], bl
jne 0x47284a
cmp byte [eax + 0x2e], 0
mov edi, str.WIN_XPe
jne 0x47210a
mov edi, str.WIN_XP
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
cmp byte [eax + 0x1c], bl
mov ebx, ebp
jne 0x472860
mov edi, str.WIN_2000
call fcn.0040fb10
jmp case.0x472058.87
mov edi, str.UNKNOWN
call fcn.0040fb10
jmp case.0x472058.87
mov eax, dword [0x4a6dbc]
mov edi, dword [eax + 8]
mov esi, ebp
call fcn.00404420
mov dword [ebp], edi
jmp 0x472d17
mov edi, dword [0x4a6dbc]
add edi, 0xc
mov esi, ebp
call fcn.0040fa60
jmp case.0x472058.87
push 0x104
push str.InstallLanguage
push str.SYSTEMCurrentControlSetControlNlsLanguage
push reloc.WSOCK32.dll_bind
lea esi, [esp + 0x78]
call fcn.004104c0
add esp, 0x10
mov edi, esi
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
push str.SchemeLangID
push str.Control_PanelAppearance
push reloc.WSOCK32.dll_accept
lea esi, [esp + 0x78]
call fcn.004104c0
movzx eax, word [esp + 0x78]
push 4
push esi
push eax
mov dword [esp + 0x30], eax
call fcn.00437a5d
add esp, 0x1c
mov edi, esi
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea edx, [esp + 0x324]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
lea edi, [esp + 0x324]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x338]
push str.3__3__4__0
push eax
call fcn.00412ba1
lea ecx, [esp + 0x340]
push ecx
xor esi, esi
xor edi, edi
call fcn.004127e5
add esp, 0xc
test eax, eax
jle 0x472997
movzx eax, word [esp + edi*2 + 0x338]
cmp ax, 0x20
je 0x472981
cmp ax, 0x2c
jne 0x472977
mov edx, 0x2e
mov word [esp + esi*2 + 0x338], dx
jmp 0x47297f
mov word [esp + esi*2 + 0x338], ax
add esi, ebx
lea eax, [esp + 0x338]
push eax
add edi, ebx
call fcn.004127e5
add esp, 4
cmp edi, eax
jl 0x472954
xor ecx, ecx
lea edi, [esp + 0x338]
mov ebx, ebp
mov word [esp + esi*2 + 0x338], cx
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
lea edx, [esp + 0x6c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.004380f2
add esp, 8
lea edi, [esp + 0x48]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea ecx, [esp + 0x48]
push ecx
push 2
call fcn.004380f2
add esp, 8
lea edi, [esp + 0x48]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea edx, [esp + 0x48]
push edx
push 3
call fcn.004380f2
add esp, 8
lea edi, [esp + 0x48]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x48]
push eax
push 4
call fcn.004380f2
add esp, 8
lea edi, [esp + 0x48]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x40]
mov esi, ebp
call fcn.00404420
mov dword [ebp], edi
jmp 0x472d17
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x44]
mov esi, ebp
call fcn.00404420
mov dword [ebp], edi
jmp 0x472d17
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, ebp
mov dword [esp + 0x18], eax
call fcn.00404420
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
push edi
mov dword [ebp + 8], ebx
mov dword [ebp], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp case.0x472058.87
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0x74
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, ebp
mov dword [esp + 0x18], eax
call fcn.00404420
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push edi
mov dword [ebp + 8], ebx
mov dword [ebp], edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp case.0x472058.87
push 0x104
lea ecx, [esp + 0x6c]
push ecx
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea edx, [esp + 0x68]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea esi, [esp + 0x68]
call fcn.004114f0
mov edi, esi
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov eax, dword [0x4a571c]
cmp eax, 3
je case.0x472058.43
cmp eax, 4
jne case.0x472058.30
mov esi, ebp
call fcn.00404420
mov dword [ebp], ebx
jmp 0x472d17
push 0x104
lea edx, [esp + 0x6c]
push edx
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
lea eax, [esp + 0x6c]
push eax
push str.HOMEDRIVE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
lea ecx, [esp + 0x6c]
push ecx
push str.HOMEPATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
lea edx, [esp + 0x6c]
push edx
push str.HOMESHARE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
lea eax, [esp + 0x6c]
push eax
push str.LOGONSERVER
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
lea ecx, [esp + 0x6c]
push ecx
push str.USERDOMAIN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
push 0x104
lea edx, [esp + 0x6c]
push edx
push str.USERDNSDOMAIN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x68]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
mov edi, dword [esi + 0x140]
mov esi, ebp
call fcn.00404420
mov dword [ebp], edi
jmp 0x472d17
mov edi, dword [esi + 0x144]
mov ebx, ebp
call fcn.0040fb10
jmp case.0x472058.87
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jge 0x472cee
fadd qword [0x48d260]
mov esi, ebp
fstp qword [esp + 0x18]
call fcn.00404420
fld qword [esp + 0x18]
fstp qword [ebp]
mov dword [ebp + 8], 3
jmp case.0x472058.87
mov esi, ebp
call fcn.00404420
mov dword [ebp], 0
mov dword [ebp + 8], ebx
lea ecx, [esp + 0x558]
call fcn.00402130
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x53c
ret 0x18