Function at 0x404130
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x43a070]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi + 0x20]
lea esi, [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
push 0x435674
push esi
lea ebx, [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
call fcn.0040a2d0
test eax, eax
jl 0x4041a9
lea eax, [edi + 0x24]
cmp dword [eax + 0x28], 0xfefefefe
lea ecx, [eax + 0x28]
je 0x404199
push 0x80004005
call fcn.00401730
push ecx
push 0x4305c0
push eax
mov eax, dword [esp + 0x1c]
call fcn.00415ed0
push esi
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0040a260
test eax, eax
jl 0x4041d0
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 0x40004
push eax
mov eax, dword [edx + 0x64]
call eax
cmp dword [0x43e804], 0
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
je 0x4042d5
lea ecx, [esp + 0x1c]
push ecx
push str.45C43BA8_14A8_4FD2_989B_1A099132B191
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x40425e
lea edx, [esp + 0xc]
push edx
push 0x4355e4
push 1
push 0
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x20], 0
call ebx
test eax, eax
jl 0x40424e
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea esi, [edi + 0x54]
push esi
push 0x430600
push eax
call edx
test eax, eax
jl 0x404243
mov esi, dword [esi]
test esi, esi
je 0x404243
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
push esi
call edx
push 0x434420
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40425e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x1c]
push eax
push str.8A0A0705_75BD_4B3B_8D1D_AF4FEF13C72B
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x4042d5
lea ecx, [esp + 0xc]
push ecx
push 0x4355e4
push 1
push 0
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x20], 0
call ebx
test eax, eax
jl 0x4042c5
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea esi, [edi + 0x50]
push esi
push 0x430600
push eax
call edx
test eax, eax
jl 0x4042ba
mov esi, dword [esi]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
push esi
call edx
push 0x434480
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4042d5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x1c]
push eax
push str.664BB2ED_4DCB_4741_907E_521609ADA4AB
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x40434c
lea ecx, [esp + 0xc]
push ecx
push 0x4355e4
push 1
push 0
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x20], 0
call ebx
test eax, eax
jl 0x40433c
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
add edi, 0x50
push edi
push 0x430600
push eax
call edx
test eax, eax
jl 0x404331
mov edi, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ecx
push edi
call edx
push 0x4344e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40434c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40435c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40436c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041cac6
mov esp, ebp
pop ebp
ret 8