joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56dab0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x625f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x62a758]
push 0
lea ecx, [esp + 0x20]
call fcn.0061b51e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0056d410
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0061b44c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00617c33
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00617c33
push 1
push 0
push 0
mov ecx, esi
call fcn.00617bdb
push 1
push 0
push 1
mov ecx, esi
call fcn.00617bdb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0061b590
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x56dc30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x625f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0061b51e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0056d410
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0061b44c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x62a758]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x56dcf4
cmp dword [esp + 0x40], 1
jne 0x56dcf2
cmp ecx, eax
jge 0x56dcf4
mov eax, ecx
cmp eax, 0xc8
jge 0x56dd00
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0056dab0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x62a754]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0061b590
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x56e500
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x626013
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00616054
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x12a46c8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x12a4610
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x62a11c]
push eax
mov ecx, edi
call fcn.0061b7c6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0061cfc1
test eax, eax
je 0x56e61c
mov ecx, dword [esp + 0x3c]
call fcn.0061b7f3
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x62a778]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x56e5e0
push edi
mov ecx, esi
call fcn.00618db1
mov ecx, esi
call fcn.0056e7d0
cmp dword [esp + 0x38], 1
jne 0x56e615
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00618f1b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x570810
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x570843
push esi
call fcn.0057eb40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x57083c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x5708c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5708b2
mov eax, dword [esi + 8]
test eax, eax
je 0x570867
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5708ae
cmp eax, 2
je 0x5708b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x57085a
cmp eax, 3
je 0x57088d
cmp eax, 1
jne 0x57085a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x57085a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x57085a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.005708f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5708d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.005708f0
add esp, 4
pop esi
ret
Function at 0x5ad5e0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x627de0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5ad787
mov ecx, dword [0x12e73b8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x5ad6dc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.005ac300
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00614a8b
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00614952
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x12d4ed0
call fcn.006149c0
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.005ac6c0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00614a8b
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00614952
lea ecx, [esp + 0xc]
call fcn.00614e66
mov ecx, dword [esp + 0xc]
push 0x12d590c
push ecx
call fcn.00602724
add esp, 8
test eax, eax
je 0x5ad704
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5ad63d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00614952
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00614952
jmp 0x5ad78b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.005ad380
test eax, eax
push 0
je 0x5ad76f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.005aba20
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5ad755
cmp eax, 0x64
jg 0x5ad743
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x62a460]
mov esi, eax
jmp 0x5ad6e0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x62a460]
mov esi, eax
jmp 0x5ad6e0
cmp eax, 0x64
jge 0x5ad6dc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x62a460]
mov esi, eax
jmp 0x5ad6e0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.005aba20
mov esi, eax
jmp 0x5ad6e0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x5ad795
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x5b5e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6280f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005b5a30
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.005b5aa0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.005b5d80
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.005b5a50
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x5b5e68
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6280f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005b5a30
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.005b5aa0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.005b5d80
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.005b5a50
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x5b86e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5b86eb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x5b87ee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x12a9fbc]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x12a9fbc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x12a9fbc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x12a9fbc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x12a9fbc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x12a9fbc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x12a9fbc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x12a9fbc]
xor eax, edx
inc ecx
dec edi
jne 0x5b8706
pop edi
test esi, esi
je 0x5b8810
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x12a9fbc]
xor eax, edx
inc ecx
dec esi
jne 0x5b87f2
pop esi
pop ebx
not eax
ret
Function at 0x5e6410
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1341ce0]
xor edx, edx
cmp eax, edx
jne 0x5e6436
xor eax, eax
mov byte [eax + 0x1341be0], al
inc eax
cmp eax, 0x100
jl 0x5e641e
mov dword [0x1341ce0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1341be0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5e64c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5e649a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5e6468
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5e64d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5e6523
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5e650a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5eceb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62896e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005ed7d0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x12abd7c
call fcn.00614693
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5ecf43
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00614693
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5ecf3c
push 0
mov ecx, eax
call fcn.005e4050
mov dword [esi + 0xc], eax
jmp 0x5ecf45
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5ecf45
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x40dd00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40dd22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40dd29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40dd18
mov eax, 1
add ebx, ebx
jne 0x40dd3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40dd30
jne 0x40dd4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dd30
xor ecx, ecx
sub eax, 3
jb 0x40dd60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ddd2
mov ebp, eax
add ebx, ebx
jne 0x40dd6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40dd78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dd9c
inc ecx
add ebx, ebx
jne 0x40dd88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40dd7d
jne 0x40dd99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dd7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ddbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ddad
jmp 0x40dd1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ddbc
add edi, ecx
jmp 0x40dd1e
pop esi
mov edi, esi
mov ecx, 0x2d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ddda
cmp byte [edi], 1
jne 0x40ddda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40dddf
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40de57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe0a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe0dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40de0c
mov ecx, edi
jns 0x40de3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe0e4]
or eax, eax
je 0x40de51
mov dword [ebx], eax
add ebx, 4
jmp 0x40de29
call dword [esi + 0xe0e0]
mov ebp, dword [esi + 0xe0e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40de8b
sub esp, 0xffffff80
jmp 0x4013f8
Function at 0x5934fd92
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x5934fda1
pop dword [ebp - 0x4c]
mov eax, 0xb56c128a
sub eax, 0x5c3714e9
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x5eef0a7b
add dword [ebp - 0x5c], 0xef633ad0
mov dword [ebp - 0x58], 0xcfb12577
sub dword [ebp - 0x58], 0x9d7dd932
mov dword [ebp - 0x54], 0x676ce4c6
sub dword [ebp - 0x54], 0x1b20a098
mov dword [ebp - 0x50], 0xe88212ea
add dword [ebp - 0x50], 0x177ded16
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x7bde030e
add dword [ebp - 0x5c], 0xf8946648
mov dword [ebp - 0x58], 0xb995584f
sub dword [ebp - 0x58], 0x7828f6da
mov dword [ebp - 0x54], 0x4c060a74
sub dword [ebp - 0x54], 0xe8969e08
mov dword [ebp - 0x50], 0x7648b148
add dword [ebp - 0x50], 0x89b74eb8
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3dae4
push 0
call eax
mov ecx, 0xe63670d8
add ecx, 0x19c9db46
xor esi, esi
add esi, eax
mov edi, 0xe89e735b
sub edi, 0x8f67b35b
add edi, dword [ebp - 0x4c]
mov edx, 0xfca13e9f
sub edx, 0xc98c458c
sub dword [ebp - 0x28], eax
mov ebx, dword [edi]
sub ebx, edx
xor dword [ebp - 0x2c], ecx
mov dword [esi], ebx
xor dword [ebp - 0x10], 0x80fca7e6
add esi, 4
add edi, 0x439d357a
sub edi, 0x439d3576
loop 0x5934febb
add eax, 0x8e44af6b
add eax, 0x71bc73e0
xor ebx, ebx
add ebx, eax
add eax, 0x563c7aba
sub eax, 0x563c7ab5
mov ecx, 0x885f6ca5
add ecx, 0xd0d2935b
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x59352ada
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
ret 8

Function at 0x59352af4
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.vsansi.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop esi
ret 0xc

Function at 0x59352b20
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.vsansi.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x59352b2b
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x5935a815
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.5935a7fe
and byte [esi + 0xc], 0
mov eax, 0x59320000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call sub.MSVCR70.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x5935a86f
cmp dword [ebp - 0x18], 5
jb 0x5935a887
jmp 0x5935a883
cmp dword [ebp - 0xc], 1
jne 0x5935a887
cmp dword [ebp - 0x18], 4
ja 0x5935a883
jne 0x5935a887
cmp dword [ebp - 0x14], 0
jbe 0x5935a887
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x5935d0f0
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1001356f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100135aa
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100135a5
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x1001362e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x100135f3
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100135f3
mov dword [ebp - 8], 1
jmp 0x100135f7
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jle 0x10013608
mov dword [ebp - 0xc], 1
jmp 0x1001360c
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
cmp eax, dword [ecx]
je 0x10013622
mov dword [ebp - 0x10], 1
jmp 0x10013626
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10013632
Capabilities:
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001365b
push 0x2277
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10013679
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10013679
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret