Function at 0x4a6c10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504226
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x53e008]
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.004035b0
movzx eax, al
test eax, eax
je 0x4a6c57
xor al, al
jmp 0x4a723e
push 0x517f50
lea ecx, [ebp - 0xc0]
call fcn.00403690
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
push ecx
call fcn.004bf880
mov ecx, eax
call fcn.004bf940
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00403610
push str.OleAut32.dll
lea ecx, [ebp - 0xd8]
call fcn.00403690
mov dword [ebp - 4], 1
lea edx, [ebp - 0xd8]
push edx
call fcn.004bf880
mov ecx, eax
call fcn.004bf940
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00403610
cmp dword [ebp - 0x80], 0
je 0x4a6ce1
cmp dword [ebp - 0x74], 0
jne 0x4a6ce8
xor al, al
jmp 0x4a723e
push 0x517f94
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 0x4a6d90
cmp dword [ebp - 0x98], 0
je 0x4a6d90
cmp dword [ebp - 0x78], 0
je 0x4a6d90
cmp dword [ebp - 0x7c], 0
je 0x4a6d90
cmp dword [ebp - 0x88], 0
je 0x4a6d90
cmp dword [ebp - 0x90], 0
jne 0x4a6d97
xor al, al
jmp 0x4a723e
lea ecx, [ebp - 0x20]
call fcn.004cb5f0
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 0x4a6deb
cmp dword [ebp - 0x68], 0x80010119
je 0x4a6deb
mov byte [ebp - 0x69], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004cb6e0
mov al, byte [ebp - 0x69]
jmp 0x4a723e
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.004a7280
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004120d0
push eax
push 0x518c48
push 1
push 0
push 0x518c58
call dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x4a6e33
push 0
lea ecx, [ebp - 0x14]
call fcn.004a7260
movzx ecx, al
test ecx, ecx
je 0x4a6e5e
mov byte [ebp - 0x6a], 0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a7270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004cb6e0
mov al, byte [ebp - 0x6a]
jmp 0x4a723e
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.0040bf70
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 0x4a6f5c
mov byte [ebp - 0x6b], 0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a7270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004cb6e0
mov al, byte [ebp - 0x6b]
jmp 0x4a723e
xor edx, edx
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x18]
call fcn.004a7280
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.0040bf70
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x18]
call fcn.004120d0
push eax
push 0x50d248
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 0x4a6fb7
push 0
lea ecx, [ebp - 0x18]
call fcn.004a7260
movzx ecx, al
test ecx, ecx
je 0x4a6ff2
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a7270
mov byte [ebp - 4], 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a7270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004cb6e0
mov al, byte [ebp - 0x6c]
jmp 0x4a723e
xor edx, edx
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x1c]
call fcn.004a7280
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
call fcn.0040c320
push eax
call dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x4a706c
mov byte [ebp - 0x6d], 0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004a7270
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a7270
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a7270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004cb6e0
mov al, byte [ebp - 0x6d]
jmp 0x4a723e
lea ecx, [ebp - 0x18]
call fcn.0040bf70
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x1c]
call fcn.004120d0
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 0x4a70c5
push 0
lea ecx, [ebp - 0x1c]
call fcn.004a7260
movzx eax, al
test eax, eax
je 0x4a7119
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.004a7270
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a7270
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a7270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004cb6e0
mov al, byte [ebp - 0x6e]
jmp 0x4a723e
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.0040bf70
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 0x4a719a
mov byte [ebp - 0x6f], 0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004a7270
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a7270
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a7270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004cb6e0
mov al, byte [ebp - 0x6f]
jmp 0x4a723e
cmp dword [ebp - 0x24], 0
jne 0x4a71ab
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x4a71f8
cmp dword [ebp - 0x24], 1
jne 0x4a71bc
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
jmp 0x4a71f8
cmp dword [ebp - 0x24], 2
jne 0x4a71cd
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x4a71f8
cmp dword [ebp - 0x24], 3
jne 0x4a71de
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
jmp 0x4a71f8
cmp dword [ebp - 0x24], 4
jne 0x4a71ef
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x4a71f8
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.004a7270
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004a7270
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004a7270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004cb6e0
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.004ec151
mov esp, ebp
pop ebp
ret 8