joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f64a
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x1388
lea eax, [ebp - 4]
push eax
mov esi, ecx
lea eax, [ebp - 0xc]
xor edi, edi
push eax
lea ebx, [esi + 0xa50]
push ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.0049d063
add esp, 0x10
test eax, eax
je 0x49f6a8
push edi
push edi
lea eax, [esi + 0x250]
push eax
push ebx
push edi
call sub.urlmon.dll_URLDownloadToFileW
push edi
push dword [esi + 0x20c]
push 0x7f2
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x4a041c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xb0], ecx
push 6
pop edx
mov byte [ebp - 0x20], 0
mov ecx, edx
lea edi, [ebp - 0x1f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x74], 0
mov ecx, edx
lea edi, [ebp - 0x73]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov esi, dword [ebp + 8]
mov byte [ebp - 0x58], 0
mov ecx, edx
lea edi, [ebp - 0x57]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [ebp + 0xc]
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x3c], 0
mov ecx, edx
lea edi, [ebp - 0x3b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1c
stosb byte es:[edi], al
pop edi
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.004fbb10
push edi
add esi, edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.004fbb10
imul ebx, ebx, 0x300
add esp, 0x18
xor esi, esi
add ebx, dword [ebp - 0xb0]
movsx eax, byte [esi + 0x5a4d30]
mov ecx, edi
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004fbb10
movsx eax, byte [esi + 0x5a4d30]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x3c]
sub ecx, eax
push ecx
call fcn.004fbb10
movsx eax, byte [esi + 0x5a4d30]
mov ecx, edi
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x74]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004fbb10
movsx eax, byte [esi + 0x5a4d30]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x20]
sub ecx, eax
push ecx
call fcn.004fbb10
push 0x37
lea eax, [ebp - 0xab]
push 0
push eax
mov byte [ebp - 0xac], 0
call fcn.004fc1f0
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.004fbb10
add esp, 0x48
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004fbb10
add esp, 0xc
xor eax, eax
movsx ecx, byte [eax + 0x5a4d00]
mov cl, byte [ebp + ecx - 0xad]
mov byte [ebx + eax], cl
inc eax
cmp eax, 0x30
jl 0x4a0550
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004fbb10
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004fbb10
add esp, 0x18
inc esi
add ebx, 0x30
cmp esi, 0x10
jl 0x4a04ad
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb958
leave
ret 8
Function at 0x4a05a4
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x5a4d40
push 0x40
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x4a05b6
pop edi
pop esi
pop ebp
ret 8

Function at 0x4a05cd
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x5a4d80
push 0x30
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x4a05df
pop edi
pop esi
pop ebp
ret 8

Function at 0x4a0621
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x5a4fb0
push 0x20
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x4a0633
pop edi
pop esi
pop ebp
ret 8

Function at 0x4a0db4
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push str.Upload
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push esi
push 3
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 8]
mov dword [ebp - 0x14], 0x5a5340
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.WININET.dll_InternetConnectW]
push 0x20200400
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push 0x28
mov ebx, eax
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.004fc1f0
add esp, 0xc
push esi
push 8
push esi
lea eax, [ebp - 0x3c]
push eax
push ebx
mov dword [ebp - 0x3c], 0x28
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
push esi
push esi
push esi
push ebx
mov edi, eax
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push dword [ebp - 4]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4a1176
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4a1176
test al, 0x10
jne 0x4a1176
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x4a134e
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x424
lea eax, [ebp - 0x428]
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x42c], 0x428
call fcn.004fc1f0
add esp, 0xc
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4a139d
xor eax, eax
jmp 0x4a13f9
lea eax, [ebp - 0x42c]
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
jmp 0x4a13ca
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x418]
cmp eax, dword [ebp - 0x414]
jb 0x4a13d0
lea eax, [ebp - 0x42c]
push eax
push ebx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4a13ac
jmp 0x4a13e9
lea eax, [ebp - 0x40c]
push eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x418]
mov dword [esi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x10]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb958
leave
ret 8
Function at 0x4a1d48
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x10c
mov eax, 0x57d0fe
call fcn.004fba06
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x118], ecx
xor dl, dl
mov dword [ebp - 0x114], 0x90e0700
mov dword [ebp - 0x110], 0x15121b1c
mov dword [ebp - 0x10c], 0x31363f38
mov dword [ebp - 0x108], 0x2d2a2324
mov dword [ebp - 0x104], 0x797e7770
mov dword [ebp - 0x100], 0x65626b6c
mov dword [ebp - 0xfc], 0x41464f48
mov dword [ebp - 0xf8], 0x5d5a5354
mov dword [ebp - 0xf4], 0xe9eee7e0
mov dword [ebp - 0xf0], 0xf5f2fbfc
mov dword [ebp - 0xec], 0xd1d6dfd8
mov dword [ebp - 0xe8], 0xcdcac3c4
mov dword [ebp - 0xe4], 0x999e9790
mov dword [ebp - 0xe0], 0x85828b8c
mov dword [ebp - 0xdc], 0xa1a6afa8
mov dword [ebp - 0xd8], 0xbdbab3b4
mov dword [ebp - 0xd4], 0xcec9c0c7
mov dword [ebp - 0xd0], 0xd2d5dcdb
mov dword [ebp - 0xcc], 0xf6f1f8ff
mov dword [ebp - 0xc8], 0xeaede4e3
mov dword [ebp - 0xc4], 0xbeb9b0b7
mov dword [ebp - 0xc0], 0xa2a5acab
mov dword [ebp - 0xbc], 0x8681888f
mov dword [ebp - 0xb8], 0x9a9d9493
mov dword [ebp - 0xb4], 0x2e292027
mov dword [ebp - 0xb0], 0x32353c3b
mov dword [ebp - 0xac], 0x1611181f
mov dword [ebp - 0xa8], 0xa0d0403
mov dword [ebp - 0xa4], 0x5e595057
mov dword [ebp - 0xa0], 0x42454c4b
mov dword [ebp - 0x9c], 0x6661686f
mov dword [ebp - 0x98], 0x7a7d7473
mov dword [ebp - 0x94], 0x80878e89
mov dword [ebp - 0x90], 0x9c9b9295
mov dword [ebp - 0x8c], 0xb8bfb6b1
mov dword [ebp - 0x88], 0xa4a3aaad
mov dword [ebp - 0x84], 0xf0f7fef9
mov dword [ebp - 0x80], 0xecebe2e5
mov dword [ebp - 0x7c], 0xc8cfc6c1
mov dword [ebp - 0x78], 0xd4d3dadd
mov dword [ebp - 0x74], 0x60676e69
mov dword [ebp - 0x70], 0x7c7b7275
mov dword [ebp - 0x6c], 0x585f5651
mov dword [ebp - 0x68], 0x44434a4d
mov dword [ebp - 0x64], 0x10171e19
mov dword [ebp - 0x60], 0xc0b0205
mov dword [ebp - 0x5c], 0x282f2621
mov dword [ebp - 0x58], 0x34333a3d
mov dword [ebp - 0x54], 0x4740494e
mov dword [ebp - 0x50], 0x5b5c5552
mov dword [ebp - 0x4c], 0x7f787176
mov dword [ebp - 0x48], 0x63646d6a
mov dword [ebp - 0x44], 0x3730393e
mov dword [ebp - 0x40], 0x2b2c2522
mov dword [ebp - 0x3c], 0xf080106
mov dword [ebp - 0x38], 0x13141d1a
mov dword [ebp - 0x34], 0xa7a0a9ae
mov dword [ebp - 0x30], 0xbbbcb5b2
mov dword [ebp - 0x2c], 0x9f989196
mov dword [ebp - 0x28], 0x83848d8a
mov dword [ebp - 0x24], 0xd7d0d9de
mov dword [ebp - 0x20], 0xcbccc5c2
mov dword [ebp - 0x1c], 0xefe8e1e6
mov dword [ebp - 0x18], 0xf3f4fdfa
cmp eax, ecx
je 0x4a1fe7
cmp esi, ecx
je 0x4a1fe7
mov byte [esi + eax], cl
mov dword [ebp - 0x118], ecx
cmp dword [ebp - 0x118], esi
jge 0x4a1fcf
mov ecx, dword [ebp - 0x118]
mov cl, byte [eax + ecx]
xor cl, dl
inc dword [ebp - 0x118]
movzx ecx, cl
mov dl, byte [ebp + ecx - 0x114]
jmp 0x4a1faa
movzx ecx, dl
xor ecx, 0x55
mov byte [esi + eax], cl
xor eax, eax
inc eax
jmp 0x4a1fe9
xor eax, eax
call fcn.004fba62
ret
Function at 0x4a1fef
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x10c
mov eax, 0x57d126
call fcn.004fba06
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x118], ecx
xor dl, dl
mov dword [ebp - 0x114], 0x90e0700
mov dword [ebp - 0x110], 0x15121b1c
mov dword [ebp - 0x10c], 0x31363f38
mov dword [ebp - 0x108], 0x2d2a2324
mov dword [ebp - 0x104], 0x797e7770
mov dword [ebp - 0x100], 0x65626b6c
mov dword [ebp - 0xfc], 0x41464f48
mov dword [ebp - 0xf8], 0x5d5a5354
mov dword [ebp - 0xf4], 0xe9eee7e0
mov dword [ebp - 0xf0], 0xf5f2fbfc
mov dword [ebp - 0xec], 0xd1d6dfd8
mov dword [ebp - 0xe8], 0xcdcac3c4
mov dword [ebp - 0xe4], 0x999e9790
mov dword [ebp - 0xe0], 0x85828b8c
mov dword [ebp - 0xdc], 0xa1a6afa8
mov dword [ebp - 0xd8], 0xbdbab3b4
mov dword [ebp - 0xd4], 0xcec9c0c7
mov dword [ebp - 0xd0], 0xd2d5dcdb
mov dword [ebp - 0xcc], 0xf6f1f8ff
mov dword [ebp - 0xc8], 0xeaede4e3
mov dword [ebp - 0xc4], 0xbeb9b0b7
mov dword [ebp - 0xc0], 0xa2a5acab
mov dword [ebp - 0xbc], 0x8681888f
mov dword [ebp - 0xb8], 0x9a9d9493
mov dword [ebp - 0xb4], 0x2e292027
mov dword [ebp - 0xb0], 0x32353c3b
mov dword [ebp - 0xac], 0x1611181f
mov dword [ebp - 0xa8], 0xa0d0403
mov dword [ebp - 0xa4], 0x5e595057
mov dword [ebp - 0xa0], 0x42454c4b
mov dword [ebp - 0x9c], 0x6661686f
mov dword [ebp - 0x98], 0x7a7d7473
mov dword [ebp - 0x94], 0x80878e89
mov dword [ebp - 0x90], 0x9c9b9295
mov dword [ebp - 0x8c], 0xb8bfb6b1
mov dword [ebp - 0x88], 0xa4a3aaad
mov dword [ebp - 0x84], 0xf0f7fef9
mov dword [ebp - 0x80], 0xecebe2e5
mov dword [ebp - 0x7c], 0xc8cfc6c1
mov dword [ebp - 0x78], 0xd4d3dadd
mov dword [ebp - 0x74], 0x60676e69
mov dword [ebp - 0x70], 0x7c7b7275
mov dword [ebp - 0x6c], 0x585f5651
mov dword [ebp - 0x68], 0x44434a4d
mov dword [ebp - 0x64], 0x10171e19
mov dword [ebp - 0x60], 0xc0b0205
mov dword [ebp - 0x5c], 0x282f2621
mov dword [ebp - 0x58], 0x34333a3d
mov dword [ebp - 0x54], 0x4740494e
mov dword [ebp - 0x50], 0x5b5c5552
mov dword [ebp - 0x4c], 0x7f787176
mov dword [ebp - 0x48], 0x63646d6a
mov dword [ebp - 0x44], 0x3730393e
mov dword [ebp - 0x40], 0x2b2c2522
mov dword [ebp - 0x3c], 0xf080106
mov dword [ebp - 0x38], 0x13141d1a
mov dword [ebp - 0x34], 0xa7a0a9ae
mov dword [ebp - 0x30], 0xbbbcb5b2
mov dword [ebp - 0x2c], 0x9f989196
mov dword [ebp - 0x28], 0x83848d8a
mov dword [ebp - 0x24], 0xd7d0d9de
mov dword [ebp - 0x20], 0xcbccc5c2
mov dword [ebp - 0x1c], 0xefe8e1e6
mov dword [ebp - 0x18], 0xf3f4fdfa
cmp eax, ecx
je 0x4a228e
cmp esi, ecx
je 0x4a228e
mov byte [esi + eax], cl
mov dword [ebp - 0x118], ecx
cmp dword [ebp - 0x118], esi
jge 0x4a2276
mov ecx, dword [ebp - 0x118]
mov cl, byte [eax + ecx]
xor cl, dl
inc dword [ebp - 0x118]
movzx ecx, cl
mov dl, byte [ebp + ecx - 0x114]
jmp 0x4a2251
movzx ecx, dl
xor ecx, 0x55
mov byte [esi + eax], cl
xor eax, eax
inc eax
jmp 0x4a2290
xor eax, eax
call fcn.004fba62
ret 8
Function at 0x4a24a1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 0x5a5804
push dword [ebp + 8]
call fcn.00504118
mov ebx, eax
xor esi, esi
pop ecx
pop ecx
cmp ebx, esi
je 0x4a2527
push edi
push 2
push esi
push ebx
call fcn.005023a1
push ebx
call fcn.00503ff5
push esi
mov edi, eax
push esi
push ebx
mov dword [ebp - 8], edi
call fcn.005023a1
inc edi
push edi
call fcn.004f8908
push ebx
mov dword [ebp - 4], esi
mov esi, 0x80
push esi
mov edi, eax
push 1
push edi
call fcn.004fe7ed
add esp, 0x30
jmp 0x4a2510
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push esi
add eax, edi
push 1
push eax
call fcn.004fe7ed
add esp, 0x10
push ebx
test eax, eax
jg 0x4a24fc
mov eax, dword [ebp - 8]
mov byte [edi + eax], 0
call fcn.004fe512
pop ecx
mov eax, edi
pop edi
jmp 0x4a2529
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x4a3f83
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x40
xor ebx, ebx
lea eax, [esi + 0x600]
push ebx
push eax
call fcn.004fc1f0
push 0x40
lea eax, [esi + 0x640]
push ebx
push eax
call fcn.004fc1f0
push 8
lea eax, [esi + 0x680]
push ebx
push eax
call fcn.004fc1f0
push 8
lea eax, [esi + 0x688]
push ebx
push eax
call fcn.004fc1f0
push 0x41
lea eax, [esi + 0x690]
push ebx
push eax
call fcn.004fc1f0
push 0x11
lea eax, [esi + 0x6d1]
push ebx
push eax
call fcn.004fc1f0
add esp, 0x48
push 9
lea eax, [esi + 0x6e2]
push ebx
push eax
call fcn.004fc1f0
mov edi, 0x1000
push edi
lea eax, [esi + 0x6eb]
push ebx
push eax
call fcn.004fc1f0
push edi
lea eax, [esi + 0x16eb]
push ebx
push eax
call fcn.004fc1f0
push 0x3f
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.004fc1f0
add esp, 0x30
push 0x40
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.004a064a
push 0x37
lea eax, [ebp - 0x3b]
push ebx
push eax
mov byte [ebp - 0x3c], bl
call fcn.004fc1f0
add esp, 0xc
movsx eax, byte [ebx + 0x5a4cc8]
mov al, byte [ebp + eax - 0x7d]
mov byte [ebp + ebx - 0x3c], al
inc ebx
cmp ebx, 0x38
jl 0x4a405b
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.004a041c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb958
leave
ret 8
Function at 0x4a6796
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x2f
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xf3]
push ebx
push eax
mov dword [ebp - 0x100], ecx
mov byte [ebp - 0xf4], bl
call fcn.004fc1f0
push 0x2f
lea eax, [ebp - 0x93]
push ebx
push eax
mov byte [ebp - 0x94], bl
call fcn.004fc1f0
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x64], bl
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x2f
stosb byte es:[edi], al
lea eax, [ebp - 0xc3]
push ebx
push eax
mov byte [ebp - 0xc4], bl
call fcn.004fc1f0
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x44], bl
shl esi, 4
add esi, dword [ebp - 0x104]
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
imul esi, esi, 0x30
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp - 0x100]
push 0x30
add esi, edi
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.004fbb10
add esp, 0x30
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0xf8]
mov ecx, edi
call fcn.004a05cd
xor eax, eax
mov cl, byte [ebp + eax - 0xc4]
xor cl, byte [ebp + eax - 0xf4]
inc eax
mov byte [ebp + eax - 0x95], cl
cmp eax, 0x30
jb 0x4a687d
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, edi
call fcn.004a408f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.004a0621
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0x24]
sub esi, eax
lea eax, [ebp + ebx - 0x24]
mov cl, byte [esi + eax]
xor cl, byte [eax]
inc ebx
mov byte [ebp + ebx - 0x65], cl
cmp ebx, 0x20
jb 0x4a68c4
push 0x20
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
call fcn.004fbb10
push 0x20
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0xf8]
call fcn.004fbb10
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb958
leave
ret 0x10

Function at 0x4a692e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2204
call fcn.004fc580
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x60642c]
lea eax, [ebp - 0x2204]
push eax
call fcn.0043145f
test al, al
je 0x4a6974
push 5
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x2204]
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb958
leave
ret 0xc
Function at 0x4a7999
Capabilities:
Delete registry value

Disassembly:
push 4
mov eax, 0x57ddb6
call fcn.004fb967
and dword [ebp - 4], 0
mov eax, dword [ecx + 0x10]
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ecx + 4]
push 2
pop esi
or edx, esi
push edx
push 0
push eax
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a79eb
mov dword [ebp - 4], 1
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, esi
call fcn.004fba3f
ret 4
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4a7a0e
mov dword [ebp - 4], esi
xor esi, esi
inc esi
jmp 0x4a79d2
mov dword [ebp - 4], 3
jmp 0x4a79d0

Function at 0x4a7a17
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x57ddf1
call fcn.004fb967
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ecx + 0x10]
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ecx + 4]
or edx, 0xf003f
push edx
push esi
push eax
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a7a68
mov dword [ebp - 4], 1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, esi
call fcn.004fba3f
ret 4
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jne 0x4a7a93
mov dword [ebp - 4], 2
xor esi, esi
inc esi
jmp 0x4a7a4f
mov dword [ebp - 4], 3
jmp 0x4a7a4f

Function at 0x4a7a9c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x57de24
call fcn.004fb967
xor esi, esi
mov dword [ebp - 4], esi
push 4
pop eax
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ecx + 4]
or edx, 0x20019
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x10]
push esi
push eax
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a7af9
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, esi
call fcn.004fba3f
ret 8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a7b1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 2
jmp 0x4a7ae0
Function at 0x4a7b31
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x57de57
call fcn.004fb967
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [esi + 4]
or ecx, 0x20006
push ecx
push ebx
push eax
push dword [esi + 8]
xor edi, edi
inc edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a7b86
mov dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, ebx
call fcn.004fba3f
ret 8
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4a7ba2
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0xc], ebx
jne 0x4a7bb0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 2
mov ebx, dword [ebp - 0x14]
jmp 0x4a7b6d

Function at 0x4a7bc5
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0x103]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x104], bl
call fcn.004fc1f0
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.004fc1f0
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
stosb byte es:[edi], al
lea eax, [ebp - 0xc3]
push ebx
push eax
mov byte [ebp - 0xc4], bl
call fcn.004fc1f0
add esp, 0x24
push 0x40
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.004a064a
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.004a05a4
push 0x20
pop edi
push edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004fbb10
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004fbb10
add esp, 0x18
mov dword [ebp - 0x108], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push dword [ebp - 0x108]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004a6796
inc dword [ebp - 0x108]
cmp dword [ebp - 0x108], 0x10
jl 0x4a7c94
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004fbb10
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004fbb10
add esp, 0x18
lea eax, [esi + 0x600]
movsx ecx, byte [ebx + 0x5a4fd0]
mov cl, byte [ebp + ecx - 0xc5]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, 0x40
jl 0x4a7ce6
push 0x40
push eax
lea eax, [esi + 0x680]
push eax
mov ecx, esi
call fcn.004a067d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb958
leave
ret 8