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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b0aa9
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
lea eax, [esp + 0x60]
push eax
call fcn.00410353
xor edi, edi
mov dword [esp + 0xe0], edi
lea eax, [esp + 0x30]
push eax
call fcn.00410353
mov byte [esp + 0xe0], 1
lea eax, [esp + 0x78]
push eax
call fcn.00410353
mov byte [esp + 0xe0], 2
lea eax, [esp + 0x48]
push eax
call fcn.00410353
mov byte [esp + 0xe0], 3
lea eax, [esp + 0x9c]
push eax
call fcn.00410353
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.00419741
pop ecx
test eax, eax
jl 0x41bda1
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 0x41bda1
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 0x41bda1
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 0x41bda1
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 0x41bda1
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 0x41bcd9
push edi
lea esi, [esp + 0x64]
call fcn.004103ee
cmp dword [eax + 0x18], 8
jb 0x41bcbe
mov eax, dword [eax + 4]
jmp 0x41bcc1
add eax, 4
push eax
call ebx
test eax, eax
je 0x41bcd9
mov ecx, dword [esp + 0x90]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esp + 0x28]
jb 0x41bca9
cmp edi, dword [esp + 0x28]
jne 0x41bda1
xor esi, esi
cmp dword [esp + 0x20], esi
jbe 0x41bd25
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
sar eax, 3
cmp esi, eax
jb 0x41bcff
call fcn.00488376
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 0x41bceb
xor edi, edi
cmp edi, dword [esp + 0x14]
jae 0x41bd61
push edi
lea esi, [esp + 0x7c]
call fcn.004103ee
cmp dword [eax + 0x18], 8
jb 0x41bd42
mov eax, dword [eax + 4]
jmp 0x41bd45
add eax, 4
push eax
call ebx
test eax, eax
je 0x41bd5d
mov ecx, dword [esp + 0x94]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esp + 0x14]
jb 0x41bd2d
cmp edi, dword [esp + 0x14]
jne 0x41bda1
xor edi, edi
cmp dword [esp + 0x20], edi
jbe 0x41bd9b
push edi
lea esi, [esp + 0x4c]
call fcn.004103ee
cmp dword [eax + 0x18], 8
jb 0x41bd80
mov eax, dword [eax + 4]
jmp 0x41bd83
add eax, 4
push eax
call ebx
test eax, eax
je 0x41bd9b
mov ecx, dword [esp + 0x98]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esp + 0x20]
jb 0x41bd6b
cmp edi, dword [esp + 0x14]
je 0x41be1f
mov byte [esp + 0xe0], 3
lea eax, [esp + 0x9c]
push eax
call fcn.004101a0
mov byte [esp + 0xe0], 2
lea eax, [esp + 0x48]
push eax
call fcn.0041c1a1
mov byte [esp + 0xe0], 1
lea eax, [esp + 0x78]
push eax
call fcn.0041c1a1
mov byte [esp + 0xe0], 0
lea eax, [esp + 0x30]
push eax
call fcn.004101a0
or dword [esp + 0xe0], 0xffffffff
lea eax, [esp + 0x60]
push eax
call fcn.0041c1a1
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 0x41be7e
mov byte [esp + 0xe0], 3
lea eax, [esp + 0x9c]
push eax
call fcn.004101a0
mov byte [esp + 0xe0], 2
lea eax, [esp + 0x48]
push eax
call fcn.0041c1a1
mov byte [esp + 0xe0], 1
lea eax, [esp + 0x78]
push eax
call fcn.0041c1a1
mov byte [esp + 0xe0], 0
lea eax, [esp + 0x30]
push eax
call fcn.004101a0
or dword [esp + 0xe0], 0xffffffff
lea eax, [esp + 0x60]
push eax
call fcn.0041c1a1
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