joyce8/EMBER2024-capa huggingface dataset:
Function at 0x74a1a75e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x74a1a7e5
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x74a1a7da
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x10], edx
jmp 0x74a1a781
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x74a1ac9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov esi, 0x400
push esi
mov dword [0x74a4aee4], eax
call fcn.74a25555
push esi
push 0
push eax
mov dword [0x74a4aee8], eax
call fcn.74a2cf20
add esp, 0x10
xor eax, eax
xor byte [eax + 0x74a42020], 0x2e
inc eax
cmp eax, 0x1000
jl 0x74a1accb
push 0x1000
lea eax, [esp + 0x14]
push 0x74a42020
push eax
call fcn.74a174ca
lea eax, [esp + 0x1c]
push eax
call fcn.74a17526
add esp, 0x10
jmp 0x74a1ad9a
lea eax, [esp + 0x10]
push eax
call fcn.74a17526
movzx edi, ax
lea eax, [esp + 0x14]
push eax
call fcn.74a17526
movsx ebx, si
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [0x74a4aee8]
shl ebx, 3
lea esi, [ebx + eax]
movsx eax, di
dec eax
mov word [esi], di
je 0x74a1ad79
dec eax
je 0x74a1ad62
dec eax
jne 0x74a1ad8f
movsx edi, cx
push edi
call fcn.74a25555
pop ecx
push edi
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push edi
push eax
invalid
Function at 0x74a1be9b
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
xor edx, edx
push 3
lea eax, [edi + 2]
pop ebx
div ebx
mov ecx, dword [ebp + 0x10]
shl eax, 2
inc eax
cmp dword [ecx], eax
jae 0x74a1bec5
push 6
mov dword [ecx], eax
pop eax
jmp 0x74a1bfa7
xor edx, edx
push 3
mov eax, edi
pop ebx
div ebx
mov ecx, dword [ebp + 0xc]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x74a1bf44
dec eax
push ebx
pop edi
div edi
mov edi, eax
inc edi
mov edx, edi
imul edx, edx, 3
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x74a3f458]
mov byte [ecx], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
shr eax, 4
shl ebx, 4
add eax, ebx
and eax, 0x3f
mov al, byte [eax + 0x74a3f458]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
movzx ebx, byte [esi + 1]
shr eax, 6
lea eax, [eax + ebx*4]
and eax, 0x3f
mov al, byte [eax + 0x74a3f458]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
mov al, byte [eax + 0x74a3f458]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
dec edi
jne 0x74a1bee7
mov edi, dword [ebp + 8]
cmp edx, edi
jae 0x74a1bf9a
movzx eax, byte [esi]
inc edx
cmp edx, edi
jae 0x74a1bf56
movzx esi, byte [esi + 1]
jmp 0x74a1bf58
xor esi, esi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x74a3f458]
mov byte [ecx], bl
shl eax, 4
mov ebx, esi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + 0x74a3f458]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, edi
jae 0x74a1bf90
and esi, 0xf
movsx eax, byte [esi*4 + 0x74a3f458]
jmp 0x74a1bf93
push 0x3d
pop eax
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
sub ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x74a1d81c
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret

Function at 0x74a1da61
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x74a43c78]
mov ebx, eax
push edi
mov eax, esi
call fcn.74a1e811
test eax, eax
jne 0x74a1db63
mov ecx, dword [0x74a43c7c]
cmp ecx, 1
jl 0x74a1db60
cmp ecx, 0x80
jg 0x74a1db60
mov eax, dword [ebp + 0xc]
xor edx, edx
div ecx
test edx, edx
jne 0x74a1db60
test cl, 3
jne 0x74a1db60
mov edx, esi
imul edx, edx, 0x60
mov edx, dword [edx + 0x74a47ee0]
test edx, edx
je 0x74a1dad9
push 0x74a43d00
push 0x74a43c80
push eax
push ebx
push dword [ebp + 8]
call edx
add esp, 0x14
jmp 0x74a1db63
cmp dword [ebp + 0xc], 0
je 0x74a1db5c
mov edi, 0x74a43c80
jmp 0x74a1daec
mov esi, dword [0x74a43c78]
xor edx, edx
test ecx, ecx
jle 0x74a1db13
mov ecx, dword [ebp + 8]
sub ecx, edi
lea eax, [edx + 0x74a43c80]
mov esi, dword [ecx + eax]
xor dword [eax], esi
add edx, 4
cmp edx, dword [0x74a43c7c]
jl 0x74a1daf7
mov esi, dword [0x74a43c78]
imul esi, esi, 0x60
push 0x74a43d00
push ebx
push edi
call dword [esi + 0x74a47ec4]
add esp, 0xc
test eax, eax
jne 0x74a1db63
mov ecx, dword [0x74a43c7c]
xor edx, edx
test ecx, ecx
jle 0x74a1db52
mov esi, ebx
sub esi, edi
lea eax, [edx + 0x74a43c80]
mov ecx, dword [esi + eax]
mov dword [eax], ecx
mov ecx, dword [0x74a43c7c]
add edx, 4
cmp edx, ecx
jl 0x74a1db3a
add dword [ebp + 8], ecx
add ebx, ecx
sub dword [ebp + 0xc], ecx
jne 0x74a1dae6
xor eax, eax
jmp 0x74a1db63
push 0x10
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x74a1dea2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x74a41628]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x74a44da0]
push edi
mov ebx, ecx
mov edi, edx
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
call fcn.74a1e811
test eax, eax
jne 0x74a1dfaf
mov ecx, dword [0x74a44da4]
cmp ecx, 1
jl 0x74a1dfac
cmp ecx, 0x80
jg 0x74a1dfac
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
test edx, edx
jne 0x74a1dfac
test cl, 3
jne 0x74a1dfac
mov ecx, esi
imul ecx, ecx, 0x60
mov ecx, dword [ecx + 0x74a47ee4]
test ecx, ecx
je 0x74a1df2d
push 0x74a44e28
push 0x74a44da8
push eax
push edi
push ebx
call ecx
add esp, 0x14
jmp 0x74a1dfaf
cmp dword [ebp + 8], 0
je 0x74a1dfa8
jmp 0x74a1df3b
mov esi, dword [0x74a44da0]
imul esi, esi, 0x60
push 0x74a44e28
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [esi + 0x74a47ec8]
add esp, 0xc
test eax, eax
jne 0x74a1dfaf
mov eax, dword [0x74a44da4]
xor edi, edi
test eax, eax
jle 0x74a1df98
mov ecx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov eax, 0x74a44da8
sub esi, ebx
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [edi + 0x74a44da8]
lea edx, [ebx + eax]
mov ecx, dword [esi + edx]
xor ecx, dword [eax]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [edx + eax], ecx
mov eax, dword [0x74a44da4]
add edi, 4
cmp edi, eax
jl 0x74a1df74
mov ebx, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add ebx, eax
sub dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
jne 0x74a1df35
xor eax, eax
jmp 0x74a1dfaf
push 0x10
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.74a2cd2e
leave
ret
Function at 0x74a1eef8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebx + 0x70]
mov eax, esi
call fcn.74a1ede8
test eax, eax
jne 0x74a1f038
imul esi, esi, 0x68
push edi
mov edi, dword [esi + 0x74a48fb0]
push dword [esi + 0x74a48fb4]
mov dword [ebp - 8], edi
call fcn.74a25555
push edi
mov dword [ebp - 4], eax
call fcn.74a25555
cmp dword [ebp - 4], 0
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0xc], edi
je 0x74a1f029
test edi, edi
je 0x74a1f020
push edi
push ebx
call dword [esi + 0x74a49004]
mov edi, eax
xor eax, eax
pop ecx
pop ecx
cmp edi, eax
jne 0x74a1effe
cmp dword [esi + 0x74a48fb4], eax
jbe 0x74a1ef84
mov ecx, dword [ebx + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 4]
xor cl, 0x5c
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x74a48fb4]
jb 0x74a1ef69
push ebx
call dword [esi + 0x74a48ffc]
mov edi, eax
pop ecx
test edi, edi
jne 0x74a1effe
push dword [esi + 0x74a48fb4]
push dword [ebp - 4]
push ebx
call dword [esi + 0x74a49000]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x74a1effe
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [esi + 0x74a49000]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x74a1effe
push dword [ebp - 4]
push ebx
call dword [esi + 0x74a49004]
pop ecx
pop ecx
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jne 0x74a1effe
cmp dword [ebp - 8], ecx
jbe 0x74a1eff7
mov esi, dword [ebp - 4]
sub esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax]
jae 0x74a1eff7
mov eax, dword [ebp + 8]
add eax, ecx
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
cmp ecx, dword [ebp - 8]
jb 0x74a1efe0
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor edi, edi
push dword [ebx + 0xe8]
call fcn.74a25478
push dword [ebp - 0xc]
call fcn.74a25478
push dword [ebp - 4]
call fcn.74a25478
add esp, 0xc
mov eax, edi
jmp 0x74a1f037
push dword [ebp - 4]
call fcn.74a25478
pop ecx
test edi, edi
je 0x74a1f034
push edi
call fcn.74a25478
pop ecx
push 0xd
pop eax
pop edi
pop esi
leave
ret
Function at 0x74a1f03b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
call fcn.74a1ede8
test eax, eax
jne 0x74a1f076
push esi
mov esi, ebx
imul esi, esi, 0x68
mov dword [edi + 0x70], ebx
mov eax, dword [esi + 0x74a48fb0]
push dword [esi + 0x74a48fb4]
mov dword [ebp - 4], eax
call fcn.74a25555
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x74a1f079
push 0xd
pop eax
pop esi
pop ebx
leave
ret
push dword [esi + 0x74a48fb4]
call fcn.74a25555
pop ecx
mov dword [edi + 0xe8], eax
test eax, eax
jne 0x74a1f09f
push 0xd
pop ebx
push dword [ebp - 8]
call fcn.74a25478
pop ecx
mov eax, ebx
jmp 0x74a1f075
mov ecx, dword [esi + 0x74a48fb4]
cmp ecx, 0x10
jae 0x74a1f0e7
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x10
push 0x74a46f80
mov eax, ebx
call fcn.74a1e0fe
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x74a1f167
mov eax, dword [esi + 0x74a48fb4]
cmp dword [ebp - 4], eax
jae 0x74a1f117
sub eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0xe8]
add eax, dword [ebp - 4]
jmp 0x74a1f10f
push 0x10
push 0x74a46f80
push eax
call fcn.74a2bd30
mov eax, dword [esi + 0x74a48fb4]
add esp, 0xc
cmp eax, 0x10
jbe 0x74a1f117
add eax, 0xfffffff0
push eax
mov eax, dword [edi + 0xe8]
add eax, 0x10
push eax
call fcn.74a1edb5
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0x74a48fb4], eax
jbe 0x74a1f13c
mov ecx, dword [edi + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 8]
xor cl, 0x36
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x74a48fb4]
jb 0x74a1f121
push edi
call dword [esi + 0x74a48ffc]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x74a1f167
push dword [esi + 0x74a48fb4]
push dword [ebp - 8]
push edi
call dword [esi + 0x74a49000]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x74a1f092
push dword [edi + 0xe8]
call fcn.74a25478
pop ecx
jmp 0x74a1f092
Function at 0x74a34850
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov edx, dword [ebp + 8]
shr edx, 8
movzx eax, dl
mov ecx, dword [ecx*4 + 0x74a3ae70]
xor ecx, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
movzx edx, byte [ebp + 8]
xor ecx, dword [edx*4 + 0x74a3a670]
mov eax, dword [ebp + 8]
shr eax, 0x18
movzx edx, al
xor ecx, dword [edx*4 + 0x74a3a270]
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bf74
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40c028
jmp 0x40c01d
cmp dword [esi + 0x10], 0x1000
jne 0x40c009
test byte [esi + 0x15], 1
jne 0x40c009
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40bfc8
cmp eax, 2
je 0x40bfc8
cmp eax, 0x10
je 0x40bfc8
cmp eax, 0x20
jne 0x40bfdd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40bfdd
mov bl, 1
xor ebp, ebp
jmp 0x40bfee
mov eax, dword [esi]
add eax, ebp
call fcn.0040bf6c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40bfe1
test bl, bl
je 0x40c009
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40c028
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40bfa0
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x1f0c470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x195e000]
push edi
or ebp, 0xffffffff
jmp 0x1f0c492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1f0c499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0c488
mov eax, 1
add ebx, ebx
jne 0x1f0c4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1f0c4bc
jne 0x1f0c4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0c4db
dec eax
add ebx, ebx
jne 0x1f0c4c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1f0c4a0
add ebx, ebx
jne 0x1f0c4d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1f0c52d
xor ecx, ecx
sub eax, 3
jb 0x1f0c4f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1f0c562
sar eax, 1
mov ebp, eax
jmp 0x1f0c4fe
add ebx, ebx
jne 0x1f0c4fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0c4cc
inc ecx
add ebx, ebx
jne 0x1f0c50c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0c4cc
add ebx, ebx
jne 0x1f0c519
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1f0c50e
jne 0x1f0c52a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1f0c50e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1f0c54c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1f0c53e
jmp 0x1f0c48e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1f0c54c
add edi, ecx
jmp 0x1f0c48e
pop esi
mov edi, esi
mov ecx, 0x1ae12
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1f0c56a
cmp byte [edi], 0xb5
jne 0x1f0c56a
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 0x1f0c56f
lea edi, [esi + 0x1acf000]
mov eax, dword [edi]
or eax, eax
je 0x1f0c5de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f6b9f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f6bb38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1f0c59c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2f6bb40]
or eax, eax
je 0x1f0c5d8
mov dword [ebx], eax
add ebx, 4
jmp 0x1f0c5b9
call dword [esi + 0x2f6bb3c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1f0c60f
cmp al, 0xef
ja 0x1f0c602
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1f0c5e4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1f0c5f1
mov ebp, dword [esi + 0x2f6bb44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1f0c643
sub esp, 0xffffff80
jmp 0x93215c
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x4027d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40403f], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Salmimo
push str.Limoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402818
xor eax, eax
jmp 0x402833
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401280
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3ab8
call fcn.0040a620
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
movzx ecx, cx
mov dword [ebp - 0x3aa0], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x3a9c], ecx
mov dword [ebp - 0x3a98], edx
mov dword [ebp - 0x3a94], eax
mov edi, edi
mov ecx, 0x3a34
cmp ebx, 0x3a34
ja 0x4012cf
mov ecx, ebx
sub ebx, ecx
mov esi, 0x1a2c
xor edi, edi
mov dword [ebp - 0x3a90], ecx
mov dword [ebp - 0x3ab0], ebx
mov dword [ebp - 0x3ab4], ecx
mov dword [ebp - 0x3aa8], esi
mov eax, 0x4c5b
test ecx, ecx
jle 0x4013af
mov ecx, dword [ebp - 0x3aa0]
lea edx, [ebp - 0x3a8c]
sub ecx, edx
mov dword [ebp - 0x3aac], ecx
mov edx, esi
shr edx, 8
mov dword [ebp - 0x3aa4], edx
mov ebx, eax
shr ebx, 0x18
mov edx, eax
shr edx, 0x10
and bl, dl
mov edx, esi
mov ecx, eax
shr ecx, 8
and bl, cl
mov dword [ebp - 0x3ab8], ecx
mov ecx, esi
mov esi, dword [ebp - 0x3aac]
shr ecx, 0x18
shr edx, 0x10
and cl, dl
mov dl, byte [ebp - 0x3aa4]
xor bl, cl
mov ecx, dword [ebp - 0x3aa8]
and dl, cl
xor bl, dl
lea edx, [ebp + edi - 0x3a8c]
xor bl, byte [esi + edx]
lea esi, [eax*4]
xor esi, eax
add esi, esi
xor esi, eax
xor bl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [ebp - 0x3ab8]
shl esi, 0x14
or esi, dword [ebp - 0x3aa4]
inc edi
mov byte [edx], bl
mov dword [ebp - 0x3aa8], esi
mov eax, ecx
cmp edi, dword [ebp - 0x3ab4]
jl 0x401311
mov ecx, dword [ebp - 0x3a90]
mov ebx, dword [ebp - 0x3ab0]
add dword [ebp - 0x3aa0], ecx
add ecx, 0x10
movzx esi, cx
lea edi, [ebp - 0x3a9c]
test si, si
je 0x401407
mov ecx, dword [ebp + 8]
push 0
movzx eax, si
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x4013e1
add edi, eax
sub esi, eax
jmp 0x401402
cmp eax, 0xffffffff
jne 0x401402
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x401420
cmp eax, 0x2744
je 0x401420
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test si, si
jne 0x4013c6
test ebx, ebx
jne 0x4012c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402ac4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00402ac4
mov esp, ebp
pop ebp
ret
Function at 0x401440
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x410f60]
push esi
push edi
push str.158.69.115.115
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x401483
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402ac4
mov esp, ebp
pop ebp
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x4014f0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
mov word [ebp - 0x14], ax
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push esi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4014ee
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402ac4
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402ac4
mov esp, ebp
pop ebp
ret