joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4500bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00446d92
and dword [ebp - 0x14], 0
cmp dword [0x47d1f8], 0
mov dword [ebp - 0x18], eax
jne 0x45016f
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x450217
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x450217
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47d1f8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47d1fc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47d200], eax
call edi
push eax
call esi
mov dword [0x47d208], eax
test eax, eax
je 0x45016f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47d204], eax
mov eax, dword [0x47d204]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x4501c8
cmp dword [0x47d208], ecx
je 0x4501c8
push eax
call esi
push dword [0x47d208]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4501c8
test ebx, ebx
je 0x4501c8
call edi
test eax, eax
je 0x4501bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4501bf
test byte [ebp - 8], 1
jne 0x4501c8
or dword [ebp + 0x10], 0x200000
jmp 0x4501fb
mov eax, dword [0x47d1fc]
cmp eax, dword [ebp - 0x18]
je 0x4501fb
push eax
call esi
test eax, eax
je 0x4501fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4501fb
mov eax, dword [0x47d200]
cmp eax, dword [ebp - 0x18]
je 0x4501fb
push eax
call esi
test eax, eax
je 0x4501fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47d1f8]
call esi
test eax, eax
je 0x450217
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x450219
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a455
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100022de
pop dword [ebp - 0x4c]
mov eax, 0x100022de
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x6f8d9d76
add dword [ebp - 0x5c], 0xdec4a7d5
mov dword [ebp - 0x58], 0x1295c020
sub dword [ebp - 0x58], 0xe06273db
mov dword [ebp - 0x54], 0x6c101f47
sub dword [ebp - 0x54], 0x1fc3db19
mov dword [ebp - 0x50], 0xb3892e30
sub dword [ebp - 0x50], 0xb3892e30
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x3ebf2f36
add eax, 0xd14100ce
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xb562cb10
add dword [ebp - 0x5c], 0xbf0f9e46
mov dword [ebp - 0x58], 0x8fe53f01
sub dword [ebp - 0x58], 0x4e78dd8c
mov dword [ebp - 0x54], 0x5ba99895
add dword [ebp - 0x54], 0x7c5d3d7
mov dword [ebp - 0x50], 0xb27014d6
sub dword [ebp - 0x50], 0xb27014d6
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3878a
push 0
call eax
mov ecx, 0x9b7cd045
sub ecx, 0x9b7c8055
mov esi, eax
mov edi, 0x31a1f949
sub edi, 0x21a19749
add edi, dword [ebp - 0x4c]
mov ebx, 0xa177b84
add ebx, 0x6965c10e
xor dword [ebp - 0x24], 0x29c55cfa
mov edx, dword [edi]
mov dword [ebp - 4], 0x85397e0b
xor edx, ebx
mov dword [ebp - 0x3c], 0x833f50d1
mov dword [esi], edx
add esi, 0x5bba451a
sub esi, 0x5bba4516
add edi, 4
loop 0x100023f6
add eax, 0xb4d064d6
sub eax, 0xb4cf3243
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x405cf8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push 4
pop eax
mov word [ebp - 0x1e], ax
mov eax, 0x408880
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov byte [ebp - 0x20], 1
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x10], 0x408870
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405d49
xor eax, eax
jmp 0x405d76
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405d75
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
je 0x405d73
xor eax, eax
jmp 0x405d75
call esi
pop esi
leave
ret 4

Function at 0x405d97
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x7b3a48
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x7b3a48], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405dd6
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405dda
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x24], 0
push eax
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405fa5
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405fc5
and eax, 0xfffffffe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405fcb
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
inc ecx
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405ffa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40895c]
mov dword [ebp - 8], eax
mov eax, dword [0x408960]
dec edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x40604a
test edi, edi
jne 0x406007
mov word [esi], ax
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x406044
Function at 0x406204
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
push dword [ebp + 8]
call fcn.004061a3
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x406275
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
mov word [esi + 0x7fe], ax
pop edi
jne 0x406275
cmp dword [ebp + 0xc], 1
je 0x40627a
cmp dword [ebp + 0xc], 2
je 0x40627a
xor eax, eax
mov word [esi], ax
pop esi
leave
ret 0x14

Function at 0x406432
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406456
xor eax, eax
test eax, eax
je 0x406469
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406469
xor ecx, ecx
jmp 0x40646c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x4082b0]
push ecx
lea eax, [ebp + eax*2 - 0x23c]
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 8
push 0
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4065ab
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405fa5
mov edi, eax
cmp edi, 0xffffffff
je 0x4065ec
test byte [esp + 0x10], 1
push esi
je 0x4065d5
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4065dd
xor eax, eax
inc eax
jmp 0x4065ee
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4065cc
test byte [esp + 0x10], 4
jne 0x4065ec
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x406696
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x7b3a90
push esi
call fcn.00406338
push esi
call fcn.00405ece
mov edi, eax
test edi, edi
jne 0x4066b7
xor eax, eax
jmp 0x406715
push edi
call fcn.0040635a
test byte [0x7b85c0], 0x80
je 0x4066d4
movzx eax, word [edi]
test ax, ax
je 0x4066b3
cmp ax, 0x5c
je 0x4066b3
sub edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sar edi, 1
jmp 0x4066f6
push esi
call fcn.0040640b
test eax, eax
je 0x4066f0
test byte [eax], 0x10
je 0x40671a
push esi
call fcn.00406622
push esi
call ebx
cmp eax, edi
jg 0x4066e1
push esi
call fcn.004065f3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x406714
Function at 0x406993
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [0x7b4290], 0x55004e
mov dword [0x7b4294], 0x4c
mov edi, 0x400
mov ebp, 0x7b4290
test esi, esi
je 0x4069e9
push 1
push 0
push esi
call fcn.00405fcb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406b08
cmp eax, edi
jg 0x406b08
push edi
mov esi, 0x7b58e0
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406b08
cmp eax, edi
jg 0x406b08
push esi
push ebp
push str._ls_ls_r_n
push 0x7b4ce0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x7b8550]
push dword [eax + 0x128]
push esi
call fcn.0040671e
push 4
push 0xc0000000
push esi
call fcn.00405fcb
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, 0xffffffff
je 0x406b08
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x406b01
push edi
push esi
push ebp
call fcn.0040604e
test eax, eax
je 0x406b01
push str._Rename__r_n
push esi
call fcn.00405f2b
test eax, eax
jne 0x406a9f
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406ad4
push 0x40898c
add eax, 0xa
push eax
call fcn.00405f2b
mov ebp, eax
test ebp, ebp
je 0x406ad0
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x406ac1
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406abb
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x406ad6
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
push 0x7b4ce0
add eax, esi
push eax
call fcn.00405f81
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.0040607d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406b0d
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406b30
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406993
pop ecx
pop ecx
inc dword [0x7b8630]
ret 8
Function at 0x406b39
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00406696
mov dword [ebp - 8], eax
test bl, 8
je 0x406b77
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x7b8628], eax
jmp 0x406cf9
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
push esi
je 0x406b92
test eax, eax
je 0x406ca5
test bl, 2
je 0x406ca5
push edi
mov esi, 0x7b50e0
push esi
call fcn.00406338
cmp dword [ebp + 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x406bb4
push str..
push esi
call ebx
jmp 0x406bba
push edi
call fcn.00406622
cmp word [edi], 0
jne 0x406bca
cmp word [0x7b50e0], 0x5c
jne 0x406bd2
push 0x4082b0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406c99
cmp word [ebp - 0x22c], 0x2e
jne 0x406c1d
cmp word [ebp - 0x22a], 0
je 0x406c7c
cmp word [ebp - 0x22a], 0x2e
jne 0x406c1d
cmp word [ebp - 0x228], 0
je 0x406c7c
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406338
test byte [ebp - 0x258], 0x10
je 0x406c48
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x406c7c
push dword [ebp + 0xc]
push edi
call fcn.00406b39
jmp 0x406c7c
push dword [ebp - 4]
push edi
call fcn.004065ab
test eax, eax
jne 0x406c74
cmp dword [ebp - 4], eax
je 0x406c6c
push edi
push 0xfffffffffffffff1
call fcn.00405096
push 0
push edi
call fcn.00406b0d
jmp 0x406c7c
inc dword [0x7b8628]
jmp 0x406c7c
push edi
push 0xfffffffffffffff2
call fcn.00405096
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406bf5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x406ca5
xor eax, eax
mov word [ebx - 2], ax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x406cf8
cmp dword [ebp - 8], esi
je 0x406ce8
push edi
call fcn.0040640b
test eax, eax
je 0x406cf8
push edi
call fcn.004065f3
mov eax, dword [ebp - 4]
or eax, 1
push eax
push edi
call fcn.004065ab
test eax, eax
jne 0x406cf0
cmp dword [ebp - 4], esi
je 0x406ce8
push edi
push 0xfffffffffffffff1
call fcn.00405096
push esi
push edi
call fcn.00406b0d
jmp 0x406cf8
inc dword [0x7b8628]
jmp 0x406cf8
push edi
push 0xffffffffffffffe5
call fcn.00405096
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x406cff
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7b60e4], 0
jne 0x406d3d
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406d13
mov dword [ecx*4 + 0x7b60e0], eax
inc ecx
cmp ecx, 0x100
jl 0x406d0e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406d6a
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x7b60e0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406d4b
not eax
pop ebp
ret 0xc

Function at 0x406da8
Capabilities:
Hash data using murmur3

Disassembly:
mov eax, dword [esp + 4]
shr eax, 0xf
xor eax, dword [esp + 4]
imul eax, eax, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x401443
pop dword [ebp - 0x14]
mov eax, 0x401443
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x330c0d07
sub dword [ebp - 0x24], 0xe4b9c7bc
mov dword [ebp - 0x20], 0x7f9dc4d0
add dword [ebp - 0x20], 0xb2958775
mov dword [ebp - 0x1c], 0xb48a1aad
add dword [ebp - 0x1c], 0x97c22981
mov dword [ebp - 0x18], 0x26cc6382
add dword [ebp - 0x18], 0xd9339c7e
lea eax, [ebp - 0x24]
push eax
mov eax, 0xd1363f01
sub eax, 0xd0f5cdf5
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x40e6f025
add dword [ebp - 0x24], 0x338b7931
mov dword [ebp - 0x20], 0x307529d0
sub dword [ebp - 0x20], 0xef08c85b
mov dword [ebp - 0x1c], 0x55380f89
add dword [ebp - 0x1c], 0xe375ce3
mov dword [ebp - 0x18], 0x4eac5af4
sub dword [ebp - 0x18], 0x4eac5af4
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xa9987dbb
sub eax, 0xa9580ca7
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3a8ba
push 0
call eax
mov ecx, 0x710f33af
add ecx, 0x8ef11e44
mov edi, eax
mov ebx, 0x256f8c03
sub ebx, 0x252c6603
add ebx, dword [ebp - 0x14]
mov esi, 0x3c89683e
sub esi, 0xbbb5f8c0
xor dword [ebp - 4], 0xad0d76ba
mov edx, dword [ebx]
add dword [ebp - 0xc], 0x6fda89be
sub edx, esi
add dword [ebp - 8], 0x4c57a17f
mov dword [edi], edx
add dword [ebp - 0xc], 0x862b54ae
add edi, 4
add ebx, 0x4c3a3b25
add ebx, 0xb3c5c4df
loop 0x401560
add eax, 0x13a9f
xor ebx, ebx
add ebx, eax
add eax, 0x1ba099e3
sub eax, 0x1ba099de
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x402a36
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423f50]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402aca
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a87
cmp dword [ebp + 0x10], ebx
jne 0x402abe
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402a99
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a6e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405e88
cmp eax, ebx
je 0x402ad1
push ebx
push dword [0x423f50]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402aca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x423f50], ebx
jne 0x402ac7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ac7
jmp 0x402aca
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x402c00
pop dword [ebp - 0xc]
mov eax, 0x402c00
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x762ade77
sub dword [ebp - 0x1c], 0x27d8992c
mov dword [ebp - 0x18], 0xf386e81d
add dword [ebp - 0x18], 0x3eac6428
mov dword [ebp - 0x14], 0x859bd9d7
add dword [ebp - 0x14], 0xc6b06a57
mov dword [ebp - 0x10], 0x80d486a2
add dword [ebp - 0x10], 0x7f2b795e
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xd818d7f8
sub eax, 0xd7d8576c
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x3a8818a2
add dword [ebp - 0x1c], 0x39ea50b4
mov dword [ebp - 0x18], 0xf60a2cea
add dword [ebp - 0x18], 0x4b62348b
mov dword [ebp - 0x14], 0x52ad2b2c
sub dword [ebp - 0x14], 0xef3dbec0
mov dword [ebp - 0x10], 0x901f2ba4
add dword [ebp - 0x10], 0x6fe0d45c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xbde183b4
add eax, 0x425efd20
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3984e
push 0
call eax
mov ecx, 0x1728b6ef
add ecx, 0xe8d79c63
mov edx, eax
mov ebx, 0xfef2734f
sub ebx, 0xfeb1634f
add ebx, dword [ebp - 0xc]
mov edi, 0x26d8a541
sub edi, 0x96ea4e7a
mov esi, dword [ebx]
xor dword [ebp - 8], edx
xor esi, edi
add dword [ebp - 4], 0x2412db03
mov dword [edx], esi
sub dword [ebp - 4], 0x9d4eab03
add edx, 0xeb24f06d
add edx, 0x14db0f97
add ebx, 4
loop 0x402d1d
add eax, 0xbb36bef0
sub eax, 0xbb357ed5
mov ebx, eax
add eax, 0x4f4caffc
sub eax, 0x4f4caff7
mov ecx, 0x12c08baf
add ecx, 0xed7f7451
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x25817901
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x25817910
pop dword [ebp - 0xc]
mov eax, 0x3a441cc4
add eax, 0xeb3d5c4c
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x542638c6
sub dword [ebp - 0x1c], 0x5d3f37b
mov dword [ebp - 0x18], 0x3fa934f8
sub dword [ebp - 0x18], 0xd75e8b3
mov dword [ebp - 0x14], 0x598c0baf
sub dword [ebp - 0x14], 0xd3fc781
mov dword [ebp - 0x10], 0x7c3c4b9a
sub dword [ebp - 0x10], 0x7c3c4b9a
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x9ca6f023
sub eax, 0x77251fdf
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x15d3385b
sub dword [ebp - 0x1c], 0xa160cf05
mov dword [ebp - 0x18], 0x5791c2fa
sub dword [ebp - 0x18], 0x16256185
mov dword [ebp - 0x14], 0xdb98758a
add dword [ebp - 0x14], 0x87d6f6e2
mov dword [ebp - 0x10], 0x275201a8
add dword [ebp - 0x10], 0xd8adfe58
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xb1e237a0
sub eax, 0x8c606720
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3a732
push 0
call eax
mov ecx, 0x63ab3681
add ecx, 0x9c5508ac
xor ebx, ebx
add ebx, eax
mov esi, 0x25829600
add esi, dword [ebp - 0xc]
mov edi, 0xb39282f6
sub edi, 0xf6112995
sub dword [ebp - 8], ebx
mov edx, dword [esi]
xor dword [ebp - 4], edi
sub edx, edi
sub dword [ebp - 8], edx
mov dword [ebx], edx
xor dword [ebp - 8], 0x4b88d3ac
add ebx, 4
add esi, 4
loop 0x25817a2e
add eax, 0xef87
mov ebx, eax
add eax, 0x62e31055
sub eax, 0x62e31050
mov ecx, 0xa78a96d1
add ecx, 0x7df5692f
add ecx, dword [ebp - 0xc]
call ebx
leave
ret