Function at 0x49d390
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501de6
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x53f00c]
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.00408d90
movzx eax, al
test eax, eax
je 0x49d3d7
xor al, al
jmp 0x49d9be
push 0x51b870
lea ecx, [ebp - 0xc0]
call fcn.00408ef0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0043c550
mov ecx, eax
call fcn.0043c610
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00408e60
push str.OleAut32.dll
lea ecx, [ebp - 0xd8]
call fcn.00408ef0
mov dword [ebp - 4], 1
lea edx, [ebp - 0xd8]
push edx
call fcn.0043c550
mov ecx, eax
call fcn.0043c610
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00408e60
cmp dword [ebp - 0x80], 0
je 0x49d461
cmp dword [ebp - 0x74], 0
jne 0x49d468
xor al, al
jmp 0x49d9be
push 0x51c794
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 0x49d510
cmp dword [ebp - 0x98], 0
je 0x49d510
cmp dword [ebp - 0x78], 0
je 0x49d510
cmp dword [ebp - 0x7c], 0
je 0x49d510
cmp dword [ebp - 0x88], 0
je 0x49d510
cmp dword [ebp - 0x90], 0
jne 0x49d517
xor al, al
jmp 0x49d9be
lea ecx, [ebp - 0x20]
call fcn.004bfe40
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 0x49d56b
cmp dword [ebp - 0x68], 0x80010119
je 0x49d56b
mov byte [ebp - 0x69], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004bff00
mov al, byte [ebp - 0x69]
jmp 0x49d9be
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.0049da00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00409460
push eax
push 0x51eaec
push 1
push 0
push 0x51eb1c
call dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x49d5b3
push 0
lea ecx, [ebp - 0x14]
call fcn.0049d9e0
movzx ecx, al
test ecx, ecx
je 0x49d5de
mov byte [ebp - 0x6a], 0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0049d9f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004bff00
mov al, byte [ebp - 0x6a]
jmp 0x49d9be
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.004081e0
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 0x49d6dc
mov byte [ebp - 0x6b], 0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0049d9f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004bff00
mov al, byte [ebp - 0x6b]
jmp 0x49d9be
xor edx, edx
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x18]
call fcn.0049da00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.004081e0
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x18]
call fcn.00409460
push eax
push 0x51b024
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 0x49d737
push 0
lea ecx, [ebp - 0x18]
call fcn.0049d9e0
movzx ecx, al
test ecx, ecx
je 0x49d772
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0049d9f0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0049d9f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004bff00
mov al, byte [ebp - 0x6c]
jmp 0x49d9be
xor edx, edx
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x1c]
call fcn.0049da00
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
call fcn.00408da0
push eax
call dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x49d7ec
mov byte [ebp - 0x6d], 0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.0049d9f0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0049d9f0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0049d9f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004bff00
mov al, byte [ebp - 0x6d]
jmp 0x49d9be
lea ecx, [ebp - 0x18]
call fcn.004081e0
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x1c]
call fcn.00409460
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 0x49d845
push 0
lea ecx, [ebp - 0x1c]
call fcn.0049d9e0
movzx eax, al
test eax, eax
je 0x49d899
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.0049d9f0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0049d9f0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0049d9f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004bff00
mov al, byte [ebp - 0x6e]
jmp 0x49d9be
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.004081e0
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 0x49d91a
mov byte [ebp - 0x6f], 0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.0049d9f0
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0049d9f0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0049d9f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004bff00
mov al, byte [ebp - 0x6f]
jmp 0x49d9be
cmp dword [ebp - 0x24], 0
jne 0x49d92b
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x49d978
cmp dword [ebp - 0x24], 1
jne 0x49d93c
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
jmp 0x49d978
cmp dword [ebp - 0x24], 2
jne 0x49d94d
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x49d978
cmp dword [ebp - 0x24], 3
jne 0x49d95e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
jmp 0x49d978
cmp dword [ebp - 0x24], 4
jne 0x49d96f
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x49d978
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.0049d9f0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0049d9f0
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0049d9f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004bff00
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.004c9ebd
mov esp, ebp
pop ebp
ret 8