Function at 0x401ac0
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4513d6
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663d8]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
xor ebp, ebp
mov eax, 7
mov esi, ecx
mov edi, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
mov dword [esp + 0x290], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
push 0x104
lea eax, [esp + 0x80]
push eax
push ebp
mov byte [esp + 0x29c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.install.cfg
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x468bec
lea eax, [esp + 0x80]
call fcn.00424520
add esp, 4
test eax, eax
je 0x401b83
push 1
push 0x456954
mov ecx, 0x468bec
call fcn.00403f40
mov eax, esi
lea edx, [eax + 2]
jmp 0x401b90
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x401b90
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, 0x468bec
call fcn.00403f40
push 0x456958
mov ebx, 3
xor eax, eax
mov edx, 0x468bec
call fcn.004034c0
cmp eax, 0xffffffff
je 0x401bda
push 4
push 0x456960
push ebx
mov esi, eax
mov ebx, 0x468bec
call fcn.00403310
push 0x45696c
mov ebx, 3
xor eax, eax
mov edx, 0x468bec
call fcn.004034c0
cmp eax, 0xffffffff
je 0x401c09
push 4
push 0x456974
push ebx
mov esi, eax
mov ebx, 0x468bec
call fcn.00403310
cmp dword [0x468c00], ebp
mov ebx, 8
je 0x401db7
cmp dword [0x468c04], ebx
mov eax, dword [0x468bf0]
jae 0x401c2c
mov eax, 0x468bf0
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x401e51
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
jle 0x401d98
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
movzx ecx, word [eax]
cmp cx, 0x2d
je 0x401cbd
cmp cx, 0x2f
je 0x401cbd
xor ebx, ebx
mov edx, eax
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x401c71
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x4c]
call fcn.004040c0
cmp dword [esp + 0x14], ebp
je 0x401ced
cmp ebx, ebp
je 0x401cc7
push 0x456954
push ecx
mov edx, esi
push edx
push 0x468b6c
call fcn.00404cf0
add esp, 0xc
push eax
call fcn.00404f70
add esp, 8
mov dword [esp + 0x14], ebp
jmp 0x401d7a
mov ebx, 1
lea edx, [eax + 2]
jmp 0x401c6c
lea eax, [esp + 0x60]
push eax
mov ecx, 0x468b58
call fcn.00402200
push 0xffffffffffffffff
mov ecx, eax
push ebp
lea eax, [esp + 0x4c]
call fcn.00404010
mov dword [esp + 0x14], ebp
jmp 0x401d7a
cmp ebx, ebp
je 0x401d59
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x401d00
lea eax, [esp + 0x48]
push eax
lea ebx, [esp + 0x28]
call fcn.00401a30
test eax, eax
je 0x401d4c
cmp dword [esp + 0x24], ebp
je 0x401d2e
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x68]
call fcn.00404010
mov dword [esp + 0x14], 1
jmp 0x401d7a
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x468b58
call fcn.00402200
push ebp
push 0x456938
mov esi, eax
call fcn.004040c0
jmp 0x401d7a
push 0x456954
push ecx
lea edx, [esp + 0x4c]
push edx
jmp 0x401d64
push 0x456954
push ecx
lea eax, [esp + 0x4c]
push eax
push 0x468b6c
call fcn.00404cf0
add esp, 0xc
push eax
call fcn.00404f70
add esp, 8
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
jl 0x401c52
mov ebx, 8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x14], ebp
je 0x401db7
lea ecx, [esp + 0x44]
push ecx
push 0x468b6c
call fcn.00404cf0
add esp, 8
lea ecx, [esp + 0x28]
mov eax, 0x468b64
call fcn.00402580
xor edx, edx
cmp dword [eax + 0x14], ebp
sete dl
cmp dword [esp + 0x40], ebx
mov esi, edx
jb 0x401de2
mov eax, dword [esp + 0x2c]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0x78], ebx
mov edi, 7
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
jb 0x401e07
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
jb 0x401e27
mov edx, dword [esp + 0x48]
push edx
call fcn.00439935
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00437ffa
add esp, 0x280
ret
push 0x468bec
jmp 0x401daa