Function at 0x4a4570
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501056
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x53b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp + 8]
call fcn.0040a5c0
movzx eax, al
test eax, eax
je 0x4a45b7
xor al, al
jmp 0x4a4b9e
push str.Ole32.dll
lea ecx, [ebp - 0xc0]
call fcn.0040a730
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
push ecx
call fcn.004bcdd0
mov ecx, eax
call fcn.004bce90
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.0040a640
push str.OleAut32.dll
lea ecx, [ebp - 0xd8]
call fcn.0040a730
mov dword [ebp - 4], 1
lea edx, [ebp - 0xd8]
push edx
call fcn.004bcdd0
mov ecx, eax
call fcn.004bce90
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.0040a640
cmp dword [ebp - 0x80], 0
je 0x4a4641
cmp dword [ebp - 0x74], 0
jne 0x4a4648
xor al, al
jmp 0x4a4b9e
push 0x514df0
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x9c], eax
push str.CoInitializeSecurity
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x98], eax
push str.VariantInit
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x78], eax
push str.VariantClear
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x7c], eax
push str.SysAllocString
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x88], eax
push str.SysFreeString
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x9c], 0
je 0x4a46f0
cmp dword [ebp - 0x98], 0
je 0x4a46f0
cmp dword [ebp - 0x78], 0
je 0x4a46f0
cmp dword [ebp - 0x7c], 0
je 0x4a46f0
cmp dword [ebp - 0x88], 0
je 0x4a46f0
cmp dword [ebp - 0x90], 0
jne 0x4a46f7
xor al, al
jmp 0x4a4b9e
lea ecx, [ebp - 0x20]
call fcn.004c8b30
mov dword [ebp - 4], 2
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [ebp - 0x98]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jge 0x4a474b
cmp dword [ebp - 0x68], 0x80010119
je 0x4a474b
mov byte [ebp - 0x69], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004c8c20
mov al, byte [ebp - 0x69]
jmp 0x4a4b9e
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.004a4be0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00410450
push eax
push 0x515ab8
push 1
push 0
push 0x515ac8
call dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x4a4793
push 0
lea ecx, [ebp - 0x14]
call fcn.004a4bc0
movzx ecx, al
test ecx, ecx
je 0x4a47be
mov byte [ebp - 0x6a], 0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a4bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004c8c20
mov al, byte [ebp - 0x6a]
jmp 0x4a4b9e
lea edx, [ebp - 0x34]
push edx
call dword [ebp - 0x78]
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 0x78]
lea ecx, [ebp - 0x54]
push ecx
call dword [ebp - 0x78]
lea edx, [ebp - 0x64]
push edx
call dword [ebp - 0x78]
lea ecx, [ebp - 0x14]
call fcn.0040a1f0
mov dword [ebp - 0xa0], eax
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
mov edx, dword [ebp - 0x60]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x58]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov edx, dword [ebp - 0x50]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x34]
push ecx
call dword [ebp - 0x7c]
lea edx, [ebp - 0x44]
push edx
call dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
push eax
call dword [ebp - 0x7c]
lea ecx, [ebp - 0x64]
push ecx
call dword [ebp - 0x7c]
cmp dword [ebp - 0x68], 0
jge 0x4a48bc
mov byte [ebp - 0x6b], 0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a4bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004c8c20
mov al, byte [ebp - 0x6b]
jmp 0x4a4b9e
xor edx, edx
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x18]
call fcn.004a4be0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.0040a1f0
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x18]
call fcn.00410450
push eax
push 0x50a0e8
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x4a4917
push 0
lea ecx, [ebp - 0x18]
call fcn.004a4bc0
movzx ecx, al
test ecx, ecx
je 0x4a4952
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a4bd0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a4bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004c8c20
mov al, byte [ebp - 0x6c]
jmp 0x4a4b9e
xor edx, edx
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x1c]
call fcn.004a4be0
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
call fcn.0040a5d0
push eax
call dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x4a49cc
mov byte [ebp - 0x6d], 0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004a4bd0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a4bd0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a4bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004c8c20
mov al, byte [ebp - 0x6d]
jmp 0x4a4b9e
lea ecx, [ebp - 0x18]
call fcn.0040a1f0
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x1c]
call fcn.00410450
push eax
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x34]
call ecx
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x84]
push edx
call dword [ebp - 0x90]
cmp dword [ebp - 0x68], 0
jl 0x4a4a25
push 0
lea ecx, [ebp - 0x1c]
call fcn.004a4bc0
movzx eax, al
test eax, eax
je 0x4a4a79
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov byte [ebp - 0x6e], 1
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004a4bd0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a4bd0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a4bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004c8c20
mov al, byte [ebp - 0x6e]
jmp 0x4a4b9e
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.0040a1f0
mov dword [ebp - 0x94], eax
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jge 0x4a4afa
mov byte [ebp - 0x6f], 0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004a4bd0
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a4bd0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a4bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004c8c20
mov al, byte [ebp - 0x6f]
jmp 0x4a4b9e
cmp dword [ebp - 0x24], 0
jne 0x4a4b0b
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x4a4b58
cmp dword [ebp - 0x24], 1
jne 0x4a4b1c
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
jmp 0x4a4b58
cmp dword [ebp - 0x24], 2
jne 0x4a4b2d
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x4a4b58
cmp dword [ebp - 0x24], 3
jne 0x4a4b3e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
jmp 0x4a4b58
cmp dword [ebp - 0x24], 4
jne 0x4a4b4f
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x4a4b58
mov eax, dword [ebp + 0xc]
mov dword [eax], 9
mov byte [ebp - 0x70], 1
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004a4bd0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a4bd0
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a4bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004c8c20
mov al, byte [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9681
mov esp, ebp
pop ebp
ret 8