Function at 0x401410
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x405008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ecx
push dword [0x405594]
call fcn.00401270
mov ecx, dword [0x405594]
mov edi, eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x7c], 0
push eax
mov dword [ebp - 0x84], 0
lea eax, [ebp - 0x7c]
mov edx, dword [ecx + 4]
push eax
push 0
push dword [ecx + 0xc]
mov esi, dword [edx]
push edx
call dword [esi + 0x4c]
mov ecx, dword [ebp - 0x84]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
jns 0x40149c
push str.pClass__GetMethod_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401b21
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x80]
push edx
mov dword [ebp - 0x80], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xac]
push eax
call esi
mov eax, 0x2011
mov dword [ebp - 0x88], 0
mov word [ebp - 0xac], ax
movzx eax, word [ebx + 6]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
push 1
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
push 0
lea edx, [ebp - 0xac]
push edx
mov dword [eax + 0xc], ebx
mov dword [ebp - 0xa4], eax
mov eax, dword [0x405598]
push 0
push str.Bytes
mov eax, dword [eax + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0xbc]
push eax
call esi
mov eax, 0xd
lea edx, [ebp - 0xbc]
mov word [ebp - 0xbc], ax
mov eax, dword [0x405598]
push 0
push edx
push 0
mov eax, dword [eax + 4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x80]
push str.iData
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jns 0x401585
push str.pInArg__Put_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401b21
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x405588]
lea eax, [ebp - 0x78]
push 0
push eax
push dword [ebp - 0x80]
mov eax, dword [0x405594]
push 0
push 0
mov dword [ebp - 0x78], 0
push dword [eax + 0xc]
mov edx, dword [ecx]
push edi
push ecx
call dword [edx + 0x60]
test eax, eax
jns 0x4015de
push eax
push str.HRESULT_is_0x_08lx
lea eax, [ebp - 0x74]
push 0x64
push eax
call fcn.00401670
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401b21
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x78], 0
je 0x401653
lea eax, [ebp - 0x9c]
push eax
call esi
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x9c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.oData
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x401617
push str.pOutArg__Get_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x9c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Bytes
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x94]
push dword [eax + 0x10]
push dword [eax + 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401b21
mov esp, ebp
pop ebp
ret 4