Function at 0x41626c
Capabilities:
Accept command line arguments

Disassembly:
push 0x60
mov eax, 0x6175e4
call fcn.00429e48
mov eax, dword [ebp + 8]
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], ebx
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], ecx
call fcn.004c574b
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1f0]
mov ecx, esi
call dword [0x63a7a0]
mov ecx, edi
call esi
mov dword [ebp - 0x14], 1
mov esi, 0x68de10
test al, al
je 0x416314
push str.PERM
lea ecx, [ebp - 0x50]
call fcn.00411838
push 2
pop ebx
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
push esi
lea eax, [ebp - 0x6c]
push eax
call fcn.00416885
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4162f6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00411b20
lea ecx, [ebp - 0x6c]
call fcn.0041395f
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0041395f
mov ecx, dword [0x6cecc4]
call fcn.004d9661
test al, al
je 0x416372
push 0x68dac0
lea ecx, [ebp - 0x50]
call fcn.00411838
or ebx, 4
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
push esi
lea eax, [ebp - 0x6c]
push eax
call fcn.00416885
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x416354
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00411b20
lea ecx, [ebp - 0x6c]
call fcn.0041395f
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0041395f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x4163cb
mov ecx, dword [0x6cec90]
push str._firstsetup
mov ecx, dword [ecx]
mov esi, dword [ecx + 0x18]
lea ecx, [ebp - 0x50]
call fcn.00411838
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x18]
or ebx, 1
mov ecx, esi
push edi
mov dword [ebp - 0x34], ebx
call dword [0x63a7a0]
mov ecx, dword [0x6cec90]
call esi
test al, al
jne 0x4163cf
mov byte [ebp - 0x14], 0
and dword [ebp - 4], 0
test bl, 1
je 0x4163e0
lea ecx, [ebp - 0x50]
call fcn.0041395f
cmp byte [ebp - 0x14], 0
je 0x416436
push str.BTSP
lea ecx, [ebp - 0x50]
call fcn.00411838
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 6
push eax
push 0x68de10
lea eax, [ebp - 0x6c]
push eax
call fcn.00416885
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x416418
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00411b20
lea ecx, [ebp - 0x6c]
call fcn.0041395f
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0041395f
cmp dword [ebp - 0x20], 0
jne 0x416449
push 0x68de10
lea ecx, [ebp - 0x30]
call fcn.00411a05
push 0x68dbd0
lea ecx, [ebp - 0x50]
call fcn.00411838
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
call fcn.00411d98
mov ecx, dword [eax]
lea eax, [ebp - 0x30]
add ecx, 0x28
cmp ecx, eax
je 0x416487
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00411a2e
lea ecx, [ebp - 0x50]
call fcn.0041395f
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x4164ca
mov ecx, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], ecx
cmp eax, 0x1000
jb 0x4164c1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00413aba
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.00429b68
pop ecx
pop ecx
call fcn.00429df7
ret 4