Function at 0x10039cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae04b
mov eax, dword fs:[0]
push eax
mov eax, 0x50c0
call fcn.100761a0
mov eax, dword [0x100df514]
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 esi, ecx
mov dword [ebp - 0x5068], esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x5010]
push 0x5000
push 0
mov dword [ebp - 0x5084], ebx
push eax
mov dword [ebp - 0x5080], ebx
mov dword [ebp - 0x5064], 0
call fcn.10080db0
add esp, 0xc
lea eax, [ebp - 0x5010]
push dword [esi]
push 0x2800
push eax
push 0x100b7070
push 0x100bad18
push str.Benchmark
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x5074], 0
mov dword [ebp - 0x5070], 0
mov dword [ebp - 0x506c], 0
mov dword [ebp - 4], 1
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003a488
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x505c], eax
mov eax, 0x100bad14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x505c]
test eax, 0xffff0000
jne 0x10039d9f
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x10039dab
push 1
push 0x100bad14
call fcn.100176a0
mov byte [ebp - 4], 3
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003a492
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5060], eax
lea eax, [ebp - 0x5010]
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x10039dee
movzx eax, ax
lea ecx, [ebp - 0x5060]
push eax
call fcn.1000baf0
jmp 0x10039e19
lea ecx, [ebp - 0x5010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039df7
sub ecx, edx
lea eax, [ebp - 0x5010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5060]
call fcn.100176a0
lea eax, [ebp - 0x5074]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x505c]
push eax
lea eax, [ebp - 0x5060]
push eax
call fcn.10052ef0
mov edx, dword [ebp - 0x5060]
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 0x10039e5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x505c]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10039e7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x5070]
mov ecx, ebx
sub edi, dword [ebp - 0x5074]
push 0
sar edi, 2
call fcn.10062cb0
mov ebx, 1
xor esi, esi
mov dword [ebp - 0x5064], ebx
test edi, edi
je 0x1003a454
nop dword [eax + eax]
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003a488
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x505c], eax
mov eax, 0x100bab3c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x505c]
test eax, 0xffff0000
jne 0x10039eee
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x10039efa
push 4
push 0x100bab3c
call fcn.100176a0
mov eax, dword [ebp - 0x5074]
lea ecx, [ebp - 0x505c]
push ecx
mov ecx, dword [ebp - 0x5068]
mov byte [ebp - 4], 7
lea eax, [eax + esi*4]
push eax
lea eax, [ebp - 0x507c]
push eax
call fcn.1003ae70
mov edx, dword [ebp - 0x505c]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10039f43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003a488
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x505c], eax
mov eax, str.score
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x505c]
test eax, 0xffff0000
jne 0x10039f81
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x10039f8d
push 5
push str.score
call fcn.100176a0
mov eax, dword [ebp - 0x5074]
lea ecx, [ebp - 0x505c]
push ecx
mov ecx, dword [ebp - 0x5068]
mov byte [ebp - 4], 0xb
lea eax, [eax + esi*4]
push eax
lea eax, [ebp - 0x5078]
push eax
call fcn.1003ae70
mov edx, dword [ebp - 0x505c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10039fd6
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.1005d930
add esp, 0xc
push 0
lea ecx, [ebp - 0x50b4]
mov byte [ebp - 4], 0xe
call fcn.10062cb0
lea ecx, [ebp - 0x509c]
mov byte [ebp - 4], 0xf
call fcn.10065bf0
cmp dword [ebp - 0x5030], 0
mov byte [ebp - 4], 0x10
je 0x1003a386
lea eax, [ebp - 0x5040]
push eax
lea ecx, [ebp - 0x509c]
call fcn.10066930
test al, al
je 0x1003a08b
push 0
push 0x100b667f
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], 0x11
or ebx, 2
lea ecx, [ebp - 0x509c]
push eax
mov dword [ebp - 0x5064], ebx
call fcn.100668f0
test al, al
je 0x1003a08b
mov bl, 1
jmp 0x1003a08d
xor bl, bl
mov eax, dword [ebp - 0x5064]
mov dword [ebp - 4], 0x10
test al, 2
je 0x1003a0e1
mov edx, dword [ebp - 0x5014]
and eax, 0xfffffffd
mov dword [ebp - 0x5064], eax
cmp edx, 0x10
jb 0x1003a0e1
mov ecx, dword [ebp - 0x5028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a0d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a483
push edx
push ecx
call fcn.10075d5a
add esp, 8
test bl, bl
je 0x1003a197
push 0x100b6a0c
push dword [ebp - 0x507c]
call fcn.100900c3
add esp, 8
test eax, eax
jne 0x1003a197
push eax
push 0x100b667f
lea ecx, [ebp - 0x5028]
mov dword [ebp - 0x5018], eax
mov dword [ebp - 0x5014], 0xf
mov byte [ebp - 0x5028], al
call fcn.1000eb90
lea eax, [ebp - 0x5028]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x509c]
call fcn.10066460
push eax
push 0x100b889c
lea ecx, [ebp - 0x50b4]
call fcn.100635d0
mov ecx, eax
call fcn.10063100
mov edx, dword [ebp - 0x5014]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x1003a197
mov ecx, dword [ebp - 0x5028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a18d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a483
push edx
push ecx
call fcn.10075d5a
add esp, 8
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003a488
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x505c], eax
mov eax, str.benchenv
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x505c]
test eax, 0xffff0000
jne 0x1003a1d5
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003a1e1
push 8
push str.benchenv
call fcn.100176a0
mov eax, dword [ebp - 0x5074]
lea ecx, [ebp - 0x505c]
push ecx
mov ecx, dword [ebp - 0x5068]
mov byte [ebp - 4], 0x14
lea eax, [eax + esi*4]
push eax
lea eax, [ebp - 0x5060]
push eax
call fcn.1003ae70
mov edx, dword [ebp - 0x505c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a22a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5060]
cmp dword [eax - 0xc], 0
je 0x1003a364
push 0xfde9
push eax
lea eax, [ebp - 0x5058]
push eax
call fcn.1005d930
add esp, 0xc
lea ecx, [ebp - 0x50cc]
mov byte [ebp - 4], 0x17
call fcn.10065bf0
lea eax, [ebp - 0x5058]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x50cc]
call fcn.10066930
test al, al
je 0x1003a315
push 0
push 0x100b667f
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 - 0x50cc]
call fcn.10066460
push eax
push 0x100b8784
lea ecx, [ebp - 0x50b4]
call fcn.100635d0
mov ecx, eax
call fcn.10063100
mov edx, dword [ebp - 0x5014]
mov byte [ebp - 4], 0x18
cmp edx, 0x10
jb 0x1003a315
mov ecx, dword [ebp - 0x5028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a30b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a483
push edx
push ecx
call fcn.10075d5a
add esp, 8
lea ecx, [ebp - 0x50cc]
call fcn.10063040
mov edx, dword [ebp - 0x5044]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x1003a35e
mov ecx, dword [ebp - 0x5058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a354
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a483
push edx
push ecx
call fcn.10075d5a
add esp, 8
mov eax, dword [ebp - 0x5060]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a380
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x5064]
mov ecx, dword [ebp - 0x5080]
lea eax, [ebp - 0x50b4]
push eax
call fcn.10063ec0
lea ecx, [ebp - 0x509c]
call fcn.10063040
lea ecx, [ebp - 0x50b4]
call fcn.10063040
mov edx, dword [ebp - 0x502c]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x1003a3ec
mov ecx, dword [ebp - 0x5040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a3e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a483
push edx
push ecx
call fcn.10075d5a
add esp, 8
mov edx, dword [ebp - 0x5078]
or eax, 0xffffffff
mov dword [ebp - 0x5030], 0
add edx, 0xfffffff0
mov dword [ebp - 0x502c], 0xf
mov byte [ebp - 0x5040], 0
mov byte [ebp - 4], 9
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a429
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x507c]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a44b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, edi
jb 0x10039eb0
lea ecx, [ebp - 0x5074]
call fcn.1001b8b0
mov eax, dword [ebp - 0x5080]
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.100760cb
mov esp, ebp
pop ebp
ret 4
call fcn.10083cd9
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
int3