Function at 0x427e80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2cce
mov eax, dword fs:[0]
push eax
mov eax, 0x27bc
call fcn.00441500
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27b0], eax
mov eax, dword [ebp + 0xc]
push 0
push eax
call fcn.004387e0
mov esi, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x27ac], esi
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00438390
add esp, 0xc
mov byte [ebp - 4], 2
cmp esi, 2
jne 0x4280fe
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push str.duplicate_count
push str.scan_info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
test edx, edx
jne 0x428044
mov eax, dword [ebp + 0x10]
mov edi, 0x3e8
test eax, eax
mov esi, 0x1388
cmovg edi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
cmovg esi, eax
call fcn.0043aed9
push eax
lea ecx, [ebp - 0x13f8]
mov dword [ebp - 0x2790], edx
call fcn.00426e70
cmp edi, 0x80000000
mov dword [ebp - 0x2794], 0x20
lea eax, [ebp - 0x13f8]
mov dword [ebp - 0x2790], 0xffffffff
lea ecx, [edi - 0x80000000]
mov dword [ebp - 0x2798], eax
lea eax, [edi - 0x80000000]
cmovae ecx, eax
lea edi, [esi - 0x80000000]
cmp esi, 0x80000000
mov dword [ebp - 0x278c], ecx
lea eax, [esi - 0x80000000]
cmovae edi, eax
sub edi, ecx
cmp edi, 0xffffffff
jne 0x427fd4
lea ecx, [ebp - 0x2798]
call fcn.004293a0
mov edx, eax
jmp 0x428028
lea eax, [edi + 1]
mov dword [ebp - 0x2784], eax
nop dword [eax]
xor esi, esi
xor eax, eax
test edi, edi
je 0x427ff8
lea ecx, [ebp - 0x13f8]
call fcn.00427120
mov esi, eax
or eax, 0xffffffff
xor edx, edx
div dword [ebp - 0x2784]
mov ecx, eax
mov dword [ebp - 0x2790], edx
xor edx, edx
mov eax, esi
div dword [ebp - 0x2784]
cmp eax, ecx
jb 0x42801e
cmp dword [ebp - 0x2790], edi
jne 0x427fe0
mov eax, esi
xor edx, edx
div dword [ebp - 0x2784]
mov eax, dword [ebp - 0x278c]
add eax, edx
cmp eax, 0x80000000
lea ecx, [eax - 0x80000000]
lea edx, [eax - 0x80000000]
cmovae edx, ecx
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00429a90
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0xfde9
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x27a4]
mov byte [ebp - 4], 3
push eax
call fcn.0043eda0
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4280a4
mov ecx, eax
call fcn.00406600
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x2790]
cmp edx, 0x10
jb 0x4280de
mov ecx, dword [ebp - 0x27a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4280d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42851d
push edx
push ecx
call fcn.0044122a
add esp, 8
push 0xf
push 0x4bd2c0
lea ecx, [ebp - 0x70]
call fcn.004087e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00406650
jmp 0x428426
cmp esi, 1
jne 0x428442
push 0x208
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.0047e850
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push 0x104
lea eax, [ebp - 0x278]
push eax
push 0x4bd3dc
push str.duplicate_size
push str.scan_info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x2794], 0
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x2790], 7
mov word [ebp - 0x27a4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428170
sub ecx, edx
lea eax, [ebp - 0x278]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27a4]
call fcn.0040c560
push 0
lea eax, [ebp - 0x27a4]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.004386a0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27a4]
mov edi, eax
mov esi, edx
call fcn.00406650
test edi, edi
jne 0x4283c9
test esi, esi
jne 0x4283c9
mov eax, dword [ebp + 0x10]
movss xmm0, dword [0x4bd840]
movss dword [ebp - 0x27a8], xmm0
test eax, eax
jle 0x4281ea
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp + 0x14]
movss dword [ebp - 0x2790], xmm0
test eax, eax
jle 0x428202
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x42820a
movss xmm0, dword [0x4bd844]
movss dword [ebp - 0x278c], xmm0
call fcn.0043aed9
push eax
lea ecx, [ebp - 0x2780]
mov dword [ebp - 0x2784], edx
call fcn.00426e70
push ecx
mov dword [esp], 0x4f800000
call fcn.00486529
movss xmm0, dword [0x4bd848]
fstp dword [ebp - 0x2784]
divss xmm0, dword [ebp - 0x2784]
push ecx
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x2788], xmm0
fld qword [ebp - 0x2788]
fstp qword [esp]
call fcn.00486540
fstp qword [ebp - 0x2788]
movsd xmm0, qword [ebp - 0x2788]
mov eax, 1
cvtpd2ps xmm0, xmm0
add esp, 8
cvttss2si esi, xmm0
xorps xmm0, xmm0
cmp esi, eax
movss dword [ebp - 0x2784], xmm0
cmovl esi, eax
test esi, esi
jle 0x4282fd
nop dword [eax + eax]
lea ecx, [ebp - 0x2780]
call fcn.00427120
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bc440]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss xmm1, dword [ebp - 0x27a8]
mulss xmm0, xmm1
mulss xmm1, dword [0x4bd84c]
addss xmm0, dword [ebp - 0x2784]
movss dword [ebp - 0x27a8], xmm1
movss dword [ebp - 0x2784], xmm0
sub esi, 1
jne 0x4282a0
jmp 0x428305
movss xmm1, dword [0x4bd840]
divss xmm0, xmm1
lea eax, [ebp - 0x27a4]
push 2
push ecx
movss xmm1, dword [ebp - 0x278c]
subss xmm1, dword [ebp - 0x2790]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x2790]
movss dword [esp], xmm0
push eax
call fcn.004369f0
push 0x4bd650
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
call fcn.0041eab0
add esp, 0x18
lea ecx, [ebp - 0x27a4]
mov byte [ebp - 4], 7
call fcn.00406650
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0xfde9
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x27c8]
push eax
call fcn.0043eda0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4283b0
mov ecx, eax
call fcn.00406600
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x27c8]
call fcn.00406600
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00406650
jmp 0x428417
push esi
lea eax, [ebp - 0x27c8]
push edi
push eax
call fcn.00436b70
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42840c
mov ecx, eax
call fcn.00406600
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x27c8]
call fcn.00406600
push 0xe
push 0x4bd2b0
lea ecx, [ebp - 0x70]
call fcn.004087e0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x27ac]
push dword [ebp - 0x27b0]
call fcn.00428540
add esp, 0x10
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42847c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428472
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428522
push edx
push ecx
call fcn.0044122a
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x4284c0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4284b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428527
push edx
push ecx
call fcn.0044122a
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x428502
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4284f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42852c
push edx
push ecx
call fcn.0044122a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004414e0
mov esp, ebp
pop ebp
ret
call fcn.00481cc9
call fcn.00481cc9
call fcn.00481cc9
call fcn.00481cc9
int3