joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4986dd
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x574878
call fcn.004f85f0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x5c]
push edi
call fcn.004246bb
pop ecx
push edi
lea ecx, [esi + 0x28]
call fcn.0054f78b
mov eax, dword [0x64a758]
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._sMX_ytdlp_64.exe
push eax
call fcn.0054c8d9
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._sMX_ytdlp_32.exe
push eax
call fcn.0054c8d9
add esp, 0xc
mov ecx, 0x65230c
call fcn.0041f917
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 0x40
jne 0x49877f
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x498771
lea ebx, [esi + 0x18]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0054f78b
mov dword [esi + 0x1c], 0x40
jmp 0x498794
push dword [ebp - 0x10]
call edi
test eax, eax
lea ebx, [esi + 0x18]
jne 0x498782
jmp 0x49875d
lea ebx, [esi + 0x18]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0054f78b
mov dword [esi + 0x1c], 0x20
push dword [ebx]
call edi
neg eax
sbb eax, eax
and byte [ebp - 4], 0
and eax, 2
lea ecx, [ebp - 0x10]
dec eax
mov dword [0x652514], eax
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054f644
lea eax, [esi + 0x5c]
lea ecx, [esi + 0x54]
push eax
call fcn.0054f78b
push dword [ebp + 8]
add esi, 0x44
push str._sMX_ytdlpa_64.exe
push esi
call fcn.0054c8d9
add esp, 0xc
push dword [esi]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 2
pop ebx
dec eax
mov dword fs:[0], ecx
mov dword [0x652510], eax
xor eax, eax
leave
ret 8
Function at 0x4bddb4
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x5793bc
call fcn.004f85f0
push ecx
push esi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.0049c0d4
and dword [ebp - 4], 0
push str.Internal:_youtube.com
lea ecx, [esi + 8]
mov dword [esi], 0x58ce3c
mov dword [esi + 4], 0x70100
call fcn.0054f7db
push str.youtube.com
lea ecx, [esi + 0x10]
call fcn.0054f7db
push str.YouTube
lea ecx, [esi + 0x14]
call fcn.0054f7db
push str.https:__www.youtube.com_
lea ecx, [esi + 0x18]
call fcn.0054f7db
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword [esi + 0x1c], 0xa
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c694d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x57a3ce
call fcn.004f85f0
push ecx
mov eax, dword [0x64a758]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x64a758]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.004c69fe
mov eax, dword [0x64a758]
mov dword [esi + 0x4c], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x50], eax
mov edi, 0x6524d4
mov dword [esi + 8], ebx
push edi
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
mov dword [esi], 0x58d700
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0054f7db
push edi
lea ecx, [esi + 0x1c]
call fcn.0054f7db
push edi
lea ecx, [esi + 0x20]
call fcn.0054f7db
push edi
lea ecx, [esi + 0x4c]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0054f7db
push edi
lea ecx, [esi + 0x50]
call fcn.0054f7db
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4c769e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x57a549
call fcn.004f85f0
sub esp, 0x100
push dword [ebp + 8]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c76c6
or eax, 0xffffffff
jmp 0x4c78a8
push esi
lea ecx, [ebp - 0x10c]
call fcn.0042e6ae
and dword [ebp - 4], 0
push 0
push 0x74
lea eax, [ebp - 0x44]
push dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push eax
call fcn.0042e817
mov ecx, eax
call fcn.0042e6a6
test al, al
jne 0x4c76ff
or esi, 0xffffffff
jmp 0x4c7896
lea eax, [ebp - 0x18]
push str.Languages
push eax
lea ecx, [ebp - 0x10c]
call fcn.0042e24d
lea ecx, [ebp - 0x18]
call fcn.0042e6a6
test al, al
jne 0x4c76f7
mov eax, dword [0x64a758]
push ebx
push edi
mov dword [ebp - 0x24], eax
mov edi, 0x6524d4
lea eax, [ebp + 8]
push edi
push 0x5bd874
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [ebp - 0x24]
call fcn.0054f7db
mov eax, dword [0x64a758]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov ebx, str.Language
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042e24d
lea ecx, [ebp - 0x10]
call fcn.0042e230
test eax, eax
je 0x4c7862
push edi
lea eax, [ebp + 8]
push str.Code
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [ebp - 0x14]
call fcn.0054f7db
push edi
lea eax, [ebp - 0x38]
push str.Original
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [ebp - 0x1c]
call fcn.0054f7db
push edi
lea eax, [ebp - 0x34]
push str.Translated
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e294
mov ecx, eax
call fcn.0042e033
push eax
lea ecx, [ebp - 0x20]
call fcn.0054f7db
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax - 8], esi
je 0x4c784b
push 0xc
call fcn.0054fc33
pop ecx
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov byte [ebp - 4], 5
je 0x4c7814
mov ecx, eax
call fcn.004c74cd
mov esi, eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.0054f78b
lea eax, [ebp - 0x1c]
lea ecx, [esi + 4]
push eax
call fcn.0054f78b
lea eax, [ebp - 0x20]
lea ecx, [esi + 8]
push eax
call fcn.0054f78b
mov eax, dword [ebp - 0x28]
push esi
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.0054ea28
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e2db
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x4c7778
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0054f644
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0054f644
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0054f644
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0054f644
pop edi
xor esi, esi
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0042e6c5
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c7b18
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x57a625
call fcn.004f85f0
push ecx
mov eax, dword [0x64a758]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x64a758]
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x14], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x18], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x30], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x34], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x38], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x40], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x44], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 0xa
mov dword [esi], 0x58d7bc
call fcn.004c7c4e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4c7ba3
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x57a69e
call fcn.004f85f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x58d7bc
lea ecx, [esi + 0x48]
mov dword [ebp - 4], 9
call fcn.0054f644
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 8
call fcn.0054f644
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 7
call fcn.0054f644
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 6
call fcn.0054f644
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.0054f644
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 4
call fcn.0054f644
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0054f644
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.0054f644
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0054f644
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4c7bae
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x57a69e
call fcn.004f85f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x58d7bc
lea ecx, [esi + 0x48]
mov dword [ebp - 4], 9
call fcn.0054f644
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 8
call fcn.0054f644
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 7
call fcn.0054f644
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 6
call fcn.0054f644
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.0054f644
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 4
call fcn.0054f644
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0054f644
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.0054f644
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0054f644
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4c8154
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x57a7d8
call fcn.004f85f0
push ecx
push ecx
mov eax, dword [0x64a758]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov ebx, str.JSX_V8.dll
and dword [ebp - 4], 0
push ebx
mov esi, 0x5bbfa0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0054c8d9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c81b1
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0054c8d9
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c8203
lea eax, [ebp + 8]
push eax
call fcn.004277ca
pop ecx
push ebx
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.0054c8d9
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c81f7
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0054c8d9
add esp, 0x10
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0054f644
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
lea ecx, [eax + 0x24]
call fcn.004269aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4c8fda
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x57a9ca
call fcn.004f85f0
push ecx
mov eax, dword [0x64a758]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [0x64a758]
and dword [ebp - 4], 0
mov dword [esi + 0x14], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x1c], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x20], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x30], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x34], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x38], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x50], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x54], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x58], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x5c], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x60], eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xb
call fcn.0054ea4f
mov edi, 0x58d7e0
mov dword [esi + 0x64], edi
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xc
call fcn.0054ea4f
mov dword [esi + 0x78], edi
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 0xd
call fcn.0054ea4f
mov dword [esi + 0x8c], edi
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xe
call fcn.0054ea4f
mov dword [esi + 0xa0], edi
mov ecx, esi
mov byte [ebp - 4], 0xf
mov dword [esi], 0x58d7d8
call fcn.004c9171
push dword [ebp + 8]
mov ecx, ebx
call fcn.0054f7db
push 0x6524d4
lea ecx, [esi + 0x14]
call fcn.0054f7db
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c924e
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x57aab0
call fcn.004f85f0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x58d7d8
and dword [ebp - 4], 0
lea ebx, [esi + 0xa0]
mov edi, 0x58d7e0
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.004c9113
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.0054ea82
lea ebx, [esi + 0x8c]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.004c9113
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.0054ea82
lea ebx, [esi + 0x78]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0x11
call fcn.004c9113
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.0054ea82
lea ebx, [esi + 0x64]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0x12
call fcn.004c9113
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.0054ea82
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xa
call fcn.0054f644
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 9
call fcn.0054f644
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 8
call fcn.0054f644
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 7
call fcn.0054f644
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call fcn.0054f644
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.0054f644
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 4
call fcn.0054f644
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0054f644
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.0054f644
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.0054f644
and byte [ebp - 4], 0
lea ecx, [esi + 0x14]
call fcn.0054f644
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x10]
call fcn.0054f644
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4cad6b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x57ae0d
call fcn.004f85f0
push ecx
mov eax, dword [0x64a758]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [ecx], eax
mov eax, dword [0x64a758]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x1c], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x40], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x44], eax
mov eax, dword [0x64a758]
mov dword [esi + 0x48], eax
mov edi, 0x6524d4
mov byte [ebp - 4], 6
push edi
mov dword [esi], ebx
mov dword [esi + 4], 1
call fcn.0054f7db
push edi
lea ecx, [esi + 0xc]
call fcn.0054f7db
push edi
lea ecx, [esi + 0x1c]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call fcn.0054f7db
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 0x14
call fcn.0054f7db
push edi
lea ecx, [esi + 0x40]
call fcn.0054f7db
push edi
lea ecx, [esi + 0x44]
call fcn.0054f7db
push edi
lea ecx, [esi + 0x48]
call fcn.0054f7db
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4cd69b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
cmp dword [ebp + 0x6c], ebx
jle 0x4cd87a
push esi
push edi
mov eax, dword [ebp + 0x68]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, ebx
je 0x4cd867
push dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.004ce359
mov edi, eax
cmp edi, ebx
je 0x4cd867
push dword [edi + 0x10]
lea ecx, [esi + 0x14]
call fcn.0054f7db
push dword [edi + 0xc]
lea ecx, [esi + 8]
call fcn.0054f7db
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4cd718
push 0x5bca3c
push eax
call fcn.004f86a5
pop ecx
test eax, eax
pop ecx
jne 0x4cd718
cmp dword [edi + 0x30], 0xffffffff
jne 0x4cd718
or dword [esi + 4], 0x10
mov eax, 0x1000000
test dword [edi + 0x44], eax
je 0x4cd725
or dword [esi + 4], eax
cmp dword [edi + 0x14], 0xa
jne 0x4cd72f
or byte [esi + 5], 1
test byte [edi + 0x44], 1
je 0x4cd739
or dword [esi + 4], 1
push dword [edi + 0x1c]
lea ecx, [esi + 0x6c]
call fcn.0054f7db
cmp dword [esi + 0x74], ebx
je 0x4cd74e
cmp dword [esi + 0x78], ebx
jne 0x4cd7c6
mov eax, dword [edi]
cmp eax, ebx
je 0x4cd7b1
push 0x642324
push eax
call fcn.004f86a5
pop ecx
test eax, eax
pop ecx
je 0x4cd777
push 0x64231c
push dword [edi]
call fcn.004f86a5
pop ecx
test eax, eax
pop ecx
jne 0x4cd7b1
mov eax, dword [esi + 0x70]
mov ecx, 0x10e0
cmp eax, ecx
jne 0x4cd78c
mov dword [esi + 0x74], 0x1e00
jmp 0x4cd7ae
mov ecx, 0xa8c
cmp eax, ecx
jne 0x4cd79e
mov dword [esi + 0x74], 0x1400
jmp 0x4cd7ae
mov ecx, 0x870
cmp eax, ecx
jne 0x4cd7b1
mov dword [esi + 0x74], 0xf00
mov dword [esi + 0x78], ecx
cmp dword [esi + 0x70], ebx
jne 0x4cd7d1
push dword [esi + 0x78]
push dword [esi + 0x74]
call fcn.0043140d
pop ecx
mov dword [esi + 0x70], eax
pop ecx
cmp dword [esi + 0x70], ebx
jne 0x4cd7d1
mov eax, dword [edi + 0x20]
mov dword [esi + 0x70], eax
cmp dword [esi + 0x74], ebx
jne 0x4cd7dc
mov eax, dword [edi + 0x24]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x78], ebx
jne 0x4cd7e7
mov eax, dword [edi + 0x28]
mov dword [esi + 0x78], eax
fld qword [esi + 0x80]
fcomp qword [0x585f00]
lea ecx, [esi + 0x80]
fnstsw ax
sahf
jne 0x4cd803
fld dword [edi + 0x2c]
fstp qword [ecx]
cmp dword [esi + 0x90], ebx
jne 0x4cd822
mov eax, dword [esi + 0x9c]
cmp eax, ebx
jle 0x4cd822
push eax
call fcn.00431435
pop ecx
mov dword [esi + 0x90], eax
push dword [edi + 0x34]
lea ecx, [esi + 0x8c]
call fcn.0054f7db
cmp dword [esi + 0x90], ebx
jne 0x4cd841
mov eax, dword [edi + 0x38]
mov dword [esi + 0x90], eax
cmp dword [esi + 0x94], ebx
lea eax, [esi + 0x94]
jne 0x4cd854
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
cmp dword [esi + 0x98], ebx
lea eax, [esi + 0x98]
jne 0x4cd867
mov ecx, dword [edi + 0x40]
mov dword [eax], ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x6c]
jl 0x4cd6b8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x4cee19
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x57b223
call fcn.004f85f0
sub esp, 0xe0
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.0054ea4f
mov ebx, 0x58db38
mov dword [ebp - 0x30], ebx
and dword [ebp - 4], 0
push 0x4c
call fcn.0054fc33
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
test esi, esi
mov byte [ebp - 4], 1
je 0x4cee68
mov ecx, esi
call fcn.004cf02a
mov dword [esi], 0x58db30
jmp 0x4cee6a
xor esi, esi
mov eax, dword [esi]
and byte [ebp - 4], 0
mov ecx, esi
call dword [eax]
test eax, eax
je 0x4cee8c
test esi, esi
je 0x4ceee8
mov ecx, esi
call fcn.004cf171
push esi
call fcn.0054fc5c
pop ecx
jmp 0x4ceee8
push esi
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0054ea28
lea eax, [esi + 0x20]
push 0x5bbf9c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0054f8e9
add esi, 0x24
mov byte [ebp - 4], 2
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0054f883
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0054f644
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ceedc
mov dword [ebp - 0x18], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054f644
push 0x4c
call fcn.0054fc33
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
test esi, esi
mov byte [ebp - 4], 5
je 0x4cef0c
mov ecx, esi
call fcn.004cf02a
mov dword [esi], 0x58db28
jmp 0x4cef0e
xor esi, esi
mov eax, dword [esi]
and byte [ebp - 4], 0
mov ecx, esi
call dword [eax]
test eax, eax
je 0x4cef30
test esi, esi
je 0x4cef3c
mov ecx, esi
call fcn.004cf171
push esi
call fcn.0054fc5c
pop ecx
jmp 0x4cef3c
push esi
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0054ea28
lea eax, [ebp - 0x1c]
push eax
call fcn.0054cb36
cmp dword [ebp - 0x18], 0
mov edi, str.LastServicesUpdate
mov esi, str.Settings
jne 0x4cef9f
cmp dword [ebp + 8], 0
je 0x4cef9f
call fcn.00563cab
mov eax, dword [eax + 4]
push 0
push edi
push esi
mov ecx, eax
call fcn.00563e90
push dword [0x652538]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004239c5
call fcn.00423a7e
add esp, 0xc
test eax, eax
jne 0x4cef9f
mov dword [ebp - 0x30], ebx
push 1
mov dword [ebp - 4], 6
pop esi
jmp 0x4cf005
call fcn.00563cab
push dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ecx, eax
push edi
push esi
call fcn.0055a50b
xor esi, esi
lea eax, [ebp - 0x30]
push esi
lea ecx, [ebp - 0xec]
push dword [ebp + 8]
push str.Update_Download_Engine
push eax
call fcn.004cf249
mov eax, dword [0x652534]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
mov dword [ebp - 0x38], eax
call fcn.005545e7
mov eax, dword [ebp - 0x38]
and byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
mov dword [0x652534], eax
call fcn.004cf304
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.004cf115
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0054ea82
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret