Function at 0x431680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e3e1
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5c8a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0
call fcn.00476720
push 2
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push eax
call fcn.00476830
add esp, 0x10
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431707
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.0040acd0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x84]
call fcn.00449c10
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x43177d
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431773
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431bd5
push edx
push ecx
call fcn.00441c23
add esp, 8
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov edx, dword [ebp - 0xa4]
or edi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4317be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x88]
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4317dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x12
xor eax, eax
mov dword [ebp - 0x44], 0
push str.computercenter.exe
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.0040acd0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x84]
call fcn.00450b80
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.0044d8f0
lea ecx, [ebp - 0x2c]
call fcn.00405550
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x43186d
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431863
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431bda
push edx
push ecx
call fcn.00441c23
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x84]
call fcn.004511d0
cmp dword [eax + 0x14], 8
jb 0x431884
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x18]
mov edi, eax
cmp edx, 8
jb 0x4318c7
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4318bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431bdf
push edx
push ecx
call fcn.00441c23
add esp, 8
test edi, edi
je 0x431bad
push 0x12
xor eax, eax
mov dword [ebp - 0x44], 0
push str.__popularize_event
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.0040acd0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x12]
test esi, esi
jns 0x431913
neg esi
push esi
push eax
call fcn.0042bc10
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x43191c
push esi
push eax
call fcn.0042bc10
mov ecx, eax
xor eax, eax
xor edx, edx
mov word [ebp - 0xa0], ax
add esp, 8
lea eax, [ebp - 0x12]
mov dword [ebp - 0x90], edx
mov esi, 7
mov dword [ebp - 0x8c], esi
cmp ecx, eax
je 0x43195f
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0040acd0
mov esi, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
mov eax, esi
mov byte [ebp - 4], 0xa
sub eax, edx
cmp eax, 1
jb 0x4319fa
cmp esi, 8
lea edi, [ebp - 0xa0]
lea eax, [edx + 1]
cmovae edi, dword [ebp - 0xa0]
lea ecx, [edx + edx]
mov dword [ebp - 0x90], eax
cmp edi, 0x58b98a
jae 0x4319b6
lea eax, [ecx + edi]
cmp eax, 0x58b988
jb 0x4319b6
cmp edi, 0x58b988
ja 0x4319aa
xor esi, esi
jmp 0x4319bb
mov esi, edi
sub esi, 0x58b988
sar esi, 1
jmp 0x4319bb
mov esi, 1
lea eax, [ecx + 2]
push eax
lea eax, [edi + 2]
push edi
push eax
call fcn.00546680
add esi, esi
push esi
push 0x58b988
push edi
call fcn.00546100
mov eax, 2
sub eax, esi
push eax
lea eax, [esi + 0x58b98a]
push eax
lea eax, [esi + edi]
push eax
call fcn.00546100
add esp, 0x24
lea eax, [ebp - 0xa0]
jmp 0x431a1d
push 1
push 0x58b988
push 0
mov byte [ebp - 0x88], 0
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x88]
push 1
call fcn.0042bab0
movups xmm1, xmmword [eax]
xor ecx, ecx
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [ebp - 0x2c], xmm1
mov word [eax], cx
movq qword [ebp - 0x1c], xmm0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
movd eax, xmm1
mov byte [ebp - 4], 0xb
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040aa40
lea ecx, [ebp - 0x2c]
call fcn.00405550
lea ecx, [ebp - 0xa0]
call fcn.00405550
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
push 0xe
push 0x58b98c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.0040aa40
push 0xf
push str.battery_protect
lea ecx, [ebp - 0x6c]
call fcn.0040aa40
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0xa0]
xor eax, eax
mov byte [ebp - 4], 0xd
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x90], 0
lea eax, [esi + 0xe]
mov dword [ebp - 0x8c], 7
push eax
mov dword [ebp - 0x88], 0xf
call fcn.0040c050
push 0xe
push 0x58b9b0
lea ecx, [ebp - 0xa0]
call fcn.0040aa40
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push esi
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0xa0]
push eax
call fcn.0040aa40
push 0x58b9ac
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040cc20
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0xe
jb 0x431b35
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0040aa40
lea ecx, [ebp - 0x2c]
call fcn.00405550
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
call fcn.00405550
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x84]
call fcn.004511d0
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
cmovae ecx, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 8
jb 0x431b7e
mov eax, dword [eax]
push 0
push 0x1388
push 1
push 0
push 0
push ecx
push eax
call fcn.00476bc0
add esp, 0x1c
lea ecx, [ebp - 0x2c]
call fcn.00405550
lea ecx, [ebp - 0x6c]
call fcn.00405550
lea ecx, [ebp - 0x54]
call fcn.00405550
lea ecx, [ebp - 0x84]
call fcn.00405550
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.00441ed9
mov esp, ebp
pop ebp
ret 4
call fcn.0054a27c
call fcn.0054a27c
call fcn.0054a27c
int3