joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7780
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push reloc.WS2_32.dll_bind
mov ebx, ecx
call fcn.004e7570
push reloc.lame.DLL_Ordinal_1
mov ecx, ebx
call fcn.004e7570
lea eax, [ebp - 0xc0c]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionGroup_Policy_Objects
push reloc.lame.DLL_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e793a
push esi
mov dword [ebp - 0xc08], eax
push edi
lea ebx, [ebx]
push 0x400
lea ecx, [ebp - 0x404]
push 0
push ecx
call fcn.00534b40
mov eax, dword [ebp - 0xc08]
mov ecx, dword [ebp - 0xc0c]
add esp, 0xc
push 0x400
lea edx, [ebp - 0x404]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
mov dword [ebp - 0xc14], esi
test esi, esi
jne 0x4e7919
lea edx, [ebp - 0x404]
push str.Machine
push edx
call fcn.005383e0
add esp, 8
test eax, eax
je 0x4e7919
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0xc04]
push str.SoftwareMicrosoftWindowsCurrentVersionGroup_Policy_Objects_sSoftwarePoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths
push ecx
call fcn.00535bfb
add esp, 0xc
lea edx, [ebp - 0xc10]
push edx
push 0xf003f
push esi
lea eax, [ebp - 0xc04]
push eax
push reloc.lame.DLL_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e7919
xor edi, edi
jmp 0x4e7890
mov edx, dword [ebp - 0xc10]
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x4e78fd
push 0x3ff
push eax
mov byte [ebp - 0x804], al
lea eax, [ebp - 0x803]
push eax
call fcn.00534b40
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0xc04]
push edx
lea eax, [ebp - 0x804]
push 0x57a838
push eax
call fcn.00535bfb
add esp, 0x1c
lea ecx, [ebp - 0x804]
push ecx
push reloc.WS2_32.dll_bind
mov ecx, ebx
call fcn.004e7440
inc edi
cmp esi, 0x103
jne 0x4e7890
mov edx, dword [ebp - 0xc10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xc14]
inc dword [ebp - 0xc08]
cmp esi, 0x103
jne 0x4e77e0
mov eax, dword [ebp - 0xc0c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x4e9460
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5707a1
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x676300]
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
push 0x3ff
lea eax, [ebp - 0x40f]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x410], 0
call fcn.00534b40
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x410]
push str.Initialize__d
push ecx
call fcn.00535bfb
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x10]
add esp, 0x18
lea edx, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x424], str.CRCor
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x41c], eax
call fcn.004ebfc1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0
test edi, edi
jne 0x4e95c1
mov ecx, 0xa
mov edi, 0x67eb70
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov eax, dword [0x67eb80]
mov ecx, 0xa
mov edi, 0x67eb48
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [0x67eba0], eax
call fcn.004e68b0
mov ecx, ebx
call fcn.004e8fe0
cmp dword [ebx + 0x15c], 0x10
lea eax, [ebx + 0x148]
jb 0x4e954f
mov eax, dword [eax]
push eax
call fcn.004e9ba0
add esp, 4
lea ecx, [ebx + 0x50]
call fcn.004e9a70
test eax, eax
jne 0x4e9611
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x418]
cmp dword [ebp - 0x414], 0
je 0x4e95a7
mov ecx, dword [ebp - 0x420]
mov edx, dword [ebp - 0x424]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
or eax, 0xffffffff
jmp 0x4e9664
cmp edi, 5
jne 0x4e95cf
mov ecx, ebx
call fcn.004e4c40
jmp 0x4e9611
cmp edi, 1
jne 0x4e95dd
mov ecx, ebx
call fcn.004e6420
jmp 0x4e9611
cmp edi, 2
je 0x4e9611
cmp edi, 3
jne 0x4e9611
mov ecx, ebx
call fcn.004e6990
mov ecx, ebx
call fcn.004e6ee0
add ebx, 0x164
cmp dword [ebx + 0x14], 0x10
jb 0x4e9603
mov ebx, dword [ebx]
push 0x65cca4
push ebx
call fcn.00536808
add esp, 8
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x418]
cmp dword [ebp - 0x414], 0
je 0x4e9650
mov ecx, dword [ebp - 0x420]
mov edx, dword [ebp - 0x424]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
xor eax, eax
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.00534bba
mov esp, ebp
pop ebp
ret 8
Function at 0x4e9a70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570808
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x676300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x67eb80]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], str.CUpServ
mov dword [ebp - 0x1c], str.Initi
mov dword [ebp - 0x18], eax
call fcn.004ebfc1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x14], eax
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 0x88], eax
call ebx
mov dword [esi + 0x8c], eax
mov dword [ebp - 4], 0
call edi
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0
je 0x4e9b16
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push str._s_running_time
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e9fc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc04
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.004e8a80
add eax, 0x148
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x4e9fea
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x404]
push str._supclient.exe
push eax
call fcn.00535bfb
add esp, 0xc
call fcn.004e8a80
add eax, 0x148
cmp dword [eax + 0x14], esi
jb 0x4ea010
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.004f1bb8
add esp, 8
test eax, eax
jne 0x4ea045
lea edx, [ebp - 0x404]
push edx
call fcn.004ee73a
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
or eax, 0xffffffff
pop esi
call fcn.00534bba
mov esp, ebp
pop ebp
ret
call fcn.004e8a80
add eax, 0x148
cmp dword [eax + 0x14], esi
jb 0x4ea056
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x804]
push str._supdates
push eax
call fcn.00535bfb
lea ecx, [ebp - 0x804]
push 1
push ecx
call fcn.004ee6df
lea edx, [ebp - 0x804]
push edx
call fcn.004ee6c0
add esp, 0x18
call fcn.004e8a80
add eax, 0x148
cmp dword [eax + 0x14], esi
jb 0x4ea096
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x404]
push str._sclient
push eax
call fcn.00535bfb
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x404]
push edx
call fcn.004ef683
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.004ee6df
add esp, 0x1c
call fcn.004e8a80
add eax, 0x148
cmp dword [eax + 0x14], esi
jb 0x4ea0dd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x404]
push str._supclient.exe
push ecx
call fcn.00535bfb
add esp, 0xc
call fcn.004e8a80
add eax, 0x148
cmp dword [eax + 0x14], esi
jb 0x4ea103
mov eax, dword [eax]
push eax
lea edx, [ebp - 0xc04]
push str._supclient.bmp
push edx
call fcn.00535bfb
push 1
lea eax, [ebp - 0xc04]
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.004ee7be
add esp, 0x18
call fcn.004e8a80
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4ea970
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570930
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], 0x69cb3453
mov dword [ebp - 0x1c], 0x470ae77f
mov dword [ebp - 0x18], 0x9451b0b1
mov dword [ebp - 0x14], 0x2e97fb94
call fcn.004e8a80
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx]
call eax
test al, al
je 0x4eaa50
mov eax, dword [0x67eb80]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], str.CUpServ
mov dword [ebp - 0x30], str.Initi2
mov dword [ebp - 0x2c], eax
call fcn.004ebfc1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x28], eax
mov edx, dword [0x67eb84]
lea ecx, [ebp - 0x20]
push ecx
push edx
lea ecx, [esi + 0x68]
mov dword [ebp - 4], 0
call fcn.004ec441
mov dword [ebp - 4], 1
call edi
sub eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], 0
je 0x4eaa3f
mov ecx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
push eax
push str._s_running_time
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
jmp 0x4eaa97
mov ecx, dword [0x67eb84]
mov edx, dword [0x67eb80]
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push ecx
push edx
lea ecx, [esi + 4]
call fcn.004ec47e
mov eax, dword [esi + 0x88]
cmp eax, 0xffffffff
je 0x4eaa97
test eax, eax
je 0x4eaa97
mov eax, dword [esi + 0x8c]
cmp eax, 0xffffffff
je 0x4eaa97
test eax, eax
je 0x4eaa97
lea ecx, [esi + 0x80]
call fcn.004ea910
push 0x4ea610
push esi
push 0
call fcn.004f045d
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x4eaad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x41b]
push 0
push eax
mov byte [ebp - 0x41c], 0
call fcn.00534b40
lea ecx, [ebp - 0x41c]
push ecx
call fcn.004f17c7
lea eax, [ebp - 0x41c]
add esp, 0x10
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4eab13
mov edx, dword [str._rzx]
mov cl, byte [0x588534]
mov dword [eax], edx
mov byte [eax + 4], cl
lea eax, [ebp - 0x41c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4eab33
mov edx, dword [str.done.log]
mov ecx, dword [0x588528]
mov dword [eax], edx
mov dx, word [0x58852c]
mov dword [eax + 4], ecx
push 0x180
mov word [eax + 8], dx
lea eax, [ebp - 0x59f]
push 0
push eax
call fcn.00534b40
add esp, 0xc
cmp byte [ebp + 8], 2
jne 0x4eab95
push 0xff
lea ecx, [ebp - 0x59f]
push 0x5884fc
push ecx
mov byte [ebp - 0x5a0], 1
call fcn.00537970
add esp, 0xc
jmp 0x4eab9c
mov byte [ebp - 0x5a0], 0
mov eax, dword [0x5884e8]
mov edx, dword [str.sd34nu89____NKSQ__2]
mov ecx, dword [0x5884ec]
mov dword [ebp - 0x18], eax
mov eax, dword [0x5884f4]
mov dword [ebp - 0x1c], edx
mov edx, dword [0x5884f0]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x5884f8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eabd6
sub eax, edx
push esi
lea edx, [ebp - 0x6a4]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004341c0
lea ecx, [ebp - 0x6a4]
push ecx
lea edx, [ebp - 0x5a0]
push 0x181
push edx
call fcn.00434240
lea eax, [ebp - 0x41c]
push eax
call fcn.004ee73a
lea ecx, [ebp - 0x41c]
push 0x5884e0
push ecx
call fcn.00536808
mov esi, eax
add esp, 0x24
test esi, esi
je 0x4eac4c
push esi
push 1
lea edx, [ebp - 0x5a0]
push 0x181
push edx
call fcn.00535138
push esi
call fcn.00536f74
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4
Function at 0x4eba70
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x675004], 0
jl 0x4eba85
mov al, 1
mov esp, ebp
pop ebp
ret
push 6
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [0x675004], eax
cmp eax, 0x80010106
je 0x4ebabd
test eax, eax
jns 0x4ebab3
xor al, al
mov esp, ebp
pop ebp
ret
mov dword [0x675004], 0
push esi
lea eax, [ebp - 8]
push eax
push 0x588690
push 1
push 0
push 0x588680
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4ebb03
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
js 0x4ebb03
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0x67ec78
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4ebb12
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
test eax, eax
je 0x4ebb21
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
test esi, esi
setns al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ecdbc
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004ec8b3
and dword [ebp - 4], 0
mov edi, eax
shl edi, 2
add esp, 0xc
mov dword [ebp - 8], eax
test edi, edi
jle 0x4ece2e
lea edx, [ebx + edi*4 + 8]
lea ecx, [ebx + 8]
mov eax, dword [edx - 8]
mov esi, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], esi
mov esi, dword [ecx - 4]
mov dword [ecx - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], esi
mov esi, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], esi
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], edi
jl 0x4ecded
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x4ecfa4
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
lea edx, [ebx + 2]
mov ecx, 0xff
mov esi, dword [edx + 0xe]
movzx edi, byte [edx + 0xf]
mov edi, dword [edi*4 + str.ccccwwww]
and edi, ecx
mov edi, dword [edi*4 + 0x58a418]
add edx, 0x10
mov ebx, esi
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, ecx
xor edi, dword [ebx*4 + 0x589c18]
and esi, ecx
mov esi, dword [esi*4 + str.ccccwwww]
and esi, ecx
xor edi, dword [esi*4 + 0x58a818]
movzx esi, byte [edx]
mov esi, dword [esi*4 + str.ccccwwww]
movzx ebx, byte [edx + 4]
and esi, ecx
xor edi, dword [esi*4 + 0x58a018]
mov esi, dword [edx + 2]
mov dword [edx - 2], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
movzx edi, byte [edx + 3]
mov edi, dword [edi*4 + str.ccccwwww]
and edi, ecx
mov edi, dword [edi*4 + 0x58a418]
and ebx, ecx
xor edi, dword [ebx*4 + 0x58a018]
mov ebx, esi
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, ecx
xor edi, dword [ebx*4 + 0x589c18]
movzx ebx, byte [edx + 8]
and esi, ecx
mov esi, dword [esi*4 + str.ccccwwww]
and esi, ecx
xor edi, dword [esi*4 + 0x58a818]
mov esi, dword [edx + 6]
mov dword [edx + 2], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
movzx edi, byte [edx + 7]
mov edi, dword [edi*4 + str.ccccwwww]
and edi, ecx
mov edi, dword [edi*4 + 0x58a418]
and ebx, ecx
xor edi, dword [ebx*4 + 0x58a018]
mov ebx, esi
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, ecx
xor edi, dword [ebx*4 + 0x589c18]
movzx ebx, byte [edx + 0xc]
and esi, ecx
mov esi, dword [esi*4 + str.ccccwwww]
and esi, ecx
xor edi, dword [esi*4 + 0x58a818]
mov esi, dword [edx + 0xa]
mov dword [edx + 6], edi
movzx edi, byte [edx + 0xb]
mov edi, dword [edi*4 + str.ccccwwww]
mov ebx, dword [ebx*4 + str.ccccwwww]
and edi, ecx
mov edi, dword [edi*4 + 0x58a418]
and ebx, ecx
xor edi, dword [ebx*4 + 0x58a018]
mov ebx, esi
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and esi, ecx
mov esi, dword [esi*4 + str.ccccwwww]
and ebx, ecx
xor edi, dword [ebx*4 + 0x589c18]
and esi, ecx
xor edi, dword [esi*4 + 0x58a818]
dec dword [ebp - 4]
mov dword [edx + 0xa], edi
jne 0x4ece45
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4edab2
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x100]
mov byte [ebp + 0xb], cl
mov cl, byte [eax + 0x101]
mov byte [ebp - 1], cl
je 0x4edb11
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
dec dword [ebp + 0x10]
inc byte [ebp + 0xb]
movzx esi, byte [ebp + 0xb]
mov dl, byte [esi + eax]
add byte [ebp - 1], dl
movzx ecx, byte [ebp - 1]
mov bl, byte [ecx + eax]
mov byte [ecx + eax], dl
movzx ecx, bl
movzx edx, dl
add ecx, edx
and ecx, 0xff
mov byte [esi + eax], bl
mov cl, byte [ecx + eax]
xor byte [edi], cl
inc edi
cmp dword [ebp + 0x10], 0
jne 0x4edad7
pop edi
pop esi
pop ebx
mov cl, byte [ebp + 0xb]
mov byte [eax + 0x100], cl
mov cl, byte [ebp - 1]
mov byte [eax + 0x101], cl
leave
ret

Function at 0x4ee59d
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x548
mov eax, 0x570bf7
call fcn.0053d211
mov edi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x410]
push str._s
push eax
call fcn.00535bfb
add esp, 0xc
lea eax, [ebp - 0x550]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4ee66d
mov dword [ebp - 0x554], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x524]
push 0x65cb44
push eax
call fcn.0053e800
pop ecx
pop ecx
test eax, eax
je 0x4ee650
lea eax, [ebp - 0x524]
push 0x65cb48
push eax
call fcn.0053e800
pop ecx
pop ecx
test eax, eax
je 0x4ee650
test byte [ebp - 0x550], 0x10
je 0x4ee675
lea eax, [ebp - 0x524]
push eax
push edi
lea eax, [ebp - 0x410]
push 0x57a838
push eax
call fcn.00535bfb
lea eax, [ebp - 0x410]
push eax
call fcn.004ee59d
add esp, 0x14
test al, al
je 0x4ee675
lea eax, [ebp - 0x550]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4ee5ed
test esi, esi
je 0x4ee66d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
call fcn.0053d25b
ret
test esi, esi
je 0x4ee680
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x4ee66f

Function at 0x4ee6fe
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ee718
test al, 0x10
jne 0x4ee718
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4ee71c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ee736
test al, 0x10
je 0x4ee736
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4ee748
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x4ee79e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
test edi, edi
je 0x4ee795
push 5
push 0
push edi
call esi
push 5
push edi
push ebx
call esi
pop esi
jmp 0x4ee7b0
push str.wininit.ini
push edi
push ebx
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret

Function at 0x4eea72
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
push edi
mov esi, ecx
je 0x4eeadd
mov eax, dword [esi + 4]
test eax, eax
je 0x4eeadd
push eax
call fcn.005351b2
pop ecx
test eax, eax
jne 0x4eeadd
cmp dword [ebp + 8], eax
je 0x4eeadd
push dword [esi + 4]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00535632
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4eeac1
push dword [esi + 4]
call fcn.005351b2
pop ecx
test eax, eax
jne 0x4eeac1
or eax, 0xffffffff
jmp 0x4eeadf
push dword [esi + 4]
call fcn.005351da
pop ecx
test eax, eax
je 0x4eead9
push dword [esi + 4]
call fcn.0053eda9
pop ecx
jmp 0x4eeabc
mov eax, edi
jmp 0x4eeadf
xor eax, eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x4eeb25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x4eeb50
mov eax, dword [ecx + 4]
test eax, eax
je 0x4eeb50
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00535138
sub eax, dword [ebp + 0xc]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x4eeb52
xor eax, eax
pop ebp
ret 8

Function at 0x4eed6c
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x550
mov eax, 0x570c2a
call fcn.0053d211
mov edi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x410]
push str._s
xor ebx, ebx
push eax
mov dword [ebp - 0x554], ebx
call fcn.00535bfb
add esp, 0xc
lea eax, [ebp - 0x550]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4eedbf
xor eax, eax
xor edx, edx
jmp 0x4eee61
mov dword [ebp - 0x55c], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x524]
push 0x65cb44
push eax
call fcn.0053e800
pop ecx
pop ecx
test eax, eax
je 0x4eee38
lea eax, [ebp - 0x524]
push 0x65cb48
push eax
call fcn.0053e800
pop ecx
pop ecx
test eax, eax
je 0x4eee38
lea eax, [ebp - 0x524]
push eax
push edi
lea eax, [ebp - 0x410]
push 0x57a838
push eax
call fcn.00535bfb
add esp, 0x10
test byte [ebp - 0x550], 0x10
lea eax, [ebp - 0x410]
push eax
je 0x4eee2a
call fcn.004eed6c
jmp 0x4eee2f
call fcn.004ee684
add ebx, eax
adc dword [ebp - 0x554], edx
pop ecx
lea eax, [ebp - 0x550]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4eedc9
test esi, esi
je 0x4eee59
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x554]
mov eax, ebx
call fcn.0053d25b
ret