Function at 0x40c270
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d9f7
mov eax, dword fs:[0]
push eax
sub esp, 0x948
mov eax, dword [0x468cb0]
xor eax, esp
mov dword [esp + 0x940], eax
push ebx
push esi
push edi
mov eax, dword [0x468cb0]
xor eax, esp
push eax
lea eax, [esp + 0x958]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.00410e38
push 0
call fcn.004117c4
add esp, 4
mov ecx, ebx
push str.Realtek
call fcn.00412991
call section..text
call fcn.0040a550
call fcn.004037f0
lea eax, [esp + 0x18]
push 0x45b844
push eax
mov dword [esp + 0x20], str.CRmbChangeApp::InitInstance
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 1
call fcn.0040a3d0
push str.Sun_Jun__9_10:55:40_2013
push 0x46d76c
lea eax, [esp + 0x28]
push str.RmbChange__S__started_on__s__n
push eax
mov dword [esp + 0x978], 0
call fcn.0040a3d0
add esp, 0x18
cmp dword [0x46d77c], 0
jne 0x40c3c3
push 0x134
call fcn.0040e069
add esp, 4
test eax, eax
je 0x40c388
mov dword [eax + 0x130], 0
mov dword [eax + 0x128], 0
mov dword [eax + 0x12c], 0
mov dword [eax + 8], 0
jmp 0x40c38a
xor eax, eax
push 0x11c
lea esi, [eax + 0xc]
push 0
push esi
mov dword [0x46d77c], eax
call fcn.00432320
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
mov dword [esi], 0x11c
push esi
call edi
test eax, eax
jne 0x40c3be
push esi
mov dword [esi], 0x114
call edi
call fcn.0040dea0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call fcn.00401c90
mov byte [esp + 0x960], 1
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push str.GetCommandLine_:__s_n
push eax
call fcn.0040a3d0
mov eax, dword [esp + 0x1c]
add esp, 0xc
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
jl 0x40c6aa
push str._install
push eax
call fcn.004301e9
mov ecx, eax
mov eax, dword [esp + 0x18]
add esp, 8
test ecx, ecx
je 0x40c66c
sub ecx, eax
sar ecx, 1
js 0x40c66c
push ecx
lea ecx, [esp + 0x30]
call fcn.0040cc10
mov byte [esp + 0x960], 2
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x40c4eb
push 0x45c0b0
push eax
call fcn.004301e9
mov edx, eax
add esp, 8
test edx, edx
je 0x40c4eb
mov ecx, dword [esp + 0x10]
sub edx, ecx
sar edx, 1
test edx, edx
jle 0x40c4eb
mov eax, dword [ecx - 0xc]
sub eax, edx
dec eax
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00403a10
mov esi, dword [esp + 0x14]
push 0x45c0b4
push esi
call fcn.004321b0
add esp, 8
test eax, eax
jne 0x40c4a4
mov dword [esp + 0x944], 1
jmp 0x40c4ca
push 0x45c0c0
push esi
call fcn.004321b0
mov ecx, dword [esp + 0x94c]
add esp, 8
mov edx, 2
test eax, eax
cmove ecx, edx
mov dword [esp + 0x944], ecx
add esi, 0xfffffff0
mov byte [esp + 0x960], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c4eb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str.RmbChange_Install._n
lea eax, [esp + 0x1c]
push 0x45b934
push eax
call fcn.0040a3d0
add esp, 8
lea ecx, [esp + 0x30]
call fcn.0040d650
cmp dword [esp + 0x938], 0
je 0x40c5fc
mov eax, dword [esp + 0x944]
xor edi, edi
sub eax, edi
je 0x40c597
dec eax
je 0x40c569
dec eax
jne 0x40c5fc
lea ecx, [esp + 0x2c]
call fcn.0040d2b0
mov ecx, dword [esp + 0x910]
mov edi, eax
mov esi, dword [ecx]
cmp esi, ecx
je 0x40c5f8
lea esp, [esp]
lea ecx, [esi + 8]
push ecx
call fcn.0040b050
mov esi, dword [esi]
cmp esi, dword [esp + 0x910]
jne 0x40c550
jmp 0x40c5f8
lea ecx, [esp + 0x2c]
call fcn.0040d570
mov ecx, dword [esp + 0x918]
mov ebx, eax
mov esi, dword [ecx]
cmp esi, ecx
je 0x40c5f4
lea ecx, [esi + 8]
push ecx
call fcn.0040b350
mov esi, dword [esi]
cmp esi, dword [esp + 0x918]
jne 0x40c581
jmp 0x40c5f4
lea ecx, [esp + 0x2c]
call fcn.0040d570
mov ebx, eax
mov eax, dword [esp + 0x918]
mov esi, dword [eax]
cmp esi, eax
je 0x40c5c4
nop
lea eax, [esi + 8]
push eax
call fcn.0040b350
mov esi, dword [esi]
cmp esi, dword [esp + 0x918]
jne 0x40c5b0
lea ecx, [esp + 0x2c]
call fcn.0040d2b0
mov edi, eax
mov eax, dword [esp + 0x910]
mov esi, dword [eax]
cmp esi, eax
je 0x40c5f4
lea esp, [esp]
lea eax, [esi + 8]
push eax
call fcn.0040b050
mov esi, dword [esi]
cmp esi, dword [esp + 0x910]
jne 0x40c5e0
test ebx, ebx
jne 0x40c606
test edi, edi
jne 0x40c606
mov dword [0x46d884], 1
cmp dword [esp + 0x93c], 0
je 0x40c636
mov eax, dword [esp + 0x944]
sub eax, 0
je 0x40c628
dec eax
je 0x40c624
dec eax
jne 0x40c636
jmp 0x40c62f
push 1
jmp 0x40c631
push 1
call fcn.0040b6a0
push 2
call fcn.0040b6a0
mov eax, dword [esp + 0x940]
test eax, eax
je 0x40c647
push eax
call fcn.0040b950
lea ecx, [esp + 0xc0]
mov byte [esp + 0x960], 1
call fcn.00402440
lea ecx, [esp + 0x2c]
call fcn.00412be8
or edi, 0xffffffff
jmp 0x40c6fd
cmp dword [eax - 0xc], 0
jl 0x40c6aa
push str._uninstall
push eax
call fcn.004301e9
add esp, 8
test eax, eax
je 0x40c6aa
sub eax, dword [esp + 0x10]
sar eax, 1
js 0x40c6aa
push str.RmbChange_Uninstall._n
lea eax, [esp + 0x1c]
push 0x45b934
push eax
call fcn.0040a3d0
add esp, 0xc
call fcn.0040ac10
jmp 0x40c6fd
push str.RmbChange_UI._n
lea eax, [esp + 0x1c]
push 0x45b934
push eax
call fcn.0040a3d0
add esp, 8
lea ecx, [esp + 0x30]
call fcn.0040cc10
lea eax, [esp + 0x2c]
mov byte [esp + 0x960], 4
mov ecx, eax
mov dword [ebx + 0x20], eax
call fcn.00413093
lea ecx, [esp + 0xc0]
mov byte [esp + 0x960], 1
call fcn.00402440
lea ecx, [esp + 0x2c]
call fcn.00412be8
mov byte [esp + 0x960], 0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40c720
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x18]
push str.EXIT________n
push eax
call fcn.0040a3d0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x958]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x940]
xor ecx, esp
call fcn.0042f518
mov esp, ebp
pop ebp
ret