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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x79c], 0
je 0x4a9e4f
cmp dword [ebp + 8], 0x100
jne 0x4a9e3f
cmp word [ebp + 0xc], 0xd
jne 0x4a9e3f
cmp byte [esi + 0x7a2], 0
je 0x4a9e1e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a9e3f
cmp byte [esi + 0x7a3], 0
jne 0x4a9e3f
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4a9e38
push 1
push 0
push 0
push 0
push str.return
push esi
call fcn.0047aac0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x79c]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x4aec20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca02b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x7f8], 0
cmp dword [edi + 4], 0
jne 0x4aeccd
lea eax, [ebp - 0xa4]
push eax
call fcn.004ae770
mov ecx, dword [edi + 0x10]
movdqu xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movdqu xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.00476690
push eax
mov ecx, edi
call fcn.0047d310
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00484cf0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.00476110
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004732e0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00472920
test bl, bl
je 0x4aed11
mov eax, dword [edi + 0x10]
add eax, 0x7e8
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x7e8
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret 4
Function at 0x4aed60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047ea20
mov ecx, dword [esi + 0x800]
test ecx, ecx
je 0x4aedf1
lea eax, [ebp - 0x14]
push eax
call fcn.004ae770
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4aedc7
mov ecx, dword [esi + 0x800]
push 0
call fcn.00459820
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x800]
push 0
call fcn.00459820
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4aef00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.004811a0
mov ecx, dword [esi + 0x800]
test ecx, ecx
je 0x4aef99
lea eax, [ebp - 0x14]
push eax
call fcn.004ae770
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4aef6f
mov ecx, dword [esi + 0x800]
push 0
call fcn.00459820
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x800]
push 0
call fcn.00459820
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bdb6c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4b2af0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push eax
push esi
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.004766b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b2b94
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b2b89
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
test eax, eax
je 0x4b2b89
push eax
mov dword [ebp + 8], edi
call fcn.0047186c
add esp, 4
mov edi, eax
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [ebp + 8], eax
je 0x4b2b85
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
jne 0x4b2b97
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, ebx
call fcn.004b2bc0
push edi
mov esi, eax
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4ba670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x4ba697
cmp eax, edi
jge 0x4ba68f
push esi
call fcn.004b64e0
add esp, 4
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x4ba6c0
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4ba6a3
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x4ba6dc
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x4ba6cd
xor dl, dl
jmp 0x4ba6d2
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4ba6c3
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4ba711
pop edi
pop esi
mov dword [ebp + 8], str.zlib_corrupt
pop ebp
jmp fcn.004b63f0
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4ba729
pop edi
pop esi
mov dword [ebp + 8], str.read_past_buffer
pop ebp
jmp fcn.004b63f0
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4ba747
push edi
push ecx
push esi
call fcn.004bd8f0
add esp, 0xc
test eax, eax
jne 0x4ba747
pop edi
pop esi
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004be32c
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x40254f
Capabilities:
Terminate process

Disassembly:
jmp 0x43e622
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x43e633
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040390e
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4025db
Capabilities:
Query environment variable

Disassembly:
jmp 0x443da6
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x443db7
pop esi
ret
push ebx
push edi
push esi
call fcn.00443c8d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402ad6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x443ddf
push ebx
push esi
push edi
call fcn.004037d8
add esp, 0xc
push 0
call fcn.00403deb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x403846
Capabilities:
Parse pe header

Disassembly:
jmp 0x408a6d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408aac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408aac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408aac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408aac
cmp dword [ecx + 0x74], 0xe
jbe 0x408aac
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41840b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41844a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41844a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41844a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41844a
cmp dword [ecx + 0x74], 0xe
jbe 0x41844a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x441cd0
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x476100]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x441d1b
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00442287
test al, al
jne 0x441d15
sub edx, 2
cmp edx, edi
jne 0x441cfb
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x441d3d
lea eax, [edi + 2]
cmp edx, eax
je 0x441d3d
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004418c9
add esp, 0x10
jmp 0x441e37
push esi
lea ecx, [ebp - 0x255]
call fcn.00442287
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x441d80
push dword [ebp - 0x25c]
jmp 0x441d2d
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x441dbd
cmp word [ebp - 0x226], 0
je 0x441dde
cmp word [ebp - 0x226], ax
jne 0x441dbd
cmp word [ebp - 0x224], 0
je 0x441dde
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004418c9
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x441e2a
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x441d97
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x441e12
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x441e37
push 0x4411af
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004036de
add esp, 0x10
jmp 0x441e07
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040223e
leave
ret

Function at 0x44978b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00402cc5
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4497fa
cmp esi, dword [ebp - 4]
je 0x4497f5
cmp dword [ebp + 0xc], 0
je 0x4497f5
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4497d2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004491b3
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4497fc
xor eax, eax
inc eax
jmp 0x4497fc
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4594b9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4780c0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4594f9
cmp byte [ebx], 0xa
jne 0x4594f9
or byte [edi + eax + 0x28], 4
jmp 0x4594fe
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4595fd
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4595e0
inc eax
cmp dl, 0xd
je 0x45952a
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x459550
cmp eax, ecx
jae 0x45955e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x459512
jmp 0x4595fd
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4595db
cmp dword [ebp - 0x10], 0
je 0x4595db
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4780c0]
test byte [eax + edi + 0x28], 0x48
je 0x4595b5
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4595a0
mov byte [esi], dl
jmp 0x4595b1
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4780c0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4595fd
cmp byte [ebp - 1], 0xa
jne 0x4595c4
cmp esi, ebx
jne 0x4595c4
mov byte [esi], 0xa
jmp 0x4595fc
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040150f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4595fd
mov byte [esi], 0xd
jmp 0x4595fc
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4780c0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4595fa
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4595fd
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x459659
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4780c0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45969f
cmp word [ebx], dx
jne 0x45969f
or byte [eax + edi + 0x28], 4
jmp 0x4596a4
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x459807
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4597e7
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4596e5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x45971b
cmp eax, edx
jae 0x459729
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4596c0
jmp 0x459807
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4597e2
cmp dword [ebp - 0x18], 0
je 0x4597e2
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4780c0]
test byte [eax + edi + 0x28], 0x48
je 0x4597b8
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x45977c
mov word [esi], cx
jmp 0x4597b3
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4780c0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4780c0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4780c0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x459807
pop eax
cmp word [ebp - 4], ax
jne 0x4597c8
cmp esi, ebx
jne 0x4597c8
mov word [esi], ax
jmp 0x459804
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040150f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x459807
push 0xd
pop eax
jmp 0x4597c3
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4780c0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x459801
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x459807
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x4305c8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4305cc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
call fcn.00401000
mov eax, dword [0x4305d0]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4305d4]
add ebx, 0x23f
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
shl eax, 4
cmp dword [0x43f914], 0xc
mov dword [ebp - 4], eax
jne 0x401080
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov eax, dword [0x43f914]
cmp eax, 0xfa9
jne 0x40109c
mov dword [0x43f910], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010be
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x43f864], 0
mov ecx, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov edx, edi
lea eax, [ebx + edi]
shr edx, cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [0x43f90c], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, esi
shr edx, cl
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub edi, dword [ebp - 4]
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x401054
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x407f1f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fd70]
jne 0x407f29
repz ret
jmp fcn.0040c222

Function at 0x40a6b8
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.00404c27
and dword [ebp - 4], 0
cmp dword [0x4348f8], 0
mov ebx, eax
jne 0x40a769
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a81a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a81a
push eax
call fcn.00404bb5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4348f8], eax
call esi
push eax
call fcn.00404bb5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4348fc], eax
call esi
push eax
call fcn.00404bb5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x434900], eax
call esi
push eax
call fcn.00404bb5
pop ecx
mov dword [0x434908], eax
test eax, eax
je 0x40a769
push 0x42bf28
push edi
call esi
push eax
call fcn.00404bb5
pop ecx
mov dword [0x434904], eax
mov eax, dword [0x434904]
cmp eax, ebx
je 0x40a7c1
cmp dword [0x434908], ebx
je 0x40a7c1
push eax
call fcn.00404c30
push dword [0x434908]
mov esi, eax
call fcn.00404c30
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a7c1
test edi, edi
je 0x40a7c1
call esi
test eax, eax
je 0x40a7b8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a7b8
test byte [ebp - 0xc], 1
jne 0x40a7c1
or dword [ebp + 0x10], 0x200000
jmp 0x40a7fa
mov eax, dword [0x4348fc]
cmp eax, ebx
je 0x40a7fa
push eax
call fcn.00404c30
pop ecx
test eax, eax
je 0x40a7fa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a7fa
mov eax, dword [0x434900]
cmp eax, ebx
je 0x40a7fa
push eax
call fcn.00404c30
pop ecx
test eax, eax
je 0x40a7fa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4348f8]
call fcn.00404c30
pop ecx
test eax, eax
je 0x40a81a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a81c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e26e
Capabilities:
Encode data using xor

Disassembly:
shr byte [ebx - 0x56f2dd50], 1
das
inc esp
lcall 0x3578, 0x43cb3b24
xchg ch, cl
sub byte [ecx], ch
cmp edi, dword [ecx + 0x1e]
or eax, 0xc6caea63
enter 0x3e94, 0xffffffffffffffe7
or al, 0xdf
aam 0x54
lea eax, [ecx - 0x41]
inc esp
neg dword [eax + eax*8 - 0x405a68ac]
xchg dword [edx], ebx
push cs
sub ah, byte [edx]
stosd dword es:[edi], eax
and eax, 0xbdfea0ca
invalid
and eax, 0xb681245c
and al, 0x79
xor eax, 0x86c81834
mov eax, dword [ecx - 0x28]
dec ebx
sub al, 0x59
je 0x40e22c
sub byte [esi + esi*8 - 0x24bb5620], ch
push es
and eax, 0xa4d2539c
ror byte [esp + eax*8], 1
sub dh, bl
mov ebp, 0x6e5394fe
lea ebx, [ebx + 0x2b]
call 0x14b02f9
int3

Function at 0x426dd7
Capabilities:
Encode data using base64

Disassembly:
fild dword [eax + edi*8]
add al, 0xf8
mov esp, 0x3a910b86
push edx
xchg ebx, eax
mov al, byte [0xb0ca6bd7]
or byte [edi], ch
stosd dword es:[edi], eax
mov ch, 0x3f
rcr ebx, 1
and byte [ebp - 0x4be740aa], al
or al, 0xda
mov edi, 0xda0cb418
ja 0x426dd8
insb byte es:[di], dx
cwde
and dword [ecx], ebp
lodsd eax, dword [esi]
xchg ecx, eax
xor byte [esi - 0x78e8ac8b], ch
shl byte [edx + 0x31552a1e], 1
jp 0x426e49
mov al, 0x91
aam 0x26
hlt
js 0x426df0
wait
mov dh, byte [ecx + 0x66]
mov ebx, 0x93ec7ed
jnp 0x426e71
xor bh, 0xc2
stosd dword es:[edi], eax
invalid
arpl word [eax - 2], bp
mov bl, 0xb5
in al, dx
outsb dx, byte [esi]
pop ecx
dec edi
adc bh, byte [esi + 0x7e67d525]
jae 0x426e28
mov bl, 0x7d
jecxz 0x426e8e
sal byte [ecx + 0x6f], 0xfc
mov cl, 0x3d
jmp 0x4e24e67
fsub qword [ebp + 0x3e433891]
je 0x426ee7
nop
shr ebp, 0x3c
push eax
std
imul esi, dword [ecx - 0x6438a574], 0xffffffbb
fnstsw word [edi]
test dword [esi - 0x50529ecb], esi
pop edx
invalid
outsb dx, byte [esi]
mov esp, 0xe80768b7
add eax, 0xbde08378
test eax, 0xcbb64edc
adc byte [edx - 0x62], al
daa
mov ebx, 0xdd39818f
jb 0x426ea3
pop dword [ecx - 0x58d22c7]
or al, 0xfb
dec ebp
in al, dx
push ebx
ffree st(0)
mov ebx, 0xc1b98d3b
push edi
std
and edx, esi
mov ebp, 0xb4ade2ba
sbb ebx, dword fs:[ecx]
xor dword [ecx - 0x6d], 0x13
jg 0x426e82
hlt
into
sub ecx, ebp
ljmp 0xd738

Function at 0x438b68
Capabilities:
Encode data using xor

Disassembly:
das
xor byte fs:[ebx + 0x11737cf0], dh
dec ebx
rcr byte [0x8f6962fd], 1
mov eax, 0x5dbfffab
or dh, byte [0xec7b899e]
mov dword [ebx - 0x14], edi
or eax, 0xfa777e0d
xor al, 0xa7
sub ebp, dword [ebx]
push ds
pop edi
lds ecx, [ecx - 0x3a2a9635]
insb byte es:[edi], dx
push 0x63
mov dl, 0x8d
stosd dword es:[edi], eax
std
cmc
pop esi
lds esi, [ecx - 0x1a]
cmp dl, byte [ebp + 0x7d6aa423]
inc edx
lcall 0x364e, 0x344ec5d6
dec esi
loop 0x438b7f
in eax, dx
dec esi
adc al, 0xaa
hlt