Function at 0x4017c0
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4163d8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x41e040]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x420448]
xor ebx, ebx
mov ecx, 0x420448
lea edx, [esp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [0x420448], edx
cmp eax, ebx
je 0x40181d
lea edx, [esp + 0x18]
mov dword [eax], edx
mov dword [esp + 0x1c], str.password
mov byte [esp + 0x20], 1
mov dword [esp + 0x90], ebx
mov eax, dword [0x420448]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [0x420448], edx
cmp eax, ebx
je 0x401852
lea edx, [esp + 0x78]
mov dword [eax], edx
mov dword [esp + 0x7c], str.force85
mov byte [esp + 0x80], bl
mov eax, dword [0x420448]
lea edx, [esp + 0x64]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [0x420448], edx
cmp eax, ebx
je 0x401882
lea edx, [esp + 0x68]
mov dword [eax], edx
mov dword [esp + 0x6c], str.force850
mov byte [esp + 0x70], bl
mov eax, dword [0x420448]
lea edx, [esp + 0x54]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [0x420448], edx
cmp eax, ebx
je 0x4018af
lea edx, [esp + 0x58]
mov dword [eax], edx
mov dword [esp + 0x5c], str.netapp
mov byte [esp + 0x60], bl
mov eax, dword [0x420448]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [0x420448], edx
cmp eax, ebx
je 0x4018dc
lea edx, [esp + 0x48]
mov dword [eax], edx
mov dword [esp + 0x4c], 0x4192c8
mov byte [esp + 0x50], bl
mov eax, dword [0x420448]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [0x420448], edx
cmp eax, ebx
je 0x401909
lea edx, [esp + 0x38]
mov dword [eax], edx
mov dword [esp + 0x3c], str.help
mov byte [esp + 0x40], bl
mov eax, dword [0x420448]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [0x420448], ecx
cmp eax, ebx
je 0x401936
lea edx, [esp + 0x28]
mov dword [eax], edx
mov dword [esp + 0x2c], 0x4192f0
mov byte [esp + 0x30], bl
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x94], 6
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [esp + 0x10]
mov edi, eax
push edi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00407980
push 0x103
test eax, eax
je 0x4019a2
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00407980
push eax
lea edx, [esi + 0x22c]
push edx
call fcn.00407f41
add esp, 0xc
xor eax, eax
mov word [esi + 0x432], ax
jmp 0x4019b6
lea ecx, [esi + 0x22c]
push 0x41b834
push ecx
call fcn.00407f41
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [esi + 0x10], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [esp + 0x10]
push edi
mov word [esi + 0x12], ax
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.00407980
test eax, eax
jne 0x4019f2
mov ecx, dword [esp + 0x10]
push edi
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.00407980
test eax, eax
je 0x4019f9
mov byte [esi + 0x228], 1
mov eax, dword [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00407980
test eax, eax
je 0x401a14
mov byte [esi + 0x229], 1
mov edx, dword [esp + 0x10]
push edi
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00407980
test eax, eax
je 0x401a2f
mov byte [esi + 0x22a], 1
mov ecx, dword [esp + 0x10]
push edi
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00407980
test eax, eax
jne 0x401a57
mov eax, dword [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00407980
test eax, eax
je 0x401a5e
mov byte [esi + 0x22b], 1
cmp dword [esi + 0xc], ebx
jne 0x401b4c
push 0x2000
call fcn.00407e77
add esp, 4
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x401b4c
push str.Initialize:___failed._m_pBuffer__NULL_n
call fcn.00407fcb
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [eax], edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x401aa4
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax], edx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x401abc
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [eax], edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x401ad4
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [eax], edx
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x401aec
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [eax], edx
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x401b04
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax], edx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x401b1c
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x401b34
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00403e10
test al, al
je 0x401a8c
cmp byte [esi + 0x22b], bl
jne 0x401a8c
push esi
call fcn.00402200
test al, al
je 0x401a8c
call fcn.00403c90
test al, al
je 0x401a8c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [eax], edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x401b99
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax], edx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x401bb1
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [eax], edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x401bc9
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [eax], edx
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x401be1
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [eax], edx
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x401bf9
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax], edx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x401c11
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x401c29
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret