joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454134
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
mov eax, 0x4a94f0
call fcn.004a7794
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
push dword [0x4db2b4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4541d6
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x454178
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x80000
jb 0x4541d5
mov eax, dword [0x4db2b4]
add eax, 0xfffffff0
call fcn.00405b50
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.0045424e
mov edi, dword [ebp - 0x10]
mov ebx, dword [0x4db2b4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [edi - 0x10]
call fcn.00405cd1
pop edi
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x454575
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4aa88d
call fcn.004a7794
sub esp, 0x2f4
push ebx
push esi
push edi
xor esi, esi
push 0xd2
lea eax, [ebp - 0xee]
push esi
push eax
mov word [ebp - 0xf0], si
call fcn.00477840
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x69
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, esi
jne 0x4545c0
xor eax, eax
jmp 0x454684
cdq
and edx, 3
add eax, edx
mov edi, eax
push 0x208
lea eax, [ebp - 0x2fe]
push esi
push eax
sar edi, 2
mov word [ebp - 0x300], si
call fcn.00477840
mov word [ebp - 0xf8], si
mov esi, dword [ebp + 8]
add esp, 0xc
add esi, 4
lea ebx, [ebp - 0xf0]
call fcn.00454ca3
test edi, edi
jle 0x454681
mov dword [ebp - 0x10], edi
and word [ebx + 4], 0
push 0x104
lea eax, [ebp - 0x300]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x454679
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405e55
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov edi, esi
call fcn.004501da
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405cd1
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00405e55
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.004501da
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd1
add ebx, 8
dec dword [ebp - 0x10]
jne 0x454606
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4546bb
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x45473c
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x45473c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcessModules
push eax
call edi
push str.EnumProcesses
push dword [esi + 0x18]
mov dword [esi + 8], eax
call edi
push str.GetModuleBaseNameW
push dword [esi + 0x18]
mov dword [esi], eax
call edi
push str.GetModuleFileNameExW
push dword [esi + 0x18]
mov dword [esi + 4], eax
call edi
push str.GetProcessImageFileNameW
push dword [esi + 0x18]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x10], eax
pop edi
je 0x454737
cmp dword [esi + 4], ebx
je 0x454737
cmp dword [esi + 8], ebx
je 0x454737
cmp dword [esi + 0xc], ebx
je 0x454737
cmp eax, ebx
je 0x454737
xor eax, eax
inc eax
jmp 0x454739
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
pop ebx
ret
Function at 0x454911
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4a9489
call fcn.004a7794
sub esp, 0x224
push ebx
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x22e]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x18], esi
mov word [ebp - 0x230], si
call fcn.00477840
xor ecx, ecx
add esp, 0xc
inc ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0040709f
push 0x4b95b8
push eax
mov dword [ebp - 4], esi
call fcn.00405a9d
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
inc bl
call fcn.00405cd1
test bl, bl
je 0x454ae7
mov ebx, str.___
push ebx
call fcn.0047a9ca
mov esi, str.SystemRoot_
push esi
mov dword [ebp - 0x1c], eax
call fcn.0047a9ca
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0040709f
push ebx
push eax
mov dword [ebp - 4], 1
call fcn.00405a9d
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
inc bl
call fcn.00405cd1
test bl, bl
je 0x454a00
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
sub ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov eax, edi
call fcn.00406d37
mov dword [ebp - 4], 2
call fcn.00405da7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
jmp 0x454ab6
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0040709f
push esi
push eax
mov dword [ebp - 4], 3
call fcn.00405a9d
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
inc bl
call fcn.00405cd1
test bl, bl
je 0x454abe
push 0x104
lea eax, [ebp - 0x230]
push eax
push str._SystemRoot_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
inc ecx
mov eax, edi
call fcn.00406d37
mov esi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 4
call fcn.00405e55
lea ecx, [ebp - 0x20]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040671b
pop ecx
pop ecx
mov byte [ebp - 4], 6
call fcn.00405da7
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00405cd1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
cmp ecx, 3
jg 0x454ad1
mov esi, edi
call fcn.00405d67
jmp 0x454aee
cmp ecx, 1
jge 0x454ae0
push 0x80070057
call fcn.00405bc3
cmp word [eax + 2], 0x3a
jne 0x454ac8
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x454b00
Capabilities:
Terminate process

Disassembly:
push esi
push dword [esp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x454b2a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x455757
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x45576f
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x45575f
ret 8

Function at 0x45585c
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4a94f0
call fcn.004a7794
sub esp, 0x10
mov eax, dword [0x4da2a0]
or dword [ebp - 0x18], 0xffffffff
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
push eax
push ecx
push edi
call fcn.00453a07
push edi
mov ebx, eax
call fcn.0047ec04
add esp, 0x10
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
movzx eax, word [esi + 0x34]
push edx
push dword [ebp - 0x14]
push ebx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s_d__x__x__x.ich
call fcn.00407054
mov ebx, dword [esi + 0x1c]
mov esi, dword [esi + 0x14]
add esp, 0x18
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x45592a
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push esi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x455919
cmp dword [ebp + 8], ebx
jne 0x455919
mov dword [ebp - 0x14], 1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x45592a
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x455e83
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a9dad
call fcn.004a7794
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x21e]
push ebx
mov dword [ebp - 0x18], ebx
push eax
mov word [ebp - 0x220], bx
call fcn.00477840
add esp, 0xc
mov ecx, 0x4da2a0
call fcn.00405e98
xor edi, edi
inc edi
push edi
push 0x23
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
lea eax, [ebp - 0x220]
jne 0x455f4f
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, ebx
je 0x455fa9
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.00406070
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov eax, esi
call fcn.00406d37
mov dword [ebp - 4], edi
mov edi, 0x4b95b8
push edi
push eax
call fcn.00405a9d
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.00405cd1
cmp byte [ebp - 0xd], bl
je 0x455f48
push edi
push esi
call fcn.00406d14
push str.All_UsersApplication_Data_
jmp 0x455f90
push eax
push esi
call fcn.00406070
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov eax, esi
call fcn.00406d37
mov edi, 0x4b95b8
push edi
push eax
mov dword [ebp - 4], 2
call fcn.00405a9d
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.00405cd1
cmp byte [ebp - 0xd], bl
je 0x455f96
push edi
push esi
call fcn.00406d14
push str.winmasterzskich_
push esi
call fcn.00406d14
push dword [esi]
call fcn.00457e9e
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4562e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x45637e
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
mov ebx, str.svrid
push ebx
push eax
call edi
cmp dword [ebp - 8], 1
je 0x456325
cmp dword [ebp - 8], 2
jne 0x45637c
push esi
mov esi, dword [ebp + 0xc]
call fcn.00405d67
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00405bfc
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax]
call edi
test eax, eax
jne 0x45637b
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x45636d
push eax
call fcn.0047a9ca
pop ecx
mov edx, esi
call fcn.00405bdb
mov dword [ebp - 0xc], 1
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x456385
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x4563b4
push dword [esp + 8]
call fcn.0047a9ca
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
push 1
push edi
push str.svrid
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4563b4
inc edi
mov eax, edi
pop edi
ret 4
Function at 0x456a08
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ab242
call fcn.004a7794
sub esp, 0xe0
mov eax, dword [0x4da2a0]
push ebx
push esi
push edi
mov esi, 0x4da2a0
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x24], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], edi
mov eax, dword [0x4da2a0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0xc6
lea eax, [ebp - 0xea]
push edi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0xec], di
call fcn.00477840
mov eax, dword [0x4da2a0]
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4da2a0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0045717e
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00405da7
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, edi
call fcn.00405257
lea eax, [ebp - 0x14]
push eax
call fcn.00457209
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00405da7
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd1
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x64
lea eax, [ebp - 0xec]
push eax
mov esi, 0x4bea5c
push esi
push str.Version
push str.Common
call ebx
test eax, eax
je 0x456bd3
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406070
lea eax, [ebp - 0x10]
call fcn.00405257
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x14]
push eax
push 2
pop edx
lea eax, [ebp - 0x10]
call fcn.0040669d
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00405da7
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd1
push esi
push 0x4b94dc
mov eax, edi
push eax
call fcn.00454b2e
push esi
push 0x4be708
mov eax, edi
push eax
call fcn.00454b2e
push dword [ebp - 0x20]
lea eax, [ebp - 0xec]
push 0x64
push eax
push esi
push str.version
push str.infos
call ebx
test eax, eax
je 0x456bd3
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406070
lea eax, [ebp - 0x14]
push eax
push 6
pop ecx
lea eax, [ebp - 0x10]
call fcn.00406d37
mov byte [ebp - 4], 7
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00406cc3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd1
push dword [ebp - 0x18]
call fcn.0047b41a
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45717e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ab19e
call fcn.004a7794
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00406588
pop ecx
xor esi, esi
inc esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00405257
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405b50
add eax, 0x10
mov dword [edi], eax
push 0x4be53c
push edi
mov dword [ebp - 0x14], esi
call fcn.00406d14
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4571ec
lea eax, [ebp - 0x10]
call fcn.00405da7
push str.ressrcchsuplive.svr
push edi
call fcn.00406d14
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x457209
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ab19e
call fcn.004a7794
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00406588
pop ecx
xor esi, esi
inc esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00405257
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405b50
add eax, 0x10
mov dword [edi], eax
push str.datawmain.ini
push edi
mov dword [ebp - 0x14], esi
call fcn.00406d14
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x457277
lea eax, [ebp - 0x10]
call fcn.00405da7
push str.ressrcchswmain.ini
push edi
call fcn.00406d14
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4572bd
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x45735b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push edi
xor eax, eax
cmp ecx, ebx
lea edi, [ebp - 0x13]
mov byte [ebp - 0x14], bl
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ebx
je 0x457437
cmp word [ecx], bx
je 0x457437
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 8], edi
je 0x457437
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jbe 0x45742d
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x45742d
lea ecx, [ebp - 0x14]
call fcn.00457473
test eax, eax
je 0x45742d
add esi, 0xfffffffc
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45742d
mov eax, dword [ebp + 8]
push ebx
push ebx
push 4
push dword [ebp - 8]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call edi
test eax, eax
je 0x45742d
mov edx, dword [ebp - 4]
call fcn.0045743e
test eax, eax
jge 0x45742d
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret

Function at 0x45743e
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x45746d
test esi, esi
jbe 0x45746d
mov ecx, esi
shr ecx, 2
push 0
pop eax
je 0x45745c
xor dword [edx + eax*4], 0xd8d8d8d8
inc eax
cmp eax, ecx
jb 0x457450
shl eax, 2
jmp 0x457466
xor byte [eax + edx], 0xd8
inc eax
cmp eax, esi
jb 0x457461
xor eax, eax
ret
mov eax, 0x80004005
ret

Function at 0x457497
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x4574b5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
or dword [esi + 0xc], 0xffffffff
ret
Function at 0x457510
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
xor ebx, ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x457532
xor eax, eax
inc eax
jmp 0x45759c
cmp dword [edi], esi
je 0x45753b
xor ebx, ebx
inc ebx
jmp 0x457580
lea eax, [ebp - 8]
push eax
push 0x4be854
push 1
push esi
push 0x4be844
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x45755a
push 2
jmp 0x45757f
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x45756f
push 3
jmp 0x45757f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x457580
push 4
pop ebx
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x45758d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x45759a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x4578f9
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x4ab7c8
call fcn.004a7794
sub esp, 0x280
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.00405e55
push edi
push 2
mov dword [ebp - 4], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x20], esi
jne 0x457956
push 0xfffffffffffffffe
pop esi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push 0x228
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.00477840
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
push esi
mov dword [ebp - 0x28c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x457991
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffd
jmp 0x457937
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045476f
mov byte [ebp - 4], 1
jmp 0x4579ab
xor edi, edi
mov eax, dword [ebp - 0x284]
cmp eax, dword [ebp - 0x24]
je 0x457a9e
cmp eax, edi
je 0x457a9e
cmp eax, 4
je 0x457a9e
push eax
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x457a9e
mov eax, dword [0x4da2a0]
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
call fcn.00457f7b
test eax, eax
push ebx
je 0x457a20
lea eax, [ebp - 0x2c]
push eax
lea edi, [ebp - 0x5c]
call fcn.004547d9
lea edi, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00405da7
mov eax, dword [ebp - 0x2c]
jmp 0x457a3c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045487f
lea edi, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00405da7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00405cd1
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x457a8b
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 0xc]
cmp ecx, eax
jl 0x457a8b
push eax
push esi
push edx
call fcn.0047e9cb
add esp, 0xc
test eax, eax
jne 0x457a8b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
je 0x457a85
push dword [ebp - 0x284]
call fcn.00454b00
cmp eax, 1
pop ecx
jne 0x457a88
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00405cd1
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4579a9
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x457aca
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
lea esi, [ebp - 0x3c]
call fcn.004502d6
lea esi, [ebp - 0x5c]
call fcn.00454695
mov esi, dword [ebp - 0x14]
jmp 0x457938