joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4381e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x438202
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 0x19
jb 0x4381f0
mov byte [esi + 0x1a], 0
pop esi
ret

Function at 0x438210
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x438232
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x438220
mov byte [esi + 0xe], 0
pop esi
ret

Function at 0x438340
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x438362
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 7
jb 0x438350
mov byte [esi + 8], 0
pop esi
ret

Function at 0x438370
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x438392
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x438380
mov byte [esi + 5], 0
pop esi
ret

Function at 0x4383a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x4383c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x4383b0
mov byte [esi + 4], 0
pop esi
ret

Function at 0x4383d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x4383f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0x4383e0
mov byte [esi + 6], 0
pop esi
ret

Function at 0x438400
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x438422
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x438410
mov byte [esi + 7], 0
pop esi
ret

Function at 0x438430
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x438452
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x438440
mov byte [esi + 9], 0
pop esi
ret
Function at 0x4387d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c47a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
push esi
mov dword [ebx], 0x490b80
push edi
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [ebx + 4]
mov eax, dword [ebx]
push 0
push edi
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.0043a7a0
mov dword [ebp - 4], 2
mov eax, dword [ebx]
push 8
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], edi
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0043e742
add esp, 4
mov esi, eax
push 1
mov byte [ebp - 4], 3
call fcn.0043c609
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 4
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi + 0x20]
push 0
push 0
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.0043a1a0
mov byte [ebp - 4], 4
cmp dword [edi + 0x4c], 0
jne 0x43897d
push 0x40
push 2
push dword [ebp + 8]
call fcn.0043cb3a
add esp, 0xc
test eax, eax
je 0x43897d
push 1
push eax
mov ecx, edi
call fcn.0043a1a0
mov eax, dword [edi + 0x34]
mov byte [ebp - 4], 5
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
call fcn.0043ae60
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
call edx
test al, al
je 0x438957
mov dword [edi + 0x38], 0
jmp 0x438964
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [edi + 0x38], eax
call fcn.0043a690
mov byte [ebp - 4], 7
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x43899e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x43899e
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, ebx
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00429b20
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x438c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x438c8b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x438cad
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x438caf
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x438d33
jg 0x438cc4
test esi, esi
je 0x438d33
test ecx, ecx
jl 0x438d0d
jg 0x438cce
test eax, eax
je 0x438d0d
cmp edi, ecx
jg 0x438ce2
jl 0x438cd8
cmp esi, eax
jae 0x438ce2
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.00455ac0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x438d10
mov edx, dword [ebp + 8]
test edi, edi
jl 0x438d33
jg 0x438d1a
test esi, esi
je 0x438d33
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x438d33
push eax
push esi
push 1
push edx
call fcn.0045aa33
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x438d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x438d7b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x438d9d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x438d9f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x438e3e
jg 0x438dbc
test esi, esi
je 0x438e3e
test ecx, ecx
jl 0x438e09
jg 0x438dc6
test eax, eax
je 0x438e09
cmp ebx, ecx
jg 0x438dda
jl 0x438dd0
cmp esi, eax
jae 0x438dda
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00455ac0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x438e10
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x438e3e
jg 0x438e1a
test esi, esi
je 0x438e3e
cmp dword [edi + 0x4c], 0
je 0x438e3e
mov ecx, edi
call fcn.0043a0e0
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0045ce40
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x439170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x43918c
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4391be
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4391be
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x43928f
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4391e6
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43920f
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00461be9
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 3]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x43928f
cmp eax, 1
jle 0x439262
cmp eax, 3
jne 0x43928f
push dword [esi + 0x4c]
push dword [ebp - 4]
call fcn.00429e20
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
sub edi, eax
je 0x43927f
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0045aa33
add esp, 0x10
cmp edi, eax
jne 0x43928f
lea eax, [ebp - 4]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 8], eax
jne 0x4391b3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43a110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x43a18f
cmp byte [esi + 0x3d], 0
je 0x43a18f
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x43a159
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x43a161
sub eax, 1
je 0x43a165
sub eax, 2
je 0x43a18f
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43a182
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0045aa33
add esp, 0x10
cmp edi, eax
jne 0x43a159
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43a6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47c280
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0043e742
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0043c609
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x440f02
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x46c097
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046bf0d
Function at 0x693d2d30
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
xorps xmm0, xmm0
movsd qword [esp + 0x18], xmm0
cmp dword [ebp + 8], 0
je 0x693d2da3
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x693d2da3
push esi
call fcn.693e8640
add esp, 4
test eax, eax
je 0x693d2d8a
mov ecx, 0x1505
xor ebx, ebx
nop word cs:[eax + eax]
movzx edx, byte [esi + ebx]
test edx, edx
je 0x693d2d91
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x693d2d70
jmp 0x693d2d93
mov edi, 0x1505
jmp 0x693d2d93
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
lea esi, [edx - 1]
mov ebx, edx
sub ebx, 1
jae 0x693d2dbb
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and esi, edi
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jmp 0x693d2dd8
inc esi
dec edx
mov ebx, dword [esp + 0x10]
je 0x693d2da3
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + eax*4]
cmp ebx, 0xffffffff
je 0x693d2da3
mov eax, dword [ecx + 8]
cmp dword [eax + ebx*4], edi
jne 0x693d2dd0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], edx
call fcn.693e8640
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x693d2dd0
push dword [esp + 4]
push dword [esp + 0x10]
push dword [ebp + 0xc]
call fcn.693e8660
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x693d2dd0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x693d2da3
cmp dword [eax + 4], 3
jne 0x693d2da3
movsd xmm0, qword [eax + 8]
movsd qword [esp + 0x18], xmm0
jmp 0x693d2da3
Function at 0x693d3ea0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x693d4066
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test ebx, ebx
je 0x693d405f
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebx
sub esi, eax
jmp 0x693d3f3b
add ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, edi
mov edx, 0x80078071
mul edx
shr edx, 0xf
imul esi, edx, 0xfff1
mov eax, ecx
mov edx, 0x80078071
mul edx
sub edi, esi
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov eax, ebx
not eax
mov edx, dword [esp + 4]
and eax, edx
not edx
and ebx, edx
mov esi, 0x15b0
sub ebx, eax
je 0x693d405f
xor edx, edx
cmp esi, 8
mov dword [esp + 4], esi
jb 0x693d3fc4
and esi, 0x1ff8
mov dword [esp], esi
xor edx, edx
nop word cs:[eax + eax]
mov eax, edx
movzx edx, byte [ebp + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebp + eax + 1]
add esi, edx
add ecx, esi
movzx edi, byte [ebp + eax + 2]
add edi, esi
mov edx, ecx
and edx, edi
xor ecx, edi
movzx esi, byte [ebp + eax + 3]
add esi, edi
movzx edi, byte [ebp + eax + 4]
add edi, esi
add esi, ecx
lea ecx, [esi + edx*2]
movzx edx, byte [ebp + eax + 5]
add edx, edi
add ecx, edi
movzx esi, byte [ebp + eax + 6]
add esi, edx
add ecx, edx
movzx edi, byte [ebp + eax + 7]
add edi, esi
add ecx, esi
mov esi, dword [esp + 4]
add ecx, edi
lea edx, [eax + 8]
add eax, 0xf
cmp eax, esi
jb 0x693d3f60
add ebp, edx
mov edx, dword [esp]
mov eax, esi
sub eax, edx
jbe 0x693d3ef8
mov dword [esp], edx
not edx
add edx, esi
mov dword [esp + 8], edx
and esi, 3
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
je 0x693d4013
neg esi
xor edx, edx
mov ebx, ebp
nop dword [eax]
movzx eax, byte [ebx]
inc ebx
add edi, eax
add ecx, edi
dec edx
cmp esi, edx
jne 0x693d3ff0
mov eax, dword [esp]
sub eax, edx
mov edx, eax
mov eax, dword [esp + 8]
cmp eax, 3
jb 0x693d3ef0
jmp 0x693d4025
mov ebx, ebp
mov eax, dword [esp + 8]
mov edx, dword [esp]
cmp eax, 3
jb 0x693d3ef0
mov eax, dword [esp + 4]
sub eax, edx
xor edx, edx
nop dword [eax]
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x693d4030
jmp 0x693d3ef0
shl ecx, 0x10
or ecx, edi
jmp 0x693d406b
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x693e8f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x214
mov ebp, ecx
mov eax, dword [esp + 0x228]
movzx edx, word [eax]
test dx, dx
mov dword [esp + 0xc], ecx
je 0x693e9052
add eax, 2
xor ebx, ebx
mov ecx, 1
nop dword [eax]
movzx esi, dx
xor edx, edx
cmp esi, 0x800
setb dl
xor edx, 3
cmp esi, 0x80
cmovb edx, ecx
add ebx, edx
movzx edx, word [eax]
add eax, 2
test dx, dx
jne 0x693e8f30
lea esi, [ebx + 1]
push esi
call fcn.694255c0
add esp, 4
test ebx, ebx
jle 0x693e905c
add ebx, eax
add esi, eax
mov edi, eax
mov edx, dword [esp + 0x228]
mov ebp, esi
mov dword [esp], esi
mov dword [esp + 4], eax
jmp 0x693e8fa4
mov byte [edi], cl
mov esi, 1
add edx, 2
add edi, esi
cmp edi, ebx
jae 0x693e905e
movzx ecx, word [edx]
test cx, cx
je 0x693e905e
cmp cx, 0x7f
jbe 0x693e8f90
mov esi, ebp
sub esi, edi
mov ebp, esi
xor ebp, 0xfffffffe
and esi, 0xfffffffe
lea ebp, [ebp + esi*2 + 1]
movzx esi, cx
cmp esi, 0x7ff
ja 0x693e9000
xor esi, esi
cmp ebp, 2
mov ebp, dword [esp]
jb 0x693e8f97
mov esi, edx
mov edx, ecx
shr edx, 6
add dl, 0xc0
mov byte [edi], dl
mov edx, esi
and cl, 0x3f
or cl, 0x80
mov byte [edi + 1], cl
mov esi, 2
jmp 0x693e8f97
mov dword [esp + 0x10], esi
xor esi, esi
cmp ebp, 3
mov ebp, dword [esp]
jb 0x693e8f97
mov dword [esp + 8], edx
mov esi, dword [esp + 0x10]
mov edx, esi
shr edx, 0xc
or dl, 0xe0
mov byte [edi], dl
shr esi, 6
mov edx, esi
or edx, 0x3f
xor esi, 0xc0
and esi, edx
mov edx, dword [esp + 8]
mov eax, esi
add al, 0x80
mov byte [edi + 1], al
mov eax, dword [esp + 4]
and cl, 0x3f
or cl, 0x80
mov byte [edi + 2], cl
mov esi, 3
jmp 0x693e8f97
push 1
call fcn.694255c0
add esp, 4
mov edi, eax
mov ebp, dword [esp + 0x230]
mov esi, dword [esp + 0x22c]
mov byte [edi], 0
xor ecx, ecx
jmp 0x693e9087
mov edx, ebx
mov byte [esp + ecx + 0x14], dl
inc ecx
movzx ebx, byte [eax + ecx]
mov dl, 0x2f
cmp ebx, 0x5c
je 0x693e9082
test ebx, ebx
jne 0x693e9080
mov byte [esp + ecx + 0x14], 0
lea eax, [esp + 0x14]
push 0
push 0
push 0
mov ecx, dword [esp + 0x18]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push ebp
push esi
push eax
push ecx
call fcn.693dfa50
add esp, 0x28
test eax, eax
setne al
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x414d34
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x414de0
sub ecx, 1
je 0x414dd2
sub ecx, 1
je 0x414dc4
sub ecx, 1
je 0x414d91
sub ecx, 1
jne 0x414e22
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 0x414e0e
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 0x414e0e
push 1
sub esp, 0x18
mov ecx, esp
push 0x45f27c
jmp 0x414d9d
push 1
sub esp, 0x18
mov ecx, esp
push 0x4595b8
jmp 0x414d9d
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 0x4150dd
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 0x415105
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.0041509a
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.0042ec50
lea edi, [ebp - 0x64]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415145
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 0x41515b
mov esi, str.4.9.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 0x41516f
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.00413936
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41a394
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 0x41a3bf
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x41a3bf
cmp al, 0xc0
je 0x41a3bf
cmp al, 0xcc
je 0x41a3bf
add edx, 2
cmp dx, cx
jb 0x41a3a4
pop esi
ret
Function at 0x474a10
Capabilities:
Get geographical location

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jle 0x474a9e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
cmp dword [esp + 0x18], 0x2d
jne 0x474a5c
push 0
push str.vepamanal_tulesizoxe_yabadodopa_zokorubonoxesiticohub_foyidufumobowebacaxosububonobo
call edi
push str.wuviyakox
push str.yekukefocudovizene
push str.kaluravujokiziduyux
push str.vixuboxituja
call ebx
push 0
call ebp
call fcn.00474960
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], al
cmp dword [esp + 0x18], 0xf
jne 0x474a94
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str.tigegisipawupesavumefozoj
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x474a32
pop edi
pop ebp
pop ebx
cmp dword [esp + 0xc], 0x2d
pop esi
jne 0x474aba
mov dword [0x47f8d0], 0xa62e7790
mov dword [0x47f8d4], 0xffffffff
ret