Function at 0x41ba90
Capabilities:
Accept command line arguments
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x44ef24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0xffffffffffffffff
call sub.IMM32.dll_ImmDisableIME
push 0x8000
push 0
call fcn.00426450
push eax
call sub.msvcrt.dll__fileno
add esp, 8
push eax
call sub.msvcrt.dll__setmode
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x14
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x41be19
mov eax, dword [ebp - 0x210]
test eax, eax
jle 0x41be19
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jle 0x41bb8e
push dword [ebx + esi*4]
push esi
push str.wWinMain
push str._WDWebPro___s____szArglist__d__s
call fcn.00401530
add esp, 0x10
push str.chrome_extension:
push dword [ebx + esi*4]
call edi
test eax, eax
jne 0x41bb4f
inc esi
cmp esi, dword [ebp - 0x210]
jl 0x41bb20
jmp 0x41bb8e
mov esi, dword [ebx + esi*4]
lea ecx, [ebp - 0x20c]
mov edx, 0x104
lea ecx, [ecx]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x41bb82
movzx eax, word [esi]
test ax, ax
je 0x41bb82
mov word [ecx], ax
add esi, 2
add ecx, 2
sub edx, 1
jne 0x41bb60
jmp 0x41bb86
test edx, edx
jne 0x41bb89
sub ecx, 2
xor eax, eax
mov word [ecx], ax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 8
push eax
mov dword [ebp - 0x218], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00421f30
push 0
push dword [ebp + 8]
mov ecx, 0x450288
push 0
call fcn.00418810
call fcn.00418950
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4512f8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x45005c]
cmp eax, dword [ecx + 4]
jg 0x41be2c
call fcn.00402de0
call fcn.0040a890
test eax, eax
je 0x41bdef
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call fcn.0040a890
mov dword [eax], esi
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x40aac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41bdef
push str.chrome_extension:
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x41bcb5
lea eax, [ebp - 0x20c]
push eax
push str.wWinMain
push str._WDWebPro___s____chrome_ext_id:
call fcn.00401530
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.okdacpiidbbphpjpfmecjjhicomjdeie
push eax
call edi
test eax, eax
je 0x41bc8a
mov dword [0x44e474], 1
push str.chrome_extension:__glcimepnljoholdmjchkloafkggfoijh
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x41bca4
cmp byte [0x44fda5], al
je 0x41bcb5
push 0x41554348
push 0
push 0
call fcn.00403470
add esp, 0xc
push 0
push dword [ebp + 0x10]
call fcn.0041a8d0
mov edi, dword [0x450034]
add esp, 8
add edi, 0x10
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4502c0]
test esi, esi
je 0x41bd26
cmp dword [esi + 4], 0
jle 0x41bcf4
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x4502c0]
test esi, esi
je 0x41bd26
mov eax, dword [esi]
test eax, eax
je 0x41bd0d
push eax
call sub.msvcrt.dll_free
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
push edi
mov dword [0x4502c0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4502bc]
test esi, esi
je 0x41bd7f
mov eax, dword [esi]
test eax, eax
je 0x41bd56
push eax
call sub.msvcrt.dll_free
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41bd6d
push eax
call sub.msvcrt.dll_free
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov esi, dword [0x4502b4]
test esi, esi
je 0x41bdb3
cmp dword [esi], 0
je 0x41bdb3
mov edi, edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41bd9d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x41bd90
mov esi, dword [0x44e518]
mov ecx, dword [0x44e51c]
cmp esi, ecx
jae 0x41bddd
mov eax, dword [esi]
test eax, eax
je 0x41bdd6
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x44e51c]
add esi, 4
cmp esi, ecx
jb 0x41bdc3
mov ecx, 0x450288
call fcn.0041b2a0
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x41bdf5
mov ebx, dword [ebp - 0x214]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ee9
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.00427ee9
mov esp, ebp
pop ebp
ret 0x10
push 0x45005c
call fcn.004253b0
add esp, 4
cmp dword [0x45005c], 0xffffffff
jne 0x41bc00
mov ecx, 0x450058
call fcn.00402990
push 0x43fa90
call fcn.004250a0
push 0x45005c
call fcn.004252f0
add esp, 8
jmp 0x41bc00