Function at 0x409229
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword [0x4805f0]
test eax, eax
je 0x4091fe
jmp 0x4093a0
jmp 0x409210
push 0xffffffffffffffff
push 0x460b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.0040c950
mov eax, dword [0x47d0a4]
mov dword [esp + 0x2c], 0
mov dword [esp + 8], eax
mov ebx, 1
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0040c9e0
push str.SystemCurrentControlSetServicesVxDVNETSUP
lea ecx, [esp + 0xc]
call fcn.0043f823
push ebx
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0043f40f
lea ecx, [esp + 0x1c]
call fcn.0040cf90
push ecx
add esi, 0x844
mov ecx, esp
mov dword [esp + 0x10], esp
push esi
call fcn.0043f40f
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ComputerName
call fcn.0043f708
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.0040dd90
push str.SYSTEMCurrentControlSetControlComputerNameComputerName
lea ecx, [esp + 0xc]
call fcn.0043f823
push ebx
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0043f40f
lea ecx, [esp + 0x1c]
call fcn.0040cf90
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
call fcn.0043f40f
push ecx
mov byte [esp + 0x34], 3
mov ecx, esp
mov dword [esp + 0x14], esp
push str.ComputerName
call fcn.0043f708
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.0040dd90
push str.SystemCurrentControlSetServicesVxDMSTCP
lea ecx, [esp + 0xc]
call fcn.0043f823
push ebx
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0043f40f
lea ecx, [esp + 0x1c]
call fcn.0040cf90
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
call fcn.0043f40f
push ecx
mov byte [esp + 0x34], 4
mov ecx, esp
mov dword [esp + 0x14], esp
push str.HostName
call fcn.0043f708
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.0040dd90
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.0043f69a
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040c970
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
push 0xffffffffffffffff
push 0x460b60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.0040c950
mov eax, dword [0x47d0a4]
mov dword [esp + 0x28], 0
mov dword [esp + 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.0040c9e0
push str.SYSTEMCurrentControlSetServicesTcpipParameters
lea ecx, [esp + 8]
call fcn.0043f823
push 1
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.0043f40f
lea ecx, [esp + 0x18]
call fcn.0040cf90
push ecx
add esi, 0x844
mov ecx, esp
mov dword [esp + 0xc], esp
push esi
call fcn.0043f40f
push ecx
mov byte [esp + 0x30], 2
mov ecx, esp
mov dword [esp + 0x14], esp
push str.NV_Hostname
call fcn.0043f708
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0040dd90
push str.SYSTEMCurrentControlSetControlComputerNameComputerName
lea ecx, [esp + 8]
call fcn.0043f823
push 1
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0043f40f
lea ecx, [esp + 0x18]
call fcn.0040cf90
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push esi
call fcn.0043f40f
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x10], esp
push str.ComputerName
call fcn.0043f708
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0040dd90
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.0043f69a
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040c970
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret