Function at 0x47dd50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db294
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x516108]
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 - 0xa8], ebx
mov edx, str.faa_cl_config.json
lea ecx, [ebp - 0xb0]
call fcn.004681a0
mov dword [ebp - 4], 0
and dword [ebp - 0xd0], 0xfffffe00
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 2
call fcn.004049b0
mov ecx, eax
test ecx, ecx
jne 0x47ddca
push 0x80004005
call fcn.00404710
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xac], edi
mov byte [ebp - 4], 3
push dword [ebp - 0xb0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47de57
mov ecx, dword [ebp - 0xb0]
lea edx, [ebp - 0xd8]
call fcn.004685c0
push ecx
push str.pgmtok
lea ecx, [ebp - 0xd8]
call fcn.004663e0
lea edx, [ebp - 0xac]
mov ecx, eax
call fcn.00469110
push ecx
push str.pgmupt
lea ecx, [ebp - 0xd8]
call fcn.004663e0
lea edx, [ebx + 0x34]
mov ecx, eax
call fcn.00468ea0
push ecx
push str.pgm_cycle
lea ecx, [ebp - 0xd8]
call fcn.004663e0
lea edx, [ebx + 0x30]
mov ecx, eax
call fcn.00468ea0
mov edi, dword [ebp - 0xac]
and dword [ebp - 0xe0], 0xfffffe00
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 6
xor edx, edx
push dword [ebp - 0xa8]
push ecx
xor ecx, ecx
call fcn.00436ed0
add esp, 8
mov dword [ebp - 0xc4], 0
xor eax, eax
mov dword [ebp - 0x74], 7
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
push 0x10
push str.360FileAssoc.exe
call fcn.004251b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
push 0xa
xor eax, eax
mov dword [ebp - 0x5c], 7
push str.msedge.exe
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.004251b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
push 0xc
xor eax, eax
mov dword [ebp - 0x44], 7
push str.OpenWith.exe
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004251b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
push 0x10
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.QQPCFileOpen.exe
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004251b0
mov byte [ebp - 4], 0xa
xor edx, edx
push dword [ebp - 0xa8]
push ecx
xor ecx, ecx
call fcn.00436ed0
add esp, 8
mov byte [ebp - 0xa4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0xc8]
push dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0047e3c0
push fcn.00425380
push 4
push 0x18
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
call fcn.0048e35b
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0xc8]
mov ebx, dword [ebp - 0xc4]
cmp esi, ebx
je 0x47e056
nop
cmp dword [esi + 0x14], 8
jb 0x47dfda
mov eax, dword [esi]
jmp 0x47dfdc
mov eax, esi
push ecx
mov ecx, esp
push eax
call fcn.00404470
lea eax, [ebp - 0x28]
push eax
call fcn.0047dbe0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xa8]
push eax
add ecx, 0xc
call fcn.00466cd0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x47e04b
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x47e042
test cl, 0x1f
jne 0x47e11e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x47e11e
sub ecx, eax
cmp ecx, 4
jb 0x47e11e
cmp ecx, 0x23
ja 0x47e11e
mov ecx, eax
push ecx
call fcn.0048e356
add esp, 4
add esi, 0x18
cmp esi, ebx
jne 0x47dfd0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
push 0x4fb29c
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xd
call fcn.00404470
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00464770
mov byte [ebp - 4], 0xd
or ebx, 0xffffffff
mov edx, dword [ebp - 0xa4]
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47e0cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xbc]
mov esi, ecx
mov eax, dword [ebp - 0xb8]
cmp ecx, eax
je 0x47e2ac
mov edi, dword [ebp - 0xa8]
nop dword [eax]
mov edx, dword [esi]
lea ecx, [ebp - 0xa4]
call fcn.00464140
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x47e123
xor ecx, ecx
jmp 0x47e131
call fcn.004aa471
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e128
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00425950
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi + 0x10]
cmp ecx, eax
jae 0x47e205
mov edx, dword [edi + 0xc]
cmp edx, ecx
ja 0x47e205
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [edi + 0x10]
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp eax, dword [edi + 0x14]
jne 0x47e17c
push ecx
lea ecx, [edi + 0xc]
call fcn.00466f60
mov eax, dword [edi + 0xc]
lea ecx, [ebx + ebx*2]
lea ebx, [eax + ecx*8]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xa8], ecx
test ecx, ecx
je 0x47e240
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x47e1ae
mov eax, dword [ecx]
jmp 0x47e1b0
mov eax, ecx
mov byte [eax], 0
cmp dword [ebx + 0x14], 0x10
jae 0x47e1d4
mov eax, dword [ebx + 0x10]
add eax, 1
je 0x47e1de
push eax
push ebx
push ecx
call fcn.004a6540
mov ecx, dword [ebp - 0xa8]
add esp, 0xc
jmp 0x47e1de
mov eax, dword [ebx]
mov dword [ecx], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x14], eax
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x47e200
mov ebx, dword [ebx]
mov byte [ebx], 0
jmp 0x47e240
cmp eax, dword [edi + 0x14]
jne 0x47e213
push ecx
lea ecx, [edi + 0xc]
call fcn.00466f60
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x47e240
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x47e232
mov eax, dword [ecx]
jmp 0x47e234
mov eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004253d0
add dword [edi + 0x10], 0x18
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x47e259
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00425830
mov byte [ebp - 4], 0xd
or ebx, 0xffffffff
mov edx, dword [ebp - 0xa4]
mov eax, ebx
mov dword [ebp - 0x14], 0xf
add edx, 0xfffffff0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47e28f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xb8]
add esi, 4
cmp esi, eax
jne 0x47e0f0
mov edi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xbc]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x47e2fc
mov esi, ecx
cmp ecx, eax
je 0x47e2ea
nop word [eax + eax]
mov edx, dword [esi]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47e2d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [ebp - 0xb8]
jne 0x47e2c0
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb4]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00402860
lea ecx, [ebp - 0xc8]
call fcn.00436410
lea ecx, [ebp - 0xe8]
call fcn.00465be0
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47e32d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xd8]
call fcn.00465be0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47e35a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0048e923
mov esp, ebp
pop ebp
ret