Function at 0x1005176e
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x100bcb5d
call fcn.100a0664
sub esp, 0x4c
xor eax, eax
push ebx
mov dword [ebp + 0x64], eax
push esi
mov esi, dword [ebp + 0x74]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], eax
cmp byte [esi + 0x1291], al
jne 0x10052299
cmp dword [esi + 0x133c], eax
jne 0x10051a03
lea edi, [esi + 0x120]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov ebx, dword [ebp + 0x7c]
push dword [ebx + 8]
lea ecx, [ebp + 0x5c]
call fcn.100057f4
push str.about:Tabs
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 1
call fcn.1000272b
test eax, eax
jne 0x100519f2
push ecx
mov ecx, esp
mov dword [ebp + 0x7c], esp
push 0x100c503c
call fcn.100057f4
push 1
push ecx
mov ecx, esp
mov dword [ebp + 0x74], esp
push str.Enable_aboutTabs
mov byte [ebp - 4], 2
call fcn.100057f4
mov byte [ebp - 4], 1
call fcn.10044598
add esp, 0xc
cmp eax, 1
sete al
test al, al
je 0x100519f2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edi, eax
lea eax, [ebp + 0x44]
push eax
call fcn.10044b9e
pop ecx
mov esi, str.aboutTabs.html
push esi
push eax
lea eax, [ebp + 0x7c]
push eax
mov byte [ebp - 4], 3
call fcn.1000c4dd
add esp, 0xc
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001ccd
push dword [ebp + 0x7c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100518ab
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.100449b3
pop ecx
pop ecx
push esi
push eax
lea eax, [ebp + 0x50]
push eax
mov byte [ebp - 4], 6
call fcn.1000c4dd
mov eax, dword [eax]
add esp, 0xc
push 0
push dword [ebp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x68]
add ecx, 0xfffffff0
call fcn.10001ccd
and dword [ebp + 0x64], 0
mov esi, dword [edi]
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 7
add esi, 0x48
call fcn.1000b49d
push eax
push edi
call dword [esi]
lea eax, [ebp + 0x64]
push eax
lea ecx, [ebp + 0x78]
call fcn.1000be56
and dword [ebp + 0x74], 0
mov eax, dword [ebp + 0x78]
mov byte [ebp - 4], 9
test eax, eax
jne 0x100518e9
push 0x80004003
call fcn.1009f210
mov ecx, dword [eax]
lea edx, [ebp + 0x74]
push edx
push eax
call dword [ecx + 0x94]
mov esi, dword [ebp + 0x78]
test esi, esi
je 0x100518df
push 0x100c66c0
lea ecx, [ebp + 0x68]
call fcn.1000b4b3
mov eax, dword [eax]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x10051918
mov eax, dword [eax]
jmp 0x1005191a
xor eax, eax
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x4c]
mov ecx, dword [ebp + 0x68]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x10051931
call fcn.10003043
push dword [ebp + 0x7c]
mov esi, dword [ebp + 0x74]
lea ecx, [ebp + 0x68]
call fcn.1000274d
mov eax, dword [eax]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1005194d
mov eax, dword [eax]
jmp 0x1005194f
xor eax, eax
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x60]
mov ecx, dword [ebp + 0x68]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x10051966
call fcn.10003043
mov esi, dword [ebp + 0x78]
test esi, esi
je 0x100518df
push 0x100ce608
lea ecx, [ebp + 0x68]
call fcn.1000274d
mov eax, dword [eax]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1005198c
mov eax, dword [eax]
jmp 0x1005198e
xor eax, eax
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x4c]
mov ecx, dword [ebp + 0x68]
test ecx, ecx
je 0x100519a1
call fcn.10003043
mov eax, dword [ebp + 0x74]
mov byte [ebp - 4], 8
test eax, eax
je 0x100519b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x78]
mov byte [ebp - 4], 7
test eax, eax
je 0x100519c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x64]
mov byte [ebp - 4], 5
test eax, eax
je 0x100519d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x7c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10001ccd
xor eax, eax
inc eax
jmp 0x1005229b
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001ccd
jmp 0x10051a06
mov ebx, dword [ebp + 0x7c]
mov eax, dword [esi + 0x133c]
test eax, eax
je 0x10052299
mov ecx, dword [eax + 0x64]
sub ecx, dword [eax + 0x60]
test ecx, 0xfffffffc
jne 0x10051a3a
mov ecx, dword [eax + 0xf4]
sub ecx, dword [eax + 0xf0]
test ecx, 0xfffffffc
je 0x10052299
cmp byte [0x10116da2], 0
je 0x10052299
test ebx, ebx
je 0x10052299
push dword [ebx + 8]
lea ecx, [ebp + 0x58]
call fcn.100057f4
and dword [ebp + 0x60], 0
lea eax, [esi + 0x1424]
mov cl, byte [eax]
mov byte [ebp + 0x7f], cl
mov byte [eax], 0
push dword [ebp + 0x78]
lea ecx, [ebp + 0x48]
call fcn.1003ec20
mov edi, dword [ebp + 0x48]
mov byte [ebp - 4], 0xf
mov byte [esi + 0x60], 1
lea ecx, [ebp + 0x60]
test edi, edi
je 0x10051a99
call fcn.1000b49d
push eax
push edi
call fcn.1004b3d1
pop ecx
pop ecx
jmp 0x10051aa7
mov edi, dword [esi]
add edi, 0x50
call fcn.1000b49d
push eax
push esi
call dword [edi]
cmp dword [ebp + 0x60], 0
sete al
test al, al
je 0x10051ae4
mov eax, dword [ebp + 0x48]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x10051ac3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x60]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x10051ad4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
call fcn.10001ccd
jmp 0x10052299
call fcn.100575ef
mov al, byte [eax]
mov byte [ebp + 0x77], al
call fcn.100575ef
mov byte [eax], 0
push dword [ebx + 8]
lea ecx, [ebp + 0x68]
call fcn.100057f4
lea ecx, [esi + 0x13cc]
push eax
mov byte [ebp - 4], 0x10
call fcn.100046db
mov ecx, dword [ebp + 0x68]
add ecx, 0xfffffff0
call fcn.10001ccd
lea eax, [ebp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x11
call fcn.10003413
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x68], esp
push eax
call fcn.1000c80c
lea ecx, [ebp - 0x58]
call fcn.1000c9a2
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0x12
jb 0x10051b59
mov eax, dword [eax + 4]
jmp 0x10051b5c
add eax, 4
push eax
lea ecx, [ebp + 0x54]
call fcn.100057f4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x14
call fcn.10098ecc
push ecx
mov ecx, esp
mov dword [ebp + 0x68], esp
push 0x100c503c
call fcn.100057f4
xor ebx, ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0x50], esp
mov edi, str.force_parse_events
push edi
mov byte [ebp - 4], 0x15
call fcn.100057f4
mov byte [ebp - 4], 0x14
call fcn.10044598
add esp, 0xc
cmp eax, 1
jne 0x10051bd9
push ecx
mov ecx, esp
mov dword [ebp + 0x7c], esp
push 0x100c503c
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x68], esp
push edi
mov byte [ebp - 4], 0x16
call fcn.100057f4
mov byte [ebp - 4], 0x14
call fcn.10043af4
pop ecx
pop ecx
mov byte [ebp + 0x7f], 1
mov eax, dword [esi + 0x133c]
mov eax, dword [eax + 0x130]
cmp eax, ebx
je 0x10051cf1
mov ecx, dword [eax + 0xf0]
sub ecx, dword [eax + 0xec]
test ecx, 0xfffffffc
je 0x10051cf1
push ebx
push str.file:__
lea ecx, [ebp + 0x58]
call fcn.10002fb2
test eax, eax
je 0x10051cf1
push ebx
push 0x100cd8c8
lea ecx, [ebp + 0x58]
call fcn.10002fb2
cmp eax, 1
je 0x10051cf1
push ebx
push str.about:
lea ecx, [ebp + 0x58]
call fcn.10002fb2
test eax, eax
je 0x10051cf1
mov eax, dword [ebp + 0x54]
mov edi, 0xe0
cmp dword [eax - 0xc], ebx
je 0x10051d29
xor ebx, ebx
mov eax, dword [esi + 0x133c]
mov eax, dword [eax + 0x130]
add eax, edi
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
sar ecx, 2
cmp ebx, ecx
jae 0x10051d29
push 0
lea ecx, [ebp + 0x54]
call fcn.10003413
mov dword [ebp + 0x68], eax
mov eax, dword [esi + 0x133c]
mov ecx, dword [eax + 0x130]
push ebx
add ecx, edi
call fcn.1000b27e
mov ecx, dword [eax]
add ecx, 0x34
push 0
call fcn.10003413
push dword [ebp + 0x68]
push eax
call fcn.100652f3
pop ecx
pop ecx
test eax, eax
je 0x10051ceb
lea eax, [ebp + 0x34]
push eax
push ecx
lea eax, [ebp + 0x60]
mov ecx, esp
mov dword [ebp + 0x68], esp
push eax
call fcn.1002cc43
push ecx
mov ecx, esp
mov dword [ebp + 0x50], esp
push str.ToolBarInit
mov byte [ebp - 4], 0x18
call fcn.100057f4
mov eax, dword [esi]
add eax, 0x54
push esi
mov byte [ebp - 4], 0x14
call dword [eax]
jmp 0x10051d29
inc ebx
jmp 0x10051c5b
lea eax, [ebp + 0x34]
push eax
push ecx
lea eax, [ebp + 0x60]
mov ecx, esp
mov dword [ebp + 0x68], esp
push eax
call fcn.1002cc43
push ecx
mov ecx, esp
mov dword [ebp + 0x50], esp
push str.ToolBarInit
mov byte [ebp - 4], 0x17
call fcn.100057f4
mov eax, dword [esi]
add eax, 0x54
push esi
mov byte [ebp - 4], 0x14
call dword [eax]
mov edi, 0xe0
cmp byte [ebp + 0x7f], 0
je 0x10051d9b
mov eax, dword [esi + 0x4c]
push 0
push 0x10103450
push 0x101035a0
push 0
push eax
call fcn.100a0cb6
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x10051d9b
push ecx
lea eax, [ebp + 0x54]
mov dword [ebp + 0x7c], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, ebx
call fcn.10039b64
push dword [esi + 0x4c]
lea eax, [ebp + 0x34]
push eax
push ecx
lea eax, [ebp + 0x60]
mov ecx, esp
mov dword [ebp + 0x7c], esp
push eax
call fcn.1002cc43
push ecx
mov ecx, esp
mov dword [ebp + 0x68], esp
push str.OptionsInit
mov byte [ebp - 4], 0x19
call fcn.100057f4
mov byte [ebp - 4], 0x14
call fcn.1004b4d4
add esp, 0x10
cmp byte [ebp + 0x77], 0
jne 0x10051df0
xor edi, edi
mov eax, dword [esi + 0x133c]
mov eax, dword [eax + 0x134]
lea ecx, [eax + 0x34]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp edi, eax
jae 0x10051dd6
push edi
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
push str.DiscardedDocumentComplete
call dword [eax + 0x30]
inc edi
jmp 0x10051da3
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001ccd
lea eax, [ebp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x10051ab2
mov eax, dword [ebp + 0x54]
mov byte [esi + 0x1425], 0
cmp dword [eax - 0xc], 0
je 0x10051e64
xor ebx, ebx
mov eax, dword [esi + 0x133c]
mov eax, dword [eax + 0x130]
add eax, edi
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
sar ecx, 2
cmp ebx, ecx
jae 0x10051e64
push 0
lea ecx, [ebp + 0x54]
call fcn.10003413
mov dword [ebp + 0x7c], eax
mov eax, dword [esi + 0x133c]
mov ecx, dword [eax + 0x130]
push ebx
add ecx, edi
call fcn.1000b27e
mov ecx, dword [eax]
add ecx, 0x34
push 0
call fcn.10003413
push dword [ebp + 0x7c]
push eax
call fcn.100652f3
pop ecx
pop ecx
test eax, eax
je 0x10051eed
mov byte [esi + 0x1425], 1
xor edi, edi
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x68], edi
push str.FullDocumentComplete
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0x1b
call fcn.100057f4
mov byte [ebp - 4], 0x1c
cmp dword [ebp + 0x60], edi
je 0x10051f6f
and dword [ebp + 0x5c], edi
push dword [ebp + 0x78]
lea ecx, [esi + 0x1414]
mov byte [ebp - 4], 0x1d
call fcn.1003eb95
test al, al
je 0x10051f5e
cmp dword [ebp + 0x78], edi
je 0x10051f5e
xor ebx, ebx
mov eax, dword [esi + 0x133c]
mov eax, dword [eax + 0x134]
lea ecx, [eax + 0x34]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp ebx, eax
jae 0x10051ef3
push ebx
call fcn.1000b27e
mov edi, dword [eax]
push 0
lea ecx, [ebp + 0x4c]
call fcn.10003413
mov edx, dword [edi]
push 0
push eax
mov ecx, edi
call dword [edx + 0x30]
inc ebx
jmp 0x10051eb2
inc ebx
jmp 0x10051e02
mov eax, dword [esi + 0x1414]
mov ecx, dword [eax]
lea edx, [ebp + 0x5c]
push edx
push eax
call dword [ecx + 0x48]
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x74]
call fcn.10046d3c
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x10051f50
and dword [ebp + 0x7c], 0
mov ecx, dword [eax]
lea edx, [ebp + 0x7c]
push edx
push eax
mov byte [ebp - 4], 0x1f
call dword [ecx + 0x10]
test eax, eax
jl 0x10051f3c
cmp dword [ebp + 0x7c], 0
je 0x10051f3c
push dword [ebp + 0x7c]
lea ecx, [esi + 0x5c]
call fcn.10046b04
mov eax, dword [ebp + 0x7c]
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x10051f4d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x74]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x10051f5e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x10051f6f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 0x78]
lea ecx, [esi + 0x1414]
call fcn.1003eb95
test al, al
je 0x10052015
xor ebx, ebx
xor edi, edi
mov eax, dword [esi + 0x133c]
lea ecx, [eax + 0x54]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp edi, eax
jae 0x10051fb5
push edi
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push ebx
push str.OnDocumentComplete
call dword [eax + 0x58]
inc edi
jmp 0x10051f89
push 0xffffffffffffffff
lea ecx, [ebp + 0x4c]
call fcn.100029b7
push str.DocumentComplete
lea ecx, [ebp + 0x4c]
call fcn.100049c6
mov eax, dword [esi + 0x133c]
mov eax, dword [eax + 0x134]
lea ecx, [eax + 0x34]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp ebx, eax
jae 0x10052015
push ebx
call fcn.1000b27e
mov edi, dword [eax]
push 0
lea ecx, [ebp + 0x58]
call fcn.10003413
push 0
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x78], eax
call fcn.10003413
push dword [ebp + 0x78]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
inc ebx
jmp 0x10051fcc
push ecx
mov ecx, esp
mov dword [ebp + 0x74], esp
push 0x100c503c
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
mov edi, 0x100c5cf8
push edi
mov byte [ebp - 4], 0x20
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x5c], esp
push str.UpdateAutomatically
mov byte [ebp - 4], 0x21
call fcn.100057f4
lea eax, [ebp + 0x7c]
push eax
mov byte [ebp - 4], 0x1c
call fcn.10044254
add esp, 0x10
or dword [ebp + 0x64], 1
push edi
mov ecx, eax
mov byte [ebp - 4], 0x22
call fcn.1000272b
test eax, eax
je 0x100520eb
push ecx
mov ecx, esp
mov dword [ebp + 0x74], esp
push 0x100c503c
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push edi
mov dword [ebp - 4], 0x23
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x5c], esp
push str.Updating
mov byte [ebp - 4], 0x24
call fcn.100057f4
lea eax, [ebp + 0x78]
push eax
mov byte [ebp - 4], 0x22
call fcn.10044254
add esp, 0x10
or dword [ebp + 0x64], 2
push 0x100c51a4
mov ecx, eax
mov dword [ebp - 4], 0x25
call fcn.1000272b
test eax, eax
je 0x100520eb
mov eax, dword [esi + 0x133c]
test eax, eax
je 0x100520eb
cmp dword [eax + 0x130], 0
je 0x100520eb
mov bl, 1
jmp 0x100520ed
xor bl, bl
test byte [ebp + 0x64], 2
je 0x10052102
mov ecx, dword [ebp + 0x78]
and dword [ebp + 0x64], 0xfffffffd
add ecx, 0xfffffff0
call fcn.10001ccd
test byte [ebp + 0x64], 1
mov dword [ebp - 4], 0x1c
je 0x1005211a
mov ecx, dword [ebp + 0x7c]
add ecx, 0xfffffff0
call fcn.10001ccd
test bl, bl
je 0x1005215d
mov eax, dword [esi + 0x133c]
mov eax, dword [eax + 0x130]
mov eax, dword [eax + 0x128]
test eax, eax
je 0x1005215d
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x78], esp
push str.LastCheckTime
call fcn.100057f4
call fcn.10065ab0
add esp, 0xc
test al, al
je 0x1005215d
push 0
lea ecx, [esi + 0x68]
call fcn.100659d3
cmp dword [esi + 0x133c], 0
mov byte [esi + 0x60], 1
je 0x10052230
and dword [ebp + 0x78], 0
mov eax, dword [esi + 0x133c]
lea ecx, [eax + 0x54]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp dword [ebp + 0x78], eax
jae 0x10052230
push dword [ebp + 0x78]
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x100c503c
push str.cmdtype
call dword [eax + 0xc]
push str.allowPopups
push eax
mov dword [ebp + 0x7c], eax
call fcn.1009fb99
pop ecx
pop ecx
test eax, eax
jne 0x10052217
mov ecx, dword [esi + 0x133c]
push dword [ebp + 0x78]
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x100c503c
push str.command
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x10052228
push ecx
mov eax, esp
lea edi, [esi + 0x68]
mov dword [ebp + 0x74], esp
push eax
mov ecx, edi
call fcn.100633e2
mov ecx, edi
call fcn.1006e82b
movsx eax, al
lea edi, [esi + 0x120]
mov edx, dword [edi]
push eax
push ebx
mov ecx, edi
call dword [edx + 0xc]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0xa8]
push dword [ebp + 0x7c]
lea ecx, [esi + 0x120]
mov eax, dword [ecx]
call dword [eax + 0xa8]
inc dword [ebp + 0x78]
jmp 0x10052172
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001ccd
push dword [ebp + 0x68]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp + 0x50]
call esi
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001ccd
lea eax, [ebp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0x48]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x10052271
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x60]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x10052282
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
call fcn.10001ccd
or dword [ebp - 4], 0xffffffff
call fcn.100575ef
mov byte [eax], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x6c
leave
ret 0xc