Function at 0x409200
Capabilities:
Access peb ldr_data
Check os version
Contain obfuscated stackstrings
Get common file path
Get ntdll base address
Get process heap flags
Get process heap force flags
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x425eb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.0041969c
lea ebp, [esi + 8]
mov dword [esp + 0x3bc], 0
mov ecx, ebp
call fcn.0041969c
lea ebx, [esi + 0xc]
mov byte [esp + 0x3bc], 1
mov ecx, ebx
call fcn.0041969c
lea ecx, [esi + 0x10]
mov byte [esp + 0x3bc], 2
call fcn.0041969c
lea ecx, [esi + 0x14]
mov byte [esp + 0x3bc], 3
call fcn.0041969c
lea ecx, [esi + 0x18]
mov byte [esp + 0x3bc], 4
call fcn.0041969c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x3bc], 5
call fcn.0041969c
lea ecx, [esi + 0x20]
mov byte [esp + 0x3bc], 6
call fcn.0041969c
lea ecx, [esi + 0x24]
mov byte [esp + 0x3bc], 7
call fcn.0041969c
lea ecx, [esi + 0x28]
mov byte [esp + 0x3bc], 8
call fcn.0041969c
lea ecx, [esi + 0x2c]
mov byte [esp + 0x3bc], 9
call fcn.0041969c
lea ecx, [esi + 0x30]
mov byte [esp + 0x3bc], 0xa
call fcn.0041969c
lea ecx, [esi + 0x34]
mov byte [esp + 0x3bc], 0xb
call fcn.0041969c
lea ecx, [esi + 0x38]
mov byte [esp + 0x3bc], 0xc
call fcn.0041969c
lea eax, [esp + 0x20]
mov byte [esp + 0x3bc], 0xd
push eax
mov dword [esi], 0x427270
mov dword [esp + 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xb4]
push 0x200
push edx
mov dword [esi + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x10]
push eax
call fcn.00419855
push eax
mov ecx, edi
mov byte [esp + 0x3c0], 0xe
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3bc], 0xd
call fcn.004197e7
lea ecx, [esp + 0xb4]
push 0x200
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x10]
push edx
call fcn.00419855
push eax
mov ecx, ebp
mov byte [esp + 0x3c0], 0xf
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3bc], 0xd
call fcn.004197e7
push str.INF
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00419a3e
push eax
mov ecx, ebx
mov byte [esp + 0x3c0], 0x10
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3bc], 0xd
call fcn.004197e7
push str.OTHER
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.00419a3e
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x3c0], 0x11
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3bc], 0xd
call fcn.004197e7
push edi
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.004198e0
mov eax, dword [esi + 0x3c]
mov ebx, 2
cmp eax, ebx
jne 0x40943e
push str.DRIVERS
mov ecx, edi
call fcn.00419b85
lea edx, [esp + 0xb4]
push edx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x10]
push eax
call fcn.00419855
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0x3c0], 0x12
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3bc], 0xd
call fcn.004197e7
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x34]
and ecx, 0xffff
push edx
mov dword [esi + 0x40], ecx
lea ecx, [esp + 0x14]
call fcn.00419855
push eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x3c0], 0x13
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3bc], 0xd
call fcn.004197e7
mov eax, dword [esi + 0x3c]
cmp eax, 1
jne 0x409502
mov eax, dword [esi + 0x40]
cmp eax, 0x3b6
jne 0x4094e2
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x44]
mov dword [esi + 0x4c], eax
jmp 0x409549
cmp eax, 0x60a
jb 0x4094f3
mov eax, ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], eax
jmp 0x409549
mov dword [esi + 0x44], 1
mov eax, dword [esi + 0x44]
mov dword [esi + 0x4c], eax
jmp 0x409549
cmp eax, ebx
jne 0x409549
mov eax, dword [esp + 0x24]
cmp eax, 4
jne 0x409518
mov dword [esi + 0x4c], 5
jmp 0x409549
cmp eax, 5
jne 0x409526
mov dword [esi + 0x4c], 6
jmp 0x409549
cmp eax, 3
jne 0x409549
mov eax, dword [esp + 0x28]
cmp eax, 0x32
jne 0x40953d
mov dword [esi + 0x4c], 3
jmp 0x409549
cmp eax, 0x33
jne 0x409549
mov dword [esi + 0x4c], 4
mov eax, dword [esi + 0x4c]
cmp eax, 6
ja case.default.0x409551
jmp dword [eax*4 + 0x409674]
push str.Windows_95
jmp 0x40958e
push str.Windows_98
jmp 0x40958e
push str.Windows_95_OSR2
jmp 0x40958e
push str.Windows_NT_3.50
jmp 0x40958e
push str.Windows_NT_3.51
jmp 0x40958e
push str.Windows_NT_4.0
jmp 0x40958e
push str.Windows_NT_5.0
jmp 0x40958e
push 0x42e88c
lea ecx, [esi + 0x34]
call fcn.0041992f
lea ecx, [esp + 0x10]
mov edi, 0x100
push ecx
push 0x20019
push 0
push str.SystemCurrentControlSetcontrolComputerNameComputerName
push 0x80000002
mov dword [esi + 0x50], 0
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40962d
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x2b4]
push edx
push eax
push 0
push 0
push str.ComputerName
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x409622
lea edx, [esp + 0x2b4]
lea ecx, [esp + 0x18]
push edx
call fcn.00419855
push eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x3c0], 0x14
call fcn.004198e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3bc], 0xd
call fcn.004197e7
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c4]
test eax, eax
je 0x409654
mov eax, dword [esi + 0x3c]
cmp eax, 1
jne 0x409649
mov ecx, esi
call fcn.00409920
jmp 0x409654
cmp eax, ebx
jne 0x409654
mov ecx, esi
call fcn.004097a0
mov ecx, dword [esp + 0x3b4]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3b0
ret 4