Function at 0x1000d6f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018baeb
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x102159fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24c], edi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x1000d7ed
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d740
sub ecx, esi
lea esi, [edi + 4]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10001270
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x1000d782
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000d76c
mov eax, dword [esi]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1000d782
push 1
push 0x1018fa34
mov ecx, esi
call fcn.10004210
cmp dword [esi + 0x10], 0
jne 0x1000d841
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101640e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.101642ed
add esp, 8
test eax, eax
je 0x1000d7d1
xor ecx, ecx
mov word [eax + 2], cx
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d7e0
jmp 0x1000d82e
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.101642ed
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d820
lea esi, [edi + 4]
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10001270
mov ecx, edi
call fcn.1000dbc0
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x1000d854
mov eax, dword [edi + 0x1c]
push str.CfgPath
push eax
lea eax, [ebp - 0x218]
push 0x101906cc
push eax
call fcn.100073c0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000d88e
lea eax, [ebp - 0x218]
push eax
call fcn.10150f75
add esp, 4
add edi, 0x34
mov dword [ebp - 0x250], edi
cmp edi, esi
je 0x1000d8b0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000d8a5
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.10001270
push 0xa
push str.BKllon.ini
mov ecx, edi
call fcn.10004210
mov esi, dword [ebp - 0x24c]
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
mov ecx, eax
mov dword [ebp - 0x254], eax
jb 0x1000d8dd
mov ecx, dword [eax]
mov dword [ebp - 0x254], ecx
mov eax, dword [eax + 0x10]
cmp eax, 0xd
jb 0x1000d91e
add eax, 0xfffffff4
lea eax, [ecx + eax*2]
mov dword [ebp - 0x258], eax
sub eax, ecx
sar eax, 1
je 0x1000d912
nop word [eax + eax]
cmp word [ecx], 0x73
je 0x1000d9ab
add ecx, 2
sub eax, 1
jne 0x1000d900
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x250]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1000d928
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.1014e5b2
mov edi, eax
add esi, 0x4c
add esp, 8
cmp esi, edi
je 0x1000d96b
mov ecx, esi
call fcn.10001e10
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1000da27
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000da1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dbad
jmp 0x1000da1d
test ecx, ecx
je 0x1000d912
mov edx, str.systemprofile
mov edi, ecx
mov esi, 0xd
sub edi, edx
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x1000da0f
add edx, 2
sub esi, 1
jne 0x1000d9c1
sub ecx, dword [ebp - 0x254]
mov esi, dword [ebp - 0x24c]
sar ecx, 1
cmp ecx, 0xffffffff
je 0x1000d918
lea eax, [esi + 4]
lea ecx, [esi + 0x1c]
cmp ecx, eax
je 0x1000d918
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1000da01
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10001270
jmp 0x1000d918
mov eax, dword [ebp - 0x258]
add ecx, 2
jmp 0x1000d8f1
push edx
push ecx
call fcn.1014b814
add esp, 8
push 7
push str.CfgPath
mov ecx, esi
call fcn.10004210
push 1
push 0x1018fa34
mov ecx, esi
call fcn.10004210
push 0xa
push str.BKllon.ini
mov ecx, esi
call fcn.10004210
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000da5b
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000da77
cmp dword [esi + 0x14], 8
jb 0x1000da6e
mov esi, dword [esi]
push esi
call fcn.10150f75
add esp, 4
mov edi, dword [ebp - 0x24c]
mov ecx, edi
call fcn.1000dea0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101640e0
mov eax, dword [ebp - 0x250]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1000daa8
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x101906d8
push str.6b982
push str.BKSV
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000dad3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x7c]
call fcn.10001270
lea ecx, [ebp - 0x264]
call fcn.10156a19
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.1015ac8a
mov esi, eax
add edi, 0x94
cmp edi, esi
je 0x1000db4a
mov ecx, edi
call fcn.10002840
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x1000db80
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000db76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dbb2
push edx
push ecx
call fcn.1014b814
add esp, 8
lea ecx, [ebp - 0x264]
call fcn.10001160
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014bb85
mov esp, ebp
pop ebp
ret 8
call fcn.101675c9
call fcn.101675c9
int3