joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cd650
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc6f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
push str.c:endpcacheprocservice.exe
call fcn.004ab3c0
add esp, 4
mov esi, eax
push str.c:endpcacheprocservice_b.exe
call fcn.004ab3c0
add esp, 4
cmp eax, esi
jl 0x4cd698
jle 0x4cd6ae
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push str.c:endpcacheprocservice_b.exe
push str.c:endpcacheprocservice.exe
call edi
jmp 0x4cd6b4
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push str.c:endpcache_fileservice.exe
call fcn.004ab3c0
add esp, 4
mov esi, eax
push str.c:endpcache_fileservice_b.exe
call fcn.004ab3c0
add esp, 4
cmp eax, esi
jl 0x4cd6d6
jle 0x4cd6e4
push 0
push str.c:endpcache_fileservice_b.exe
push str.c:endpcache_fileservice.exe
call edi
push str.c:endpcache_regservice.exe
call fcn.004ab3c0
add esp, 4
mov esi, eax
push str.c:endpcache_regservice_b.exe
call fcn.004ab3c0
add esp, 4
cmp eax, esi
jl 0x4cd706
jle 0x4cd714
push 0
push str.c:endpcache_regservice_b.exe
push str.c:endpcache_regservice.exe
call edi
push str.c:endpcache_fileSecurity.exe
call fcn.004ab3c0
add esp, 4
mov esi, eax
push str.c:endpcache_fileSecurity_b.exe
call fcn.004ab3c0
add esp, 4
cmp eax, esi
jl 0x4cd736
jle 0x4cd744
push 0
push str.c:endpcache_fileSecurity_b.exe
push str.c:endpcache_fileSecurity.exe
call edi
push str.c:endpcache_regSecurity.exe
call fcn.004ab3c0
add esp, 4
mov esi, eax
push str.c:endpcache_regSecurity_b.exe
call fcn.004ab3c0
add esp, 4
cmp eax, esi
jl 0x4cd766
jle 0x4cd774
push 0
push str.c:endpcache_regSecurity_b.exe
push str.c:endpcache_regSecurity.exe
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cdb80
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 3
push 0
push str.exefileDefaultIcon
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4cdbab
or eax, 0xffffffff
pop ecx
ret
push edi
push 0x5287b8
call fcn.004fa6c0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 8]
push edx
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop ecx
ret
Function at 0x4da920
Capabilities:
Copy file
Get common file path

Disassembly:
sub esp, 0x180
lea eax, [esp]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp]
lea edx, [esp + 0x80]
push ecx
push str._s_system32packet.dll
push edx
call fcn.004f175f
add esp, 0xc
lea eax, [esp + 0x80]
push 1
push eax
push str.c:endpcachepacket.dll
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
add esp, 0x180
ret
Function at 0x4da980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push 0x80
mov dword [ebp - 4], edi
call fcn.004f266a
add esp, 4
mov ebx, eax
push 0x100
call fcn.004f266a
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], esi
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318Descriptions
push closesocket
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x4dab21
mov dword [ebp - 0x18], edi
jmp 0x4daa03
mov esi, dword [ebp - 0x24]
xor edi, edi
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x80
mov dword [ebp - 0x30], 0x1f4
push edi
mov byte [esi], 0
mov edx, dword [ebp - 0x20]
push eax
push ebx
push ecx
push edx
mov byte [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x4dab21
mov ecx, dword [ebp - 0x18]
mov edi, ebx
inc ecx
xor eax, eax
mov dword [ebp - 0x18], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x94]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x94]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x4dab0b
lea ecx, [ebp - 0x94]
push 0x52dd24
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4dab0b
lea edx, [ebp - 0x94]
push 0x52dd18
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4dab0b
lea eax, [ebp - 0x94]
push 0x52dd0c
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4dab0b
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov esi, edx
lea edi, [ebp - 0x94]
shl esi, 8
add esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x14], esi
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc edx
cmp edx, 0x28
mov dword [ebp - 0x14], edx
rep movsb byte es:[edi], byte [esi]
je 0x4dab1e
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
inc ecx
cmp eax, 0x1e
mov dword [ebp - 0x1c], ecx
jle 0x4da9fe
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
push ebx
mov dword [edx], eax
call fcn.004f265f
add esp, 4
push esi
call fcn.004f265f
add esp, 4
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db4e0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push ebx
push esi
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x80
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x198]
push ecx
push str._smshtmled.dll
push edx
call fcn.004f175f
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x298]
push eax
push str._sdllcache_bkmshtmled.dll
push ecx
call fcn.004f175f
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x398]
push edx
push str._sdllcachemshtmled.dll
push eax
call fcn.004f175f
push str.c:endpcache
xor ebx, ebx
xor edi, edi
call fcn.004f2beb
lea ecx, [ebp - 0x198]
push ecx
call fcn.004bd410
add esp, 0x2c
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4db597
mov ebx, 1
lea edx, [ebp - 0x298]
push edx
call fcn.004bd410
add esp, 4
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4db5bd
mov edi, 1
cmp ebx, 1
jne 0x4db5f2
cmp edi, esi
jne 0x4db6d6
lea eax, [ebp - 0x298]
push esi
lea ecx, [ebp - 0x198]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x4db635
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call edi
lea ecx, [ebp - 0x198]
push esi
lea edx, [ebp - 0x298]
push ecx
push edx
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.imagehlp.dll_MapFileAndCheckSumA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x198]
push ecx
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
xor edi, edi
call ebx
test eax, eax
jne 0x4db666
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
je 0x4db66b
mov edi, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x298]
push edx
push eax
call ebx
test eax, eax
jne 0x4db68a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
je 0x4db68f
mov esi, 1
cmp edi, 1
jne 0x4db6c0
test esi, esi
jne 0x4db6c0
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x198]
push 0
lea edx, [ebp - 0x398]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db710
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push ebx
push esi
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x80
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x198]
push ecx
push str._smshtml.dll
push edx
call fcn.004f175f
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x298]
push eax
push str._sdllcache_bkmshtml.dll
push ecx
call fcn.004f175f
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x398]
push edx
push str._sdllcachemshtml.dll
push eax
call fcn.004f175f
push str.c:endpcache
xor ebx, ebx
xor edi, edi
call fcn.004f2beb
lea ecx, [ebp - 0x198]
push ecx
call fcn.004bd410
add esp, 0x2c
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4db7c7
mov ebx, 1
lea edx, [ebp - 0x298]
push edx
call fcn.004bd410
add esp, 4
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4db7ed
mov edi, 1
cmp ebx, 1
jne 0x4db822
cmp edi, esi
jne 0x4db906
lea eax, [ebp - 0x298]
push esi
lea ecx, [ebp - 0x198]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x4db865
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call edi
lea ecx, [ebp - 0x198]
push esi
lea edx, [ebp - 0x298]
push ecx
push edx
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.imagehlp.dll_MapFileAndCheckSumA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x198]
push ecx
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
xor edi, edi
call ebx
test eax, eax
jne 0x4db896
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
je 0x4db89b
mov edi, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x298]
push edx
push eax
call ebx
test eax, eax
jne 0x4db8ba
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
je 0x4db8bf
mov esi, 1
cmp edi, 1
jne 0x4db8f0
test esi, esi
jne 0x4db8f0
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x198]
push 0
lea edx, [ebp - 0x398]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db940
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push ebx
push esi
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x80
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x198]
push ecx
push str._s_ntoskrnl.exe
push edx
call fcn.004f175f
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x298]
push eax
push str._sdllcache_bk_ntoskrnl.exe
push ecx
call fcn.004f175f
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x398]
push edx
push str._sdllcache_ntoskrnl.exe
push eax
call fcn.004f175f
push str.c:endpcache
xor ebx, ebx
xor edi, edi
call fcn.004f2beb
lea ecx, [ebp - 0x198]
push ecx
call fcn.004bd410
add esp, 0x2c
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4db9f7
mov ebx, 1
lea edx, [ebp - 0x298]
push edx
call fcn.004bd410
add esp, 4
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4dba1d
mov edi, 1
cmp ebx, 1
jne 0x4dba52
cmp edi, esi
jne 0x4dbb36
lea eax, [ebp - 0x298]
push esi
lea ecx, [ebp - 0x198]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x4dba95
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call edi
lea ecx, [ebp - 0x198]
push esi
lea edx, [ebp - 0x298]
push ecx
push edx
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.imagehlp.dll_MapFileAndCheckSumA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x198]
push ecx
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
xor edi, edi
call ebx
test eax, eax
jne 0x4dbac6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
je 0x4dbacb
mov edi, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x298]
push edx
push eax
call ebx
test eax, eax
jne 0x4dbaea
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
je 0x4dbaef
mov esi, 1
cmp edi, 1
jne 0x4dbb20
test esi, esi
jne 0x4dbb20
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x198]
push 0
lea edx, [ebp - 0x398]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dbb70
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push ebx
push esi
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x80
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x198]
push ecx
push str._s_ntkrnlpa.exe
push edx
call fcn.004f175f
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x298]
push eax
push str._sdllcache_bk_ntkrnlpa.exe
push ecx
call fcn.004f175f
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x398]
push edx
push str._sdllcache_ntkrnlpa.exe
push eax
call fcn.004f175f
push str.c:endpcache
xor ebx, ebx
xor edi, edi
call fcn.004f2beb
lea ecx, [ebp - 0x198]
push ecx
call fcn.004bd410
add esp, 0x2c
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4dbc27
mov ebx, 1
lea edx, [ebp - 0x298]
push edx
call fcn.004bd410
add esp, 4
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4dbc4d
mov edi, 1
cmp ebx, 1
jne 0x4dbc82
cmp edi, esi
jne 0x4dbd66
lea eax, [ebp - 0x298]
push esi
lea ecx, [ebp - 0x198]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x4dbcc5
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call edi
lea ecx, [ebp - 0x198]
push esi
lea edx, [ebp - 0x298]
push ecx
push edx
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.imagehlp.dll_MapFileAndCheckSumA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x198]
push ecx
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
xor edi, edi
call ebx
test eax, eax
jne 0x4dbcf6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
je 0x4dbcfb
mov edi, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x298]
push edx
push eax
call ebx
test eax, eax
jne 0x4dbd1a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
je 0x4dbd1f
mov esi, 1
cmp edi, 1
jne 0x4dbd50
test esi, esi
jne 0x4dbd50
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x198]
push 0
lea edx, [ebp - 0x398]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dbda0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push ebx
push esi
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x80
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x198]
push ecx
push str._s_ntkrnlmp.exe
push edx
call fcn.004f175f
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x298]
push eax
push str._sdllcache_bk_ntkrnlmp.exe
push ecx
call fcn.004f175f
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x398]
push edx
push str._sdllcache_ntkrnlmp.exe
push eax
call fcn.004f175f
push str.c:endpcache
xor ebx, ebx
xor edi, edi
call fcn.004f2beb
lea ecx, [ebp - 0x198]
push ecx
call fcn.004bd410
add esp, 0x2c
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4dbe57
mov ebx, 1
lea edx, [ebp - 0x298]
push edx
call fcn.004bd410
add esp, 4
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4dbe7d
mov edi, 1
cmp ebx, 1
jne 0x4dbeb2
cmp edi, esi
jne 0x4dbf96
lea eax, [ebp - 0x298]
push esi
lea ecx, [ebp - 0x198]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x4dbef5
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call edi
lea ecx, [ebp - 0x198]
push esi
lea edx, [ebp - 0x298]
push ecx
push edx
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.imagehlp.dll_MapFileAndCheckSumA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x198]
push ecx
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
xor edi, edi
call ebx
test eax, eax
jne 0x4dbf26
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
je 0x4dbf2b
mov edi, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x298]
push edx
push eax
call ebx
test eax, eax
jne 0x4dbf4a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
je 0x4dbf4f
mov esi, 1
cmp edi, 1
jne 0x4dbf80
test esi, esi
jne 0x4dbf80
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x198]
push 0
lea edx, [ebp - 0x398]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dbfd0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc8a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push ebx
push esi
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x80
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x198]
push ecx
push str._s_ntdll.dll
push edx
call fcn.004f175f
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x298]
push eax
push str._sdllcache_bk_ntdll.dll
push ecx
call fcn.004f175f
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x398]
push edx
push str._sdllcache_ntdll.dll
push eax
call fcn.004f175f
push str.c:endpcache
xor ebx, ebx
xor edi, edi
call fcn.004f2beb
lea ecx, [ebp - 0x198]
push ecx
call fcn.004bd410
add esp, 0x2c
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4dc087
mov ebx, 1
lea edx, [ebp - 0x298]
push edx
call fcn.004bd410
add esp, 4
push 0x5144fc
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4dc0ad
mov edi, 1
cmp ebx, 1
jne 0x4dc0e2
cmp edi, esi
jne 0x4dc1c6
lea eax, [ebp - 0x298]
push esi
lea ecx, [ebp - 0x198]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x4dc125
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call edi
lea ecx, [ebp - 0x198]
push esi
lea edx, [ebp - 0x298]
push ecx
push edx
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.imagehlp.dll_MapFileAndCheckSumA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x198]
push ecx
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
xor edi, edi
call ebx
test eax, eax
jne 0x4dc156
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
je 0x4dc15b
mov edi, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x298]
push edx
push eax
call ebx
test eax, eax
jne 0x4dc17a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
je 0x4dc17f
mov esi, 1
cmp edi, 1
jne 0x4dc1b0
test esi, esi
jne 0x4dc1b0
lea edx, [ebp - 0x198]
push esi
lea eax, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x198]
push 0
lea edx, [ebp - 0x398]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret