joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10042331
Capabilities:
Read http header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edx, edx
mov dword [ebp - 8], 4
push edx
lea eax, [ebp - 8]
mov dword [ebp - 4], edx
push eax
lea eax, [ebp - 4]
mov edi, 0x20000013
push eax
push edx
push edi
push dword [ecx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1004239a
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
xor edx, edx
push esi
mov ecx, edi
call fcn.1003582e
push esi
push 0x100144d8
push 0x10014518
call fcn.1003511d
add esp, 0xc
test esi, esi
jle 0x10042396
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x100423a4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x10042480
Capabilities:
Receive http response

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], ecx
test edi, edi
je 0x1004253e
push edi
push 0x10014748
push 0x10014788
call fcn.100350d6
add esp, 0xc
lea eax, [edi + 1]
push eax
call fcn.1004705a
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100424d5
push 0x10014748
push 0x10005518
mov esi, 0x8007000e
call fcn.10035135
pop ecx
pop ecx
jmp 0x10042536
lea eax, [edi + 1]
push eax
push esi
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
push esi
push edi
push ebx
push dword [eax + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1004253e
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
mov ecx, edi
call fcn.10035bc0
test edi, edi
je 0x1004253e
push edi
push 0x100147d4
push 0x10014748
push 0x10005980
call fcn.1003511d
add esp, 0x10
test edi, edi
jg 0x10042529
mov esi, edi
jmp 0x10042532
movzx esi, di
or esi, 0x80070000
test esi, esi
jns 0x1004253e
push ebx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
push esi
push 0x10014748
push 0x10005690
call fcn.100350d6
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100449a4
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1004e214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
xor edi, edi
pop eax
mov dword [ebp - 8], edi
call fcn.10047510
mov eax, esp
lea ecx, [ebp - 0x30]
push 0x1c
push ecx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test eax, eax
je 0x10044a6c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x50]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x10044a0a
cmp dword [ebp - 8], edi
jbe 0x10044a0a
mov edi, dword [ebp - 8]
lea esi, [ebx - 1]
add esi, edi
cmp esi, edi
jb 0x10044a6c
mov eax, ebx
neg eax
and esi, eax
je 0x10044a24
lea eax, [esi + ebx]
cmp eax, esi
jb 0x10044a6c
mov esi, eax
lea eax, [ebx + ebx]
cmp esi, eax
jae 0x10044a2d
mov esi, eax
mov eax, dword [ebp - 0x10]
mov edi, ebx
neg edi
add eax, ebx
and edi, dword [ebp - 0xc]
sub edi, esi
cmp edi, eax
jb 0x10044a6c
push 4
push 0x1000
push esi
push edi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
test eax, eax
je 0x10044a6c
lea ecx, [ebp - 0x14]
push ecx
push 0x104
push esi
push edi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
test eax, eax
je 0x10044a6c
xor eax, eax
inc eax
jmp 0x10044a6e
xor eax, eax
lea esp, [ebp - 0x60]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100468a0
leave
ret

Function at 0x10044a80
Capabilities:
Access pe header
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
push esi
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ecx, dword fs:[0x30]
mov edx, eax
mov esi, 0x2000
cmp byte [ecx + 2], 0
jne 0x10044ab4
test edx, edx
je 0x10044ab4
mov eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x64]
sub eax, ecx
cmp eax, esi
jae 0x10044ab6
xor ecx, ecx
mov dword [0x1004eaf4], ecx
test edx, edx
jne 0x10044aca
or eax, 0xffffffff
mov dword [0x1004eaf0], eax
jmp 0x10044ae7
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf78]
mov dword [0x1004eaf0], eax
test eax, eax
jne 0x10044ae7
mov dword [0x1004eaf0], esi
mov eax, esi
add eax, 8
pop esi
cmp eax, 8
jae 0x10044afa
mov dword [0x1004eaf0], 0xfffffff7
mov dword [0x1004eaf8], 0x10044b40
mov dword [0x1004eafc], 0x10044b20
ret 8

Function at 0x100469c0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100469fe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100469f6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10046a00
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100469e6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10046ad0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10046b01
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10046b01
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10046b01
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x414a2f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004148a5

Function at 0x419060
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418bb3

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x401a6a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x40b074]
test eax, eax
je 0x401aa9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401aa9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401aa9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401aa9
cmp dword [ecx + 0x74], 0xe
jbe 0x401aa9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40ab80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40abad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40abad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x7ac23356
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4ed67853
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
mov ecx, 0x3a77116a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0xb0f02f2
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x404273
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x144]
call fcn.004ca228
push dword [esi + 0x14c]
call fcn.004ca228
push dword [esi + 0x150]
call fcn.004ca228
push dword [esi + 0x148]
call fcn.004ca228
add esp, 0x10
mov ecx, esi
pop esi
jmp 0x44c7f4
jmp fcn.0044c8f2
Function at 0x407681
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [esi], 0
call fcn.00631510
pop ecx
mov ecx, eax
cmp ecx, 1
jl 0x407741
push 3
cdq
pop ebx
idiv ebx
test edx, edx
jne 0x407741
mov eax, ecx
mov dword [ebp - 0x3f0], 0x12
cdq
idiv ebx
xor ebx, ebx
mov dword [ebp - 0x3f4], eax
test eax, eax
jle 0x40772b
push 3
push edi
lea eax, [ebp - 0x3ec]
push 0x3e8
push eax
call fcn.00631360
lea eax, [ebp - 0x3ec]
add edi, 3
push eax
call fcn.0063df8b
mov ecx, dword [ebp - 0x3f0]
add esp, 0x14
sar ecx, 8
xor cl, al
add eax, dword [ebp - 0x3f0]
mov byte [esi + ebx], cl
inc ebx
lea eax, [eax*2 + 4]
mov dword [ebp - 0x3f0], eax
cmp ebx, dword [ebp - 0x3f4]
jl 0x4076db
push esi
push str._n_Final_password_s
mov byte [esi + ebx], 0
call fcn.00449974
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x407743
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret

Function at 0x407752
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x5e]
push edi
push 0x5a
push 0
push eax
mov dword [ebp - 0x68], 0x160e0501
mov dword [ebp - 0x64], 0x6060205
mov word [ebp - 0x60], 0x102
call fcn.00626f50
mov edi, dword [ebp + 0xc]
add esp, 0xc
xor ecx, ecx
sub edi, 1
je 0x4077b8
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x6c], 0xa
mov eax, ecx
div dword [ebp - 0x6c]
mov al, byte [ebp + edx - 0x68]
xor al, byte [ebx + ecx + 1]
mov byte [esi + ecx], al
inc ecx
cmp ecx, edi
jb 0x407799
pop ebx
push esi
push str.DecodeAutoFTPPassword
push str._n__s_Final_decoded_password_is____s_
mov byte [esi + ecx], 0
call fcn.00449974
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
call fcn.005fe955
leave
ret
Function at 0x4077e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [edi], 0
call fcn.00631510
pop ecx
cmp eax, 1
jb 0x4078e5
push ebx
push esi
push dword [ebp + 8]
push dword [ebp + 0x10]
push edi
call fcn.006311ec
push edi
mov ebx, edi
mov esi, edi
call fcn.00631510
add esp, 0x10
movzx eax, byte [esi]
inc esi
mov cl, byte [eax + 0x680a78]
cmp cl, 0xff
je 0x40789f
cmp cl, 0xfe
je 0x407817
cmp cl, 0x41
ja 0x40789f
movzx eax, byte [esi]
inc esi
mov dl, byte [eax + 0x680a78]
cmp dl, 0xff
je 0x40789f
cmp dl, 0xfe
je 0x407830
cmp dl, 0x41
ja 0x40789f
mov al, dl
shl cl, 2
shr al, 4
or al, cl
mov byte [ebx], al
inc ebx
movzx eax, byte [esi]
inc esi
mov cl, byte [eax + 0x680a78]
cmp cl, 0xff
je 0x40789f
cmp cl, 0xfe
je 0x407856
cmp cl, 0x41
ja 0x40789f
mov al, cl
shl dl, 4
shr al, 2
or dl, al
mov byte [ebx], dl
inc ebx
movzx eax, byte [esi]
inc esi
mov al, byte [eax + 0x680a78]
cmp al, 0xff
je 0x40789f
cmp al, 0xfe
je 0x40787c
cmp al, 0x41
ja 0x40789f
shl cl, 6
or cl, al
mov byte [ebx], cl
inc ebx
jmp 0x407817
mov byte [ebx], 0
sub ebx, edi
push ebx
call fcn.0063d3c4
mov ebx, eax
push edi
mov esi, ebx
call fcn.00631510
pop ecx
pop ecx
lea ecx, [edi - 1]
add ecx, eax
jmp 0x4078c9
mov al, byte [ecx]
cmp al, 0xfe
jae 0x4078cd
xor al, 0x5a
mov byte [esi], al
inc esi
dec ecx
cmp ecx, edi
jae 0x4078bd
push ebx
push dword [ebp + 0x10]
mov byte [esi], 0
push edi
call fcn.006311ec
push ebx
call fcn.0063d3a9
add esp, 0x10
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x4078e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3eb]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x3e7
push ebx
push eax
mov byte [ebp - 0x3ec], bl
call fcn.00626f50
push esi
mov byte [edi], bl
call fcn.00631510
add esp, 0x10
test eax, eax
je 0x40793d
xor byte [esi + ebx], 2
inc ebx
push esi
call fcn.00631510
pop ecx
cmp ebx, eax
jb 0x40792d
push 0x3e8
lea eax, [ebp - 0x3ec]
push eax
push esi
call fcn.00445e29
add esp, 0xc
test eax, eax
jne 0x407967
push esi
push str._n_Failed_to_decode_base64_password__s
call fcn.00449974
pop ecx
pop ecx
xor eax, eax
jmp 0x4079a0
push dword [ebp + 0x10]
lea eax, [ebp - 0x3ec]
push edi
push eax
call fcn.00445e29
add esp, 0xc
test eax, eax
jne 0x407987
lea eax, [ebp - 0x3ec]
push eax
jmp 0x407957
push edi
push edi
call fcn.00631510
pop ecx
push eax
push str._n_After_base64_2__Final_password___d____s
call fcn.00449974
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret

Function at 0x4079af
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x4079d6
imul esi, esi, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor byte [ecx + edi], al
inc ecx
cmp ecx, edx
jb 0x4079c2
mov byte [ecx + edi], 0
pop edi
pop esi
pop ebp
ret
Function at 0x4079de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push esi
push str.DecodeDirOpusPassword
push str._n__s_Input_encoded_password__s
call fcn.00449974
push esi
mov byte [ebx], 0
call fcn.00631510
add esp, 0x10
cmp eax, 3
jae 0x407a21
xor eax, eax
jmp 0x407aa7
push edi
push 0x3e8
lea eax, [ebp - 0x3ec]
push eax
lea eax, [esi + 2]
push eax
call fcn.00445e29
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x407a57
push esi
push str.DecodeDirOpusPassword
push str._s___Base64_decoding_failed_for__s
call fcn.00449974
add esp, 0xc
xor eax, eax
jmp 0x407aa6
push edi
push str.DecodeDirOpusPassword
push str._n__s_Success:_After_Base64_decoding_size_is__d
call fcn.00449974
add esp, 0xc
xor ecx, ecx
test edi, edi
je 0x407a88
lea eax, [ecx + 3]
xor byte [ebp + ecx - 0x3ec], al
inc ecx
mov eax, ecx
cmp ecx, edi
jb 0x407a70
cmp eax, 0x3e8
jae 0x407ab5
lea eax, [ebp - 0x3ec]
mov byte [ebp + ecx - 0x3ec], 0
push eax
push dword [ebp + 0x10]
push ebx
call fcn.006311ec
xor eax, eax
add esp, 0xc
inc eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
call fcn.005fe87a
int3

Function at 0x407abb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [esi], 0
call fcn.00631510
pop ecx
cmp eax, 1
jae 0x407ad9
xor eax, eax
jmp 0x407b15
push ebx
push dword [ebp + 8]
xor ebx, ebx
call fcn.00631510
pop ecx
test eax, eax
je 0x407b0d
mov eax, dword [ebp + 8]
sub eax, esi
mov dword [ebp - 8], eax
mov al, byte [eax + esi]
push dword [ebp + 8]
xor al, 0x19
inc ebx
mov byte [esi], al
inc esi
call fcn.00631510
cmp ebx, eax
mov eax, dword [ebp - 8]
pop ecx
jb 0x407af1
mov esi, dword [ebp + 0xc]
xor eax, eax
mov byte [ebx + esi], 0
inc eax
pop ebx
pop esi
leave
ret

Function at 0x407b18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push ebx
push str.DecodeFTPRushPassword
push str._n__s_entered___decrypting_password__s
mov dword [ebp - 0xc], 0xd373742b
mov dword [ebp - 8], 0x55104999
call fcn.00449974
push ebx
call fcn.00631510
mov esi, eax
add esp, 0x10
shr esi, 1
cmp esi, 8
jb 0x407b7b
push esi
push str.DecodeFTPRushPassword
push str._n__s_Error___Password_length__d_is_greater_than_8___Not_supported_currently
call fcn.00449974
add esp, 0xc
xor eax, eax
jmp 0x407bbd
lea eax, [ebp - 0x3f4]
push eax
push ebx
call fcn.00449e5f
pop ecx
pop ecx
xor ecx, ecx
test esi, esi
je 0x407ba3
mov al, byte [ebp + ecx - 0x3f4]
xor al, byte [ebp + ecx - 0xc]
mov byte [edi + ecx], al
inc ecx
cmp ecx, esi
jb 0x407b90
push edi
push str.DecodeFTPRushPassword
push str._n__s_Final_decrypted_FTPRush_password_is__s
mov byte [edi + ecx], 0
call fcn.00449974
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
Function at 0x407d2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push str._n_encoded_password_s
mov dword [ebp - 4], 0x2396
call fcn.00449974
mov edi, dword [ebp + 0xc]
push esi
mov byte [edi], 0
call fcn.00631510
add esp, 0xc
cmp eax, 1
jae 0x407d62
xor eax, eax
jmp 0x407de8
push ebx
push esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.00631510
mov ebx, eax
shr ebx, 1
pop ecx
je 0x407dc6
mov edi, esi
mov eax, esi
lea ecx, [ebp - 0x10]
push ecx
push str._02X
push eax
call fcn.00445d89
mov edx, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov eax, edx
shr eax, 8
xor al, cl
mov byte [edi], al
inc edi
lea eax, [ecx + edx]
mov ecx, 0x58bf
imul eax, eax, 0x3193
sub ecx, eax
movzx eax, cx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
sub ebx, 1
jne 0x407d7a
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
push esi
push dword [ebp + 0x10]
push edi
mov byte [eax], 0
call fcn.006311ec
push edi
push str._n_Decoded_password_s
call fcn.00449974
add esp, 0x14
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x407f21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 8]
jne 0x407f40
xor eax, eax
cmp dword [ebp + 0xc], eax
jle 0x407f51
add byte [eax + ecx], 0xfb
inc eax
cmp eax, dword [ebp + 0xc]
jl 0x407f34
jmp 0x407f51
xor eax, eax
cmp dword [ebp + 0xc], eax
jle 0x407f51
xor byte [eax + ecx], 0xc3
inc eax
cmp eax, dword [ebp + 0xc]
jl 0x407f47
push ecx
push str.DecodeMirandaPassword
push str._s_:_Decoded_password_is__s
mov byte [eax + ecx], 0
call fcn.00449974
add esp, 0xc
pop ebp
ret
Function at 0x407f6a
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00631510
push eax
mov ebx, str.DecodeMySqlQBPassword
push ebx
push str._n_n_s___Decoding_Password_of_size__d
call fcn.00449974
push esi
call fcn.00631510
add esp, 0x14
cmp eax, 1
jae 0x407fae
push ebx
push str._s_________Either_password_is_empty_or_encoded_password_is_not_in_valid_format
call fcn.00449974
pop ecx
pop ecx
xor eax, eax
jmp 0x408034
push edi
push esi
call fcn.00449ed8
mov edi, eax
pop ecx
cmp edi, 1
jae 0x407fc5
push ebx
push str._s_________Failed_to_convert_hex_data_to_bytes
jmp 0x407ffe
push edi
push ebx
push str._n_s___Decrypting_the_password_now_of_size__d
call fcn.00449974
add esp, 0xc
mov dword [ebp - 0x10], edi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
jne 0x408009
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nCryptUnprotectData_failed_with_error_0x_.8x
call fcn.00449974
pop ecx
pop ecx
xor eax, eax
jmp 0x408033
push dword [ebp - 8]
push ebx
push str._n_s___Successfully_decrypted_data_with_size__d
call fcn.00449974
push dword [ebp - 8]
mov esi, dword [ebp + 0xc]
push dword [ebp - 4]
push esi
call fcn.006269d0
mov ecx, dword [ebp - 8]
xor eax, eax
add esp, 0x18
inc eax
mov byte [ecx + esi], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408038
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
push str._n_Decoding_password_s
call fcn.00449974
mov esi, dword [ebp + 0xc]
push ebx
mov dword [ebp + 8], 0x2a9a
mov byte [esi], 0
call fcn.00631510
add esp, 0xc
shr eax, 1
mov dword [ebp + 0xc], eax
push 0
pop edi
je 0x4080ac
lea eax, [ebp - 4]
push eax
push str._02X
push ebx
call fcn.00445d89
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [ebp - 4]
add ebx, 2
sar ecx, 8
xor cl, al
add eax, dword [ebp + 8]
imul eax, eax, 0x7ebf
mov byte [edi + esi], cl
mov ecx, 0x3171
sub ecx, eax
inc edi
movzx eax, cx
mov dword [ebp + 8], eax
cmp edi, dword [ebp + 0xc]
jl 0x40806d
push esi
push str._n_Final_password_s
mov byte [edi + esi], 0
call fcn.00449974
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret