Function at 0x41c961
Capabilities:
Load assembly via iassembly
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b4140
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x4dc104]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
lea eax, [esp + 0x60]
push eax
call fcn.0041108d
xor edi, edi
mov dword [esp + 0xe0], edi
lea eax, [esp + 0x30]
push eax
call fcn.0041108d
mov byte [esp + 0xe0], 1
lea eax, [esp + 0x78]
push eax
call fcn.0041108d
mov byte [esp + 0xe0], 2
lea eax, [esp + 0x48]
push eax
call fcn.0041108d
mov byte [esp + 0xe0], 3
lea eax, [esp + 0x9c]
push eax
call fcn.0041108d
mov byte [esp + 0xe0], 4
lea eax, [esp + 0x60]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0xb8], edi
call fcn.0041a5fb
pop ecx
test eax, eax
jl 0x41cc95
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
call esi
push dword [ebp + 0x10]
call esi
push dword [ebp + 0x14]
call esi
push dword [ebp + 0x18]
call esi
mov edx, dword [ebp + 0x10]
mov eax, 0x2008
mov ecx, eax
mov word [ebx], cx
add ecx, 0xc
mov word [edx], cx
mov edx, dword [ebp + 0x14]
mov ecx, eax
mov word [edx], cx
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x6c]
push 0x1c
pop ecx
cdq
idiv ecx
mov esi, dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push 1
push 8
call esi
mov dword [ebx + 8], eax
cmp eax, edi
je 0x41cc95
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
lea ecx, [esp + 0x90]
push ecx
push eax
call edi
push dword [ebx + 8]
mov ebx, dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
call ebx
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
sar eax, 3
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xcc]
push eax
push 1
push 0x14
call esi
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 8], eax
test eax, eax
je 0x41cc95
lea ecx, [esp + 0x1c]
push ecx
push eax
call edi
mov eax, dword [ebp + 0x10]
push dword [eax + 8]
call ebx
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x84]
push 0x1c
pop ecx
cdq
idiv ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 1
push 8
call esi
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
test eax, eax
je 0x41cc95
lea ecx, [esp + 0x94]
push ecx
push eax
call edi
mov eax, dword [ebp + 0x14]
push dword [eax + 8]
call ebx
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x54]
push 0x1c
pop ecx
cdq
idiv ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 1
push 8
call esi
mov esi, dword [ebp + 0x18]
mov dword [esi + 8], eax
test eax, eax
je 0x41cc95
lea ecx, [esp + 0x98]
push ecx
push eax
call edi
push dword [esi + 8]
call ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor edi, edi
cmp dword [esp + 0x28], edi
jbe 0x41cbcd
push edi
lea esi, [esp + 0x64]
call fcn.0041d0e0
cmp dword [eax + 0x18], 8
jb 0x41cbb2
mov eax, dword [eax + 4]
jmp 0x41cbb5
add eax, 4
push eax
call ebx
test eax, eax
je 0x41cbcd
mov ecx, dword [esp + 0x90]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esp + 0x28]
jb 0x41cb9d
cmp edi, dword [esp + 0x28]
jne 0x41cc95
xor esi, esi
cmp dword [esp + 0x20], esi
jbe 0x41cc19
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
sar eax, 3
cmp esi, eax
jb 0x41cbf3
call fcn.004891d9
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, esi
shl eax, 3
mov edx, dword [eax + ecx]
mov dword [eax + edi], edx
mov ecx, dword [eax + ecx + 4]
mov edx, dword [esp + 0x1c]
inc esi
mov dword [eax + edx + 4], ecx
cmp esi, dword [esp + 0x20]
jb 0x41cbdf
xor edi, edi
cmp edi, dword [esp + 0x14]
jae 0x41cc55
push edi
lea esi, [esp + 0x7c]
call fcn.0041d0e0
cmp dword [eax + 0x18], 8
jb 0x41cc36
mov eax, dword [eax + 4]
jmp 0x41cc39
add eax, 4
push eax
call ebx
test eax, eax
je 0x41cc51
mov ecx, dword [esp + 0x94]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esp + 0x14]
jb 0x41cc21
cmp edi, dword [esp + 0x14]
jne 0x41cc95
xor edi, edi
cmp dword [esp + 0x20], edi
jbe 0x41cc8f
push edi
lea esi, [esp + 0x4c]
call fcn.0041d0e0
cmp dword [eax + 0x18], 8
jb 0x41cc74
mov eax, dword [eax + 4]
jmp 0x41cc77
add eax, 4
push eax
call ebx
test eax, eax
je 0x41cc8f
mov ecx, dword [esp + 0x98]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esp + 0x20]
jb 0x41cc5f
cmp edi, dword [esp + 0x14]
je 0x41cd13
mov byte [esp + 0xe0], 3
lea eax, [esp + 0x9c]
push eax
call fcn.0041d5e3
mov byte [esp + 0xe0], 2
lea eax, [esp + 0x48]
push eax
call fcn.0041d097
mov byte [esp + 0xe0], 1
lea eax, [esp + 0x78]
push eax
call fcn.0041d097
mov byte [esp + 0xe0], 0
lea eax, [esp + 0x30]
push eax
call fcn.0041d5e3
or dword [esp + 0xe0], 0xffffffff
lea eax, [esp + 0x60]
push eax
call fcn.0041d097
push dword [ebp + 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call esi
push dword [ebp + 0x10]
call esi
push dword [ebp + 0x14]
call esi
push dword [ebp + 0x18]
call esi
mov eax, 0x80004005
jmp 0x41cd72
mov byte [esp + 0xe0], 3
lea eax, [esp + 0x9c]
push eax
call fcn.0041d5e3
mov byte [esp + 0xe0], 2
lea eax, [esp + 0x48]
push eax
call fcn.0041d097
mov byte [esp + 0xe0], 1
lea eax, [esp + 0x78]
push eax
call fcn.0041d097
mov byte [esp + 0xe0], 0
lea eax, [esp + 0x30]
push eax
call fcn.0041d5e3
or dword [esp + 0xe0], 0xffffffff
lea eax, [esp + 0x60]
push eax
call fcn.0041d097
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14