Function at 0x100bf370
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102fc1fb
mov eax, dword fs:[0]
push eax
mov eax, 0x2834
call fcn.102928d0
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x281c], ebx
call fcn.100ccf47
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x283c], esi
mov dword [ebp - 0x282c], ebx
cmp dword [ebp + 0x14], ebx
jge 0x100bf3db
push ebx
push ebx
push 0x147
push dword [esi + 0x20]
call edi
push 0
push 0
push 0x14b
push dword [esi + 0x20]
call edi
push 0x2800
lea eax, [ebp - 0x2810]
push 0
push eax
call fcn.10296750
add esp, 0xc
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x100bf741
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2820], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2820]
push str.c:davinciGPARAM.ini
call fcn.10003e40
test al, al
jne 0x100bf449
push 0x15
push str.c:davinciGPARAM.ini
lea ecx, [ebp - 0x2820]
call fcn.1000aa00
mov dword [ebp - 4], 1
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x100bf74b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2840], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2810]
push dword [ebp - 0x2820]
push 0x2800
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [ebp - 0x2834], eax
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x100bf755
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2818], edi
mov byte [ebp - 4], 5
xor eax, eax
or ecx, 0xffffffff
mov dword [ebp - 0x2830], eax
cmp dword [ebp - 0x2834], eax
jle 0x100bf657
nop word [eax + eax]
mov al, byte [ebp + eax - 0x2810]
mov byte [ebp - 0x2811], al
test al, al
je 0x100bf6d1
mov byte [ebp - 4], 6
lea eax, [edi - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x2838], eax
test ecx, ecx
je 0x100bf501
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100bf515
call fcn.100c32b9
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100bf741
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2824], esi
mov byte [ebp - 4], 6
or ebx, 1
mov dword [ebp - 0x281c], ebx
mov edx, dword [edi - 0xc]
mov dword [ebp - 0x2828], edx
lea ebx, [edx + 1]
test ebx, ebx
js 0x100bf737
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x100bf56f
push ebx
lea ecx, [ebp - 0x2824]
call fcn.10003170
mov esi, dword [ebp - 0x2824]
mov edx, dword [ebp - 0x2828]
push edx
push edi
push edx
push esi
call fcn.10002c50
mov eax, dword [ebp - 0x2828]
add esp, 0x10
add eax, esi
jne 0x100bf597
call fcn.102b2d30
mov dword [eax], 0x16
call fcn.102b2c09
jmp 0x100bf59f
mov cl, byte [ebp - 0x2811]
mov byte [eax], cl
cmp ebx, dword [esi - 8]
jg 0x100bf737
mov dword [esi - 0xc], ebx
lea eax, [edi - 0x10]
mov byte [ebx + esi], 0
lea ebx, [esi - 0x10]
cmp ebx, eax
je 0x100bf60d
mov edi, dword [ebp - 0x2838]
cmp dword [edi + 0xc], 0
jl 0x100bf5f8
mov eax, dword [ebx]
cmp eax, dword [edi]
jne 0x100bf5f8
push ebx
call fcn.100092d0
add esp, 4
lea edx, [edi + 0xc]
mov esi, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100bf5ed
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea edi, [esi + 0x10]
mov dword [ebp - 0x2818], edi
jmp 0x100bf60d
push dword [esi - 0xc]
lea ecx, [ebp - 0x2818]
push esi
call fcn.1000aa00
mov edi, dword [ebp - 0x2818]
and dword [ebp - 0x281c], 0xfffffffe
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x100bf632
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov ebx, dword [ebp - 0x281c]
mov eax, dword [ebp - 0x2830]
inc eax
mov dword [ebp - 0x2830], eax
cmp eax, dword [ebp - 0x2834]
jl 0x100bf4d0
mov esi, dword [ebp - 0x2840]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ecx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100bf675
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100bf693
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2820]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100bf6b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x282c]
push 0x1031b50e
inc esi
push edi
mov dword [ebp - 0x282c], esi
call fcn.102b2edb
add esp, 8
test eax, eax
je 0x100bf717
push edi
mov edi, dword [ebp - 0x283c]
push 0
push 0x143
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push eax
push 0x151
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1031b50e
lea ecx, [ebp - 0x2818]
call fcn.1000aa00
mov edi, dword [ebp - 0x2818]
or ecx, 0xffffffff
jmp 0x100bf638
push 0x80070057
call fcn.10002bc0
push 0x80004005
call fcn.10002bc0
push 0x80004005
call fcn.10002bc0
push 0x80004005
call fcn.10002bc0
int3