Function at 0x100016c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e970
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10016034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebx + 4], vtable.IBoomerangClient2.0
mov dword [ebx], vtable.CBoomerangClient.1.0
mov dword [ebx + 4], vtable.CBoomerangClient.0
mov dword [ebx + 0x418], 0
mov dword [ebx + 0x41c], 0
mov dword [ebx + 0x420], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x424], 0
mov dword [ebx + 0x428], 0
mov dword [ebx + 0x42c], 0
mov byte [ebp - 4], 1
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x430], eax
mov byte [ebp - 4], 2
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x434], eax
mov byte [ebp - 4], 3
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x438], eax
mov byte [ebp - 4], 4
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x43c], eax
mov byte [ebp - 4], 5
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x440], eax
mov byte [ebp - 4], 6
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x444], eax
mov byte [ebp - 4], 7
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x448], eax
mov dword [ebx + 0x189c], 0
mov dword [ebx + 0x18a0], 1
mov dword [ebx + 0x18a4], 1
mov dword [ebx + 0x18bc], 0
mov dword [ebx + 0x18c0], 0
mov dword [ebx + 0x18c4], 0
mov byte [ebp - 4], 9
mov dword [ebx + 0x18c8], 0
mov dword [ebx + 0x18cc], 0
mov dword [ebx + 0x18d0], 0
mov dword [ebx + 0x18d4], 0
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18d8], eax
mov byte [ebp - 4], 0xa
mov ecx, section..data
mov eax, dword [section..data]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18dc], eax
mov byte [ebp - 4], 0xb
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18e0], eax
mov byte [ebp - 4], 0xc
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18e4], eax
mov byte [ebp - 4], 0xd
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18e8], eax
mov byte [ebp - 4], 0xe
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18ec], eax
mov byte [ebp - 4], 0xf
mov eax, dword [section..data]
lea esi, [ebx + 0x18f0]
mov ecx, section..data
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x1001075c
mov byte [ebp - 4], 0x10
test eax, 0xffff0000
jne 0x10001946
movzx esi, ax
mov ecx, esi
call fcn.10001360
test eax, eax
je 0x10001954
push esi
push eax
lea ecx, [ebx + 0x18f0]
call fcn.10009e00
jmp 0x10001954
push 0
push 0x1001075c
mov ecx, esi
call fcn.100099b0
mov byte [ebp - 4], 0x11
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18f4], eax
mov byte [ebp - 4], 0x12
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18f8], eax
mov byte [ebp - 4], 0x13
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x18fc], eax
mov byte [ebp - 4], 0x14
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x1900], eax
mov byte [ebp - 4], 0x15
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x1904], eax
mov byte [ebp - 4], 0x16
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x1908], eax
mov dword [ebx + 0x1918], 0
mov dword [ebx + 0x191c], 0
mov dword [ebx + 0x1920], 0x10013258
mov dword [ebx + 0x1924], 0
push 0x1001075c
mov byte [ebp - 4], 0x18
mov esi, dword [sym.imp.MSVCR110.dll_wcscpy_s]
lea eax, [ebx + 0x44c]
push 0x104
push eax
mov dword [ebx + 0x1928], 0
mov dword [ebx + 0x192c], 0
call esi
push 0x1001075c
lea eax, [ebx + 0x85c]
push 0x104
push eax
call esi
push 0x1001075c
lea eax, [ebx + 0x654]
push 0x104
push eax
call esi
push 0x1001075c
lea eax, [ebx + 0x1694]
push 0x104
push eax
call esi
push 0x100107bc
lea eax, [ebx + 0x1284]
push 0x104
push eax
call esi
push str.Unknown
push 0x104
lea eax, [ebx + 0x210]
push eax
call esi
add esp, 0x48
lea eax, [ebx + 0x440]
push str.0.0.0.0
push eax
call fcn.1000a6a0
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.1000b400
mov byte [ebp - 4], 0x19
mov edx, dword [eax]
mov esi, dword [ebx + 0x430]
lea ecx, [edx - 0x10]
sub esi, 0x10
or edi, 0xffffffff
cmp ecx, esi
je 0x10001b2d
cmp dword [esi + 0xc], 0
jl 0x10001b1a
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10001b1a
call fcn.10009a80
mov dword [ebp - 0x10], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001b0d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea esi, [ebx + 0x430]
add eax, 0x10
mov dword [esi], eax
jmp 0x10001b33
push dword [edx - 0xc]
lea esi, [ebx + 0x430]
push edx
mov ecx, esi
call fcn.100099b0
jmp 0x10001b33
lea esi, [ebx + 0x430]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x10001b51
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
push str..exe
mov ecx, esi
call fcn.100098e0
xor edx, edx
lea ecx, [ebx + 0x434]
call fcn.1000b670
push 0x104
lea esi, [ebx + 0x148c]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.APREG.url
push esi
call edi
push 0
push 0x23
lea esi, [ebx + 8]
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.CyberLinkBoomerang_
push esi
call edi
call dword [sym.imp.MSVCR110.dll_clock]
cdq
push 0x10003cd0
mov dword [ebx + 0x1910], eax
mov dword [ebx + 0x1914], edx
mov dword [0x10016634], ebx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, ebx
call fcn.10003cf0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret