Function at 0x4661d0
Capabilities:
Accept command line arguments
Access peb ldr_data
Get process heap flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5057f8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.iprogress_controller.0
lea eax, [edi + 8]
mov dword [edi], vtable.progress_controller.1.0
mov dword [edi + 4], vtable.progress_controller.0
mov dword [ebp - 0x54], eax
mov dword [edi + 8], 0
lea eax, [edi + 0xc]
mov dword [eax], 0
mov dword [ebp - 0x50], eax
mov dword [edi + 0x10], 0
lea eax, [edi + 0x18]
push 2
push eax
call fcn.00490901
add esp, 8
lea eax, [edi + 0x4c]
mov byte [edi + 0x48], 0
mov dword [ebp - 0x58], eax
lea esi, [edi + 0x48]
xor ecx, ecx
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
mov dword [eax + 0x30], ecx
lea ecx, [eax + 0x34]
mov byte [ebp - 4], 8
call fcn.0041eb70
lea eax, [edi + 0xa0]
xor ecx, ecx
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xc0], ecx
mov dword [edi + 0x14], ecx
xor al, al
xchg byte [esi], al
xor eax, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x4663a7
mov esi, dword [ebp - 0x18]
cmp esi, 1
jle 0x46639e
mov eax, dword [eax + 4]
mov ecx, 0x52b444
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46635e
test dx, dx
je 0x46635a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46635e
add eax, 4
add ecx, 4
test dx, dx
jne 0x466338
xor eax, eax
jmp 0x466363
sbb eax, eax
or eax, 1
test eax, eax
jne 0x466375
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push esi
call fcn.00467ae0
jmp 0x46639e
cmp esi, 2
jle 0x46639e
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466385
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00415d70
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xe
lea ecx, [edi + 0xa0]
cmp ecx, eax
je 0x4663c9
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00415d70
push 0x58
call fcn.004a4626
add esp, 4
mov esi, eax
mov dword [ebp - 0x4c], esi
push 0x58
push 0
push esi
call fcn.004d78d0
add esp, 0xc
mov dword [esi + 4], edi
lea edi, [esi + 0x20]
mov dword [esi], vtable.progress_controller::comm_observer.0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
push 2
push edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call fcn.00490901
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
add esp, 8
mov byte [esi + 0x50], 0
cmp eax, ecx
je 0x466446
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x46645d
lea eax, [edi + 0x20]
push eax
call fcn.004908d7
add esp, 4
push 0x58
push edi
jmp 0x466452
push edi
call fcn.004908d7
add esp, 4
push 0x58
push esi
call fcn.004a44fe
mov eax, dword [ebp - 0x50]
add esp, 8
cmp dword [ebp - 0x34], 8
lea edi, [ebp - 0x48]
mov esi, dword [eax]
cmovae edi, dword [ebp - 0x48]
push 0x18
call fcn.004a4626
add esp, 4
mov dword [ebp - 0x50], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 0xf
push edi
movups xmmword [eax], xmm0
push esi
mov ecx, eax
movq qword [eax + 0x10], xmm0
call fcn.00467c40
mov esi, eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
cmp eax, ecx
je 0x4664da
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x466517
cmp dword [edi + 0x14], 0
jne 0x4665cb
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4664c1
push eax
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x4664cb
push eax
call esi
mov eax, dword [edi + 4]
test eax, eax
je 0x4664d5
push eax
call esi
push 0x18
push edi
jmp 0x46650f
test esi, esi
je 0x466517
cmp dword [esi + 0x14], 0
jne 0x4665cb
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4664f8
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x466502
push eax
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x46650c
push eax
call edi
push 0x18
push esi
call fcn.004a44fe
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
call fcn.004219d0
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
call fcn.00421810
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
call fcn.00419a40
mov ecx, dword [ebp - 0x58]
add esp, 0x30
push eax
call fcn.0041c6f0
lea ecx, [ebp - 0x84]
call fcn.00418320
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x466573
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0xa0]
call fcn.004161c0
lea ecx, [ebp - 0xb8]
call fcn.004161c0
mov esi, dword [ebp - 0x5c]
mov ecx, dword [esi + 0x7c]
mov dword [0x557a28], ecx
mov dword [0x557a20], ecx
lea ecx, [ebp - 0x30]
call fcn.004161c0
lea ecx, [ebp - 0x48]
call fcn.004161c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004dee57
int3