Function at 0x414f10
Capabilities:
Create thread

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
push 0x4c061c
xor ebx, ebx
push ebp
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414f39
mov dword [esp + 0x10], 1
push ebx
push str.PDAGATEWIN
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
cmp edi, ebx
je 0x414f6b
cmp dword [esp + 0x10], ebx
jne 0x414f6b
push ebx
push ebx
push 0x87f4
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10
push ebx
call fcn.0040be60
add esp, 4
cmp eax, 6
jl 0x414fb2
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x414fb2
push str.ChangeWindowMessageFilter
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x414fb2
push 1
push 0x87f4
call esi
cmp dword [esp + 0x10], ebx
je 0x414fb2
push 1
push 0x8834
call esi
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov eax, dword [esp + 0x74]
push ebx
push eax
push 0x4f0b58
mov ecx, 0x4f0b7c
call fcn.00411020
cmp dword [esp + 0x10], ebx
je 0x414fea
cmp edi, ebx
je 0x415176
push edi
call fcn.00421e70
add esp, 4
jmp 0x4150ff
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push str.PDAGATETITLE
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0xfa
mov dword [esp + 0x48], 0x64
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0x1a4
mov dword [esp + 0x58], 0x172
mov dword [esp + 0x5c], 0xfffffe70
mov dword [esp + 0x60], 0xffffff3e
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [eax], ebx
mov eax, esp
lea ecx, [esp + 0x2c]
mov dword [eax], ecx
push ebx
mov ecx, 0x4f0bb0
call fcn.00414e80
cmp eax, ebx
je 0x415166
push 0x4c11ac
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x415085
mov dword [0x4f0ce0], 1
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
lea edx, [esp + 0x3c]
push ebx
mov ecx, 0x4f0e64
mov dword [eax], edx
call fcn.00414d00
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
lea ecx, [esp + 0x4c]
mov dword [eax], ecx
push ebx
mov ecx, 0x4f0f54
call fcn.00414d80
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
lea edx, [esp + 0x5c]
push ebx
mov ecx, 0x4f0dfc
mov dword [eax], edx
call fcn.00414e00
push 0x4f104c
push ebx
push 0x4f1048
push 0x401e40
push ebx
push ebx
mov byte [0x4f1054], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4f1050], eax
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea eax, [esp + 0x60]
push eax
xor esi, esi
call ebp
test eax, eax
je 0x415166
mov edi, dword [sym.imp.USER32.dll_IsChild]
jmp 0x415120
cmp dword [esp + 0x10], ebx
je 0x415182
mov ecx, dword [0x4f1294]
cmp ecx, ebx
je 0x41513e
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x54]
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x415158
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
lea edx, [esp + 0x60]
push edx
call ebp
test eax, eax
jne 0x415120
mov ecx, 0x4f0b7c
call fcn.004112c0
call dword [sym.imp.ole32.dll_OleUninitialize]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret 0x10
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x4151ec
push eax
mov eax, dword [0x4f0f58]
push eax
call edi
test eax, eax
je 0x4151b6
mov eax, dword [0x4f0f80]
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
cmp esi, ebx
jne 0x415158
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x4151ec
mov ecx, dword [0x4f0e00]
push eax
push ecx
call edi
test eax, eax
je 0x4151ec
mov eax, dword [0x4f0e28]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x54]
push ecx
push eax
call edx
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
jmp 0x41513e
xor esi, esi
jmp 0x415142