Function at 0x47bce3
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c4
mov eax, dword [0x49a0d0]
xor eax, esp
mov dword [esp + 0x4c0], eax
push ebx
push esi
push edi
xor edi, edi
push edi
call fcn.0044bf7e
pop ecx
push eax
call fcn.0044bb70
xor eax, eax
mov word [esp + 0x2c4], ax
mov dword [esp], 0x206
lea eax, [esp + 0x2c6]
push edi
push eax
call fcn.0044d300
add esp, 0xc
xor eax, eax
push 0x7e
mov word [esp + 0x244], ax
lea eax, [esp + 0x246]
push edi
push eax
call fcn.0044d300
add esp, 0xc
lea eax, [esp + 0xa0]
push eax
call fcn.004077e5
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push 0x4908f4
mov esi, eax
call fcn.0047ba86
mov dword [esp + 0x20], eax
mov eax, esi
mov dword [esp], 0x4908fc
call fcn.0047ba86
pop ecx
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x47bd99
push str._channelid
mov eax, esi
call fcn.0047ba86
pop ecx
mov dword [esp + 0x14], eax
push str._Update
mov eax, esi
call fcn.0047ba86
pop ecx
mov ecx, 0x49c4ec
lea esi, [esp + 0x10]
mov edi, eax
call fcn.00401411
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call fcn.0047ffc6
pop ecx
push eax
mov ebx, esi
call fcn.0048007b
mov esi, dword [esp + 0x14]
xor ebx, ebx
pop ecx
cmp dword [esi - 0xc], ebx
je 0x47be18
lea esi, [esp + 0x10]
call fcn.00407a0d
push ebx
test eax, eax
jl 0x47bdf7
call fcn.00402710
push eax
push 0x490930
push str._s__s_
jmp 0x47be07
call fcn.00402710
push eax
push str._PS
push str._s_s
push 0x49f2f4
call fcn.00404880
mov esi, dword [esp + 0x20]
add esp, 0x10
cmp dword [esp + 0x1c], ebx
jne 0x47bf77
cmp edi, ebx
jne 0x47bf77
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.00408a7e
call fcn.00408a0b
call fcn.00480ef4
push 0x40
lea eax, [esp + 0x244]
push eax
lea ebx, [esp + 0x2c8]
call fcn.004801c5
test eax, eax
jne 0x47bea5
cmp dword [0x49f32c], 8
mov eax, dword [0x49f318]
jae 0x47be77
mov eax, 0x49f318
lea ecx, [esp + 0x240]
call fcn.0047bb2c
test eax, eax
jle 0x47bea5
push 0x40
push 0x490980
push 0x490988
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0047f289
jmp 0x47c0c0
xor ebx, ebx
cmp word [esp + 0x2c0], bx
setne byte [esp + 0x18]
cmp byte [esp + 0x18], bl
je 0x47bec0
mov dword [esp + 0x14], ebx
jmp 0x47bece
cmp dword [esp + 0x14], ebx
jne 0x47bece
mov dword [esp + 0x14], 0x490a20
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
call esi
lea edi, [esp + 0xa0]
call fcn.00407d67
cmp byte [esp + 0x234], bl
je 0x47bf69
lea edi, [esp + 0x20]
call fcn.00405e1e
push ebx
push ebx
lea ebx, [esp + 0x2c8]
call fcn.004801c5
test eax, eax
jne 0x47bf3f
call fcn.00406b8b
mov eax, ebx
push eax
call fcn.0047af52
pop ecx
mov ecx, ebx
call fcn.00406d45
xor ebx, ebx
cmp byte [esp + 0x18], bl
jne 0x47bf2b
call esi
push eax
call fcn.00407bd2
cmp byte [0x49f2b0], bl
je 0x47bf38
call fcn.0047ee00
push ebx
push ebx
call fcn.0047c9e5
call fcn.0047f0a1
call fcn.0047f08d
call fcn.0047f289
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0047f1d8
call fcn.0047a866
lea ecx, [esp + 0x20]
call fcn.0047f05b
call fcn.004089be
mov esi, dword [esp + 0x10]
jmp 0x47c0c0
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00480ef4
push 0x40
lea eax, [esp + 0x244]
push eax
lea ebx, [esp + 0x2c8]
call fcn.004801c5
xor ebx, ebx
test eax, eax
jne 0x47bfa7
cmp edi, ebx
je 0x47c0bb
cmp word [esp + 0x2c0], bx
movzx ecx, word [esp + 0x2c0]
setne byte [esp + 0x18]
cmp edi, ebx
setne byte [esp + 0x10]
push dword [esp + 0x10]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x2c4]
and ecx, eax
lea edi, [esp + 0x164]
call fcn.0047e543
test eax, eax
jl 0x47c0c0
mov eax, 0x49f2f8
call fcn.0048013e
test eax, eax
jl 0x47c0c0
cmp dword [esp + 0x1c], ebx
je 0x47c007
call fcn.00406b8b
jmp 0x47c020
lea eax, [esp + 0xa0]
call fcn.004078cd
cmp byte [0x49f2b0], bl
je 0x47c020
call fcn.0047ee00
push ebx
push ebx
lea ebx, [esp + 0x2c8]
call fcn.004801c5
test eax, eax
jne 0x47c051
mov eax, ebx
push eax
call fcn.0047af52
xor ebx, ebx
pop ecx
cmp byte [esp + 0x18], bl
je 0x47c053
lea ecx, [esp + 0x2c0]
call fcn.00406d45
jmp 0x47c053
xor ebx, ebx
lea edi, [esp + 0x20]
call fcn.00405e1e
mov dword [esp + 0x40], ebx
call fcn.0047f0a1
call fcn.0047f08d
cmp byte [esp + 0x18], bl
je 0x47c07b
push dword [esp + 0x18]
call fcn.0047f121
jmp 0x47c093
cmp dword [esp + 0x14], ebx
jne 0x47c089
mov dword [esp + 0x14], 0x490964
push ebx
push dword [esp + 0x18]
call fcn.0047f1d8
cmp dword [esp + 0x1c], ebx
push dword [esp + 0x10]
setne al
movzx eax, al
push eax
call fcn.0047c9e5
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [esp + 0x20]
call fcn.0047f05b
call fcn.0047a866
lea eax, [esi - 0x10]
call fcn.004027bb
lea eax, [esp + 0xa0]
push eax
call fcn.00407849
mov ecx, dword [esp + 0x4cc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004498d8
mov esp, ebp
pop ebp
ret 0x10