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

Disassembly:
mov eax, 0x56b71f
call fcn.0052a208
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x48fa4c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48fa4c
lea ecx, [ebp - 0xf0]
call fcn.0042e446
push ebx
push 0x74
push dword [ebp + 8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
push eax
call fcn.0042e5af
mov ecx, eax
call fcn.0042ddc0
test al, al
jne 0x48f953
or esi, 0xffffffff
jmp 0x48fa1e
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.0042dfe2
lea ecx, [ebp - 0x10]
call fcn.0042ddc0
test al, al
jne 0x48f94b
push 0x648004
lea eax, [ebp - 0x1c]
push 0x5b45b8
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e029
mov ecx, eax
call fcn.0042ddc8
push eax
lea ecx, [ebp - 0x14]
call fcn.005469dc
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.0052a2c5
pop ecx
test eax, eax
pop ecx
je 0x48f9b6
push 1
pop esi
jmp 0x48fa12
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.0042dfe2
lea ecx, [ebp - 0x18]
call fcn.0042ddc0
test al, al
je 0x48f9d8
or esi, 0xffffffff
jmp 0x48fa12
cmp dword [esi + 0x10], ebx
jle 0x48fa10
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + ebx*4]
lea eax, [ebp + 8]
push dword [edi + 8]
push eax
call fcn.0042dfe2
lea ecx, [ebp + 8]
call fcn.0042ddc0
test al, al
jne 0x48fa31
lea eax, [ebp + 8]
push eax
push edi
call fcn.0048fa60
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x48f9dd
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00546968
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042e45d
mov eax, esi
jmp 0x48fa4f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00546968
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0042e45d
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x49180e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56ba78
call fcn.0052a208
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x5c]
push edi
call fcn.0041e783
pop ecx
push edi
lea ecx, [esi + 0x28]
call fcn.00546aaf
mov eax, dword [0x643788]
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.00543d21
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._sMX_ytdlp_32.exe
push eax
call fcn.00543d21
add esp, 0xc
mov ecx, 0x647e2c
call fcn.0041e669
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 0x40
jne 0x4918b0
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x4918a2
lea ebx, [esi + 0x18]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00546aaf
mov dword [esi + 0x1c], 0x40
jmp 0x4918c5
push dword [ebp - 0x10]
call edi
test eax, eax
lea ebx, [esi + 0x18]
jne 0x4918b3
jmp 0x49188e
lea ebx, [esi + 0x18]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.00546aaf
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 [0x648044], eax
call fcn.00546968
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00546968
lea eax, [esi + 0x5c]
lea ecx, [esi + 0x54]
push eax
call fcn.00546aaf
push dword [ebp + 8]
add esi, 0x44
push str._sMX_ytdlpa_64.exe
push esi
call fcn.00543d21
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 [0x648040], eax
xor eax, eax
leave
ret 8

Function at 0x4b5ff4
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x570414
call fcn.0052a208
push ecx
push esi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.00494d7a
and dword [ebp - 4], 0
push str.Internal:_youtube.com
lea ecx, [esi + 8]
mov dword [esi], 0x5831fc
mov dword [esi + 4], 0x70100
call fcn.00546aff
push str.youtube.com
lea ecx, [esi + 0x10]
call fcn.00546aff
push str.YouTube
lea ecx, [esi + 0x14]
call fcn.00546aff
push str.https:__www.youtube.com_
lea ecx, [esi + 0x18]
call fcn.00546aff
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 0x4be293
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x571312
call fcn.0052a208
push ecx
mov eax, dword [0x643788]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x643788]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], eax
mov eax, dword [0x643788]
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.004be344
mov eax, dword [0x643788]
mov dword [esi + 0x4c], eax
mov eax, dword [0x643788]
mov dword [esi + 0x50], eax
mov edi, 0x648004
mov dword [esi + 8], ebx
push edi
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
mov dword [esi], 0x5839c0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00546aff
push edi
lea ecx, [esi + 0x1c]
call fcn.00546aff
push edi
lea ecx, [esi + 0x20]
call fcn.00546aff
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.00546aff
push edi
lea ecx, [esi + 0x50]
call fcn.00546aff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4bedc2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5714c1
call fcn.0052a208
push ecx
mov eax, dword [0x643788]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x643788]
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [0x643788]
mov dword [esi + 0x14], eax
mov eax, dword [0x643788]
mov dword [esi + 0x30], eax
mov eax, dword [0x643788]
mov dword [esi + 0x34], eax
mov eax, dword [0x643788]
mov dword [esi + 0x38], eax
mov eax, dword [0x643788]
mov dword [esi + 0x3c], eax
mov eax, dword [0x643788]
mov dword [esi + 0x40], eax
mov eax, dword [0x643788]
mov dword [esi + 0x44], eax
mov eax, dword [0x643788]
mov dword [esi + 0x48], eax
mov eax, dword [0x643788]
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 0xa
mov dword [esi], 0x583a7c
call fcn.004beef8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4bee4d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x57153a
call fcn.0052a208
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x583a7c
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 9
call fcn.00546968
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 8
call fcn.00546968
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 7
call fcn.00546968
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call fcn.00546968
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 5
call fcn.00546968
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call fcn.00546968
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call fcn.00546968
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00546968
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.00546968
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.00546968
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.00546968
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4bee58
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x57153a
call fcn.0052a208
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x583a7c
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 9
call fcn.00546968
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 8
call fcn.00546968
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 7
call fcn.00546968
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call fcn.00546968
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 5
call fcn.00546968
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call fcn.00546968
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call fcn.00546968
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00546968
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.00546968
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.00546968
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.00546968
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4bf1f1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5715d0
call fcn.0052a208
push ecx
push ecx
mov eax, dword [0x643788]
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, 0x5b20ac
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00543d21
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4bf24e
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.00543d21
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4bf2a0
lea eax, [ebp + 8]
push eax
call fcn.00427517
pop ecx
push ebx
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.00543d21
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4bf294
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.00543d21
add esp, 0x10
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00546968
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
lea ecx, [eax + 4]
call fcn.004257e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00546968
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c1dc7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x571bf9
call fcn.0052a208
push ecx
mov eax, dword [0x643788]
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 [0x643788]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [0x643788]
mov dword [esi + 0x1c], eax
mov eax, dword [0x643788]
mov dword [esi + 0x3c], eax
mov eax, dword [0x643788]
mov dword [esi + 0x40], eax
mov eax, dword [0x643788]
mov dword [esi + 0x44], eax
mov eax, dword [0x643788]
mov dword [esi + 0x48], eax
mov edi, 0x648004
mov byte [ebp - 4], 6
push edi
mov dword [esi], ebx
mov dword [esi + 4], 1
call fcn.00546aff
push edi
lea ecx, [esi + 0xc]
call fcn.00546aff
push edi
lea ecx, [esi + 0x1c]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call fcn.00546aff
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.00546aff
push edi
lea ecx, [esi + 0x40]
call fcn.00546aff
push edi
lea ecx, [esi + 0x44]
call fcn.00546aff
push edi
lea ecx, [esi + 0x48]
call fcn.00546aff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4c465e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 8], ecx
cmp dword [eax + 0x48], ebx
mov dword [ebp - 4], ebx
jle 0x4c4837
push esi
push edi
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 4]
mov esi, dword [eax + ecx*4]
cmp esi, ebx
je 0x4c4823
push dword [esi + 0x10]
mov ecx, dword [ebp - 8]
call fcn.004c5240
mov edi, eax
cmp edi, ebx
je 0x4c4823
push dword [edi + 0x10]
lea ecx, [esi + 0x18]
call fcn.00546aff
mov eax, dword [edi + 0xc]
push 1
pop edx
cmp eax, edx
jne 0x4c46ba
mov dword [esi + 0xc], edx
jmp 0x4c46cb
push 2
pop ecx
cmp eax, ecx
je 0x4c46c8
push 3
pop ecx
cmp eax, ecx
jne 0x4c46cb
mov dword [esi + 0xc], ecx
cmp dword [edi + 0xc], edx
jne 0x4c46da
cmp dword [edi + 0x30], 0xffffffff
jne 0x4c46da
or dword [esi + 4], 0x10
mov eax, 0x1000000
test dword [edi + 0x44], eax
je 0x4c46e7
or dword [esi + 4], eax
cmp dword [edi + 0x14], 0xa
jne 0x4c46f1
or byte [esi + 5], 1
test byte [edi + 0x44], 1
je 0x4c46fa
or dword [esi + 4], edx
push dword [edi + 0x1c]
lea ecx, [esi + 0x70]
call fcn.00546aff
cmp dword [esi + 0x78], ebx
je 0x4c470f
cmp dword [esi + 0x7c], ebx
jne 0x4c4782
push 0x637ebc
push dword [edi]
call fcn.0052a2c5
pop ecx
test eax, eax
pop ecx
je 0x4c4733
push 0x637eb4
push dword [edi]
call fcn.0052a2c5
pop ecx
test eax, eax
pop ecx
jne 0x4c476d
mov eax, dword [esi + 0x74]
mov ecx, 0x10e0
cmp eax, ecx
jne 0x4c4748
mov dword [esi + 0x78], 0x1e00
jmp 0x4c476a
mov ecx, 0xa8c
cmp eax, ecx
jne 0x4c475a
mov dword [esi + 0x78], 0x1400
jmp 0x4c476a
mov ecx, 0x870
cmp eax, ecx
jne 0x4c476d
mov dword [esi + 0x78], 0xf00
mov dword [esi + 0x7c], ecx
cmp dword [esi + 0x74], ebx
jne 0x4c478d
push dword [esi + 0x7c]
push dword [esi + 0x78]
call fcn.00425876
pop ecx
mov dword [esi + 0x74], eax
pop ecx
cmp dword [esi + 0x74], ebx
jne 0x4c478d
mov eax, dword [edi + 0x20]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x78], ebx
jne 0x4c4798
mov eax, dword [edi + 0x24]
mov dword [esi + 0x78], eax
cmp dword [esi + 0x7c], ebx
jne 0x4c47a3
mov eax, dword [edi + 0x28]
mov dword [esi + 0x7c], eax
fld qword [esi + 0x80]
fcomp qword [0x57cdf8]
lea ecx, [esi + 0x80]
fnstsw ax
sahf
jne 0x4c47bf
fld dword [edi + 0x2c]
fstp qword [ecx]
cmp dword [esi + 0x90], ebx
jne 0x4c47de
mov eax, dword [esi + 0x9c]
cmp eax, ebx
jle 0x4c47de
push eax
call fcn.0042589e
pop ecx
mov dword [esi + 0x90], eax
push dword [edi + 0x34]
lea ecx, [esi + 0x8c]
call fcn.00546aff
cmp dword [esi + 0x90], ebx
jne 0x4c47fd
mov eax, dword [edi + 0x38]
mov dword [esi + 0x90], eax
cmp dword [esi + 0x94], ebx
lea eax, [esi + 0x94]
jne 0x4c4810
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
cmp dword [esi + 0x98], ebx
lea eax, [esi + 0x98]
jne 0x4c4823
mov ecx, dword [edi + 0x40]
mov dword [eax], ecx
inc dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x48]
jl 0x4c467a
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x4c5ced
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x571ffb
call fcn.0052a208
sub esp, 0xe0
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.00545944
mov ebx, 0x583de8
mov dword [ebp - 0x30], ebx
and dword [ebp - 4], 0
push 0x4c
call fcn.00546f57
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
test esi, esi
mov byte [ebp - 4], 1
je 0x4c5d3c
mov ecx, esi
call fcn.004c5efe
mov dword [esi], 0x583de0
jmp 0x4c5d3e
xor esi, esi
mov eax, dword [esi]
and byte [ebp - 4], 0
mov ecx, esi
call dword [eax]
test eax, eax
je 0x4c5d60
test esi, esi
je 0x4c5dbc
mov ecx, esi
call fcn.004c6045
push esi
call fcn.00546f80
pop ecx
jmp 0x4c5dbc
push esi
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.00546045
lea eax, [esi + 0x20]
push 0x5b1fb4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00546c0d
add esi, 0x24
mov byte [ebp - 4], 2
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00546ba7
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00546968
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c5db0
mov dword [ebp - 0x18], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00546968
push 0x4c
call fcn.00546f57
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
test esi, esi
mov byte [ebp - 4], 5
je 0x4c5de0
mov ecx, esi
call fcn.004c5efe
mov dword [esi], 0x583dd8
jmp 0x4c5de2
xor esi, esi
mov eax, dword [esi]
and byte [ebp - 4], 0
mov ecx, esi
call dword [eax]
test eax, eax
je 0x4c5e04
test esi, esi
je 0x4c5e10
mov ecx, esi
call fcn.004c6045
push esi
call fcn.00546f80
pop ecx
jmp 0x4c5e10
push esi
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.00546045
lea eax, [ebp - 0x1c]
push eax
call fcn.00544568
cmp dword [ebp - 0x18], 0
mov edi, str.LastServicesUpdate
mov esi, str.Settings
jne 0x4c5e73
cmp dword [ebp + 8], 0
je 0x4c5e73
call fcn.0055b00c
mov eax, dword [eax + 4]
push 0
push edi
push esi
mov ecx, eax
call fcn.0055b1f1
push dword [0x648078]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.0042477e
call fcn.00424837
add esp, 0xc
test eax, eax
jne 0x4c5e73
mov dword [ebp - 0x30], ebx
push 1
mov dword [ebp - 4], 6
pop esi
jmp 0x4c5ed9
call fcn.0055b00c
push dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ecx, eax
push edi
push esi
call fcn.005517c5
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.004c611d
mov eax, dword [0x648074]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
mov dword [ebp - 0x38], eax
call fcn.0054ae73
mov eax, dword [ebp - 0x38]
and byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
mov dword [0x648074], eax
call fcn.004c61d8
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.004c5fe9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00545977
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4c5efe
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x57203f
call fcn.0052a208
push ecx
mov eax, dword [0x643788]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
mov eax, dword [0x643788]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], eax
mov eax, dword [0x643788]
mov dword [esi + 0x20], eax
mov eax, dword [0x643788]
mov dword [esi + 0x24], eax
mov eax, dword [0x643788]
mov dword [esi + 0x38], eax
mov edi, 0x648004
mov byte [ebp - 4], 4
push edi
mov dword [esi], method.Json::Writer.virtual_4
call fcn.00546aff
push edi
lea ecx, [esi + 8]
call fcn.00546aff
push edi
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
call fcn.00546aff
push edi
lea ecx, [esi + 0x24]
call fcn.00546aff
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
call fcn.00546aff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4c6928
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov esi, ecx
push ebx
push 0x402
push dword [esi + 0x94]
call edi
push ebx
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x8000000
push 2
push ebx
push 3
push 0x40000000
push dword [esp + 0x40]
call ebp
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4c6994
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push dword [esp + 0x3c]
call ebp
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x4c699c
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x4c6a51
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push ebx
push 0x406
push dword [esi + 0x94]
call edi
mov ebp, 0x1000
mov dword [esp + 0x14], ebx
push ebp
call fcn.0052aca8
pop ecx
mov dword [esp + 0x24], eax
cmp dword [esi + 0x68], ebx
jne 0x4c6a24
lea eax, [esp + 0x28]
push ebx
push eax
push ebp
push dword [esp + 0x30]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c6a24
cmp dword [esp + 0x28], ebx
jbe 0x4c6a03
lea eax, [esp + 0x1c]
push ebx
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
push ebx
add eax, dword [esp + 0x20]
push eax
push 0x402
push dword [esi + 0x94]
mov dword [esp + 0x24], eax
call edi
cmp dword [esp + 0x28], ebp
jae 0x4c69c7
push dword [esp + 0x24]
call fcn.0052a77f
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [esp + 0x18]
call ebp
push dword [esp + 0x10]
call ebp
push ebx
push ebx
push 0x402
push dword [esi + 0x94]
call edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x4d4290
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.004c7700
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x4d42c2
mov dword [esp + 0x2c], 0
jmp 0x4d42dd
mov ecx, ebp
call fcn.004c7700
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.004c7700
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.004c7710
cmp eax, esi
jae 0x4d431d
mov ecx, ebp
call fcn.004c7710
mov dword [esp + 0x10], eax
jmp 0x4d4321
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.004c7530
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x4d438d
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x4d4388
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.004c89b0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x4d437b
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.004c8e20
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4d4348
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x4d4336
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x4d7b40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4d7b70
push esi
call fcn.004d8040
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4d7b69
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4d7bf3
mov eax, dword [esi + 0x1a0]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4d7bdf
mov eax, dword [esi + 8]
test eax, eax
je 0x4d7b94
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1a0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4d7bdb
cmp eax, 2
je 0x4d7bdf
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4d7b87
cmp eax, 3
je 0x4d7bba
cmp eax, 1
jne 0x4d7b87
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4d7b87
mov edx, dword [esi + 0x120]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4d7b87
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004d7c20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4d7c13
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004d7c20
add esp, 4
pop esi
ret
Function at 0x4ffac0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4ffada
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x4ffada
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]