Function at 0x10008df0
Capabilities:
Check if file exists
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000ee71
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10016034]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x10016034]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x1694]
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008e50
sub ecx, edx
sar ecx, 1
jne 0x1000904e
xor eax, eax
push 0x206
push eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push eax
call sub.MSVCR110.dll_memset
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x54]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [esp + 0x44]
push str._setting_
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008ec9
lea eax, [esp + 0x44]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [esp + 0x44]
push eax
call fcn.10003f30
lea edx, [esi + 0x44c]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
jmp 0x10008ee0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008ee0
sub ecx, dword [esp + 0x14]
sar ecx, 1
je 0x1000907e
push edx
lea ecx, [esp + 0x24]
call fcn.10009160
lea ecx, [esp + 0x20]
mov dword [esp + 0x260], 0
call fcn.100092f0
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x260], 1
push dword [esp + 0x20]
lea ecx, [esp + 0x30]
call fcn.10009640
mov byte [esp + 0x260], 2
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x3c]
lea esi, [esp + 0x2c]
cmovae esi, dword [esp + 0x2c]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x10008f7a
mov ebx, eax
movzx eax, byte [esi + ecx]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x10008f65
mov ebx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push 0x10012894
push eax
call fcn.1000a6a0
add esp, 0xc
cmp dword [esp + 0x40], 8
jb 0x10008fa1
push dword [esp + 0x2c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esp + 0x14]
push esi
lea eax, [esp + 0x48]
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathAppendW]
call eax
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x260], 0
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10008fd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x260], 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x10008ffc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push 0x104
push edi
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
push str.profile.ini
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009040
lea eax, [esp + 0x44]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push edi
mov ecx, esi
call fcn.100090c0
push edi
push str._Boomerang__m_szSettingFile___s
call fcn.1000b290
add esp, 8
push edi
mov ecx, ebx
call fcn.10009160
mov eax, ebx
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x1c]
call fcn.1000b400
push dword [eax]
lea eax, [esp + 0x48]
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathAppendW]
call eax
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10009000
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10009000