Function at 0x40a3f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a625
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x58
push esi
push edi
mov eax, dword [0x5e3fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 0x16
mov word [ebp - 0x58], ax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebx + 0x10]
mov byte [ebp - 4], 1
mov byte [ebp - 0x11], 0
test eax, eax
je 0x40a461
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
call fcn.00409d90
cmp dword [esi + 0x1c], 0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x40a568
push 1
push 0
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov edi, eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], edi
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
movups xmm0, xmmword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x68], xmm0
test eax, eax
je 0x40a68d
push dword [ebx + 8]
lea ecx, [ebp - 0x20]
call fcn.0040a7c0
mov byte [ebp - 4], 2
mov edx, dword [eax]
test edx, edx
je 0x40a4ce
mov edx, dword [edx]
jmp 0x40a4d0
xor edx, edx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
movups xmm0, xmmword [ebp - 0x68]
push eax
push edi
mov ecx, dword [ecx]
sub esp, 0x10
mov eax, esp
push 0
push 0x114
push edx
push dword [ebp - 0x18]
movups xmmword [eax], xmm0
call dword [ecx + 0xe4]
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
test edi, edi
je 0x40a549
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x40a549
test edi, edi
je 0x40a549
mov eax, dword [edi]
test eax, eax
je 0x40a527
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x40a53e
push eax
call fcn.00414cce
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0054e5df
add esp, 8
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
cmp dword [ebp - 0x18], 0
jge 0x40a5d6
mov ecx, str.Execute__InvokeMember_3
call fcn.004041a0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40a575
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40a582
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40a598
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x48]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x30], 0
call edi
lea eax, [ebp - 0x58]
push eax
call edi
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x40a5f1
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40a5f1
push dword [ebx + 0x14]
push ecx
push eax
call fcn.0055b685
add esp, 0xc
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x40a68d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp word [esi + 0x20], 0xd
lea edi, [esi + 0x20]
jne 0x40a62b
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40a67e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 0x11], 1
jmp 0x40a562
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
cmp eax, edi
jne 0x40a64b
mov eax, 0xd
cmp ax, word [ebp - 0x38]
je 0x40a65e
push 0xd
push 0
push edi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x40a697
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x40a66e
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, edi
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 0x11], 1
jmp 0x40a562
push 0x80004003
call fcn.0054f510
push eax
call fcn.0054f510
int3