Function at 0x480270
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4f9490]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x170]
mov word [ebp - 0x16b], 0x101
push eax
mov byte [ebp - 0x16c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x170], 4
mov esi, eax
jge 0x4803d1
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00484190
push 0
push 0
lea ecx, [ebp - 0x19c]
call fcn.004846a0
call fcn.00481700
push str._NVMP__this_tool_launches_the_nvmp_client_as_fallout_new_vegas._if_you_are_wanting_to_launch_nvmps_browser__use_nvmp_launcher.exe
push 2
push dword [section..data]
push eax
call fcn.00481780
call fcn.00481700
push 0x4aa78c
push 2
push dword [section..data]
push eax
call fcn.00481780
call fcn.00481700
push str.__required_command_lines:
push 2
push dword [section..data]
push eax
call fcn.00481780
call fcn.00481700
push str.______hostname___portname___appID___optional:_auth_token___optional:_product_id___optional:_mods_
push 2
push dword [section..data]
push eax
call fcn.00481780
add esp, 0x40
lea ecx, [ebp - 0x19c]
call fcn.00484ac0
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x188]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x480377
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x480377
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00485f00
push dword [ebp - 0x190]
lea eax, [ebp - 0x190]
mov dword [ebp - 0x188], 0
push eax
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
call fcn.0047f5c0
push 0x38
push dword [ebp - 0x190]
call fcn.00485f00
add esp, 0x18
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486160
mov esp, ebp
pop ebp
ret 0x10
push ebx
push edi
push 3
push dword [esi + 4]
lea eax, [ebp - 0x164]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], eax
call fcn.0047f870
mov edx, dword [ebp - 0x168]
mov ecx, edx
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x480418
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xe4]
call fcn.00480170
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
cmp eax, ecx
je 0x480448
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [esi + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push dword [esi + 0xc]
movzx eax, ax
mov dword [ebp - 0x174], eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 8
mov dword [ebp - 0xb8], 0xf
cmp dword [ebp - 0x170], 5
mov ebx, eax
mov dword [ebp - 0xbc], 4
mov dword [ebp - 0xcc], 0x6c6c756e
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 4
mov dword [ebp - 0xb4], 0x6c6c756e
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], 4
mov dword [ebp - 0x9c], 0x6c6c756e
mov byte [ebp - 0x98], 0
jl 0x480537
push 3
push dword [esi + 0x10]
lea eax, [ebp - 0x164]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], eax
call fcn.0047f870
mov edx, dword [ebp - 0x168]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x480507
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xcc]
call fcn.00480170
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
cmp eax, ecx
je 0x480537
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [ebp - 0x170], 6
jl 0x480597
push 3
push dword [esi + 0x14]
lea eax, [ebp - 0x164]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], eax
call fcn.0047f870
mov edx, dword [ebp - 0x168]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x480567
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.00480170
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
cmp eax, ecx
je 0x480597
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [ebp - 0x170], 7
jl 0x4805f7
push 3
push dword [esi + 0x18]
lea eax, [ebp - 0x164]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], eax
call fcn.0047f870
mov edx, dword [ebp - 0x168]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4805c7
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.00480170
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
cmp eax, ecx
je 0x4805f7
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push ebx
push 0x4aa814
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.00480800
add esp, 0x10
lea eax, [ebp - 0x84]
push eax
push str.SteamGameId
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x84]
push eax
push str.SteamAppId
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp dword [ebp - 0x88], 0x10
lea esi, [ebp - 0x9c]
lea edx, [ebp - 0xb4]
cmovae esi, dword [ebp - 0x9c]
lea ecx, [ebp - 0xcc]
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xe4]
push esi
cmovae edx, dword [ebp - 0xb4]
cmp dword [ebp - 0xb8], 0x10
push edx
cmovae ecx, dword [ebp - 0xcc]
cmp dword [ebp - 0xd0], 0x10
push ecx
cmovae eax, dword [ebp - 0xe4]
push ebx
push dword [ebp - 0x174]
push eax
call fcn.0047f9e0
mov edx, dword [ebp - 0x88]
add esp, 0x18
pop edi
pop ebx
cmp edx, 0x10
jb 0x4806d4
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4806ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4807c1
push edx
push ecx
call fcn.00485f00
add esp, 8
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp edx, 0x10
jb 0x480729
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48071f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4807c1
push edx
push ecx
call fcn.00485f00
add esp, 8
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp edx, 0x10
jb 0x48077a
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x480770
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4807c1
push edx
push ecx
call fcn.00485f00
add esp, 8
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
cmp edx, 0x10
jb 0x4807d1
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4807c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4807c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00485f00
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00486160
mov esp, ebp
pop ebp
ret 0x10