joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c1c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44a616
mov eax, dword fs:[0]
push eax
mov eax, 0x1860
call fcn.0043ec90
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x185c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4537b0]
xor eax, esp
push eax
lea eax, [esp + 0x1874]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1884]
mov edi, dword [esp + 0x1888]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.0041a0f0
push 1
xor ebx, ebx
push ebx
push edi
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x188c], ebx
call fcn.0041a4e0
test al, al
je 0x41c2fa
lea ecx, [esp + 0x30]
call fcn.0041a3f0
mov edi, 0x10000
push edi
mov dword [esp + 0x20], eax
mov ebp, edx
call fcn.0043e3ef
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x41c26e
mov ecx, 0x45d404
call fcn.004166e0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push edi
push ebx
push esi
mov byte [esp + 0x1888], 1
call fcn.0043e830
add esp, 0xc
xor edi, edi
test ebp, ebp
jl 0x41c2c4
jg 0x41c2a0
cmp dword [esp + 0x1c], edi
jbe 0x41c2c4
jmp 0x41c2a0
push 0x10000
push esi
lea ecx, [esp + 0x38]
call fcn.0041ab90
add ebx, 0x10000
adc edi, 0
cmp edi, ebp
jl 0x41c2a0
jg 0x41c2c4
cmp ebx, dword [esp + 0x1c]
jb 0x41c2a0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.0041aac0
lea ecx, [esp + 0x30]
call fcn.0041a390
lea ecx, [esp + 0x30]
call fcn.0041a170
mov byte [esp + 0x187c], 0
test esi, esi
je 0x41c2fa
push esi
call fcn.0043e06d
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push eax
lea ebx, [esp + 0xc54]
lea esi, [esp + 0x1468]
call fcn.0041b8a0
test al, al
je 0x41c353
call fcn.0041dc50
test eax, eax
je 0x41c33e
cmp word [esp + 0xc50], 0
je 0x41c33e
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x41c383
lea edx, [esp + 0x1464]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
jmp 0x41c383
call fcn.0041dc50
test eax, eax
je 0x41c371
mov eax, edi
test eax, eax
je 0x41c371
cmp word [eax], 0
je 0x41c371
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41c37c
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
mov bl, al
lea ecx, [esp + 0x30]
mov dword [esp + 0x187c], 0xffffffff
call fcn.0041a4b0
mov al, bl
mov ecx, dword [esp + 0x1874]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x185c]
xor ecx, esp
call fcn.0043e316
add esp, 0x186c
ret 8
Function at 0x41c3d0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44a666
mov eax, dword fs:[0]
push eax
mov eax, 0x3dfc
call fcn.0043ec90
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x3df8], eax
push ebp
push esi
push edi
mov eax, dword [0x4537b0]
xor eax, esp
push eax
lea eax, [esp + 0x3e0c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3e1c]
push esi
call fcn.004271f0
test al, al
je 0x41c683
push esi
call fcn.0041b040
test al, al
je 0x41c683
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x35d8]
push 0x44c878
push ecx
call fcn.0043e325
movsx edx, byte [esp + 0x35e0]
add esp, 0xc
push edx
push 0xdfe
call fcn.00430730
push eax
call fcn.00412060
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00435690
lea eax, [esp + 0x35d4]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3e18], 0
call fcn.004356c0
push 2
push 0
push 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x11b8]
call fcn.004327e0
lea ecx, [esp + 0xd1c]
mov byte [esp + 0x3e14], 1
call fcn.00436170
lea ecx, [esp + 0xd40]
call fcn.00436170
lea ecx, [esp + 0xd64]
call fcn.00436170
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x11ac]
call fcn.004331f0
test eax, eax
jne 0x41c65b
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x41c500
mov al, byte [esi]
cmp byte [esp + 0x108], al
jne 0x41c65b
cmp byte [esp + 0x109], 0x3a
jne 0x41c65b
mov cx, word [esp + 0x508]
test cx, cx
je 0x41c547
movsx eax, al
movzx ecx, cx
cmp ecx, eax
jne 0x41c65b
cmp word [esp + 0x50a], 0x3a
jne 0x41c65b
call fcn.0041dc50
test eax, eax
je 0x41c569
cmp word [esp + 0x508], 0
je 0x41c569
push 0
lea edx, [esp + 0x50c]
push edx
call edi
jmp 0x41c575
push 0
lea eax, [esp + 0x10c]
push eax
call ebp
cmp byte [esp + 0xd18], 0
je 0x41c5b9
call fcn.0041dc50
test eax, eax
je 0x41c5a6
cmp word [esp + 0x508], 0
je 0x41c5a6
lea ecx, [esp + 0x508]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41c63f
lea edx, [esp + 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x41c63f
call fcn.0041dc50
test eax, eax
je 0x41c5dd
cmp word [esp + 0x508], 0
je 0x41c5dd
lea eax, [esp + 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41c5eb
lea ecx, [esp + 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
jne 0x41c63f
push 0xd48
call fcn.00430730
push eax
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x39dc]
push str._s____s
push eax
call fcn.0043e325
lea ecx, [esp + 0x39e4]
push ecx
push 0x44c598
push 0
call fcn.00412810
add esp, 0x1c
call fcn.00411e60
mov ecx, 0x45d404
call fcn.00416340
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x11ac]
call fcn.004331f0
test eax, eax
je 0x41c500
lea ecx, [esp + 0x11a8]
mov byte [esp + 0x3e14], 0
call fcn.00432a50
lea ecx, [esp + 0x10]
mov dword [esp + 0x3e14], 0xffffffff
call fcn.00435360
mov ecx, dword [esp + 0x3e0c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3df8]
xor ecx, esp
call fcn.0043e316
add esp, 0x3e08
ret 4
Function at 0x41fca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
xor edx, edx
push esi
add ebx, 0xffffff88
push edi
add eax, 2
lea edi, [esp + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov edi, edi
cmp edx, ebx
jge 0x41fe03
lea eax, [esp + 0x48]
sub eax, 2
lea ecx, [eax + 3]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x48]
sub ecx, eax
add ecx, 0xfffffffd
mov dword [esp + 0x3c], ecx
mov ecx, eax
neg ecx
lea esi, [esp + ecx + 0x48]
mov dword [esp + 0x44], esi
lea esi, [esp + ecx + 0x49]
mov dword [esp + 0x30], esi
lea esi, [esp + 0x48]
sub esi, eax
lea eax, [esp + ecx + 0x4a]
mov ecx, dword [esp + 0x14]
sub ebx, edx
mov dword [esp + 0x40], eax
dec ebx
mov eax, 0x88888889
mul ebx
dec esi
mov ebp, edx
shr ebp, 0xa
mov dword [esp + 0x2c], esi
mov esi, dword [edi]
mov dword [esp + 0x10], ecx
inc ebp
mov eax, dword [esp + 0x10]
xor edi, edi
lea ebx, [ebx]
movzx edx, byte [eax - 2]
mov cl, byte [eax - 1]
sub dl, cl
mov byte [esp + edi + 0x48], dl
movzx edx, byte [eax]
sub dl, cl
mov byte [esp + edi + 0x49], cl
mov byte [esp + edi + 0x4a], dl
add edi, 3
add eax, 3
cmp edi, 0x78
jl 0x41fd60
mov ecx, dword [esp + 0x34]
mov edi, 0x27
mov edi, edi
mov eax, dword [esp + 0x40]
movzx edx, byte [eax + ecx]
mov eax, dword [esp + 0x2c]
sub dl, byte [eax + ecx]
add ecx, 3
movsx eax, dl
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
mov edx, dword [esp + 0x44]
mov al, byte [edx + ecx - 3]
mov edx, dword [esp + 0x3c]
sub al, byte [edx + ecx - 3]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + ecx - 3]
sub dl, byte [ecx - 3]
movsx eax, dl
cdq
xor eax, edx
sub eax, edx
add eax, esi
sub edi, 1
lea esi, [eax + ebx]
jne 0x41fd90
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x41fd54
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [edi], esi
inc dword [esp + 0x14]
inc edx
add edi, 4
cmp edx, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
jle 0x41fcf0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
cmp eax, ecx
ja 0x41fe4d
cmp eax, edx
ja 0x41fe4d
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0043e316
add esp, 0xb4
ret 8
cmp edx, ecx
mov ecx, dword [esp + 0xb0]
sbb eax, eax
neg eax
xor ecx, esp
inc eax
call fcn.0043e316
add esp, 0xb4
ret 8
Function at 0x422760
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0
mov esi, ebp
push 1
mov edi, ecx
shl esi, 5
push 0
add esi, edi
call ebx
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x420340
push 0x10000
push 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov byte [esi + 4], 1
mov dword [esi + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x4227e8
push str.CreateThread_failed
mov ecx, 0x45d404
call fcn.00416550
mov ecx, 0x45d404
call fcn.00416340
push 2
mov ecx, 0x45d404
call fcn.004166c0
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esi], ebx
mov dword [esp + 0x1c], ebp
call fcn.00420410
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x423d80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, ecx
mov cl, byte [eax + 0x5771]
mov byte [ebp + 0x14a5], cl
mov dl, byte [eax + 0x5772]
mov byte [ebp + 0x14a4], dl
mov ecx, dword [eax + 0x55b8]
push esi
mov dword [ebp + 0x14a0], ecx
mov edx, dword [eax + 0x4c00]
push edi
add eax, 0x55c4
push eax
lea ecx, [ebp + 0x63c8]
mov dword [ebp + 0x60a8], edx
call fcn.0040d460
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x400000
jae 0x423e33
mov edx, dword [ebp + 0x14a0]
cmp edx, ecx
jae 0x423e04
mov esi, 0x400000
mov eax, edx
sub esi, ecx
lea esp, [esp]
mov ecx, dword [ebp]
lea edx, [ecx + esi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebp + 0x20]
jb 0x423df0
jmp 0x423e33
sub edx, ecx
xor eax, eax
mov esi, edx
test ecx, ecx
jbe 0x423e22
mov edi, edi
mov ecx, dword [ebp]
lea edx, [ecx + esi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebp + 0x20]
jb 0x423e10
mov dword [ebp + 0x14a0], 0
mov byte [ebp + 0x14a5], 1
mov esi, dword [ebp]
mov edi, dword [ebp + 0x20]
add edi, esi
cmp dword [esp + 0x18], 0
mov ecx, 0x44
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 0x14a0]
lea eax, [ebx + 1]
jne 0x423ea9
mov esi, dword [ebp + 0x24]
and eax, esi
xor edx, edx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x423ed2
mov ecx, dword [ebp]
movzx ecx, byte [eax + ecx + 2]
shl edx, 5
xor ecx, edx
mov edx, dword [ebp + 0x10]
and ecx, 0x7fff
lea edi, [edx + ecx*4]
mov edx, dword [edi]
mov dword [edi], eax
mov eax, dword [ebp + 0x14a0]
and edx, esi
mov esi, dword [ebp + 0x14]
mov dword [esi + eax*4], edx
mov eax, dword [ebp + 0x14a0]
mov esi, dword [ebp + 0x24]
inc eax
and eax, esi
mov edx, ecx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x423e64
jmp 0x423ed2
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x423ed2
push eax
mov ecx, ebp
call fcn.004212d0
mov eax, dword [ebp + 0x14a0]
inc eax
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x423eb6
mov esi, dword [esp + 0x14]
push 0x4bf0
add esi, 0x10
lea ecx, [ebp + 0x14b4]
push esi
push ecx
mov byte [ebp + 0x60a4], 0
call fcn.0043e4c0
add esp, 0xc
mov ecx, esi
call fcn.004375d0
lea ecx, [ebp + 0xda8]
call fcn.00426570
pop edi
xor eax, eax
pop esi
mov dword [ebp + 0x974], eax
mov dword [ebp + 0x978], eax
mov byte [ebp + 0x97c], 1
pop ebp
pop ebx
ret 8
Function at 0x427870
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push 0x1a
push 0
mov byte [esi], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4278f7
mov edx, dword [esp + 4]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4278f7
cmp byte [esi], 0
je 0x4278f7
push esi
call fcn.004277b0
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4278b7
mov ecx, dword [0x44cab8]
mov dword [eax], ecx
mov dx, word [0x44cabc]
mov word [eax + 4], dx
mov cl, byte [0x44cabe]
push 0
push esi
mov byte [eax + 6], cl
call fcn.0041b210
test al, al
jne 0x427923
push 0
push 0
push 0
push esi
call fcn.0041b9c0
test eax, eax
je 0x427923
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call fcn.00427330
lea edx, [esi + 2]
cmp eax, edx
jb 0x427920
cmp byte [esi + 1], 0x3a
jne 0x42791f
add esi, 4
cmp eax, esi
jb 0x427920
dec eax
mov byte [eax], 0
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
pop esi
add esp, 8
ret 4

Function at 0x427940
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push 1
push 0
push str.SoftwareWinRARPaths
push 0x80000001
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x427997
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.AppData
push eax
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], 0
je 0x4279a8
push 0
push esi
call fcn.0041b210
test al, al
jne 0x4279ae
push esi
call fcn.00427870
pop esi
add esp, 8
ret 4
Function at 0x4305f0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
mov ebx, dword [esp + 0x81c]
push ebp
mov ebp, dword [esp + 0x824]
push esi
mov esi, dword [esp + 0x820]
cmp ebx, esi
je 0x430628
push ebp
push esi
push ebx
call fcn.004351e0
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareWinRARGeneral
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x430710
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430650
sub eax, edx
mov ecx, 0x3ff
sub ecx, eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x41c]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.LanguageFolder
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x430705
mov byte [esp + 0x18], al
push 0x400
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 0x18]
push edx
call fcn.004277b0
push esi
call fcn.00427330
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4306c0
push edi
lea edi, [esp + 0x1c]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4306d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0041b210
pop edi
test al, al
je 0x430705
push ebp
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.004351e0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x818]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e316
add esp, 0x810
ret 0xc
Function at 0x4308e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov ebp, ecx
mov ecx, 8
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor ecx, ecx
xor eax, eax
lea esp, [esp]
cmp edi, 0xa
jg 0x430a3d
cmp eax, 4
jge 0x430956
mov edi, edi
cmp ecx, 4
jge 0x430959
mov bl, byte [esp + eax*4 + 0x10]
lea edx, [ecx + edi*4]
mov byte [ebp + edx*4 + 0x14], bl
lea edx, [ecx + edi*4]
lea esi, [ebp + edx*4]
movzx edx, byte [esp + eax*4 + 0x11]
mov byte [esi + 0x15], dl
movzx edx, byte [esp + eax*4 + 0x12]
mov byte [esi + 0x16], dl
movzx edx, byte [esp + eax*4 + 0x13]
inc eax
inc ecx
cmp eax, 4
mov byte [esi + 0x17], dl
jl 0x430920
cmp ecx, 4
jne 0x43095e
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x430910
cmp edi, 0xa
jg 0x430a3d
mov edx, 0x462050
movzx esi, byte [esp + 0x1d]
mov al, byte [esp + 0x10]
xor al, byte [esi + 0x462170]
movzx esi, byte [esp + 0x1e]
movzx ebx, byte [esi + 0x462170]
movzx esi, byte [esp + 0x1f]
xor byte [esp + 0x11], bl
movzx ebx, byte [esi + 0x462170]
movzx esi, byte [esp + 0x1c]
xor byte [esp + 0x12], bl
movzx ebx, byte [esi + 0x462170]
xor al, byte [edx]
xor byte [esp + 0x13], bl
mov byte [esp + 0x10], al
inc edx
lea eax, [esp + 0x11]
mov esi, 3
movzx ebx, byte [eax - 1]
xor byte [eax + 3], bl
movzx ebx, byte [eax]
xor byte [eax + 4], bl
movzx ebx, byte [eax + 1]
xor byte [eax + 5], bl
movzx ebx, byte [eax + 2]
xor byte [eax + 6], bl
add eax, 4
sub esi, 1
jne 0x4309c0
xor eax, eax
cmp edi, 0xa
jg 0x430a3d
cmp eax, 4
jge 0x430a27
nop
cmp ecx, 4
jge 0x430a2a
movzx ebx, byte [esp + eax*4 + 0x10]
lea esi, [ecx + edi*4]
mov byte [ebp + esi*4 + 0x14], bl
movzx ebx, byte [esp + eax*4 + 0x11]
lea esi, [ecx + edi*4]
lea esi, [ebp + esi*4]
mov byte [esi + 0x15], bl
movzx ebx, byte [esp + eax*4 + 0x12]
mov byte [esi + 0x16], bl
movzx ebx, byte [esp + eax*4 + 0x13]
inc eax
inc ecx
cmp eax, 4
mov byte [esi + 0x17], bl
jl 0x4309f0
cmp ecx, 4
jne 0x430a2f
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x4309e5
cmp edi, 0xa
jle 0x430971
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e316
add esp, 0x24
ret 4
Function at 0x430a60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
mov eax, ecx
push edi
lea esi, [eax + 0x24]
lea ecx, [eax + 0x28]
mov edi, 9
mov edi, edi
xor eax, eax
jmp 0x430a90
movzx edx, byte [ecx - 1]
movzx edx, byte [eax + edx*4 + 0x45f050]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x45f450]
movzx ebx, byte [ecx - 3]
xor dl, byte [eax + ebx*4 + 0x45f850]
movzx ebx, byte [ecx - 4]
xor dl, byte [eax + ebx*4 + 0x45fc50]
movzx ebx, byte [ecx + 2]
mov byte [esp + eax + 0xc], dl
movzx edx, byte [ecx + 3]
movzx edx, byte [eax + edx*4 + 0x45f050]
xor dl, byte [eax + ebx*4 + 0x45f450]
movzx ebx, byte [ecx + 1]
xor dl, byte [eax + ebx*4 + 0x45f850]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x45fc50]
movzx ebx, byte [ecx + 6]
mov byte [esp + eax + 0x10], dl
movzx edx, byte [ecx + 7]
movzx edx, byte [eax + edx*4 + 0x45f050]
xor dl, byte [eax + ebx*4 + 0x45f450]
movzx ebx, byte [ecx + 5]
xor dl, byte [eax + ebx*4 + 0x45f850]
movzx ebx, byte [ecx + 4]
xor dl, byte [eax + ebx*4 + 0x45fc50]
movzx ebx, byte [ecx + 0xa]
mov byte [esp + eax + 0x14], dl
movzx edx, byte [ecx + 0xb]
movzx edx, byte [eax + edx*4 + 0x45f050]
xor dl, byte [eax + ebx*4 + 0x45f450]
movzx ebx, byte [ecx + 9]
xor dl, byte [eax + ebx*4 + 0x45f850]
movzx ebx, byte [ecx + 8]
xor dl, byte [eax + ebx*4 + 0x45fc50]
inc eax
cmp eax, 4
mov byte [esp + eax + 0x17], dl
jl 0x430a90
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
add ecx, 0x10
add esi, 0x10
sub edi, 1
jne 0x430a80
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043e316
add esp, 0x14
ret
Function at 0x431d40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
mov ebx, ecx
test eax, eax
ja 0x431d79
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0043e316
add esp, 0x18
ret 0xc
mov ecx, dword [esi + 4]
xor ecx, dword [ebx + 8]
mov edx, dword [esi + 8]
xor edx, dword [ebx + 0xc]
shr eax, 4
push ebp
mov ebp, eax
mov eax, dword [esi]
xor eax, dword [ebx + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebx + 0x10]
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.00430bb0
add esi, 0x10
add ebp, 0xffffffff
je 0x431dfe
nop
mov edx, dword [edi]
xor edx, dword [esi]
mov eax, dword [edi + 4]
xor eax, dword [esi + 4]
mov ecx, dword [edi + 8]
xor ecx, dword [esi + 8]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0xc]
xor edx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
add edi, 0x10
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x20], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x28], edx
call fcn.00430bb0
add esi, 0x10
sub ebp, 1
jne 0x431dc0
mov ecx, dword [edi]
mov dword [ebx + 4], ecx
mov edx, dword [edi + 4]
mov dword [ebx + 8], edx
mov eax, dword [edi + 8]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
shl eax, 4
call fcn.0043e316
add esp, 0x18
ret 0xc
Function at 0x431e40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4537b0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
mov ebx, ecx
test esi, esi
je 0x431f35
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x431f35
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
shr eax, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x10]
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x431f05
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.004312b0
mov edx, dword [esp + 0x20]
xor dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
xor dword [esp + 0x34], edx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
xor eax, ebp
mov ebp, dword [esi]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x24], edx
jne 0x431e97
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], ebp
pop ebp
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x20]
pop edi
mov dword [ebx + 0xc], ecx
pop esi
mov dword [ebx + 0x10], edx
shl eax, 4
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0043e316
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0043e316
add esp, 0x2c
ret 0xc

Function at 0x434bf0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret 4

Function at 0x435970
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4359c3
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x80000000
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret