Function at 0x10038dc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad63d
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x100de514]
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 ebx, ecx
mov dword [ebp - 0x830], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x800
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.100805f0
add esp, 0xc
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10039204
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x82c], eax
push dword [esi]
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], 0
push str.key__s
push eax
call fcn.10013970
mov edi, dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
add esp, 0xc
push dword [ebx]
push 0x400
push eax
push 0x100b6050
push edi
push str.Benchmark
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov byte [ebp - 4], 1
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003920e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x828], eax
mov eax, 0x100b9ca4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x828]
test eax, 0xffff0000
jne 0x10038ed7
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x10038ee3
push 1
push 0x100b9ca4
call fcn.10017410
mov byte [ebp - 4], 3
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10039218
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x10038f26
movzx eax, ax
lea ecx, [ebp - 0x824]
push eax
call fcn.1000baf0
jmp 0x10038f52
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038f30
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x824]
call fcn.10017410
lea eax, [ebp - 0x820]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.10052750
mov edx, dword [ebp - 0x824]
or ebx, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10038f97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x828]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10038fb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x81c]
mov eax, dword [ebp - 0x814]
cmp dword [ebp - 0x818], esi
je 0x10038ff0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.1001c210
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp - 0x81c]
add eax, 4
mov dword [ebp - 0x81c], eax
jmp 0x10039003
push eax
push esi
lea ecx, [ebp - 0x820]
call fcn.100388b0
mov eax, dword [ebp - 0x81c]
mov esi, dword [ebp - 0x820]
sub eax, esi
sar eax, 2
cmp eax, 6
jbe 0x10039103
nop word [eax + eax]
mov eax, dword [ebp - 0x830]
push dword [eax]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x81c]
lea edi, [esi + 4]
mov dword [ebp - 0x834], eax
cmp edi, eax
je 0x100390c0
sub edi, esi
nop dword [eax]
mov ecx, dword [edi + esi]
mov ebx, dword [esi]
sub ebx, 0x10
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x100390a9
cmp dword [ebx + 0xc], 0
jl 0x1003909e
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x1003909e
push edx
call fcn.1001c210
add esp, 4
mov dword [ebp - 0x814], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10039097
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x814]
add eax, 0x10
mov dword [esi], eax
jmp 0x100390a9
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.10017410
add esi, 4
lea eax, [edi + esi]
cmp eax, dword [ebp - 0x834]
jne 0x10039050
mov eax, dword [ebp - 0x81c]
or ebx, 0xffffffff
mov edx, dword [eax - 4]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100390da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x81c]
mov esi, dword [ebp - 0x820]
sub eax, 4
mov dword [ebp - 0x81c], eax
sub eax, esi
sar eax, 2
cmp eax, 6
ja 0x10039020
mov edi, dword [ebp - 0x82c]
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10039222
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
mov eax, dword [ebp - 0x81c]
xor ebx, ebx
mov ecx, dword [ebp - 0x820]
sub eax, ecx
sar eax, 2
mov byte [ebp - 4], 6
test eax, eax
je 0x1003918c
nop dword [eax + eax]
cmp dword [esi - 0xc], 0
je 0x1003915e
push 1
push 0x100b9ca4
lea ecx, [ebp - 0x814]
call fcn.10038d10
mov ecx, dword [ebp - 0x820]
mov eax, dword [ecx + ebx*4]
lea ecx, [ebp - 0x814]
push dword [eax - 0xc]
push eax
call fcn.10038d10
mov eax, dword [ebp - 0x81c]
inc ebx
mov ecx, dword [ebp - 0x820]
sub eax, ecx
mov esi, dword [ebp - 0x814]
sar eax, 2
cmp ebx, eax
jb 0x10039140
mov eax, dword [ebp - 0x830]
push dword [eax]
push esi
push edi
push str.Benchmark
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100391bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x820]
call fcn.1001b620
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100391e6
mov ecx, dword [edi]
push edi
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.1007590b
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
int3