Function at 0x1003a940
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adb52
mov eax, dword fs:[0]
push eax
mov eax, 0x50dc
call fcn.100759e0
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 - 0x5080], ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x5010]
push 0x5000
push 0
mov dword [ebp - 0x50b8], esi
push eax
mov dword [ebp - 0x509c], esi
mov dword [ebp - 0x507c], 0
call fcn.100805f0
add esp, 0xc
lea eax, [ebp - 0x5010]
push dword [ebx]
push 0x2800
push eax
push 0x100b6050
push str.key_core
push str.Benchmark
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x5090], 0
mov dword [ebp - 0x508c], 0
mov dword [ebp - 0x5088], 0
mov dword [ebp - 4], 1
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003b238
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5074], eax
mov eax, 0x100b9ca4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5074]
test eax, 0xffff0000
jne 0x1003aa2f
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003aa3b
push 1
push 0x100b9ca4
call fcn.10017410
mov byte [ebp - 4], 3
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003b242
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5078], eax
lea eax, [ebp - 0x5010]
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x1003aa7e
movzx eax, ax
lea ecx, [ebp - 0x5078]
push eax
call fcn.1000baf0
jmp 0x1003aaa9
lea ecx, [ebp - 0x5010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003aa87
sub ecx, edx
lea eax, [ebp - 0x5010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5078]
call fcn.10017410
lea eax, [ebp - 0x5090]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x5074]
push eax
lea eax, [ebp - 0x5078]
push eax
call fcn.10052750
mov edx, dword [ebp - 0x5078]
add esp, 0xc
mov byte [ebp - 4], 3
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003aaec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5074]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003ab0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x508c]
mov ecx, esi
sub edi, dword [ebp - 0x5090]
push 0
sar edi, 2
call fcn.10062510
mov ebx, 1
xor esi, esi
mov dword [ebp - 0x507c], ebx
test edi, edi
je 0x1003b209
nop dword [eax + eax]
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003b238
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5074], eax
mov eax, 0x100b9acc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5074]
test eax, 0xffff0000
jne 0x1003ab7e
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003ab8a
push 4
push 0x100b9acc
call fcn.10017410
mov eax, dword [ebp - 0x5090]
lea ecx, [ebp - 0x5074]
push ecx
mov ecx, dword [ebp - 0x5080]
mov byte [ebp - 4], 7
lea eax, [eax + esi*4]
push eax
lea eax, [ebp - 0x5084]
push eax
call fcn.1003a6f0
mov edx, dword [ebp - 0x5074]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003abd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003b238
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5074], eax
mov eax, str.score
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5074]
test eax, 0xffff0000
jne 0x1003ac11
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003ac1d
push 5
push str.score
call fcn.10017410
mov eax, dword [ebp - 0x5090]
lea ecx, [ebp - 0x5074]
push ecx
mov ecx, dword [ebp - 0x5080]
mov byte [ebp - 4], 0xb
lea eax, [eax + esi*4]
push eax
lea eax, [ebp - 0x5078]
push eax
call fcn.1003a6f0
mov edx, dword [ebp - 0x5074]
or eax, 0xffffffff
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003ac66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfde9
push dword [ebp - 0x5078]
lea eax, [ebp - 0x5040]
push eax
call fcn.1005d190
add esp, 0xc
lea ecx, [ebp - 0x50e8]
mov byte [ebp - 4], 0xe
call fcn.10065450
cmp dword [ebp - 0x5030], 0
mov byte [ebp - 4], 0xf
je 0x1003b151
lea eax, [ebp - 0x5040]
push eax
lea ecx, [ebp - 0x50e8]
call fcn.10066190
test al, al
je 0x1003ad0a
push 0
push 0x100b565d
lea ecx, [ebp - 0x5028]
mov dword [ebp - 0x5018], 0
mov dword [ebp - 0x5014], 0xf
mov byte [ebp - 0x5028], 0
call fcn.1000eb90
lea eax, [ebp - 0x5028]
mov byte [ebp - 4], 0x10
or ebx, 2
lea ecx, [ebp - 0x50e8]
push eax
mov dword [ebp - 0x507c], ebx
call fcn.10066150
test al, al
je 0x1003ad0a
mov bl, 1
jmp 0x1003ad0c
xor bl, bl
mov eax, dword [ebp - 0x507c]
mov dword [ebp - 4], 0xf
test al, 2
je 0x1003ad60
mov edx, dword [ebp - 0x5014]
and eax, 0xfffffffd
mov dword [ebp - 0x507c], eax
cmp edx, 0x10
jb 0x1003ad60
mov ecx, dword [ebp - 0x5028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ad56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b24c
push edx
push ecx
call fcn.1007559a
add esp, 8
test bl, bl
je 0x1003b151
push str.core
push dword [ebp - 0x5084]
call fcn.1008f903
add esp, 8
test eax, eax
jne 0x1003b151
push eax
lea ecx, [ebp - 0x50d0]
call fcn.10062510
push 0
push 0x100b565d
lea ecx, [ebp - 0x5028]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x5018], 0
mov dword [ebp - 0x5014], 0xf
mov byte [ebp - 0x5028], 0
call fcn.1000eb90
lea eax, [ebp - 0x5028]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x50e8]
call fcn.10065cc0
push eax
push 0x100b787c
lea ecx, [ebp - 0x50d0]
call fcn.10062e30
mov ecx, eax
call fcn.10062960
mov edx, dword [ebp - 0x5014]
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x1003ae2c
mov ecx, dword [ebp - 0x5028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003ae22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b24c
push edx
push ecx
call fcn.1007559a
add esp, 8
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003b238
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5074], eax
mov eax, str.benchenv
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5074]
test eax, 0xffff0000
jne 0x1003ae6a
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003ae76
push 8
push str.benchenv
call fcn.10017410
mov eax, dword [ebp - 0x5090]
lea ecx, [ebp - 0x5074]
mov ebx, dword [ebp - 0x5080]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x14
lea eax, [eax + esi*4]
push eax
lea eax, [ebp - 0x5098]
push eax
call fcn.1003a6f0
mov edx, dword [ebp - 0x5074]
or eax, 0xffffffff
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003aec1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5098]
cmp dword [eax - 0xc], 0
je 0x1003af8f
push 0xfde9
push eax
lea eax, [ebp - 0x5070]
push eax
call fcn.1005d190
add esp, 0xc
lea ecx, [ebp - 0x50b4]
mov byte [ebp - 4], 0x17
call fcn.10065450
lea eax, [ebp - 0x5070]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x50b4]
call fcn.10066190
test al, al
je 0x1003af75
push 0
push 0x100b565d
lea ecx, [ebp - 0x5028]
mov dword [ebp - 0x5018], 0
mov dword [ebp - 0x5014], 0xf
mov byte [ebp - 0x5028], 0
call fcn.1000eb90
lea eax, [ebp - 0x5028]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x50b4]
call fcn.10065cc0
push eax
push 0x100b7764
lea ecx, [ebp - 0x50d0]
call fcn.10062e30
mov ecx, eax
call fcn.10062960
lea ecx, [ebp - 0x5028]
call fcn.10009280
lea ecx, [ebp - 0x50b4]
call fcn.100628a0
lea ecx, [ebp - 0x5070]
mov byte [ebp - 4], 0x16
call fcn.10009280
mov eax, dword [ebp - 0x5090]
push 0xfde9
push dword [eax + esi*4]
lea eax, [ebp - 0x5058]
push eax
call fcn.1005d190
add esp, 0xc
lea eax, [ebp - 0x5058]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x5094]
mov ecx, ebx
push eax
call fcn.1003c070
mov eax, dword [ebp - 0x5094]
mov byte [ebp - 4], 0x1b
cmp dword [eax - 0xc], 0
je 0x1003b097
push 0xfde9
push eax
lea eax, [ebp - 0x5070]
push eax
call fcn.1005d190
add esp, 0xc
lea ecx, [ebp - 0x50b4]
mov byte [ebp - 4], 0x1c
call fcn.10065450
lea eax, [ebp - 0x5070]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x50b4]
call fcn.10066190
test al, al
je 0x1003b07d
push 0
push 0x100b565d
lea ecx, [ebp - 0x5028]
mov dword [ebp - 0x5018], 0
mov dword [ebp - 0x5014], 0xf
mov byte [ebp - 0x5028], 0
call fcn.1000eb90
lea eax, [ebp - 0x5028]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x50b4]
call fcn.10065cc0
push eax
push str.rank
lea ecx, [ebp - 0x50d0]
call fcn.10062e30
mov ecx, eax
call fcn.10062960
lea ecx, [ebp - 0x5028]
call fcn.10009280
lea ecx, [ebp - 0x50b4]
call fcn.100628a0
lea ecx, [ebp - 0x5070]
mov byte [ebp - 4], 0x1b
call fcn.10009280
mov ecx, dword [ebp - 0x509c]
lea eax, [ebp - 0x50d0]
push eax
call fcn.10063720
mov edx, dword [ebp - 0x5094]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b0cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5044]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x1003b109
mov ecx, dword [ebp - 0x5058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b0ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b24c
push edx
push ecx
call fcn.1007559a
add esp, 8
mov edx, dword [ebp - 0x5098]
or eax, 0xffffffff
mov dword [ebp - 0x5048], 0
add edx, 0xfffffff0
mov dword [ebp - 0x5044], 0xf
mov byte [ebp - 0x5058], 0
mov byte [ebp - 4], 0x11
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b146
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x50d0]
call fcn.100628a0
lea ecx, [ebp - 0x50e8]
call fcn.100628a0
mov edx, dword [ebp - 0x502c]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x1003b19a
mov ecx, dword [ebp - 0x5040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b190
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b24c
push edx
push ecx
call fcn.1007559a
add esp, 8
mov edx, dword [ebp - 0x5078]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 9
mov byte [ebp - 0x5040], 0
mov dword [ebp - 0x502c], 0xf
mov dword [ebp - 0x5030], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b1d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5084]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b1f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, edi
jae 0x1003b209
mov ebx, dword [ebp - 0x507c]
jmp 0x1003ab40
lea ecx, [ebp - 0x5090]
call fcn.1001b620
mov eax, dword [ebp - 0x509c]
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 4
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
call fcn.10083519
int3