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

Disassembly:
mov eax, 0x57b12d
call fcn.004f8f84
sub esp, 0x100
push dword [ebp + 8]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c8089
or eax, 0xffffffff
jmp 0x4c826b
push esi
lea ecx, [ebp - 0x10c]
call fcn.0042db2a
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.0042dc93
mov ecx, eax
call fcn.0042d6b6
test al, al
jne 0x4c80c2
or esi, 0xffffffff
jmp 0x4c8259
lea eax, [ebp - 0x18]
push str.Languages
push eax
lea ecx, [ebp - 0x10c]
call fcn.0042d6ce
lea ecx, [ebp - 0x18]
call fcn.0042d6b6
test al, al
jne 0x4c80ba
mov eax, dword [0x64d578]
push ebx
push edi
mov dword [ebp - 0x24], eax
mov edi, 0x65535c
lea eax, [ebp + 8]
push edi
push 0x5bfc24
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042d715
mov ecx, eax
call fcn.0042d4a7
push eax
lea ecx, [ebp - 0x24]
call fcn.0055466b
mov eax, dword [0x64d578]
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.0042d6ce
lea ecx, [ebp - 0x10]
call fcn.0042d6a9
test eax, eax
je 0x4c8225
push edi
lea eax, [ebp + 8]
push str.Code
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d715
mov ecx, eax
call fcn.0042d4a7
push eax
lea ecx, [ebp - 0x14]
call fcn.0055466b
push edi
lea eax, [ebp - 0x38]
push str.Original
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d715
mov ecx, eax
call fcn.0042d4a7
push eax
lea ecx, [ebp - 0x1c]
call fcn.0055466b
push edi
lea eax, [ebp - 0x34]
push str.Translated
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d715
mov ecx, eax
call fcn.0042d4a7
push eax
lea ecx, [ebp - 0x20]
call fcn.0055466b
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax - 8], esi
je 0x4c820e
push 0xc
call fcn.00550d29
pop ecx
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov byte [ebp - 4], 5
je 0x4c81d7
mov ecx, eax
call fcn.004c7e90
mov esi, eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.0055461b
lea eax, [ebp - 0x1c]
lea ecx, [esi + 4]
push eax
call fcn.0055461b
lea eax, [ebp - 0x20]
lea ecx, [esi + 8]
push eax
call fcn.0055461b
mov eax, dword [ebp - 0x28]
push esi
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.0054f483
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.0042d75c
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x4c813b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005544d4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.005544d4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.005544d4
pop edi
xor esi, esi
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0042db41
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c84db
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x57b209
call fcn.004f8f84
push ecx
mov eax, dword [0x64d578]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x64d578]
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x14], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x18], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x30], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x34], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x38], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x40], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x44], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 0xa
mov dword [esi], 0x58f124
call fcn.004c8611
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

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

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

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

Disassembly:
mov eax, 0x57b282
call fcn.004f8f84
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x58f124
lea ecx, [esi + 0x48]
mov dword [ebp - 4], 9
call fcn.005544d4
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 8
call fcn.005544d4
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 7
call fcn.005544d4
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 6
call fcn.005544d4
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.005544d4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 4
call fcn.005544d4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.005544d4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.005544d4
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.005544d4
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4c895a
Capabilities:
Resume thread

Disassembly:
mov eax, 0x57b31d
call fcn.004f8f84
push ecx
push ebx
push esi
push edi
mov edi, ecx
test byte [edi + 0x50], 1
je 0x4c8974
push 1
jmp 0x4c898c
lea ecx, [edi + 0x60]
call fcn.004d3630
test al, al
jne 0x4c8970
xor ebx, ebx
cmp dword [edi + 0x228], ebx
je 0x4c898f
push 2
pop eax
jmp 0x4c89ff
mov eax, dword [edi + 0x40]
cmp dword [eax - 8], ebx
je 0x4c89df
push 0x78
call fcn.00550d29
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4c89bb
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004cbd6a
mov esi, eax
jmp 0x4c89bd
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x4c89ff
push ebx
push ebx
push 4
mov ecx, esi
call fcn.005501d9
test eax, eax
jne 0x4c89e4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x4c89ff
push ebx
mov dword [edi + 0x228], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4c8dc7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x57b410
call fcn.004f8f84
push ecx
push ecx
mov eax, dword [0x64d578]
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, 0x5be5b8
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0054d2e9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c8e24
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0054d2e9
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c8e76
lea eax, [ebp + 8]
push eax
call fcn.00426c48
pop ecx
push ebx
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.0054d2e9
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4c8e6a
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0054d2e9
add esp, 0x10
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.005544d4
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
lea ecx, [eax + 0x24]
call fcn.00425e05
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c9c4d
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x57b602
call fcn.004f8f84
push ecx
mov eax, dword [0x64d578]
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 [0x64d578]
and dword [ebp - 4], 0
mov dword [esi + 0x14], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x1c], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x20], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x30], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x34], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x38], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x50], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x54], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x58], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x5c], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x60], eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xb
call fcn.0054f4aa
mov edi, 0x58f148
mov dword [esi + 0x64], edi
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xc
call fcn.0054f4aa
mov dword [esi + 0x78], edi
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 0xd
call fcn.0054f4aa
mov dword [esi + 0x8c], edi
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xe
call fcn.0054f4aa
mov dword [esi + 0xa0], edi
mov ecx, esi
mov byte [ebp - 4], 0xf
mov dword [esi], 0x58f140
call fcn.004c9de4
push dword [ebp + 8]
mov ecx, ebx
call fcn.0055466b
push 0x65535c
lea ecx, [esi + 0x14]
call fcn.0055466b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c9ec1
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x57b6e8
call fcn.004f8f84
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x58f140
and dword [ebp - 4], 0
lea ebx, [esi + 0xa0]
mov edi, 0x58f148
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.004c9d86
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.0054f4dd
lea ebx, [esi + 0x8c]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.004c9d86
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.0054f4dd
lea ebx, [esi + 0x78]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0x11
call fcn.004c9d86
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.0054f4dd
lea ebx, [esi + 0x64]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov ecx, ebx
mov byte [ebp - 4], 0x12
call fcn.004c9d86
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.0054f4dd
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xa
call fcn.005544d4
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 9
call fcn.005544d4
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 8
call fcn.005544d4
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 7
call fcn.005544d4
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call fcn.005544d4
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 5
call fcn.005544d4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 4
call fcn.005544d4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.005544d4
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.005544d4
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [esi + 0x14]
call fcn.005544d4
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x10]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4ce033
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 0x4ce212
push esi
push edi
mov eax, dword [ebp + 0x68]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, ebx
je 0x4ce1ff
push dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.004cecf1
mov edi, eax
cmp edi, ebx
je 0x4ce1ff
push dword [edi + 0x10]
lea ecx, [esi + 0x14]
call fcn.0055466b
push dword [edi + 0xc]
lea ecx, [esi + 8]
call fcn.0055466b
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4ce0b0
push 0x5bedc0
push eax
call fcn.004f9285
pop ecx
test eax, eax
pop ecx
jne 0x4ce0b0
cmp dword [edi + 0x30], 0xffffffff
jne 0x4ce0b0
or dword [esi + 4], 0x10
mov eax, 0x1000000
test dword [edi + 0x44], eax
je 0x4ce0bd
or dword [esi + 4], eax
cmp dword [edi + 0x14], 0xa
jne 0x4ce0c7
or byte [esi + 5], 1
test byte [edi + 0x44], 1
je 0x4ce0d1
or dword [esi + 4], 1
push dword [edi + 0x1c]
lea ecx, [esi + 0x6c]
call fcn.0055466b
cmp dword [esi + 0x74], ebx
je 0x4ce0e6
cmp dword [esi + 0x78], ebx
jne 0x4ce15e
mov eax, dword [edi]
cmp eax, ebx
je 0x4ce149
push 0x64528c
push eax
call fcn.004f9285
pop ecx
test eax, eax
pop ecx
je 0x4ce10f
push 0x645284
push dword [edi]
call fcn.004f9285
pop ecx
test eax, eax
pop ecx
jne 0x4ce149
mov eax, dword [esi + 0x70]
mov ecx, 0x10e0
cmp eax, ecx
jne 0x4ce124
mov dword [esi + 0x74], 0x1e00
jmp 0x4ce146
mov ecx, 0xa8c
cmp eax, ecx
jne 0x4ce136
mov dword [esi + 0x74], 0x1400
jmp 0x4ce146
mov ecx, 0x870
cmp eax, ecx
jne 0x4ce149
mov dword [esi + 0x74], 0xf00
mov dword [esi + 0x78], ecx
cmp dword [esi + 0x70], ebx
jne 0x4ce169
push dword [esi + 0x78]
push dword [esi + 0x74]
call fcn.00430882
pop ecx
mov dword [esi + 0x70], eax
pop ecx
cmp dword [esi + 0x70], ebx
jne 0x4ce169
mov eax, dword [edi + 0x20]
mov dword [esi + 0x70], eax
cmp dword [esi + 0x74], ebx
jne 0x4ce174
mov eax, dword [edi + 0x24]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x78], ebx
jne 0x4ce17f
mov eax, dword [edi + 0x28]
mov dword [esi + 0x78], eax
fld qword [esi + 0x80]
fcomp qword [0x5866b0]
lea ecx, [esi + 0x80]
fnstsw ax
sahf
jne 0x4ce19b
fld dword [edi + 0x2c]
fstp qword [ecx]
cmp dword [esi + 0x90], ebx
jne 0x4ce1ba
mov eax, dword [esi + 0x9c]
cmp eax, ebx
jle 0x4ce1ba
push eax
call fcn.004308aa
pop ecx
mov dword [esi + 0x90], eax
push dword [edi + 0x34]
lea ecx, [esi + 0x8c]
call fcn.0055466b
cmp dword [esi + 0x90], ebx
jne 0x4ce1d9
mov eax, dword [edi + 0x38]
mov dword [esi + 0x90], eax
cmp dword [esi + 0x94], ebx
lea eax, [esi + 0x94]
jne 0x4ce1ec
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
cmp dword [esi + 0x98], ebx
lea eax, [esi + 0x98]
jne 0x4ce1ff
mov ecx, dword [edi + 0x40]
mov dword [eax], ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x6c]
jl 0x4ce050
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x4cf7b1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x57bcbf
call fcn.004f8f84
sub esp, 0xe0
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.0054f4aa
mov ebx, 0x58f540
mov dword [ebp - 0x30], ebx
and dword [ebp - 4], 0
push 0x4c
call fcn.00550d29
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
test esi, esi
mov byte [ebp - 4], 1
je 0x4cf800
mov ecx, esi
call fcn.004cf9c2
mov dword [esi], 0x58f538
jmp 0x4cf802
xor esi, esi
mov eax, dword [esi]
and byte [ebp - 4], 0
mov ecx, esi
call dword [eax]
test eax, eax
je 0x4cf824
test esi, esi
je 0x4cf880
mov ecx, esi
call fcn.004cfb09
push esi
call fcn.00550d52
pop ecx
jmp 0x4cf880
push esi
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0054f483
lea eax, [esi + 0x20]
push 0x5be5b4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00554779
add esi, 0x24
mov byte [ebp - 4], 2
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00554713
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.005544d4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4cf874
mov dword [ebp - 0x18], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005544d4
push 0x4c
call fcn.00550d29
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
test esi, esi
mov byte [ebp - 4], 5
je 0x4cf8a4
mov ecx, esi
call fcn.004cf9c2
mov dword [esi], 0x58f530
jmp 0x4cf8a6
xor esi, esi
mov eax, dword [esi]
and byte [ebp - 4], 0
mov ecx, esi
call dword [eax]
test eax, eax
je 0x4cf8c8
test esi, esi
je 0x4cf8d4
mov ecx, esi
call fcn.004cfb09
push esi
call fcn.00550d52
pop ecx
jmp 0x4cf8d4
push esi
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0054f483
lea eax, [ebp - 0x1c]
push eax
call fcn.0054d546
cmp dword [ebp - 0x18], 0
mov edi, str.LastServicesUpdate
mov esi, str.Settings
jne 0x4cf937
cmp dword [ebp + 8], 0
je 0x4cf937
call fcn.00565826
mov eax, dword [eax + 4]
push 0
push edi
push esi
mov ecx, eax
call fcn.00564e22
push dword [0x6555b8]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00423129
call fcn.004cfb66
add esp, 0xc
test eax, eax
jne 0x4cf937
mov dword [ebp - 0x30], ebx
push 1
mov dword [ebp - 4], 6
pop esi
jmp 0x4cf99d
call fcn.00565826
push dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ecx, eax
push edi
push esi
call fcn.0055b1cf
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.004cfc8e
mov eax, dword [0x6555b4]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
mov dword [ebp - 0x38], eax
call fcn.00554f67
mov eax, dword [ebp - 0x38]
and byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
mov dword [0x6555b4], eax
call fcn.004cfd49
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.004cfaad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0054f4dd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4cf9c2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x57bd03
call fcn.004f8f84
push ecx
mov eax, dword [0x64d578]
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 [0x64d578]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x20], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x24], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x38], eax
mov edi, 0x65535c
mov byte [ebp - 4], 4
push edi
mov dword [esi], method.Json::Writer.virtual_4
call fcn.0055466b
push edi
lea ecx, [esi + 8]
call fcn.0055466b
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.0055466b
push edi
lea ecx, [esi + 0x24]
call fcn.0055466b
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.0055466b
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 0x4d0495
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 0x4d0501
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 0x4d0509
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x4d05be
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.004f9c4e
pop ecx
mov dword [esp + 0x24], eax
cmp dword [esi + 0x68], ebx
jne 0x4d0591
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 0x4d0591
cmp dword [esp + 0x28], ebx
jbe 0x4d0570
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 0x4d0534
push dword [esp + 0x24]
call fcn.004f9722
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 0x4e00a0
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.004d3510
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x4e00d2
mov dword [esp + 0x2c], 0
jmp 0x4e00ed
mov ecx, ebp
call fcn.004d3510
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.004d3510
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.004d3520
cmp eax, esi
jae 0x4e012d
mov ecx, ebp
call fcn.004d3520
mov dword [esp + 0x10], eax
jmp 0x4e0131
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.004d3340
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x4e019d
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x4e0198
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.004d47c0
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 0x4e018b
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.004d4c30
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4e0158
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x4e0146
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8