Function at 0x408380
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4d16b0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x4d16b0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov ecx, 0x4ba730
call fcn.00417f80
xor ebx, ebx
cmp eax, ebx
je 0x4083ed
push str.SetDllDirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4083ed
push 0x4ac230
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], vtable.CSingleModule.0
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x130], ebx
call fcn.004280c0
test eax, eax
je 0x40845e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, ebx
jne 0x40841b
xor esi, esi
jmp 0x408422
call fcn.00428150
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408448
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x202
push ebx
push 0x8003
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408457
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x408823
mov eax, dword [ebp + 8]
push 1
mov edi, 7
push 0x4ac6e4
lea esi, [esp + 0x44]
mov dword [0x4d6b18], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00409760
mov byte [esp + 0x130], 1
push 1
push 0x4ac898
lea esi, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00409760
mov byte [esp + 0x130], 2
push 2
push 0x4ac6e8
lea esi, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00409760
mov ecx, esi
push ecx
mov byte [esp + 0x134], 3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], edi
mov ecx, eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x30], esp
mov word [esi + 4], bx
lea edi, [ecx + 2]
jmp 0x408500
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x408500
sub ecx, edi
sar ecx, 1
push ecx
push eax
call fcn.00409760
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x78]
lea edi, [esp + 0xd4]
call fcn.004164b0
mov edi, 8
cmp dword [esp + 0x38], edi
jb 0x408542
mov edx, dword [esp + 0x24]
push edx
call fcn.0047f45b
add esp, 4
mov esi, 7
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
cmp dword [esp + 0x70], edi
jb 0x408567
mov eax, dword [esp + 0x5c]
push eax
call fcn.0047f45b
add esp, 4
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov byte [esp + 0x130], 7
cmp dword [esp + 0x54], edi
jb 0x40858f
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0047f45b
add esp, 4
push esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x94], esi
push str.autorun
lea esi, [esp + 0x80]
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
call fcn.00409760
lea edx, [esp + 0x10]
push edx
mov eax, esi
push eax
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 8
call fcn.00409c30
mov byte [esp + 0x130], 7
cmp dword [esp + 0x90], edi
jb 0x40860b
mov edx, dword [esp + 0x7c]
push edx
call fcn.0047f45b
add esp, 4
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, str.RICHED20.DLL
call fcn.00417f80
mov esi, eax
mov dword [esp + 0x10], esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, 0x4d30f8
mov dword [esp + 0x74], ecx
call fcn.00427e80
push 0x540
mov byte [esp + 0x134], 9
call fcn.0047f682
add esp, 4
mov dword [esp + 0xb0], eax
cmp eax, ebx
mov byte [esp + 0x130], 0xa
je 0x408668
push eax
call fcn.004405e0
mov edi, eax
jmp 0x40866a
xor edi, edi
cmp edi, ebx
mov byte [esp + 0x130], 9
jne 0x4086d6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x4d3100]
cmp eax, ebx
je 0x408699
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x4d3100], ebx
mov eax, dword [0x4d30fc]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4086b1
push eax
call esi
mov dword [0x4d30fc], ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x130], bl
call fcn.00416620
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4086cf
push eax
call esi
xor eax, eax
jmp 0x408823
call fcn.00414780
call fcn.00408850
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
push eax
push str.Tencent_QQpinyin_QQPYClipMonitor_JKR
push eax
mov dword [0x4d6b28], edi
call dword [sym.imp.USER32.dll_SetPropW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push ebx
push ebx
push ebx
lea ecx, [esp + 0xa0]
push ecx
call esi
test eax, eax
je 0x408799
jmp 0x408730
cmp dword [esp + 0x98], 0x100
jne 0x40876c
cmp dword [esp + 0x9c], 0x1b
jne 0x40876c
cmp dword [edi + 0x34], ebx
je 0x408758
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x40876c
mov dword [edi + 0x490], 2
call fcn.00441bf0
call fcn.00441cf0
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x94]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea edx, [esp + 0xa0]
push edx
call esi
test eax, eax
jne 0x408730
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
mov dword [0x4d6b28], ebx
call edx
cmp byte [0x4d6b2c], bl
je 0x4087bd
call fcn.004149e0
mov byte [0x4d6b2c], bl
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x4d3100]
cmp eax, ebx
mov edi, dword [esp + 0x9c]
je 0x4087eb
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x4d3100], ebx
mov eax, dword [0x4d30fc]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x408803
push eax
call esi
mov dword [0x4d30fc], ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x130], bl
call fcn.00416620
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408821
push eax
call esi
mov eax, edi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0047f460
mov esp, ebp
pop ebp
ret 0x10