joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446884
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4468bc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44689d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4468ac
or bl, 4
test esi, 0x20000000
je 0x4468b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44cf80
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44cf92
add esp, 0xfffffff0
call fcn.00403f3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a0c8
mov eax, dword [0x452e74]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d324
mov eax, dword [0x452e80]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d330
mov eax, ebx
call fcn.0044d33c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4123c0]
call fcn.00403bec
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4123c0]
call fcn.00403bec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4123c0]
call fcn.00403bec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4123c0]
call fcn.00403bec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4123c0]
call fcn.00403bec
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x449754
push eax
push 0
push 0
mov eax, dword [0x452fc4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41baf4]
call fcn.0041cf5c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41baf4]
call fcn.0041cf5c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41baf4]
call fcn.0041cf5c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d78c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d654
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d654
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d654
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d0cf
call fcn.00403f94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d438
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d5e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d5c4
mov dl, 1
mov eax, dword [0x4127dc]
call fcn.00403bec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404990
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d5b3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043b378
test al, al
je 0x44d5a6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44d5f4
lea eax, [ebp - 0x254]
call fcn.0040971c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d5a6
xor eax, eax
push ebp
push 0x44d59f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44d62c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d588
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c00
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44d588
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d5a6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d4a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004162b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d5ea
lea eax, [ebp - 0x260]
call fcn.00404990
ret

Function at 0x44df2c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x454bb0]
cmp byte [eax + 0xa5], 0
jne 0x44df9d
cmp dword [0x454bc8], 0
jne 0x44df5e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44dee8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x454bc8], eax
cmp dword [0x454bc4], 0
jne 0x44df79
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x454bc4], eax
cmp dword [0x454bcc], 0
jne 0x44df9d
push esp
push 0
push 0
push 0x44de8c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x454bcc], eax
pop edx
ret
Function at 0x44e630
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bb0]
cmp dword [eax + 0x30], 0
je 0x44e6da
cmp dword [ebx + 0x94], 0
jne 0x44e6d4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e5c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e6d4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44e69a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e6d4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414728
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e6a9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f238
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44f26d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a80
jmp 0x44f27a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45039c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4503dd
mov eax, esi
call fcn.00436aec
test al, al
je 0x4503dd
mov eax, dword [ebx + 0x84]
call fcn.004367e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4503dd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004367e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x451190
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4512c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x4512d8
call fcn.004049e4
lea edx, [ebp - 4]
mov eax, dword [0x45303c]
mov eax, dword [eax]
call fcn.0044fd4c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e50
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4512ab
mov eax, dword [ebp - 8]
call fcn.00402a68
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4512a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45128b
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4512e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 0
je 0x45128b
push ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 8]
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
and esi, 0xffff
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0xc]
mov eax, edi
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
and edi, 0xffff
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x34]
mov ecx, 3
mov eax, 0x4512ec
call fcn.004097b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512ab
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00402a98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512c8
lea eax, [ebp - 4]
call fcn.00404990
ret
Function at 0x4513d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4513dc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451593
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45152a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4515ac
mov eax, dword [ebp - 4]
call fcn.00451630
test al, al
je 0x45148d
mov eax, dword [ebp - 4]
call fcn.00451750
call fcn.0040a3fc
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xc]
call fcn.0040b060
push dword [ebp - 0xc]
push 0x4515d4
push 0x4515e0
push 0x451604
lea edx, [ebp - 0x10]
xor eax, eax
mov al, byte [0x452da8]
call fcn.00408a00
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 5
call fcn.00404d10
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc byte [0x452da8]
mov eax, dword [ebp - 4]
call fcn.00451920
jmp 0x451520
call fcn.0040a3fc
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18]
call fcn.0040b060
push dword [ebp - 0x18]
push 0x451618
push 0x4515e0
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [0x452da8], 0
mov eax, dword [ebp - 4]
call fcn.00451920
push 1
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402e2c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408f80
push dword [ebp - 0x20]
push 0x4515e0
push 0x451628
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404d10
mov eax, dword [ebp - 0x1c]
call fcn.00404e50
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x451578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45159a
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.004049b4
ret
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435030]
jne 0x401073
repz ret
jmp fcn.00401b61

Function at 0x40856b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040255c
and dword [ebp - 4], 0
cmp dword [0x4378b4], 0
mov ebx, eax
jne 0x40861c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4086cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4086cd
push eax
call fcn.004024ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4378b4], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4378b8], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4378bc], eax
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x4378c4], eax
test eax, eax
je 0x40861c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x4378c0], eax
mov eax, dword [0x4378c0]
cmp eax, ebx
je 0x408674
cmp dword [0x4378c4], ebx
je 0x408674
push eax
call fcn.00402565
push dword [0x4378c4]
mov esi, eax
call fcn.00402565
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408674
test edi, edi
je 0x408674
call esi
test eax, eax
je 0x40866b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40866b
test byte [ebp - 0xc], 1
jne 0x408674
or dword [ebp + 0x10], 0x200000
jmp 0x4086ad
mov eax, dword [0x4378b8]
cmp eax, ebx
je 0x4086ad
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4086ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4086ad
mov eax, dword [0x4378bc]
cmp eax, ebx
je 0x4086ad
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4086ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4378b4]
call fcn.00402565
pop ecx
test eax, eax
je 0x4086cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4086cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ae80
Capabilities:
Set console window title

Disassembly:
mov eax, dword [0x2c15264]
sub esp, 0x1c
push ebx
mov ebx, dword [0x2c14f88]
push esi
mov esi, dword [0x435f70]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40aeb0
push str.zisodeyosebofoxojeken
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c15264]
mov dword [0x437a14], esi
cmp eax, 0x114e
jne 0x40aeda
lea eax, [esp + 0xc]
push eax
push str.reneceligomezimogag
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2c15264]
cmp eax, 0x2f
jne 0x40aef7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebx
call fcn.0040ad70
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x41554d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x41555c
pop dword [ebp - 0xc]
mov eax, 0x642bac05
add eax, 0x9c15a957
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x52e58
push 0
mov eax, 0x7ceee11b
sub eax, 0x7caa2e6b
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x52cd
xor edi, edi
add edi, eax
mov esi, 0xf2c853fb
sub esi, 0xf280f5fb
add esi, dword [ebp - 0xc]
mov ebx, 0x4a9b9209
sub ebx, 0xe9621266
add dword [ebp - 8], 0x3d1dce1a
mov edx, dword [esi]
sub dword [ebp - 8], 0xe054b728
sub edx, ebx
xor dword [ebp - 4], 0xe3f58031
mov dword [edi], edx
sub dword [ebp - 8], 0xe83d9968
add edi, 4
add esi, 0x1de0820f
add esi, 0xe21f7df5
loop 0x4155b7
add eax, 0x13e07
xor ebx, ebx
add ebx, eax
add eax, 0xb3c9a5b3
sub eax, 0xb3c9a5ae
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
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 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 0x10008ec6
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10008f28
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x10008f38
push 0xd
pop eax
jmp 0x10008f6e
push ebp
push esi
push edi
xor esi, esi
mov edi, edx
mov ecx, edi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008f44
sub ecx, ebp
lea eax, [ecx + 1]
add edi, eax
add esi, eax
cmp eax, 1
jne 0x10008f3f
push esi
push edx
push 7
push 0
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1000c3fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000c40a
pop dword [ebp - 0x44]
mov eax, 0xa38adb70
sub eax, 0x938a1766
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x34218
push 0
mov eax, 0x4f3d660f
add eax, 0xc0c36af9
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xc27c30bb
sub ecx, 0xc27bf5f3
mov esi, eax
mov edi, 0xfae0b1ac
sub edi, 0xeade9dac
add edi, dword [ebp - 0x44]
mov ebx, 0x8be2573b
add ebx, 0x44b54c18
mov edx, dword [edi]
add dword [ebp - 0x34], 0x74ce15fa
xor edx, ebx
add dword [ebp - 4], 0xca73c260
mov dword [esi], edx
sub dword [ebp - 4], 0x5547fad1
add esi, 4
add edi, 0xa894c445
add edi, 0x576b3bbf
loop 0x1000c469
add eax, 0xddf3
mov ebx, eax
add eax, 5
mov ecx, 0x1fa9a369
add ecx, 0xf0565c97
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
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 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x401c66
pop dword [ebp - 8]
mov eax, 0x817b104a
sub eax, 0x813af3e4
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x26f81fa5
add dword [ebp - 0x18], 0x275a25a6
mov dword [ebp - 0x14], 0x5daf74d2
add dword [ebp - 0x14], 0xd483d773
mov dword [ebp - 0x10], 0x70ab1bd2
add dword [ebp - 0x10], 0xdba1285c
mov dword [ebp - 0xc], 0x89c230b2
sub dword [ebp - 0xc], 0x89c230b2
lea eax, [ebp - 0x18]
push eax
mov eax, 0xe16d443a
sub eax, 0xe12d13e6
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xaf4508b9
add dword [ebp - 0x18], 0xc52d609d
mov dword [ebp - 0x14], 0x6aa7e07f
add dword [ebp - 0x14], 0xd6c480f6
mov dword [ebp - 0x10], 0xa66a6b33
add dword [ebp - 0x10], 0xbd050139
mov dword [ebp - 0xc], 0x1c2e89b8
add dword [ebp - 0xc], 0xe3d17648
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xf1d79678
add eax, 0xe6899b4
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x355c6
push 0
call eax
mov ecx, 0x89221a39
add ecx, 0x76de294c
xor edi, edi
add edi, eax
mov edx, 0x407000
add edx, dword [ebp - 8]
mov esi, 0x14c5fcba
add esi, 0x95dee1fd
xor dword [ebp - 4], eax
mov ebx, dword [edx]
xor dword [ebp - 4], edx
add ebx, esi
xor dword [ebp - 4], 0xe62fddde
mov dword [edi], ebx
xor dword [ebp - 4], ecx
add edi, 0x91e54a9b
sub edi, 0x91e54a97
add edx, 0x8dff18d3
sub edx, 0x8dff18cf
loop 0x401d84
add eax, 0xf45dc297
sub eax, 0xf45cc1b0
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret