Function at 0x470670
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508056
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x54e414]
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.0040a670
movzx eax, al
test eax, eax
je 0x4706b7
xor al, al
jmp 0x470c9e
push str.Ole32.dll
lea ecx, [ebp - 0xc0]
call fcn.0040a870
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
push ecx
call fcn.00424e80
mov ecx, eax
call fcn.00424f40
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.0040a7e0
push str.OleAut32.dll
lea ecx, [ebp - 0xd8]
call fcn.0040a870
mov dword [ebp - 4], 1
lea edx, [ebp - 0xd8]
push edx
call fcn.00424e80
mov ecx, eax
call fcn.00424f40
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.0040a7e0
cmp dword [ebp - 0x80], 0
je 0x470741
cmp dword [ebp - 0x74], 0
jne 0x470748
xor al, al
jmp 0x470c9e
push 0x52ab78
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 0x4707f0
cmp dword [ebp - 0x98], 0
je 0x4707f0
cmp dword [ebp - 0x78], 0
je 0x4707f0
cmp dword [ebp - 0x7c], 0
je 0x4707f0
cmp dword [ebp - 0x88], 0
je 0x4707f0
cmp dword [ebp - 0x90], 0
jne 0x4707f7
xor al, al
jmp 0x470c9e
lea ecx, [ebp - 0x20]
call fcn.004b1c60
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 0x47084b
cmp dword [ebp - 0x68], 0x80010119
je 0x47084b
mov byte [ebp - 0x69], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b1d20
mov al, byte [ebp - 0x69]
jmp 0x470c9e
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.00470cd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040ad00
push eax
push 0x52c6a4
push 1
push 0
push 0x52c6b4
call dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x470893
push 0
lea ecx, [ebp - 0x14]
call fcn.0040b8d0
movzx ecx, al
test ecx, ecx
je 0x4708be
mov byte [ebp - 0x6a], 0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00470cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b1d20
mov al, byte [ebp - 0x6a]
jmp 0x470c9e
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.00409b30
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 0x4709bc
mov byte [ebp - 0x6b], 0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00470cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b1d20
mov al, byte [ebp - 0x6b]
jmp 0x470c9e
xor edx, edx
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x18]
call fcn.00470cd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.00409b30
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x18]
call fcn.0040ad00
push eax
push 0x529334
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 0x470a17
push 0
lea ecx, [ebp - 0x18]
call fcn.0040b8d0
movzx ecx, al
test ecx, ecx
je 0x470a52
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00470cc0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00470cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b1d20
mov al, byte [ebp - 0x6c]
jmp 0x470c9e
xor edx, edx
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x1c]
call fcn.00470cd0
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
call fcn.0040a680
push eax
call dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x470acc
mov byte [ebp - 0x6d], 0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00470cc0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00470cc0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00470cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b1d20
mov al, byte [ebp - 0x6d]
jmp 0x470c9e
lea ecx, [ebp - 0x18]
call fcn.00409b30
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x1c]
call fcn.0040ad00
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 0x470b25
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040b8d0
movzx eax, al
test eax, eax
je 0x470b79
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.00470cc0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00470cc0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00470cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b1d20
mov al, byte [ebp - 0x6e]
jmp 0x470c9e
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.00409b30
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 0x470bfa
mov byte [ebp - 0x6f], 0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00470cc0
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00470cc0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00470cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b1d20
mov al, byte [ebp - 0x6f]
jmp 0x470c9e
cmp dword [ebp - 0x24], 0
jne 0x470c0b
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x470c58
cmp dword [ebp - 0x24], 1
jne 0x470c1c
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
jmp 0x470c58
cmp dword [ebp - 0x24], 2
jne 0x470c2d
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x470c58
cmp dword [ebp - 0x24], 3
jne 0x470c3e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
jmp 0x470c58
cmp dword [ebp - 0x24], 4
jne 0x470c4f
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x470c58
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.00470cc0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00470cc0
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00470cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b1d20
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.004d1486
mov esp, ebp
pop ebp
ret 8