Function at 0x45fe40
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 0x4fcad8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x53d058]
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.0048617b
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.0040b2c0
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 0x460017
mov esi, dword [ebp - 0x18]
cmp esi, 1
jle 0x46000e
mov eax, dword [eax + 4]
mov ecx, str.showprogress
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ffce
test dx, dx
je 0x45ffca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ffce
add eax, 4
add ecx, 4
test dx, dx
jne 0x45ffa8
xor eax, eax
jmp 0x45ffd3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ffe5
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push esi
call fcn.00461930
jmp 0x46000e
cmp esi, 2
jle 0x46000e
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 0x45fff5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.004034d0
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 0x460039
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004034d0
push 0x58
call fcn.00498569
add esp, 4
mov esi, eax
mov dword [ebp - 0x4c], esi
push 0x58
push 0
push esi
call fcn.004cdf10
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.0048617b
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
add esp, 8
mov byte [esi + 0x50], 0
cmp eax, ecx
je 0x4600b6
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x4600cd
lea eax, [edi + 0x20]
push eax
call fcn.00486151
add esp, 4
push 0x58
push edi
jmp 0x4600c2
push edi
call fcn.00486151
add esp, 4
push 0x58
push esi
call fcn.0049855b
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.00498569
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.00461a90
mov esi, eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
cmp eax, ecx
je 0x46014a
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x460187
cmp dword [edi + 0x14], 0
jne 0x46023b
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x460131
push eax
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x46013b
push eax
call esi
mov eax, dword [edi + 4]
test eax, eax
je 0x460145
push eax
call esi
push 0x18
push edi
jmp 0x46017f
test esi, esi
je 0x460187
cmp dword [esi + 0x14], 0
jne 0x46023b
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x460168
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x460172
push eax
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x46017c
push eax
call edi
push 0x18
push esi
call fcn.0049855b
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
call fcn.0040f1a0
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
call fcn.0040efe0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
call fcn.00407f90
mov ecx, dword [ebp - 0x58]
add esp, 0x30
push eax
call fcn.0040a9e0
lea ecx, [ebp - 0x84]
call fcn.004064a0
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4601e3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0xa0]
call fcn.004033a0
lea ecx, [ebp - 0xb8]
call fcn.004033a0
mov esi, dword [ebp - 0x5c]
mov ecx, dword [esi + 0x7c]
mov dword [0x5457f0], ecx
mov dword [0x5457e8], ecx
lea ecx, [ebp - 0x30]
call fcn.004033a0
lea ecx, [ebp - 0x48]
call fcn.004033a0
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.0049852a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004d07c0
int3