Function at 0x1006c641
Capabilities:
Copy file

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x100c44c0
call fcn.100a35ac
sub esp, 0x64
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp + 0x2c], esi
mov dword [ebp - 4], ebx
cmp dword [esi + 0x12dc], ebx
je 0x1006c690
lea ecx, [esi + 0xe4]
call fcn.100552e0
mov edi, dword [ebp + 0x70]
mov ecx, dword [edi]
cmp eax, ecx
sete al
mov dword [ebp + 0x60], ecx
cmp ecx, dword [esi + 4]
je 0x1006c6a6
test al, al
jne 0x1006c6a6
mov eax, dword [ebp + 0x74]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add ebp, 0x64
leave
ret 0xc
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp + 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp + 0x44]
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x34], eax
lea eax, [ebp + 0x30]
push eax
push dword [edi]
call ebx
lea eax, [ebp + 0x44]
push eax
push dword [edi]
call ebx
lea eax, [ebp + 0x4c]
push eax
push dword [edi]
call ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x12dc]
mov ebx, 0x400
sub eax, ebx
push eax
add ecx, 0x70
call fcn.10001bf2
mov eax, dword [eax]
mov dword [ebp + 0x58], eax
test eax, eax
je 0x1006cd37
mov ecx, eax
mov eax, dword [ecx]
push 0
push str.Bubble_available
call dword [eax + 8]
test eax, eax
je 0x1006cd37
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1006c73b
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1006c690
lea ecx, [esi + 0x18c]
push 0
call fcn.1003d8ec
mov edi, dword [ebp + 0x58]
mov ebx, 0x100cb0a0
push ebx
mov byte [esi + 0x184], 1
mov eax, dword [edi]
push 0x100cacc4
mov ecx, edi
call dword [eax + 0xc]
lea ecx, [esi + 0x1a8]
push eax
mov dword [ebp + 0x70], eax
call fcn.10004da9
push dword [ebp + 0x70]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov eax, dword [edi]
push ebx
push str.Bubble_href
mov ecx, edi
call dword [eax + 0xc]
lea ebx, [esi + 0x10c]
push eax
mov ecx, ebx
mov dword [ebp + 0x70], eax
call fcn.10004da9
push dword [ebp + 0x70]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
push 0
push str.http
mov ecx, ebx
call fcn.10003080
test eax, eax
jne 0x1006c829
push ecx
mov dword [ebp + 0x54], esp
mov ecx, esp
push ebx
call fcn.10003561
call fcn.1007eb04
pop ecx
test al, al
jne 0x1006c829
push ecx
mov ecx, esp
mov dword [ebp + 0x54], esp
push str.urlInaccessibleBubble
call fcn.10005f07
mov ecx, dword [esi + 0x12dc]
lea eax, [ebp + 0x5c]
push eax
call fcn.1002bd1b
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.10004a20
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x1006c829
push str.bubble_permissions.html
mov ecx, ebx
call fcn.10004da9
push 0
push str.http:__
mov ecx, ebx
call fcn.10003080
cmp eax, 0xffffffff
jne 0x1006c940
push 0
push 0x100cb62c
mov ecx, ebx
call fcn.10003080
cmp eax, 0xffffffff
jne 0x1006c940
push str.about:blank
mov ecx, ebx
call fcn.10002834
test eax, eax
je 0x1006c940
mov eax, dword [edi]
push 0
push str.Bubble_hrefAsIs
mov ecx, edi
call dword [eax + 8]
test eax, eax
jne 0x1006c940
lea eax, [ebp + 0x3c]
push eax
call fcn.100406df
pop ecx
push ebx
push eax
lea eax, [ebp + 0x5c]
push eax
mov byte [ebp - 4], 2
call fcn.10005363
add esp, 0xc
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001d29
lea eax, [ebp + 0x28]
push 0
push eax
call fcn.100404f4
pop ecx
pop ecx
push ebx
push eax
lea eax, [ebp + 0x40]
push eax
mov byte [ebp - 4], 5
call fcn.10005363
add esp, 0xc
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.10001d29
push 1
push dword [ebp + 0x5c]
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp + 0x54]
push eax
call fcn.100406df
pop ecx
push ebx
push eax
lea eax, [ebp + 0x3c]
push eax
mov byte [ebp - 4], 8
call fcn.10005363
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.10004a20
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x40]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
mov eax, dword [edi]
push 0x100cb0a0
push str.Bubble_local
mov ecx, edi
call dword [eax + 0xc]
lea ecx, [esi + 0x110]
push eax
mov dword [ebp + 0x70], eax
call fcn.10004da9
push dword [ebp + 0x70]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
push dword [ebx]
call fcn.1009e73f
pop ecx
push 0xfde9
lea ecx, [esi + 0xb8]
push 1
lea edx, [ebp + 0x38]
mov dword [ebp + 0x38], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xbc]
push dword [ebp + 0x38]
mov ecx, ebx
call fcn.10004da9
push dword [ebp + 0x38]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov eax, dword [edi]
push 0
push str.Bubble_width
mov ecx, edi
call dword [eax + 8]
push 0
mov dword [esi + 0x104], eax
mov eax, dword [edi]
push str.Bubble_height
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [ebp + 0x50]
add dword [ebp + 0x50], eax
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x104]
add eax, dword [ebp + 0x44]
push 0x4e
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x4c], eax
call ebx
mov edi, eax
push 0x4e
sub edi, 0xa
call ebx
sub eax, 0xa
cmp dword [ebp + 0x4c], edi
jle 0x1006ca1a
sub edi, dword [ebp + 0x4c]
mov ecx, dword [esi + 0x104]
add dword [ebp + 0x44], edi
add ecx, dword [ebp + 0x44]
mov dword [ebp + 0x4c], ecx
cmp dword [ebp + 0x50], eax
jle 0x1006ca31
sub eax, dword [ebp + 0x50]
add dword [ebp + 0x48], eax
mov eax, dword [esi + 0x108]
add eax, dword [ebp + 0x48]
mov dword [ebp + 0x50], eax
mov ebx, dword [ebp + 0x58]
mov edi, 0x100cb0a0
push edi
mov byte [esi + 0x114], 1
mov eax, dword [ebx]
push str.Bubble_data
mov ecx, ebx
call dword [eax + 0xc]
lea ecx, [esi + 0x17c]
push eax
mov dword [ebp + 0x70], eax
call fcn.10004da9
push dword [ebp + 0x70]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
push edi
mov byte [esi + 0x181], 0
mov eax, dword [ebx]
push str.Bubble_eventdata
mov ecx, ebx
call dword [eax + 0xc]
mov edi, eax
push edi
lea ecx, [ebp + 0x58]
call fcn.10005f07
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
push edi
mov byte [ebp - 4], 0xa
call dword [eax + 0xa8]
mov eax, dword [ebp + 0x58]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x1006cadd
lea ecx, [ebp - 0x70]
call fcn.10017d33
mov dword [ebp - 0x70], 0x100d6df4
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.10004a20
push ebx
push edi
lea eax, [ebp - 0x70]
push eax
mov ecx, esi
call fcn.1006b2a3
lea ecx, [ebp - 0x70]
call fcn.100172a1
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
call fcn.10032c5b
push edi
push ecx
mov eax, esp
mov dword [ebp + 0x54], esp
push 0x100
push 0x96400000
push edi
push ecx
mov dword [eax], edi
mov eax, esp
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x54], esp
push dword [ebp + 0x60]
mov dword [eax], ecx
lea ecx, [esi + 0x144]
call fcn.1002bb2f
lea ebx, [esi + 0x110]
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
je 0x1006cc25
lea eax, [ebp + 0x60]
push eax
call fcn.100406df
pop ecx
push ebx
push eax
lea eax, [ebp + 0x40]
push eax
mov byte [ebp - 4], 0xc
call fcn.10005363
add esp, 0xc
mov ecx, dword [ebp + 0x60]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.10001d29
lea eax, [ebp + 0x54]
push edi
push eax
call fcn.100404f4
pop ecx
pop ecx
push ebx
push eax
lea eax, [ebp + 0x5c]
push eax
mov byte [ebp - 4], 0xf
call fcn.10005363
add esp, 0xc
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.10001d29
push 1
push dword [ebp + 0x40]
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp + 0x60]
push eax
call fcn.100406df
pop ecx
lea ebx, [esi + 0x194]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x12
call fcn.10004a20
mov ecx, dword [ebp + 0x60]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.10001d29
lea eax, [esi + 0x110]
push eax
mov ecx, ebx
call fcn.1000d4f1
push dword [ebx]
call fcn.1009e73f
pop ecx
push 0xfde9
push 1
lea ecx, [ebp + 0x70]
lea ebx, [esi + 0xb8]
mov dword [ebp + 0x70], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xbc]
push dword [ebp + 0x70]
lea ecx, [esi + 0x194]
call fcn.10004da9
push dword [ebp + 0x70]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa8]
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x40]
add ecx, 0xfffffff0
call fcn.10001d29
push edi
lea ecx, [esi + 0x10c]
mov byte [ebp - 4], 0x13
call fcn.1000357f
push eax
lea ecx, [ebp + 0x60]
call fcn.100027e0
mov eax, dword [eax]
cmp eax, edi
je 0x1006cc48
mov ebx, dword [eax]
jmp 0x1006cc4a
xor ebx, ebx
lea ecx, [esi + 0x18c]
call fcn.1005a267
mov ecx, dword [esi + 0x148]
push edi
lea edx, [esi + 0x118]
push edx
push 0x100deb00
push edi
push eax
push edi
push ecx
push ebx
call fcn.1002bc27
mov ecx, dword [ebp + 0x60]
cmp ecx, edi
je 0x1006cc7e
call fcn.10003111
mov dword [ebp - 4], edi
jmp 0x1006cc90
lea edi, [esi + 0x10c]
lea ecx, [esi + 0x178]
push edi
call fcn.10004a20
push 0
mov ecx, edi
call fcn.1000357f
push eax
lea ecx, [ebp - 0x20]
call fcn.1000befb
lea eax, [ebp]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [ebp + 0x74], 0
lea eax, [ebp + 0x74]
push eax
push 0x100de8e0
lea ecx, [esi + 0x148]
mov byte [ebp - 4], 0x16
call fcn.100279e6
test eax, eax
jl 0x1006cd10
lea eax, [esi + 0x170]
push eax
push 0x100deb00
lea eax, [esi + 0x118]
push eax
push dword [ebp + 0x74]
call fcn.1002796f
push dword [ebp + 0x74]
lea ecx, [esi + 0x18c]
call fcn.1005b0ec
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
push 1
call dword [eax + 0xc0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp]
push eax
call esi
lea eax, [ebp - 0x20]
push eax
call esi
jmp 0x1006c690
and dword [esi + 0x12d8], 0
mov ecx, dword [esi + 0x12dc]
lea eax, [esi + 0xb8]
mov dword [ebp + 0x70], eax
mov eax, dword [edi + 0xc]
sub eax, ebx
push eax
add ecx, 0x70
call fcn.10001bf2
push dword [ebp + 0x34]
mov ecx, dword [eax]
push dword [ebp + 0x30]
mov eax, dword [ecx]
push dword [ebp + 0x70]
call dword [eax + 0x30]
jmp 0x1006c690