Function at 0x1006bc2f
Capabilities:
Copy file

Disassembly:
mov eax, 0x100becfe
call fcn.100a0664
sub esp, 0x74
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], ebx
cmp dword [esi + 0x12d4], ebx
je 0x1006bc7a
lea ecx, [esi + 0xe4]
call fcn.10057fe0
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
cmp eax, ecx
sete al
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [esi + 4]
je 0x1006bc8d
test al, al
jne 0x1006bc8d
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x12d4]
mov ebx, 0x400
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
push str.private
call dword [eax + 8]
test eax, eax
je 0x1006bccd
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
push 0
push str.ProlongPrivateTimeout
call dword [eax + 0xb8]
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x60]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x58]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x12d4]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
push str.Bubble_available
call dword [eax + 8]
test eax, eax
je 0x1006c3a8
push dword [esi + 0x144]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1006bd56
push dword [esi + 0x144]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1006bc7a
lea ecx, [esi + 0x188]
push 0
call fcn.10041e45
mov ecx, dword [esi + 0x12d4]
mov byte [esi + 0x180], 1
mov eax, dword [edi + 0xc]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x100c503c
push 0x100c4ff4
call dword [eax + 0xc]
lea ecx, [esi + 0x1a0]
push eax
mov dword [ebp + 0xc], eax
call fcn.100049c6
push dword [ebp + 0xc]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x12d4]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x100c503c
push str.Bubble_href
call dword [eax + 0xc]
lea ecx, [esi + 0x108]
push eax
mov dword [ebp + 0xc], eax
call fcn.100049c6
push dword [ebp + 0xc]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
push 0
push str.http
lea ecx, [esi + 0x108]
call fcn.10002fb2
test eax, eax
jne 0x1006be80
push ecx
lea eax, [esi + 0x108]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.100033f5
call fcn.10080729
pop ecx
test al, al
jne 0x1006be80
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.urlInaccessibleBubble
call fcn.100057f4
mov ecx, dword [esi + 0x12d4]
lea eax, [ebp - 0x1c]
push eax
call fcn.1003111a
push eax
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 1
call fcn.100046db
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001ccd
mov eax, dword [esi + 0x108]
cmp dword [eax - 0xc], 0
jne 0x1006be80
push str.bubble_permissions.html
lea ecx, [esi + 0x108]
call fcn.100049c6
push 0
push str.http:__
lea ecx, [esi + 0x108]
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x1006bfcd
push 0
push 0x100c54a0
lea ecx, [esi + 0x108]
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x1006bfcd
push str.about:blank
lea ecx, [esi + 0x108]
call fcn.1000272b
test eax, eax
je 0x1006bfcd
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x12d4]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
push str.Bubble_hrefAsIs
call dword [eax + 8]
test eax, eax
jne 0x1006bfcd
lea eax, [ebp - 0x20]
push eax
call fcn.10044b9e
pop ecx
lea ecx, [esi + 0x108]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001ccd
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.100449b3
pop ecx
pop ecx
lea ecx, [esi + 0x108]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.10001ccd
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x28]
push eax
call fcn.10044b9e
pop ecx
lea ecx, [esi + 0x108]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 8
call fcn.10004f80
add esp, 0xc
push eax
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 9
call fcn.100046db
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001ccd
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x12d4]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x100c503c
push str.Bubble_local
call dword [eax + 0xc]
lea ecx, [esi + 0x10c]
push eax
mov dword [ebp + 0xc], eax
call fcn.100049c6
push dword [ebp + 0xc]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
push dword [esi + 0x108]
call fcn.1009e314
pop ecx
push 0xfde9
lea ecx, [esi + 0xb8]
push 1
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xbc]
push dword [ebp - 0x14]
lea ecx, [esi + 0x108]
call fcn.100049c6
push dword [ebp - 0x14]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x12d4]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
push str.Bubble_width
call dword [eax + 8]
mov ecx, dword [esi + 0x12d4]
mov dword [esi + 0x100], eax
mov eax, dword [edi + 0xc]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
push str.Bubble_height
call dword [eax + 8]
mov ecx, dword [ebp - 0x54]
add dword [ebp - 0x54], eax
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x100]
add eax, dword [ebp - 0x60]
push 0x4e
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0xa
push 0x4e
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x58]
sub eax, 0xa
cmp edx, dword [ebp - 0x1c]
jle 0x1006c0f3
mov ecx, dword [ebp - 0x1c]
sub ecx, edx
add dword [ebp - 0x60], ecx
mov ecx, dword [esi + 0x100]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x54], eax
jle 0x1006c10a
sub eax, dword [ebp - 0x54]
add dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x104]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov ecx, dword [esi + 0x12d4]
mov byte [esi + 0x110], 1
mov eax, dword [edi + 0xc]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x100c503c
push str.Bubble_data
call dword [eax + 0xc]
lea ecx, [esi + 0x178]
push eax
mov dword [ebp + 0xc], eax
call fcn.100049c6
push dword [ebp + 0xc]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov byte [esi + 0x17d], 0
call fcn.10037d21
xor ebx, ebx
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push pe_nt_image_headers32
push 0x96400000
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x28], esp
push dword [ebp - 0x2c]
mov dword [eax], ecx
lea ecx, [esi + 0x140]
call fcn.10030f2e
lea edi, [esi + 0x10c]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x1006c296
lea eax, [ebp - 0x2c]
push eax
call fcn.10044b9e
pop ecx
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xa
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.10001ccd
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.100449b3
pop ecx
pop ecx
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xd
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xf
call fcn.10001ccd
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x2c]
push eax
call fcn.10044b9e
pop ecx
lea edi, [esi + 0x190]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.100046db
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xf
call fcn.10001ccd
lea eax, [esi + 0x10c]
push eax
mov ecx, edi
call fcn.1000c714
push dword [edi]
call fcn.1009e314
pop ecx
push 0xfde9
lea ecx, [esi + 0xb8]
push 1
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xbc]
push dword [ebp + 0xc]
mov ecx, edi
call fcn.100049c6
push dword [ebp + 0xc]
lea ecx, [esi + 0xb8]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
push ebx
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0x11
call fcn.10003413
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000274d
mov eax, dword [eax]
cmp eax, ebx
je 0x1006c2b9
mov edi, dword [eax]
jmp 0x1006c2bb
xor edi, edi
lea ecx, [esi + 0x188]
call fcn.1000b49d
mov ecx, dword [esi + 0x144]
push ebx
lea edx, [esi + 0x114]
push edx
push 0x100d7910
push ebx
push eax
push ebx
push ecx
push edi
call fcn.10031026
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x1006c2ef
call fcn.10003043
mov dword [ebp - 4], ebx
jmp 0x1006c301
lea edi, [esi + 0x108]
lea ecx, [esi + 0x174]
push edi
call fcn.100046db
push 0
mov ecx, edi
call fcn.10003413
push eax
lea ecx, [ebp - 0x80]
call fcn.1000b246
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
push eax
push 0x100d76f0
lea ecx, [esi + 0x144]
mov byte [ebp - 4], 0x14
call fcn.1002cd53
test eax, eax
jl 0x1006c381
lea eax, [esi + 0x16c]
push eax
push 0x100d7910
lea eax, [esi + 0x114]
push eax
push dword [ebp + 0x10]
call fcn.1002ccdc
push dword [ebp + 0x10]
lea ecx, [esi + 0x188]
call fcn.1005dfb7
mov eax, dword [ebp + 0x10]
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 - 0x70]
push eax
call esi
lea eax, [ebp - 0x80]
push eax
call esi
jmp 0x1006bc7a
and dword [esi + 0x12d0], 0
mov ecx, dword [esi + 0x12d4]
lea eax, [esi + 0xb8]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0xc]
sub eax, ebx
push eax
add ecx, 0x54
call fcn.1000b27e
push dword [ebp - 0x34]
mov ecx, dword [eax]
push dword [ebp - 0x38]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x30]
jmp 0x1006bc7a