joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c4d0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44a7b6
mov eax, dword fs:[0]
push eax
mov eax, 0x3dfc
call fcn.0043eed0
mov eax, dword [0x4537c0]
xor eax, esp
mov dword [esp + 0x3df8], eax
push ebp
push esi
push edi
mov eax, dword [0x4537c0]
xor eax, esp
push eax
lea eax, [esp + 0x3e0c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3e1c]
push esi
call fcn.004273b0
test al, al
je 0x41c783
push esi
call fcn.0041b140
test al, al
je 0x41c783
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x35d8]
push 0x44c870
push ecx
call fcn.0043e565
movsx edx, byte [esp + 0x35e0]
add esp, 0xc
push edx
push 0xdfe
call fcn.004308b0
push eax
call fcn.00412160
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00435880
lea eax, [esp + 0x35d4]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3e18], 0
call fcn.004358b0
push 2
push 0
push 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x11b8]
call fcn.00432980
lea ecx, [esp + 0xd1c]
mov byte [esp + 0x3e14], 1
call fcn.00436350
lea ecx, [esp + 0xd40]
call fcn.00436350
lea ecx, [esp + 0xd64]
call fcn.00436350
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x11ac]
call fcn.004333a0
test eax, eax
jne 0x41c75b
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x41c600
mov al, byte [esi]
cmp byte [esp + 0x108], al
jne 0x41c75b
cmp byte [esp + 0x109], 0x3a
jne 0x41c75b
mov cx, word [esp + 0x508]
test cx, cx
je 0x41c647
movsx eax, al
movzx ecx, cx
cmp ecx, eax
jne 0x41c75b
cmp word [esp + 0x50a], 0x3a
jne 0x41c75b
call fcn.0041dd50
test eax, eax
je 0x41c669
cmp word [esp + 0x508], 0
je 0x41c669
push 0
lea edx, [esp + 0x50c]
push edx
call edi
jmp 0x41c675
push 0
lea eax, [esp + 0x10c]
push eax
call ebp
cmp byte [esp + 0xd18], 0
je 0x41c6b9
call fcn.0041dd50
test eax, eax
je 0x41c6a6
cmp word [esp + 0x508], 0
je 0x41c6a6
lea ecx, [esp + 0x508]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41c73f
lea edx, [esp + 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x41c73f
call fcn.0041dd50
test eax, eax
je 0x41c6dd
cmp word [esp + 0x508], 0
je 0x41c6dd
lea eax, [esp + 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41c6eb
lea ecx, [esp + 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
jne 0x41c73f
push 0xd48
call fcn.004308b0
push eax
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x39dc]
push str._s____s
push eax
call fcn.0043e565
lea ecx, [esp + 0x39e4]
push ecx
push 0x44c590
push 0
call fcn.004128f0
add esp, 0x1c
call fcn.00411f60
mov ecx, 0x45d404
call fcn.00416370
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x11ac]
call fcn.004333a0
test eax, eax
je 0x41c600
lea ecx, [esp + 0x11a8]
mov byte [esp + 0x3e14], 0
call fcn.00432bf0
lea ecx, [esp + 0x10]
mov dword [esp + 0x3e14], 0xffffffff
call fcn.00435550
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.0043e556
add esp, 0x3e08
ret 4
Function at 0x41fe00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4537c0]
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 0x41ff63
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 0x41fec0
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 0x41fef0
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x41feb4
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 0x41fe50
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 0x41ffad
cmp eax, edx
ja 0x41ffad
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0043e556
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.0043e556
add esp, 0xb4
ret 8
Function at 0x422920
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 0x420500
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 0x4229a8
push str.CreateThread_failed
mov ecx, 0x45d404
call fcn.00416640
mov ecx, 0x45d404
call fcn.00416370
push 2
mov ecx, 0x45d404
call fcn.004167b0
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esi], ebx
mov dword [esp + 0x1c], ebp
call fcn.004205d0
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x423f40
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.0040d480
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x400000
jae 0x423ff3
mov edx, dword [ebp + 0x14a0]
cmp edx, ecx
jae 0x423fc4
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 0x423fb0
jmp 0x423ff3
sub edx, ecx
xor eax, eax
mov esi, edx
test ecx, ecx
jbe 0x423fe2
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 0x423fd0
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 0x424069
mov esi, dword [ebp + 0x24]
and eax, esi
xor edx, edx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x424092
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 0x424024
jmp 0x424092
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x424092
push eax
mov ecx, ebp
call fcn.00421490
mov eax, dword [ebp + 0x14a0]
inc eax
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x424076
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.0043e700
add esp, 0xc
mov ecx, esi
call fcn.004377c0
lea ecx, [ebp + 0xda8]
call fcn.00426730
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 0x427a30
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 0x427ab7
mov edx, dword [esp + 4]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x427ab7
cmp byte [esi], 0
je 0x427ab7
push esi
call fcn.00427970
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x427a77
mov ecx, dword [0x44cab0]
mov dword [eax], ecx
mov dx, word [0x44cab4]
mov word [eax + 4], dx
mov cl, byte [0x44cab6]
push 0
push esi
mov byte [eax + 6], cl
call fcn.0041b310
test al, al
jne 0x427ae3
push 0
push 0
push 0
push esi
call fcn.0041bac0
test eax, eax
je 0x427ae3
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call fcn.004274f0
lea edx, [esi + 2]
cmp eax, edx
jb 0x427ae0
cmp byte [esi + 1], 0x3a
jne 0x427adf
add esi, 4
cmp eax, esi
jb 0x427ae0
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 0x427b00
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 0x427b57
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 0x427b68
push 0
push esi
call fcn.0041b310
test al, al
jne 0x427b6e
push esi
call fcn.00427a30
pop esi
add esp, 8
ret 4
Function at 0x430770
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x4537c0]
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 0x4307a8
push ebp
push esi
push ebx
call fcn.004353d0
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 0x430890
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4307d0
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 0x430885
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.00427970
push esi
call fcn.004274f0
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430840
push edi
lea edi, [esp + 0x1c]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x430850
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.0041b310
pop edi
test al, al
je 0x430885
push ebp
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.004353d0
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.0043e556
add esp, 0x810
ret 0xc
Function at 0x430930
Capabilities:
Check os version

Disassembly:
sub esp, 0x498
mov eax, dword [0x4537c0]
xor eax, esp
mov dword [esp + 0x494], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x430967
mov eax, dword [0x45d400]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x45d3fc]
mov dword [0x45d400], ecx
mov byte [esi], 0
mov eax, dword [esp + 0x4a4]
lea edx, [esp + 0x98]
test eax, eax
je 0x43098c
sub edx, eax
jmp 0x430980
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x430980
jmp 0x43099a
push 0x400
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x98]
push eax
call fcn.004274f0
mov ecx, dword [str.rarlng.dll]
mov dword [eax], ecx
mov edx, dword [0x44cc08]
mov dword [eax + 4], edx
mov cx, word [0x44cc0c]
mov word [eax + 8], cx
mov dl, byte [0x44cc0e]
mov byte [eax + 0xa], dl
push 0x400
lea eax, [esp + 0x9c]
push eax
mov ecx, eax
push ecx
call fcn.00430770
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x430a21
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x430a0d
jne 0x430a21
cmp dword [esp + 0xc], 1
jbe 0x430a21
push 2
push 0
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x430a2f
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x45d400], eax
setne al
mov byte [esi], al
pop esi
test al, al
jne 0x430a68
mov eax, dword [esp + 0x49c]
mov dword [0x45d400], eax
mov dword [0x45d3fc], eax
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.0043e556
add esp, 0x498
ret 8
mov ecx, dword [esp + 0x494]
mov edx, dword [esp + 0x49c]
xor ecx, esp
mov dword [0x45d3fc], edx
call fcn.0043e556
add esp, 0x498
ret 8
Function at 0x430a90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x4537c0]
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 0x430bed
cmp eax, 4
jge 0x430b06
mov edi, edi
cmp ecx, 4
jge 0x430b09
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 0x430ad0
cmp ecx, 4
jne 0x430b0e
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x430ac0
cmp edi, 0xa
jg 0x430bed
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 0x430b70
xor eax, eax
cmp edi, 0xa
jg 0x430bed
cmp eax, 4
jge 0x430bd7
nop
cmp ecx, 4
jge 0x430bda
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 0x430ba0
cmp ecx, 4
jne 0x430bdf
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x430b95
cmp edi, 0xa
jle 0x430b21
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e556
add esp, 0x24
ret 4
Function at 0x430c10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4537c0]
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 0x430c40
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 0x430c40
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 0x430c30
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043e556
add esp, 0x14
ret
Function at 0x431ee0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4537c0]
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 0x431f19
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0043e556
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.00430d50
add esi, 0x10
add ebp, 0xffffffff
je 0x431f9e
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.00430d50
add esi, 0x10
sub ebp, 1
jne 0x431f60
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.0043e556
add esp, 0x18
ret 0xc
Function at 0x431fe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4537c0]
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 0x4320d5
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x4320d5
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 0x4320a5
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.00431450
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 0x432037
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.0043e556
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0043e556
add esp, 0x2c
ret 0xc

Function at 0x434da0
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 0x435b60
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 0x435bb3
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