joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439e20
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x486a56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00449550
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.00449550
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x439f59
mov edx, dword [0x4a0504]
mov cx, word [0x4a0508]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.00442000
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.00449be0
mov edx, dword [0x48e3ac]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.00442b50
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.00449be0
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.00442870
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00442870
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x439e7b
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret

Function at 0x440d60
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, eax
push esi
mov esi, dword [esp + 0x10]
and ebp, 0xf
shr eax, 4
inc eax
push edi
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x440db9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x440db9
xor edi, edi
xor ebx, ebx
mov bx, word [esi]
add esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp ebp, edi
je 0x440dc0
inc edi
lea esi, [esi + ebx*2]
cmp edi, 0x10
jl 0x440d9d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, ecx
xor eax, eax
mov edi, ebp
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec eax
push eax
push ebp
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x440dbb
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
pop edi
dec ecx
pop esi
pop ebp
mov eax, ecx
pop ebx
ret
Function at 0x446890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x4468e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4468e0
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x4468e5
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x4468cb
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x4468f2
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret

Function at 0x455660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x4556ae
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4556ae
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x4556b3
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x455699
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x4556c3
test esi, esi
jne 0x4556e1
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x4556df
mov byte [eax + esi - 1], 0
jne 0x4556e8
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x45ae40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x45ae90
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45ae90
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x45ae95
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x45ae7b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x45aea2
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x46c817
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x46c847
push edi
call ebx
push eax
call fcn.0047253f
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x46c871
test byte [ebp - 4], 1
je 0x46c871
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x46c871
push edi
call ebx
push eax
call fcn.0047253f
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x46c917
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0046c764
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x46c8a3
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0046c764
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x46c8b9
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0046c764
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46c8e3
push 0
call ebx
push eax
call fcn.0047253f
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x46c901
push eax
call ebx
push eax
call fcn.0047253f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x46c915
push eax
call ebx
push eax
call fcn.0047253f
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x46c93e
test byte [ebp - 4], 1
jne 0x46c93e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x46c93e
push edi
call ebx
push eax
call fcn.0047253f
pop edi
pop ebx
leave
ret 8

Function at 0x46f3e0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46f418
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046c29b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046c273
jmp 0x46f424
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4711e2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x471224
call fcn.0047c6b9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x471224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47121b
xor eax, eax
jmp 0x47122c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00471232
pop edi
pop esi
pop ebx
ret 4
Function at 0x100039da
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
je 0x10003a7c
mov dword [ebp - 8], 0x4df5
cmp dword [ebp - 8], 0x50dc
jle 0x10003a5f
push 0x171b
push 0
push 0x6ac
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
xor esi, esi
xor edi, edi
xor ebx, ebx
lea eax, [ebx + edi]
or eax, esi
lea ecx, [ebp - 0x20]
cdq
push edx
push eax
call fcn.10001301
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10003a31
mov eax, dword [eax]
push eax
call fcn.1004c2d0
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.1000168f
inc ebx
cmp ebx, 0x6a4d
jl 0x10003a17
inc edi
cmp edi, 0x3bf0
jl 0x10003a15
inc esi
cmp esi, 0x11ac
jl 0x10003a13
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 8], 0x4cbe
jge 0x10003a8c
push str.bcybjsu_zhrwe_xzifna_thezupu_xmtdatb
call fcn.1004c2d0
jmp 0x10003a8b
push ecx
push ecx
lea edx, [ebp - 1]
mov byte [ebp - 1], 0
call fcn.10003f68
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004940
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10065213
call fcn.10064c08
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x100049a9
cmp byte [ebp + 8], 0
je 0x1000497d
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10004a78
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x10004a78
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x10004a78
mov esi, dword [ebp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 1
inc dword [edx]
cmp dword [edx], 2
jl 0x10004992
jmp 0x10004a78
cmp byte [ebp + 0x14], 0
je 0x10004a6c
mov dword [ebp - 0x1c], 0x42fb
cmp dword [ebp - 0x1c], 0x444f
jle 0x10004a11
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], esi
mov ebx, esi
mov dword [ebp - 0x14], 0x4535
xor esi, esi
mov ecx, esi
mov eax, ebx
sar eax, cl
mov ecx, 0x10081dd8
xor eax, edi
cdq
push edx
push eax
call fcn.1000c947
inc esi
cmp esi, 0x481e
jl 0x100049d5
dec ebx
dec dword [ebp - 0x14]
jne 0x100049d3
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x4141
jl 0x100049ca
inc edi
cmp edi, 0x62a
jl 0x100049c5
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x41a8
jge 0x10004a2d
mov edx, str.ikrzcv_hambnifj_yosrwxh_yjwgzpln_wtko_liydljoh_agd_ifcapxsr
mov ecx, 0x10081dd8
call fcn.1000fdbf
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
cmp dword [edx], 1
jge 0x10004a78
mov esi, dword [ebp + 0x18]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xf989b1ab
inc dword [edx]
cmp dword [edx], 1
jl 0x10004a3e
jmp 0x10004a78
cmp byte [ecx], 0
je 0x10004a78
xor ecx, ecx
call fcn.10001339
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10004f8a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov dword [ebp - 0xc], 0x3a21
cmp dword [ebp - 0xc], 0x3d96
push esi
push edi
jle 0x10005010
xor esi, esi
mov dword [ebp - 8], esi
xor edi, edi
lea eax, [edi + esi]
mov dword [ebp - 4], 0x16b9
mov dword [ebp - 0x10], eax
mov esi, eax
xor ebx, ebx
mov ecx, ebx
mov eax, esi
shl eax, cl
lea ecx, [ebp - 0x28]
cdq
push edx
push eax
call fcn.10001301
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10004fd6
mov eax, dword [eax]
push eax
call fcn.1004c2d0
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.1000168f
inc ebx
cmp ebx, 0x44f3
jl 0x10004fbb
dec esi
dec dword [ebp - 4]
jne 0x10004fb9
mov esi, dword [ebp - 8]
inc edi
cmp edi, 0x5af0
jl 0x10004faa
inc esi
mov dword [ebp - 8], esi
cmp esi, 0x7e77
jl 0x10004fa8
cmp byte [ebp + 0xc], 0
je 0x10005038
push 0
push 0x238e
push 0x18f1
push 0
push 0x255a
push 0x605
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x1000504b
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1000504b
push 0x334
call dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [ebp - 0xc], 0x387c
jge 0x1000505f
push str.kjxvdjny_lno_krhspehn_owxqykjsf_kvtujphc_odef_ltti
call fcn.1004c2d0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005154
Capabilities:
Resume thread

Disassembly:
mov eax, 0x10065242
call fcn.10064c08
sub esp, 0xc
mov byte [ebp - 0x14], cl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x10005190
push 0
push 0x246e
push 0
push 0x185c
push 0x34c
push 0
push 0x65d
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
jmp 0x100051f6
mov dword [ebp - 0x18], 0x45d4
cmp dword [ebp - 0x18], 0x4753
jle 0x100051ca
xor esi, esi
xor edi, edi
mov eax, esi
mov ecx, 0x10081dd8
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.1000c947
inc edi
cmp edi, 0x19fb
jl 0x100051a4
inc esi
cmp esi, 0x2c91
jl 0x100051a2
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x4362
jge 0x100051e6
mov edx, str.woxtth_bmcwxw_zyq_imbjnw_yaktxsu_wnxnem_xhyqtn_cabplnf_hccwylrs_progwqd_caocsuet_pvbi_mowspfvk
mov ecx, 0x10081dd8
call fcn.1000fdbf
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x100051f6
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10005221
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006524c
call fcn.10064c08
sub esp, 0x18
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x10005265
cmp byte [ecx], 0
je 0x10005254
push 0x4a7
push 0x72a
push 0x391
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], 0x44d
cmp dword [ebp - 0x1c], 0x491
jle 0x100052d1
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
xor ebx, ebx
and dword [ebp - 0x20], 0
mov eax, edi
cdq
idiv ebx
lea edi, [edx + esi]
mov esi, dword [ebp - 0x20]
mov eax, edi
mov ecx, 0x10081dd8
xor eax, esi
cdq
push edx
push eax
call fcn.1000c947
inc esi
cmp esi, 0x628f
jl 0x10005290
mov esi, dword [ebp - 0x18]
inc ebx
mov edi, dword [ebp - 0x14]
cmp ebx, 0x48c0
jl 0x10005281
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x6f14
jl 0x1000527f
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x39bc
jl 0x1000527a
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xe2c0d37a
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x41b
jge 0x10005254
mov edx, str.yyku_tfz_hmejvlwgu_sazawgny_uqerfm_hyfa_iyvhpae_kmbzprzbq_lwhsqhu_sscqa_uapy_vgyeoegdw_upz_ofmbevh
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x10005254
Function at 0x100053db
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10065256
call fcn.10064c08
sub esp, 0x14
mov byte [ebp - 0x14], dl
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x100054d2
mov dword [ebp - 0x18], 0x59fc
xor esi, esi
cmp dword [ebp - 0x18], 0x5bfd
jle 0x1000546b
push 0x102b
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov eax, ebx
sar eax, cl
mov ecx, 0x10081dd8
and eax, edi
cdq
push edx
push eax
call fcn.1000c947
inc esi
cmp esi, 0x2fe3
jl 0x1000542a
inc ebx
push 0
pop esi
cmp ebx, 0x1ca
jl 0x10005427
inc edi
cmp edi, 0x19aa
jl 0x10005425
push 1
push 0x16a6
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0x593e
jge 0x100054a4
mov edx, str.tjfvf_dock_htctppxgs_etzdcugau_mvwbeoeg_ifmfqgji
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x100054a4
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x100054ef
push 0x49b3
push 0x52ac
push 1
push 0x7d82
push esi
push 0xba6
push 0x3d
xor dl, dl
pop ecx
call fcn.10004ef3
add esp, 0x18
jmp 0x100054ef
mov edx, dword [ebp + 8]
mov dword [edx], 0
jmp 0x100054ea
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xb3198a8f
inc dword [edx]
cmp dword [edx], 4
jl 0x100054dd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000596d
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
mov eax, 0x1006526a
call fcn.10064c08
sub esp, 0x10
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x14], cl
je 0x100059c9
cmp byte [ebp + 8], 0
je 0x100059bd
cmp byte [edx], 0
je 0x100059ac
push 1
push 0
push 1
mov edx, 0x5fb2
mov ecx, 0x4030
call fcn.100040f5
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
jmp 0x100059ac
test cl, cl
je 0x100059d9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x100059ac
mov dword [ebp - 0x1c], 0x2e27
cmp dword [ebp - 0x1c], 0x31b0
jle 0x10005a4d
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp + 0xc], edi
mov eax, esi
xor ebx, ebx
cdq
idiv edi
mov edi, edx
xor esi, esi
mov ecx, esi
mov eax, ebx
shl eax, cl
mov ecx, 0x10081dd8
xor eax, edi
cdq
push edx
push eax
call fcn.1000c947
inc esi
cmp esi, 0x6041
jl 0x100059fe
inc ebx
cmp ebx, 0x30c4
jl 0x100059fc
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp + 0xc], edi
cmp edi, 0x5fa7
jl 0x100059f3
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x326d
jl 0x100059ee
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push 0x334
call dword [sym.imp.USER32.dll_GetKeyState]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x2d3b
jge 0x100059ac
mov edx, str.lhs_feiu_lmhzro_rgo_xwmmndol_eqw_mdcs_ndjjlrqbg_btdcyfiey_lumz
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x100059ac
Function at 0x10005a97
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov byte [ebp - 8], dl
mov byte [ebp - 0xc], cl
je 0x10005b19
test dl, dl
je 0x10005afd
push 0x204b
push 0x31e0
push 0x371
push 0x6c1e
xor ebx, ebx
lea eax, [ebp + 0xf]
push ebx
push 0x2eeb
push 1
push eax
push 0x3d0e
push 1
push 0xd8c
push 0x1535
mov edx, 0x6b90
mov byte [ebp + 0xf], bl
mov ecx, 0x6f09
call fcn.10003aec
add esp, 0x30
jmp 0x10005be4
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x10005be4
push 0xa0a
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
jmp 0x10005be4
test cl, cl
je 0x10005b43
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x10005be4
push 0x4a7
push 0x72a
push 0x391
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x10005be4
mov dword [ebp - 0x14], 0x6912
cmp dword [ebp - 0x14], 0x6b96
push 0
pop ebx
jle 0x10005bc7
push 0x958
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, ebx
mov dword [ebp - 0x10], ebx
mov edi, ebx
mov dword [ebp + 0xc], ebx
mov eax, esi
mov esi, ebx
cdq
idiv edi
mov edi, edx
mov eax, edi
lea ecx, [ebp - 0x30]
and eax, esi
cdq
push edx
push eax
call fcn.10001301
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10005b8e
mov eax, dword [eax]
push eax
call fcn.1004c2d0
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.1000168f
inc esi
cmp esi, 0xde8
jl 0x10005b75
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x10]
inc edi
mov dword [ebp + 0xc], edi
cmp edi, 0x2c09
jl 0x10005b6c
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x2061
jl 0x10005b67
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp dword [ebp - 0x14], 0x653e
jge 0x10005be4
push str.euhmcdqrc_mboxzd_mdkp_qbbmzg_lcufhx_cxjpuqgdd_tkf_lyard_vcwx_dxqgimtq_fyovx_pgis_snv
call fcn.1004c2d0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100063fe
Capabilities:
Resume thread

Disassembly:
mov eax, 0x10065290
call fcn.10064c08
sub esp, 0x30
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edx
je 0x1000655d
mov dword [ebp - 0x20], 0x3ea6
cmp dword [ebp - 0x20], 0x4059
jle 0x10006491
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov ecx, edi
xor ebx, ebx
shl esi, cl
mov dword [ebp - 0x14], esi
mov ecx, ebx
mov dword [ebp - 0x24], esi
xor edi, edi
shl esi, cl
mov eax, esi
mov ecx, 0x10081dd8
or eax, edi
cdq
push edx
push eax
call fcn.1000c947
inc edi
cmp edi, 0x4654
jl 0x1000644d
mov esi, dword [ebp - 0x14]
inc ebx
cmp ebx, 0x11f4
jl 0x10006444
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x3750
jl 0x10006438
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x7db4
jl 0x10006433
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x3e66
jge 0x100064ad
mov edx, str.oyc_aulg_lqgmfr_gpcotovih_stmbandi_dqyhx_tfbd_aizh
mov ecx, 0x10081dd8
call fcn.1000fdbf
mov edi, dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
cmp dword [edi], 0
je 0x100064ee
push 1
push 0x4e88
push 0x658d
mov edx, edi
call fcn.10003d15
add esp, 0xc
jmp 0x1000656a
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push edi
push eax
push 0
push 0x390
push esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], 0
push eax
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0xffffffff
push eax
xor ebx, ebx
mov dword [ebp - 0x38], 0xdb6b7be2
lea eax, [ebp - 0x38]
inc ebx
mov dword [ebp - 0x28], ebx
mov ecx, 0x420e
push eax
call fcn.10004b08
add esp, 0x28
mov dword [esi], 0
jmp 0x10006556
push ebx
push ecx
push ecx
push 0x23cf
push edi
mov edx, 0x2894
call fcn.100056a2
add esp, 0x14
inc dword [esi]
cmp dword [esi], 0x28
jge 0x1000653e
jmp 0x1000656a
cmp byte [ecx], 0
je 0x1000656a
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006cbe
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 0x14], 0
je 0x10006d03
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10006d0b
push 0
push 0x34ce
push 0x7716
push 0x254e
push 0x4b00
push 0x1b86
push 1
push 1
mov edx, 0x74b4
mov ecx, 0x1c3f
call fcn.10005547
add esp, 0x20
jmp 0x10006d0b
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop ecx
pop ebp
ret