joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404aae
Capabilities:
Hash data with md5

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

Function at 0x40618b
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x1a0
mov eax, dword [0x49a2a0]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push ebx
mov ebx, dword [ebp + 0x12c]
push esi
push edi
mov edi, dword [ebp + 0x128]
push 0x40
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x80], 0x44
call fcn.0045cd40
push 0x38
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x3c], 0x3c
call fcn.0045cd40
mov eax, dword [ebp + 0x130]
add esp, 0x18
sub eax, esi
je 0x4062df
dec eax
je 0x4062cc
dec eax
je 0x40625f
dec eax
jne 0x406302
mov ecx, dword [ebp + 0x10]
call fcn.0040612e
test eax, eax
je 0x4062cc
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x134]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], str.runas
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x406302
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x406302
push ebx
push edi
lea eax, [ebp + 0x18]
push str._s__s
push eax
call fcn.0045e516
mov ax, word [ebp + 0x134]
add esp, 0x10
mov word [ebp - 0x50], ax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push 0x10
push esi
push esi
push esi
lea eax, [ebp + 0x18]
push eax
push esi
mov dword [ebp - 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x406305
push 0xffffffffffffffff
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x14]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 4]
call esi
jmp 0x406302
push dword [ebp + 0x134]
push esi
push ebx
push edi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x406302
push ebx
push edi
lea eax, [ebp + 0x18]
push str._s__s
push eax
call fcn.0045e516
add esp, 0x10
push dword [ebp + 0x134]
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x11c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045cdba
add ebp, 0x120
leave
ret 0x10
Function at 0x4066bb
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x11c]
sub esp, 0x19c
mov eax, dword [0x49a2a0]
xor eax, ebp
mov dword [ebp + 0x118], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x124]
push 0x40
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x80], 0x44
call fcn.0045cd40
push 0x3c
pop ebx
push 0x38
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x3c], ebx
call fcn.0045cd40
mov eax, dword [ebp + 0x128]
add esp, 0x18
sub eax, esi
je 0x40677e
dec eax
je 0x4067b0
dec eax
je 0x40676b
dec eax
jne 0x406793
mov ecx, dword [ebp + 0x10]
call fcn.0040612e
test eax, eax
je 0x40677e
mov eax, dword [ebp + 0x12c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], str.runas
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x406793
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x406793
push dword [ebp + 0x12c]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.0040633b
test eax, eax
jne 0x406793
push dword [ebp + 0x12c]
push esi
push esi
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp + 0x118]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0045cdba
add ebp, 0x11c
leave
ret 0xc
push edi
lea eax, [ebp + 0x14]
push str.explorer.exe__s
push eax
call fcn.0045e516
mov ax, word [ebp + 0x12c]
add esp, 0xc
mov word [ebp - 0x50], ax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push 0x10
push esi
push esi
push esi
lea eax, [ebp + 0x14]
push eax
push esi
mov dword [ebp - 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x406793
push dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 4]
call esi
jmp 0x406793
Function at 0x40a08e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x40a099
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x40a154
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47b250]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47b250]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47b250]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47b250]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47b250]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47b250]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47b250]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47b250]
inc edx
sub edi, 8
dec esi
jne 0x40a0b9
pop ebx
test edi, edi
je 0x40a16d
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x47b250]
inc edx
dec edi
jne 0x40a158
pop edi
not eax
pop esi
ret
Function at 0x40a697
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
sub esp, 0x514
lea ebp, [esp - 4]
mov eax, dword [0x49a2a0]
xor eax, ebp
mov dword [ebp + 0x514], eax
push 0x28
mov eax, 0x4731af
call fcn.0045d993
xor ebx, ebx
push 0x207
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.0045cd40
push 0x103
lea eax, [ebp + 0x411]
push ebx
push eax
mov byte [ebp + 0x410], bl
call fcn.0045cd40
add esp, 0x18
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.0040611e
call dword [sym.imp.USER32.dll_GetInputState]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp + 0x30c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp + 0x30c]
push eax
push ebx
push 0x47b8cc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp + 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp + 0x30c]
push str..bat
push eax
call fcn.0045cde0
pop ecx
pop ecx
push esi
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push esi
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp]
push eax
call edi
lea eax, [ebp + 0x410]
push eax
push eax
push dword [0x4975bc]
lea eax, [ebp + 0x104]
push eax
call fcn.0045e516
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push 3
push 0xc0000000
lea eax, [ebp + 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x40a7fa
or ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406127
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x514]
xor ecx, ebp
call fcn.0045cdba
add ebp, 0x518
leave
ret
push ebx
lea ecx, [ebp - 0x14]
push ecx
push 0x208
lea ecx, [ebp + 0x104]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp + 0x30c]
push eax
call edi
push ebx
lea eax, [ebp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40a7c9

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
Function at 0x40cd1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
inc eax
cmp dword [ecx + 0x6c8], 0
je 0x40cd30
mov eax, 0x101
lea ecx, [ebp + 0xc]
push ecx
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40cd4b
xor eax, eax
jmp 0x40cd78
push edi
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
pop ebp
ret 0x18

Function at 0x40cd7c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
push 2
pop eax
mov edi, 0x20006
cmp dword [ecx + 0x6c8], esi
je 0x40cd9f
mov eax, 0x102
mov edi, 0x20106
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40cdd6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40cdd6
xor eax, eax
jmp 0x40ce06
push dword [ebp + 0x14]
call fcn.0045d300
pop ecx
inc eax
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, esi
sete al
pop edi
pop esi
leave
ret 0x14
Function at 0x40f9bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2ac]
sub esp, 0x32c
mov eax, dword [0x49a2a0]
xor eax, ebp
mov dword [ebp + 0x2a8], eax
mov eax, dword [ebp + 0x2b8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x2b4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x2bc]
xor ebx, ebx
mov esi, 0x103
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x1a5]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov byte [ebp + 0x1a4], bl
call fcn.0045cd40
push esi
lea eax, [ebp - 0x63]
push ebx
push eax
mov byte [ebp - 0x64], bl
call fcn.0045cd40
push esi
lea eax, [ebp + 0xa1]
push ebx
push eax
mov dword [ebp - 0x6c], 0x104
mov dword [ebp - 0x70], 1
mov byte [ebp + 0xa0], bl
call fcn.0045cd40
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x24
lea eax, [ebp - 0x68]
push eax
push 0x20019
push ebx
push edi
mov edi, SysReAllocString
push edi
call esi
test eax, eax
jne 0x40fbcd
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1a4]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x74]
lea eax, [ebp + 0x1a4]
push eax
call fcn.0046e88d
pop ecx
pop ecx
test eax, eax
jne 0x40fbcd
push dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push str._s_shellopencommand
push eax
call fcn.00407520
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x64]
push eax
push edi
call esi
test eax, eax
jne 0x40fb30
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1a4]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0x104
mov byte [ebp + 0x1a4], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x78]
lea eax, [ebp + 0xa0]
push str.__s_____1_
push eax
call fcn.00407520
lea eax, [ebp + 0xa0]
push eax
lea eax, [ebp + 0x1a4]
push eax
call fcn.0046e88d
add esp, 0x14
test eax, eax
jne 0x40fb30
mov dword [ebp - 0x80], 1
push dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push str._sDefaultIcon
push eax
call fcn.00407520
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x64]
push eax
push edi
call esi
test eax, eax
jne 0x40fbbe
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1a4]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0x104
mov byte [ebp + 0x1a4], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x78]
lea eax, [ebp + 0xa0]
push str._s__0
push eax
call fcn.00407520
lea eax, [ebp + 0xa0]
push eax
lea eax, [ebp + 0x1a4]
push eax
call fcn.0046e88d
add esp, 0x14
test eax, eax
jne 0x40fbbe
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x80], ebx
je 0x40fbcd
cmp dword [ebp - 0x7c], ebx
je 0x40fbcd
xor eax, eax
inc eax
jmp 0x40fbcf
xor eax, eax
mov ecx, dword [ebp + 0x2a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045cdba
add ebp, 0x2ac
leave
ret 0xc
Function at 0x417d33
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x417d41
and dword [esi], 0
xor eax, eax
inc eax
cmp dword [ebp + 0x10], 0
jbe 0x417d83
mov eax, 0x8000
cmp dword [ebp + 0x10], eax
jae 0x417d57
mov eax, dword [ebp + 0x10]
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], 0
test esi, esi
je 0x417d83
add dword [esi], edx
test eax, eax
setne al
movzx eax, al
push eax
call fcn.00417742
pop ecx
pop esi
pop ebp
ret 0x10
Function at 0x41a337
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
shr esi, 2
mov eax, esi
shr eax, 1
add eax, 3
mov dword [ecx], eax
add ecx, 0x10
xor eax, eax
push edi
mov dword [ebp - 4], 1
test esi, esi
jbe 0x41a36b
mov edi, dword [edx]
mov dword [ecx + eax*4], edi
inc eax
add edx, 4
cmp eax, esi
jb 0x41a35e
mov eax, dword [ecx + esi*4 - 4]
mov edx, esi
imul edx, edx, 0xc
and dword [ebp + 8], 0
lea edx, [edx + ecx + 0x70]
mov dword [ebp - 8], edx
mov edx, 0xff
cmp dword [ebp + 8], 0
jne 0x41a3e5
mov edi, eax
and edi, edx
movzx edi, byte [edi + str.cw]
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl edi, 8
or edi, ebx
mov ebx, eax
shr eax, 8
shr ebx, 0x10
and eax, edx
movzx eax, byte [eax + str.cw]
xor eax, dword [ebp - 4]
shl dword [ebp - 4], 1
and ebx, edx
movzx ebx, byte [ebx + str.cw]
shl edi, 8
or edi, ebx
shl edi, 8
or eax, edi
test dword [ebp - 4], 0x100
je 0x41a3e0
mov dword [ebp - 4], 0x1b
mov dword [ebp + 8], esi
jmp 0x41a430
cmp dword [ebp + 8], 4
jne 0x41a430
cmp esi, 6
jbe 0x41a430
mov edi, eax
shr edi, 0x10
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
and edi, edx
movzx edi, byte [edi + str.cw]
shl ebx, 8
or edi, ebx
mov ebx, eax
shr ebx, 8
and ebx, edx
movzx ebx, byte [ebx + str.cw]
shl edi, 8
and eax, edx
movzx eax, byte [eax + str.cw]
or edi, ebx
shl edi, 8
or eax, edi
xor eax, dword [ecx]
dec dword [ebp + 8]
mov dword [ecx + esi*4], eax
add ecx, 4
cmp ecx, dword [ebp - 8]
jne 0x41a384
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41b5c6
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x41b5da
xor eax, eax
leave
ret
lea eax, [ebp - 0x10]
push eax
call fcn.0041b5ac
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
pop ecx
leave
ret
Function at 0x41f9c9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
push ebp
xor eax, eax
push esi
mov esi, dword [esp + 0x10]
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
inc eax
push 0x20
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
pop ebp
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
cmp eax, ebp
jbe 0x41fa31
mov eax, ebp
mov dword [esi + 0x54], eax
mov eax, dword [esi]
push edi
mov dword [esi + 0x58], ebx
cmp eax, dword [esi + 0x20]
je 0x41fa70
lea edi, [esi + 0xc8]
cmp dword [edi + 8], ebx
je 0x41fa51
push edi
call fcn.0041ed8a
pop ecx
add edi, 0x28
dec ebp
jne 0x41fa45
mov ecx, dword [esi + 0x5c]
cmp ecx, ebx
je 0x41fa6b
mov eax, dword [esi + 0x14]
push ecx
push eax
call dword [eax + 4]
pop ecx
pop ecx
mov dword [esi + 0x5c], ebx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
push dword [esi + 0x10]
lea eax, [esi + 0x98]
push eax
call fcn.0041ec8d
mov eax, dword [esi + 0x58]
lea edi, [eax + 5]
imul edi, edi, 0x28
add edi, esi
inc eax
pop ecx
mov dword [esi + 0x58], eax
pop ecx
mov eax, edi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call fcn.0041ed33
mov ebp, eax
cmp ebp, ebx
jne 0x41fadb
lea eax, [edi + 0x20]
push eax
call fcn.0042117a
mov ebp, eax
pop ecx
cmp ebp, ebx
jne 0x41fadb
lea eax, [edi + 0x1c]
push eax
call fcn.0042117a
mov ebp, eax
pop ecx
cmp ebp, ebx
jne 0x41fadb
push edi
call fcn.0041f76e
mov ebp, eax
cmp ebp, ebx
je 0x41fadb
mov eax, esi
mov dword [esi + 0x44], ebx
call fcn.0041edf0
cmp ebp, ebx
pop edi
jle 0x41faea
and ebp, 0xffff
or ebp, 0x80070000
cmp ebp, ebx
je 0x41faf1
mov dword [esi + 0x40], ebp
cmp dword [esi + 0x38], ebx
jne 0x41fb03
cmp dword [esi + 0x40], ebx
jne 0x41fb03
cmp dword [esi + 0x3c], ebx
jne 0x41fb03
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x44]
neg eax
sbb eax, eax
not eax
pop esi
and eax, ebp
pop ebp
pop ebx
ret

Function at 0x420cf5
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax + 0x20], 0x6a09e667
mov dword [eax + 0x24], 0xbb67ae85
mov dword [eax + 0x28], 0x3c6ef372
mov dword [eax + 0x2c], 0xa54ff53a
mov dword [eax + 0x30], 0x510e527f
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x38], 0x1f83d9ab
mov dword [eax + 0x3c], 0x5be0cd19
ret

Function at 0x42112c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.0046139d
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.004210bc
add esp, 0x1c
leave
ret
Function at 0x42a6df
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 2
jne 0x42a6f9
mov eax, dword [eax + 0xc]
mov dword [0x4a0340], eax
xor eax, eax
inc eax
pop ebp
ret
cmp ecx, 3
jne 0x42a708
mov eax, dword [eax + 0x10]
mov dword [0x4a0344], eax
jmp 0x42a6f4
push esi
xor esi, esi
cmp dword [eax + 8], esi
jne 0x42a714
xor eax, eax
jmp 0x42a790
mov ecx, dword [eax + 0x14]
mov dword [0x4a0318], ecx
mov ecx, dword [eax + 0x18]
mov dword [0x4a031c], ecx
mov ecx, dword [eax + 0x1c]
mov dword [0x4a0320], ecx
mov ecx, dword [eax + 0x20]
mov dword [0x4a0324], ecx
mov ecx, dword [eax + 0x24]
mov dword [0x4a0328], ecx
mov ecx, dword [eax + 0x28]
mov dword [0x4a032c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [0x4a0330], ecx
mov ecx, dword [eax + 0x30]
mov dword [0x4a0334], ecx
lea ecx, [ebp + 8]
push ecx
push esi
mov dword [0x4a0340], esi
mov dword [0x4a0344], esi
push dword [eax + 8]
push 0x42a697
push esi
push esi
call fcn.0046139d
push eax
call fcn.0042a641
xor eax, eax
add esp, 0x1c
cmp dword [0x4a0348], esi
sete al
pop esi
pop ebp
ret
Function at 0x43288d
Capabilities:
Set file attributes

Disassembly:
test dword [esp + 8], 0xf0000000
je 0x43289f
and dword [esp + 8], 0x3fff
jmp fcn.0043283b

Function at 0x4328a4
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4a0314], 0
jne 0x4328de
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00422737
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0043e724
pop ecx
test esi, esi
pop esi
je 0x4328eb
mov al, 1
leave
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jmp 0x4328d8
xor al, al
leave
ret

Function at 0x432966
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4a0314], 0
jne 0x4329a3
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00422737
mov eax, dword [eax]
pop ecx
pop ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0043e724
pop ecx
test esi, esi
pop esi
je 0x4329b2
mov al, 1
leave
ret
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x43299d
xor al, al
leave
ret

Function at 0x4329b6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00433184
pop ecx
cmp eax, 0xffffffff
je 0x4329e4
test al, 0x10
jne 0x4329e4
test al, 1
je 0x4329e4
and eax, 0xfffffffe
push eax
push esi
call fcn.0043283b
pop ecx
pop ecx
test al, al
je 0x432a1e
cmp byte [0x4a0314], 0
push esi
jne 0x432a14
lea eax, [ebp - 0xc]
push eax
call fcn.00422737
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0043e724
pop ecx
test esi, esi
je 0x432a1e
mov al, 1
jmp 0x432a20
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jmp 0x432a0e
xor al, al
pop esi
leave
ret