Function at 0x10039530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad7eb
mov eax, dword fs:[0]
push eax
mov eax, 0x50c0
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 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.100805f0
add esp, 0xc
lea eax, [ebp - 0x5010]
push dword [esi]
push 0x2800
push eax
push 0x100b6050
push 0x100b9ca8
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 0x10039d08
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x505c], eax
mov eax, 0x100b9ca4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x505c]
test eax, 0xffff0000
jne 0x1003961f
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003962b
push 1
push 0x100b9ca4
call fcn.10017410
mov byte [ebp - 4], 3
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10039d12
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 0x1003966e
movzx eax, ax
lea ecx, [ebp - 0x5060]
push eax
call fcn.1000baf0
jmp 0x10039699
lea ecx, [ebp - 0x5010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039677
sub ecx, edx
lea eax, [ebp - 0x5010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5060]
call fcn.10017410
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.10052750
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 0x100396dc
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 0x100396fe
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.10062510
mov ebx, 1
xor esi, esi
mov dword [ebp - 0x5064], ebx
test edi, edi
je 0x10039cd4
nop dword [eax + eax]
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10039d08
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x505c], eax
mov eax, 0x100b9acc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x505c]
test eax, 0xffff0000
jne 0x1003976e
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003977a
push 4
push 0x100b9acc
call fcn.10017410
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.1003a6f0
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 0x100397c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10039d08
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 0x10039801
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003980d
push 5
push str.score
call fcn.10017410
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.1003a6f0
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 0x10039856
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
push 0
lea ecx, [ebp - 0x50b4]
mov byte [ebp - 4], 0xe
call fcn.10062510
lea ecx, [ebp - 0x509c]
mov byte [ebp - 4], 0xf
call fcn.10065450
cmp dword [ebp - 0x5030], 0
mov byte [ebp - 4], 0x10
je 0x10039c06
lea eax, [ebp - 0x5040]
push eax
lea ecx, [ebp - 0x509c]
call fcn.10066190
test al, al
je 0x1003990b
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], 0x11
or ebx, 2
lea ecx, [ebp - 0x509c]
push eax
mov dword [ebp - 0x5064], ebx
call fcn.10066150
test al, al
je 0x1003990b
mov bl, 1
jmp 0x1003990d
xor bl, bl
mov eax, dword [ebp - 0x5064]
mov dword [ebp - 4], 0x10
test al, 2
je 0x10039961
mov edx, dword [ebp - 0x5014]
and eax, 0xfffffffd
mov dword [ebp - 0x5064], eax
cmp edx, 0x10
jb 0x10039961
mov ecx, dword [ebp - 0x5028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10039957
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039d03
push edx
push ecx
call fcn.1007559a
add esp, 8
test bl, bl
je 0x10039a17
push 0x100b59ec
push dword [ebp - 0x507c]
call fcn.1008f903
add esp, 8
test eax, eax
jne 0x10039a17
push eax
push 0x100b565d
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.10065cc0
push eax
push 0x100b787c
lea ecx, [ebp - 0x50b4]
call fcn.10062e30
mov ecx, eax
call fcn.10062960
mov edx, dword [ebp - 0x5014]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x10039a17
mov ecx, dword [ebp - 0x5028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10039a0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039d03
push edx
push ecx
call fcn.1007559a
add esp, 8
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10039d08
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 0x10039a55
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x10039a61
push 8
push str.benchenv
call fcn.10017410
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.1003a6f0
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 0x10039aaa
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 0x10039be4
push 0xfde9
push eax
lea eax, [ebp - 0x5058]
push eax
call fcn.1005d190
add esp, 0xc
lea ecx, [ebp - 0x50cc]
mov byte [ebp - 4], 0x17
call fcn.10065450
lea eax, [ebp - 0x5058]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x50cc]
call fcn.10066190
test al, al
je 0x10039b95
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 - 0x50cc]
call fcn.10065cc0
push eax
push 0x100b7764
lea ecx, [ebp - 0x50b4]
call fcn.10062e30
mov ecx, eax
call fcn.10062960
mov edx, dword [ebp - 0x5014]
mov byte [ebp - 4], 0x18
cmp edx, 0x10
jb 0x10039b95
mov ecx, dword [ebp - 0x5028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10039b8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039d03
push edx
push ecx
call fcn.1007559a
add esp, 8
lea ecx, [ebp - 0x50cc]
call fcn.100628a0
mov edx, dword [ebp - 0x5044]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x10039bde
mov ecx, dword [ebp - 0x5058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10039bd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039d03
push edx
push ecx
call fcn.1007559a
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 0x10039c00
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.10063720
lea ecx, [ebp - 0x509c]
call fcn.100628a0
lea ecx, [ebp - 0x50b4]
call fcn.100628a0
mov edx, dword [ebp - 0x502c]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x10039c6c
mov ecx, dword [ebp - 0x5040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10039c62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039d03
push edx
push ecx
call fcn.1007559a
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 0x10039ca9
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 0x10039ccb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, edi
jb 0x10039730
lea ecx, [ebp - 0x5074]
call fcn.1001b620
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.1007590b
mov esp, ebp
pop ebp
ret 4
call fcn.10083519
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
int3