joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20009d10
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push esi
xor esi, esi
push esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
push edx
call dword [0x2001a0a4]
test eax, eax
je 0x20009d40
xor eax, eax
pop esi
add esp, 0x14
ret
push ebp
mov ebp, dword [esp + 0x30]
cmp ebp, esi
push edi
jne 0x20009e02
xor eax, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xd], eax
push 0xa
mov dword [esp + 0x15], eax
push ecx
mov dword [esp + 0x1d], eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
call fcn.200012b0
add esp, 8
push 1
push 0x20023024
call fcn.200121e0
push 1
push 0x20023010
call fcn.200121e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 0xf003f
push esi
push eax
push ecx
call dword [0x2001a0c8]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push esi
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [esp + 0x30]
mov edi, dword [0x2001a0d0]
push ecx
call edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push 8
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov esi, eax
lea ecx, [esp + 0xc]
neg esi
sbb esi, esi
push ecx
inc esi
call dword [0x2001a25c]
mov eax, dword [esp + 0x2c]
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push ebx
push edx
push 0x20019
push esi
push eax
push ecx
mov dword [esp + 0x48], esi
call dword [0x2001a0c8]
mov eax, dword [esp + 0x28]
mov ebx, dword [0x2001a0ac]
lea edx, [esp + 0x34]
push edx
push esi
push esi
push esi
push ebp
push eax
call ebx
test eax, eax
jne 0x20009e90
mov ecx, dword [esp + 0x34]
add ecx, 2
push ecx
call fcn.20018f0e
mov ecx, dword [esp + 0x2c]
add esp, 4
lea edx, [esp + 0x34]
mov edi, eax
push edx
lea eax, [esp + 0x30]
push edi
push eax
push 0
push ebp
push ecx
call ebx
test eax, eax
jne 0x20009e87
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
push edi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call fcn.20018f20
add esp, 4
mov edx, dword [esp + 0x28]
mov edi, dword [0x2001a0d0]
push edx
call edi
mov eax, dword [esp + 0x30]
pop ebx
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
add esp, 0x14
ret
Function at 0x2000a350
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
mov eax, dword [0x20021090]
push ebx
push ebp
mov ebp, ecx
add eax, 0x10
push esi
lea ecx, [esp + 0x10]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x14], esi
call dword [0x2001a270]
lea edx, [esp + 0x10]
push str._xql
push edx
call fcn.20002b70
add esp, 8
lea eax, [esp + 0x10]
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
push eax
call dword [0x2001a2b0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x2000a40d
push edi
push esi
push ebx
call dword [0x2001a2ac]
mov edi, eax
push edi
call dword [0x2001a324]
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebx
call dword [0x2001a2b4]
xor eax, eax
test edi, edi
jbe 0x2000a3e4
mov cl, byte [eax + esi]
xor cl, 0x44
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x2000a3d6
push edi
push esi
mov ecx, ebp
call fcn.2000c8e0
push esi
mov edi, eax
call dword [0x2001a320]
add esp, 4
push ebx
call dword [0x2001a250]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x2000af60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
pushal
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xc]
add edx, 0x14
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x2000afa1
mov esi, dword [edx + 0x28]
mov edi, dword [ebp + 8]
mov bx, word [esi]
mov bh, byte [edi]
cmp bl, 0x5a
jg 0x2000af95
cmp bl, 0x41
jl 0x2000af95
add bl, 0x20
cmp bl, bh
jne 0x2000af74
inc esi
inc esi
inc edi
test bx, bx
jne 0x2000af83
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x2000b270
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x2002465c
mov eax, edx
mov esi, 8
test al, 1
je 0x2000b28c
shr eax, 1
xor eax, 0xedb88320
jmp 0x2000b28e
shr eax, 1
dec esi
jne 0x2000b27f
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x20024a5c
jl 0x2000b278
pop esi
ret
Function at 0x2000e510
Capabilities:
Accept command line arguments
Get disk information

Disassembly:
sub esp, 0x400
push esi
push edi
push 0
push 0
push 0x2002320c
push 1
push 0x200231f8
push str.QLBQQFZLVFen_ctgHB
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20001730
mov ecx, 0xc
mov esi, 0x2002318c
lea edi, [esp + 0x24]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xf3
lea edi, [esp + 0x55]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0
stosb byte es:[edi], al
push 0
push 4
lea eax, [esp + 0x34]
push 0x20023178
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20001730
mov esi, dword [0x2001a280]
add esp, 0x38
lea ecx, [esp + 8]
push 0x20023168
push ecx
call esi
push 0
push 1
push 0
push 4
lea edx, [esp + 0x18]
push 0x2002314c
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20001730
add esp, 0x1c
lea eax, [esp + 8]
push 0x20023134
push 0x5c
push eax
call dword [0x2001a330]
mov edi, dword [0x2001a270]
add esp, 8
push eax
call edi
mov ecx, dword [esp + 0x410]
push 0
push ecx
push 0
push 4
lea edx, [esp + 0x18]
push 0x20023128
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20001730
add esp, 0x1c
lea eax, [esp + 8]
push 0x200230f8
push eax
call edi
push 0
push 2
push 0
push 4
lea ecx, [esp + 0x18]
push 0x200230f0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20001730
add esp, 0x1c
lea edx, [esp + 8]
push 0x200230e4
push edx
call esi
mov eax, dword [esp + 0x40c]
push 0
push 0
push eax
push 2
lea ecx, [esp + 0x18]
push str.InkwEeNO__zwI_KFIYK_C1aGUGB789iboir
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20001730
add esp, 0x1c
push 0xf003f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edi, eax
test edi, edi
je 0x2000e71f
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebp
push 0xf01ff
push 0x200230cc
push edi
call esi
mov ebp, eax
test ebp, ebp
je 0x2000e6ea
push ebx
push ebp
call fcn.200117a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x2000e6d7
push 0xf01ff
push str.F_khJfgic_f_rZjbAvfc
push edi
call esi
mov esi, eax
push 1
push esi
call fcn.20004350
push 0
push ebx
call fcn.20011830
push esi
call fcn.200117a0
add esp, 0x14
test eax, eax
jne 0x2000e6d0
mov ebx, dword [0x2001a248]
push 0x7d0
call ebx
push esi
call fcn.200117a0
add esp, 4
test eax, eax
je 0x2000e6bc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, dword [0x20021090]
lea eax, [esp + 0xc]
add edx, 0x128
push edx
push 0x20023038
push eax
call dword [0x2001a4b4]
add esp, 0xc
lea ecx, [esp + 0xc]
push 0
push ecx
call dword [0x2001a214]
pop ebp
pop edi
pop esi
add esp, 0x400
ret
Function at 0x20010020
Capabilities:
Get disk size

Disassembly:
sub esp, 0x410
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x418]
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
push 3
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x2001a0c8]
test eax, eax
je 0x20010066
xor al, al
pop edi
add esp, 0x410
ret
push ebx
push ebp
lea edx, [esp + 0x10]
push esi
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x42c]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x2c], 0x400
mov byte [esp + 0x2b], 0
call dword [0x2001a0ac]
test eax, eax
jne 0x20010188
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x42c]
test eax, eax
lea esi, [esp + 0x20]
jbe 0x200100e6
mov ebx, dword [0x2001a39c]
push ebp
push esi
call ebx
add esp, 8
test eax, eax
je 0x2001011e
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [esp + 0x14]
dec ecx
lea esi, [esi + ecx + 1]
mov ecx, esi
sub ecx, edx
cmp ecx, eax
jb 0x200100bb
cmp dword [esp + 0x430], 1
jne 0x200101f0
lea esi, [esp + eax + 0x1f]
push ebp
push esi
call dword [0x2001a270]
mov edi, dword [0x2001a274]
push esi
call edi
push esi
mov byte [eax + esi + 1], 0
call edi
mov edx, dword [esp + 0x14]
lea ecx, [edx + eax + 1]
jmp 0x200101c8
mov eax, dword [esp + 0x430]
test eax, eax
jne 0x200101f0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
or edx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
mov edi, esi
not ecx
dec ecx
sub edx, ecx
or ecx, 0xffffffff
add eax, edx
mov dword [esp + 0x14], eax
sub eax, esi
lea eax, [esp + eax + 0x21]
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + esi + 1]
push ecx
push esi
call dword [0x2001a354]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp ecx, 3
jae 0x200101cc
mov ecx, dword [esp + 0x428]
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
jmp 0x200101e9
cmp dword [esp + 0x430], 1
jne 0x200101f0
mov edi, dword [esp + 0x42c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
inc ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x42c]
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
sete byte [esp + 0x13]
mov eax, dword [esp + 0x18]
push eax
call dword [0x2001a0d0]
mov al, byte [esp + 0x13]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x410
ret
Function at 0x200116f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x200240a8]
push ebx
push 0
push 0x80
push 4
push 0
push 3
add eax, 0xd
push 0x40000000
push eax
call dword [0x2001a2b0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x20011793
push 0
push ebx
mov dword [esp + 0xc], 0
call dword [0x2001a2ac]
cmp eax, 0x3200000
jae 0x2001173f
push 2
push 0
push 0
push ebx
call dword [0x2001a2b8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call dword [0x2001a274]
mov edi, eax
push edi
call fcn.20018f0e
add esp, 4
mov esi, eax
test edi, edi
jle 0x20011770
mov ecx, ebp
mov ebp, edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x44
mov byte [eax], dl
inc eax
dec ebp
jne 0x20011764
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [0x2001a2bc]
push ebx
call dword [0x2001a250]
push esi
call fcn.20018f20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x200125b0
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x2001955b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
lea eax, [esp + 0x14]
push ebp
push eax
xor ebp, ebp
push 0x2001dd48
push 1
push ebp
push 0x2001ddd8
mov byte [esp + 0x1b], 0
call dword [0x2001a5d8]
cmp eax, ebp
je 0x20012607
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 8]
push ebp
push edx
mov ecx, dword [eax]
push 0x2001ddc8
push eax
mov dword [esp + 0x844], ebp
call dword [ecx + 0xc]
cmp eax, ebp
je 0x2001265c
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebp
je 0x20012644
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jne 0x2001276f
push ebx
mov ebx, dword [0x2001a2d4]
push esi
mov esi, dword [esp + 0x844]
push edi
mov edi, dword [0x2001a274]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x2001a810
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x20012744
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push 0
mov word [esp + 0x2c], 8
mov ecx, dword [eax]
push edx
push 0x20022a54
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x2001273a
mov eax, dword [esp + 0x30]
push eax
call dword [0x2001a368]
add esp, 4
test eax, eax
jbe 0x2001273a
test esi, esi
je 0x20012736
mov edx, dword [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x40]
push 0x800
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call ebx
lea eax, [esp + 0x38]
push 0x64
push eax
push esi
call dword [0x2001a334]
add esp, 0xc
push esi
call edi
push esi
lea ebp, [eax + ebp + 1]
call edi
mov ecx, dword [esp + 0x30]
lea esi, [esi + eax + 1]
push ecx
call dword [0x2001a3d8]
inc byte [esp + 0x13]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x2001269a
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x840]
test eax, eax
je 0x2001277c
mov dword [eax], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
test eax, eax
je 0x20012795
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x82c]
mov al, byte [esp + 7]
pop ebp
mov dword fs:[0], ecx
add esp, 0x834
ret
Function at 0x200127e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 1
call fcn.2000b790
add esp, 8
nop
xor ecx, ecx
test eax, eax
jle 0x20012834
push ebx
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x5f
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x46
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x20012803
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x200132d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x200194e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.20003f80
xor ebx, ebx
push 0x134
mov dword [esp + 0x18], ebx
mov dword [esi], 0x2001a784
mov byte [esi + 0x1c], 1
mov dword [esi + 0x28], 8
call fcn.20018f0e
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x14], 1
je 0x20013337
push 0x64
push ebx
push 8
mov ecx, eax
call fcn.20006490
jmp 0x20013339
xor eax, eax
push 1
push ebx
push ebx
push esi
push 0x200142f0
push ebx
push ebx
mov byte [esp + 0x30], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], ebx
mov byte [esi + 0x14], bl
mov byte [esi + 0x24], bl
call fcn.2000a7c0
push 1
push ebx
push ebx
push esi
push 0x20014390
push ebx
push ebx
mov dword [esi + 0x2c], eax
call fcn.2000a7c0
mov ecx, dword [esp + 0x44]
add esp, 0x38
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x20014720
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push esi
lea eax, [esp + 0x10]
push edi
mov edi, dword [esp + 0x14]
push eax
push 0
push 0
push 1
push edi
xor bl, bl
call ebp
call dword [0x2001a264]
cmp eax, 0x7a
jne 0x2001479a
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x2001479a
push eax
call fcn.20018f0e
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
push ecx
push edx
push esi
push 1
push edi
call ebp
mov eax, dword [esi]
test eax, eax
je 0x2001478d
push 0x18f
push eax
mov eax, dword [esp + 0x20]
add eax, 0x12c
push eax
call dword [0x2001a334]
add esp, 0xc
mov bl, 1
test esi, esi
je 0x2001479a
push esi
call fcn.20018f20
add esp, 4
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret 8
Function at 0x403a60
Capabilities:
Delete registry value

Disassembly:
cmp byte [0x4bb051], 0
je 0x403aa6
jmp 0x403a94
cmp byte [0x4bb8d9], 0
jne 0x403a94
push 0
call sub.advapi32.dll_RegDeleteValueW
mov ecx, 0x4bdadc
mov dl, 1
xor eax, eax
call fcn.004028c4
test al, al
je 0x403aa6
push 0xa
call sub.advapi32.dll_RegDeleteValueW
mov ecx, 0x4bdadc
mov dl, 1
xor eax, eax
call fcn.004028c4
test al, al
jne 0x403a6b
cmp dword [0x4bdad8], 0
jne 0x403ac7
push 4
push 0x1000
push 0x10000
push 0
call sub.advapi32.dll_RegCreateKeyExW
mov dword [0x4bdad8], eax
cmp dword [0x4bdad8], 0
setne al
ret

Function at 0x404284
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4bba27
mov esi, 0x4bdac5
mov edi, dword [ebx + 4]
jmp 0x4042a9
mov ebp, dword [edi + 4]
push 0x8000
push 0
push edi
call sub.advapi32.dll_RegDeleteKeyW
mov edi, ebp
cmp edi, ebx
jne 0x404297
mov edx, 0x37
mov eax, 0x4b8078
mov ecx, eax
mov dword [eax + 0x14], ecx
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
xor ecx, ecx
mov dword [eax + 0xc], ecx
add eax, 0x20
dec edx
jne 0x4042b7
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov edx, 0x400
mov ecx, 0x4bbac4
mov eax, ecx
mov dword [eax], eax
mov dword [eax + 4], eax
add ecx, 8
dec edx
jne 0x4042e2
mov ebx, dword [esi + 4]
jmp 0x404306
mov edi, dword [ebx + 4]
push 0x8000
push 0
push ebx
call sub.advapi32.dll_RegDeleteKeyW
mov ebx, edi
cmp ebx, esi
jne 0x4042f4
mov dword [esi], esi
mov dword [esi + 4], esi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x405dbc
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, eax
mov esi, 1
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x405e1a
mov ebx, dword [0x4bb8c8]
call dword [ebx]
mov edi, eax
lea eax, [ebp + 0xc]
xor ecx, ecx
mov edx, edi
call fcn.00402570
mov ebx, eax
test ebx, ebx
jne 0x405dee
mov ebx, edi
jmp 0x405dfd
test edi, edi
je 0x405dfd
mov edx, dword [0x4bb8c8]
mov eax, edi
call dword [edx + 4]
test ebx, ebx
jne 0x405e1a
push esi
call sub.advapi32.dll_RegDeleteValueW
cmp esi, 0x200
jle 0x405e16
mov esi, 1
jmp 0x405dce
add esi, esi
jmp 0x405dce
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41af20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41af79
test eax, edx
je 0x41af7c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41af37
movzx eax, word [eax]
sub eax, ecx
jmp 0x41af5e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41af5f
add ecx, 4
js 0x41af4f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41af5c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41af5e
xor eax, eax
ret
test eax, eax
je 0x41af88
test edx, edx
jne 0x41af28
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41d7c4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41d92a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406e60
mov eax, dword [ebp + 8]
movzx eax, word [eax - 2]
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
movzx eax, word [eax - 4]
mov word [ebp - 0x12], ax
mov eax, dword [ebp + 8]
movzx eax, word [eax - 6]
mov word [ebp - 0xe], ax
lea eax, [ebp - 4]
mov edx, 0x41d944
call fcn.00407268
push 0x200
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 4]
call fcn.00407830
push eax
lea eax, [ebp - 0x14]
push eax
push 4
call sub.KERNEL32.DLL_ReadFile
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
je 0x41d909
mov eax, ebx
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004078bc
dec esi
jne 0x41d909
mov eax, dword [0x4bdd3f]
sub eax, 4
je 0x41d898
sub eax, 0xd
jne 0x41d909
push ebx
mov eax, dword [ebx]
mov edx, 1
call fcn.00421090
mov ecx, eax
mov eax, dword [ebx]
mov edx, 1
call fcn.00407bdc
jmp 0x41d909
cmp dword [0x4bdd43], 1
jne 0x41d909
mov eax, dword [ebx]
mov dword [ebp - 0x218], eax
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x41d8b8
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx]
mov edx, esi
call fcn.00420eb0
cmp eax, 4
jne 0x41d909
mov eax, dword [ebx]
mov edx, 3
call fcn.00421024
mov esi, eax
add esi, esi
lea eax, [ebp - 0x214]
add esi, eax
sub esi, 2
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.00407880
mov eax, dword [ebp - 0x21c]
mov edx, 2
call fcn.00421090
mov ecx, eax
mov eax, ebx
mov edx, esi
call fcn.00406fc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d931
lea eax, [ebp - 0x21c]
call fcn.00406e60
lea eax, [ebp - 4]
call fcn.00406e60
ret
Function at 0x41d94c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41da3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406e60
mov eax, dword [ebp + 8]
movzx eax, word [eax - 2]
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
movzx eax, word [eax - 4]
mov word [ebp - 0x12], ax
mov eax, dword [ebp + 8]
movzx eax, word [eax - 6]
mov word [ebp - 0xe], ax
cmp esi, 2
jg 0x41d9aa
lea eax, [ebp - 4]
mov edx, 0x41da54
call fcn.00407268
jmp 0x41d9b7
lea eax, [ebp - 4]
mov edx, 0x41da68
call fcn.00407268
push 0x200
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 4]
call fcn.00407830
push eax
lea eax, [ebp - 0x14]
push eax
push 4
call sub.KERNEL32.DLL_ReadFile
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
je 0x41da25
mov eax, ebx
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004078bc
dec esi
jne 0x41da25
mov eax, dword [ebx]
cmp word [eax], 0x30
jne 0x41da25
mov eax, dword [ebx]
mov dword [ebp - 0x218], eax
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x41da15
sub esi, 4
mov esi, dword [esi]
push ebx
mov ecx, esi
dec ecx
mov eax, dword [ebx]
mov edx, 2
call fcn.00407bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41da42
lea eax, [ebp - 4]
call fcn.00406e60
ret