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

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov ecx, 0x40
push esi
mov esi, dword [esp + 0x14]
sub ecx, ebx
push edi
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.101dd820
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
or dword [ecx], eax
or dword [ecx + 4], edx
mov eax, dword [edi]
cmp eax, ebx
jge 0x101dad3f
sub ebx, eax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x24]
push ebp
cmp dword [ebx], 0x40
jl 0x101dacc2
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp]
movzx eax, byte [ecx]
cdq
mov edi, eax
mov ebx, edx
movzx eax, byte [ecx + 1]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 2]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 3]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 4]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 5]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 6]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
movzx eax, byte [ecx + 7]
shld ebx, edi, 8
cdq
shl edi, 8
or ebx, edx
or edi, eax
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x28]
mov dword [esi], edi
mov edi, dword [esp + 0x20]
mov dword [edi], 0x40
add dword [ebp], 8
add dword [eax], 0xffffffc0
jmp 0x101dad20
mov dword [esi], 0
mov ebp, 0x38
mov dword [esi + 4], 0
mov dword [edi], 0x40
cmp dword [ebx], 0
mov dword [esp + 0x28], 0
jle 0x101dad18
mov edi, dword [esp + 0x24]
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, ebp
movzx eax, byte [eax]
cdq
call fcn.101dd800
or dword [esi], eax
or dword [esi + 4], edx
inc dword [edi]
add ebp, 0xfffffff8
adc dword [esp + 0x28], 0xffffffff
add dword [ebx], 0xfffffff8
cmp dword [ebx], 0
jg 0x101dacf0
mov edi, dword [esp + 0x20]
jge 0x101dad20
mov dword [ebx], 0
mov ebx, dword [esp + 0x18]
mov ecx, 0x40
mov eax, dword [esi]
sub ecx, ebx
mov edx, dword [esi + 4]
call fcn.101dd820
mov ecx, dword [esp + 0x14]
pop ebp
or dword [ecx], eax
or dword [ecx + 4], edx
mov eax, dword [esi]
mov ecx, ebx
mov edx, dword [esi + 4]
call fcn.101dd800
mov dword [esi], eax
mov dword [esi + 4], edx
sub dword [edi], ebx
jne 0x101dad61
mov dword [esi], 0
mov dword [esi + 4], 0
pop edi
pop esi
pop ebx
ret 0x18

Function at 0x101faa9f
Capabilities:
Read file on windows

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

Function at 0x102018a1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10201561
Function at 0x10223620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], ecx
xor ebx, ebx
mov dword [ebp - 0x24], esi
push edi
mov dword [ebp - 0x10], 0
mov eax, dword [esi + 4]
lea edi, [esi + 0x38]
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x34]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
cmp eax, 4
jg 0x1022366b
cmp eax, 2
setle bl
add ebx, 2
jmp 0x10223671
cmp eax, 0x10
setle bl
push ecx
mov ecx, ebx
mov eax, 1
shl eax, cl
dec edx
add edx, eax
shr edx, cl
mov ecx, esi
call fcn.10223a00
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x102237b7
mov eax, dword [esi + 8]
mov ecx, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cdq
push edx
push eax
call fcn.1020fda0
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x102236c1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
push dword [ebp - 8]
push ebx
push edi
push dword [esi + 0x14]
push dword [eax + 0x38]
call fcn.102237d0
mov ecx, dword [ebp - 4]
mov edx, 1
push 1
call fcn.102370d0
mov ecx, dword [ebp - 4]
add esp, 0x24
mov edx, 3
push 2
call fcn.102370d0
mov ecx, dword [ebp - 4]
lea edx, [ebx - 1]
add esp, 4
push 8
call fcn.102370d0
dec ebx
add esp, 4
cmp ebx, 1
jl 0x10223782
nop dword [eax]
mov esi, dword [edi + ebx*4 - 4]
mov eax, esi
mov edi, dword [edi + ebx*4]
and eax, 0xff00ff00
mov edx, edi
mov ecx, edi
and edx, 0xff00
and ecx, 0xffff00ff
sub edx, eax
and edi, 0xff00ff00
mov eax, esi
sub edx, 0xff01
and eax, 0xff00ff
and esi, 0xff00ff00
sub ecx, eax
sub edi, esi
mov esi, dword [ebp - 0x24]
add ecx, 0xff00
xor edx, ecx
add edi, 0xff00ff
and edx, 0xff00ff
xor edx, edi
lea edi, [esi + 0x38]
mov dword [edi + ebx*4], edx
dec ebx
cmp ebx, 1
jge 0x10223720
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x438]
push 0x14
push 1
push dword [ebp - 0xc]
mov edx, edi
push eax
lea eax, [esi + 0x468]
push eax
call fcn.10224250
mov ecx, dword [ebp - 0x10]
add esp, 0x14
mov esi, eax
call fcn.1020fdd0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.1020fdd0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10223bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x105436c4]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, dx
mov byte [ebp - 0x18], al
sar eax, 8
push esi
mov esi, ecx
mov byte [ebp - 0x17], al
mov ecx, dword [ebp + 8]
movzx eax, cx
mov byte [ebp - 0xc], al
sar eax, 8
shr edx, 0x10
mov byte [ebp - 0xb], al
lea eax, [ebp - 0x1c]
shr ecx, 0x10
push esi
mov byte [ebp - 0x16], dl
mov byte [ebp - 0xa], cl
push 0x15
sar edx, 8
sar ecx, 8
push eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x1c], 0x46464952
mov dword [ebp - 0x14], 0x50424557
mov dword [ebp - 0x10], 0x4c385056
mov byte [ebp - 8], 0x2f
mov byte [ebp - 0x15], dl
mov byte [ebp - 9], cl
call eax
mov ecx, dword [ebp - 4]
add esp, 0xc
neg eax
sbb eax, eax
xor ecx, ebp
and eax, 0xfffffff8
add eax, 8
pop esi
call fcn.101dd8e4
mov esp, ebp
pop ebp
ret

Function at 0x1022bb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp + 8], 0
lea eax, [ebx + eax*4]
mov edi, eax
sub edi, ebx
add edi, 3
shr edi, 2
cmp ebx, eax
cmova edi, ecx
test edi, edi
je 0x1022bbb4
push esi
mov esi, dword [ebp + 0x10]
nop
mov edx, dword [ebx]
lea esi, [esi + 2]
mov ecx, edx
lea ebx, [ebx + 4]
shr ecx, 0x10
mov eax, edx
shr eax, 0xd
xor cl, al
mov eax, edx
and cl, 7
shr eax, 0x10
xor cl, al
mov eax, edx
mov byte [esi - 2], cl
mov ecx, edx
shr ecx, 5
shr eax, 3
xor cl, al
shr edx, 5
mov eax, dword [ebp + 8]
and cl, 0x1f
xor cl, dl
inc eax
mov byte [esi - 1], cl
mov dword [ebp + 8], eax
cmp eax, edi
jb 0x1022bb70
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1022bbc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp + 8], 0
lea eax, [edi + eax*4]
mov ebx, eax
sub ebx, edi
add ebx, 3
shr ebx, 2
cmp edi, eax
cmova ebx, ecx
test ebx, ebx
je 0x1022bc2b
push esi
mov esi, dword [ebp + 0x10]
nop
mov edx, dword [edi]
lea esi, [esi + 2]
mov ecx, edx
lea edi, [edi + 4]
shr ecx, 0x10
mov eax, edx
shr eax, 0xc
xor cl, al
mov eax, edx
shr eax, 0x10
and cl, 0xf
xor cl, al
mov eax, edx
shr eax, 0x1c
xor al, dl
mov byte [esi - 2], cl
and al, 0xf
xor al, dl
mov byte [esi - 1], al
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, ebx
jb 0x1022bbf0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022c750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
test edi, edi
jle 0x1022c863
push ebx
mov ebx, dword [ebp + 8]
cmp edi, 8
jb 0x1022c82e
mov ecx, edi
and ecx, 0x80000007
jns 0x1022c77d
dec ecx
or ecx, 0xfffffff8
inc ecx
movaps xmm4, xmmword [0x1039c940]
mov edx, edi
movaps xmm6, xmmword [0x1039cd90]
sub edx, ecx
movaps xmm7, xmmword [0x1039ca90]
mov ecx, 8
movd xmm3, ecx
mov ecx, 0x10
movd xmm5, ecx
nop dword [eax + eax]
movups xmm2, xmmword [ebx + eax*4]
movaps xmm0, xmm2
psrld xmm0, xmm3
pand xmm0, xmm4
movaps xmm1, xmm0
pslld xmm1, xmm5
por xmm1, xmm0
movaps xmm0, xmm6
pand xmm0, xmm2
paddd xmm1, xmm0
movaps xmm0, xmmword [0x1039cd70]
pand xmm0, xmm2
pand xmm1, xmm7
por xmm1, xmm0
movups xmmword [ebx + eax*4], xmm1
movups xmm2, xmmword [ebx + eax*4 + 0x10]
movaps xmm0, xmm2
psrld xmm0, xmm3
pand xmm0, xmm4
movaps xmm1, xmm0
pslld xmm1, xmm5
por xmm1, xmm0
movaps xmm0, xmm2
pand xmm2, xmmword [0x1039cd70]
pand xmm0, xmm6
paddd xmm1, xmm0
pand xmm1, xmm7
por xmm1, xmm2
movups xmmword [ebx + eax*4 + 0x10], xmm1
add eax, 8
cmp eax, edx
jl 0x1022c7b0
cmp eax, edi
jge 0x1022c862
push esi
mov esi, dword [ebx + eax*4]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
mov edx, ecx
shl edx, 0x10
or edx, ecx
mov ecx, esi
and ecx, 0xffff00ff
add edx, ecx
xor edx, esi
and edx, 0xff00ff
xor edx, esi
mov dword [ebx + eax*4], edx
inc eax
cmp eax, edi
jl 0x1022c833
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x10236590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x105436c4]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1039c610]
mov eax, ecx
push ebx
mov ebx, 1
mov dword [ebp - 0x20], eax
push edi
mov edx, dword [eax + 0x18]
mov edi, ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], edi
movups xmmword [ebp - 0x14], xmm0
cmp edx, ebx
jle 0x102366d7
lea ecx, [eax + 0x474]
mov eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
push esi
nop dword [eax]
xor esi, esi
mov dword [ebp - 0x28], 0
test ebx, ebx
jle 0x1023661e
mov edx, dword [ebp - 0x20]
add edx, 0x198
mov ecx, eax
call fcn.102366f0
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x10236611
inc esi
add edx, 0x2dc
cmp esi, ebx
jl 0x102365f6
jmp 0x10236618
mov dword [ebp - 0x28], 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp dword [ebp - 0x28], 0
mov dword [ebp + edi*4 - 0x14], esi
jne 0x10236648
cmp ebx, edi
je 0x1023663e
mov edi, dword [ebp - 0x18]
mov ecx, 0xb7
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
inc ebx
add ecx, 0x2dc
mov dword [ebp - 0x18], ecx
inc edi
add eax, 0x2dc
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], eax
cmp edi, edx
jl 0x102365e0
cmp ebx, edx
jge 0x102366d6
mov edi, dword [ebp - 0x20]
mov esi, dword [edi + 0x2c]
imul esi, dword [edi + 0x28]
test esi, esi
jle 0x1023669c
nop word [eax + eax]
mov eax, dword [edi + 0x5858]
dec esi
mov ecx, dword [eax + esi*8]
lea edx, [eax + esi*8]
mov eax, ecx
shr eax, 5
and eax, 3
mov eax, dword [ebp + eax*4 - 0x14]
shl eax, 5
xor eax, ecx
and eax, 0x60
xor eax, ecx
mov dword [edx], eax
test esi, esi
jg 0x10236670
mov edx, dword [ebp - 0x24]
imul eax, ebx, 0x2dc
lea esi, [edi - 0x144]
mov dword [edi + 0x18], ebx
add esi, eax
add eax, 0x198
add eax, edi
mov dword [ebp - 0x20], esi
sub edx, ebx
nop dword [eax]
mov edi, eax
mov ecx, 0xb7
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x20]
add eax, 0x2dc
sub edx, 1
jne 0x102366c0
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.101dd8e4
mov esp, ebp
pop ebp
ret
Function at 0x1023af00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, edx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov edi, dword [ebx]
lea eax, [ecx + edi*2]
add eax, edi
imul esi, eax, 0x2c
mov eax, dword [ebx + 4]
add esi, dword [ebx + 0x14]
test eax, eax
jns 0x1023af34
mov edx, esi
xor ecx, ecx
call fcn.1023ac50
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, eax
jg 0x1023b03f
nop dword [eax]
mov edx, esi
mov ecx, 1
call fcn.1023ac50
mov eax, dword [ebx + 8]
movsx eax, word [eax + edi*2]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1023af89
nop word [eax + eax]
lea edx, [esi + 4]
xor ecx, ecx
inc edi
call fcn.1023ac50
movzx eax, byte [edi + 0x10389dd0]
imul esi, eax, 0x84
mov eax, dword [ebx + 8]
movsx eax, word [eax + edi*2]
add esi, dword [ebx + 0x14]
mov dword [ebp - 4], eax
test eax, eax
je 0x1023af60
inc edi
lea edx, [esi + 4]
mov ecx, 1
mov dword [ebp - 0xc], edi
call fcn.1023ac50
mov eax, dword [ebp - 4]
lea edx, [esi + 8]
inc eax
mov ecx, 2
cmp ecx, eax
sbb ecx, ecx
neg ecx
call fcn.1023ac50
test eax, eax
jne 0x1023afbd
mov esi, dword [ebx + 0x14]
add esi, 0x2c
jmp 0x1023b027
mov eax, dword [ebp - 4]
mov ecx, 0x43
cdq
xor eax, edx
mov dword [ebp - 4], 0
sub eax, edx
cmp eax, 0x43
cmovg eax, ecx
movzx ebx, word [eax*4 + 0x1038e58c]
shr ebx, 1
movzx ecx, word [eax*4 + 0x1038e58e]
mov dword [ebp - 8], ecx
je 0x1023b01e
mov edi, dword [ebp - 4]
lea edx, [esi + 0xc]
mov esi, ecx
test bl, 1
je 0x1023b013
mov ecx, edi
mov eax, 2
shl eax, cl
and eax, esi
neg eax
sbb eax, eax
neg eax
mov ecx, eax
call fcn.1023ac50
inc edi
add edx, 4
sar ebx, 1
jne 0x1023aff6
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 0x14]
add esi, 0x58
movzx eax, byte [edi + 0x10389dd0]
imul ecx, eax, 0x84
add esi, ecx
cmp edi, dword [ebx + 4]
jle 0x1023af40
cmp edi, 0x10
jge 0x1023b04d
mov edx, esi
xor ecx, ecx
call fcn.1023ac50
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40655f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004124f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, dword [0x4566fc]
cmp dword [ecx + 0x28], 0
je 0x406637
mov edx, dword [0x44dbc8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xac], eax
mov ecx, dword [0x44dbc8]
mov edx, dword [ecx + 0xac]
push edx
call fcn.0041481f
add esp, 4
mov eax, dword [0x44dbc8]
mov word [eax + 0x178], 0
mov ecx, dword [0x44d5cc]
add ecx, dword [0x4566fc]
mov word [ecx + 0x3acc], 0
call fcn.004321c3
mov dword [0x44d604], 1
call fcn.00413ece
call fcn.00431935
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40661e
push 0
call fcn.00431935
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00431935
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call fcn.004333c5
add esp, 4
call fcn.00430707
call fcn.00430874
mov edx, dword [ebp - 4]
add edx, dword [0x4566fc]
push edx
call fcn.0042f9e8
add esp, 4
call fcn.00414230
jmp 0x40664a
push 0x30
push 0
push 0x444374
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esp, ebp
pop ebp
ret

Function at 0x409064
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 0xe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
imul ecx, dword [0x456c50]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xffffffff
jne 0x40909b
mov dword [ebp + 0xc], 0
xor eax, eax
jmp 0x4090f8
mov edx, dword [0x456c50]
imul edx, edx, 0x2710
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x4090b8
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0
je 0x4090f5
mov dword [ebp - 8], 0
jmp 0x4090d0
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0xa
jae 0x4090e1
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x4090c7
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0xd
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x415310
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], 0
push 0x444db8
push 0x2710000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x44d5e8], eax
cmp dword [0x44d5e8], 0
jne 0x41535e
push 0
push 0x444ddc
push 0x444de8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.00434aba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x415375
mov dword [0x44d5f0], 1
cmp dword [0x44d5f0], 0
je 0x4153d7
push str.PlsbhgShareMemory
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [0x44d5e8], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x44d5e8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x4566fc], eax
cmp dword [0x4566fc], 0
jne 0x4153d5
push 0
push 0x444e44
push 0x444e50
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.00434aba
jmp 0x415418
push 0
push 0
push 0
push 0xf001f
mov ecx, dword [0x44d5e8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x4566fc], eax
cmp dword [0x4566fc], 0
jne 0x415418
push 0
push str.Init
push str.can_not_create_filemapping
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.00434aba
mov dword [ebp - 4], 0x3930
mov edx, dword [0x4566fc]
add edx, dword [ebp - 4]
mov dword [0x44dbc8], edx
call fcn.00414a42
cmp dword [0x44d5f0], 0
jne 0x4154a1
mov dword [ebp - 8], 0x5b8
mov dword [ebp - 0xc], 0x24
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x415465
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x41547a
mov eax, dword [0x4566fc]
add eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x41545c
mov ecx, dword [0x44dbc8]
add ecx, 0x5b8
sub ecx, dword [0x4566fc]
mov edx, dword [0x44dbc8]
mov dword [edx + 0x34], ecx
call fcn.0041c893
mov dword [ebp - 0x10], 1
call fcn.0042f956
mov eax, dword [0x44dbc8]
mov ecx, dword [eax + 0xac]
push ecx
call fcn.0041481f
add esp, 4
call fcn.00414230
call fcn.00413ece
cmp dword [ebp - 0x10], 0
je 0x4154db
call fcn.0041e030
call fcn.0041d02d
mov dword [ebp - 0x10], 0
call fcn.00409c21
mov esp, ebp
pop ebp
ret
Function at 0x41b053
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
push ecx
call fcn.004302f1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41b0de
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x41b0de
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41b0de
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41b0de
mov eax, dword [ebp - 0x14]
jmp 0x41b0e0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41c566
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
mov word [ebp - 0x208], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x20c], 0xfeff
push 0x445948
mov eax, dword [ebp + 8]
push eax
call fcn.00434bfc
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x41c743
mov ecx, dword [ebp - 0x224]
push ecx
push 2
push 1
lea edx, [ebp - 0x20c]
push edx
call fcn.00434976
add esp, 0x10
mov eax, dword [ebp - 0x224]
push eax
call fcn.00434704
add esp, 4
cmp dword [ebp - 0x20c], 0xfeff
je 0x41c5fc
jmp 0x41c743
call fcn.0042f0be
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.004346c2
add esp, 8
cmp dword [ebp + 0xc], 1
jne 0x41c64f
push 0x445950
lea edx, [ebp - 0x208]
push edx
call fcn.00434698
add esp, 8
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x41c685
push 0x445964
lea eax, [ebp - 0x208]
push eax
call fcn.00434698
add esp, 8
push 0
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x21c], 0x3930
mov ecx, dword [0x4566fc]
add ecx, dword [ebp - 0x21c]
mov dword [0x44dbc8], ecx
mov dword [ebp - 0x210], 0x5b8
mov dword [ebp - 0x214], 0x24
mov edx, dword [ebp - 0x21c]
add edx, dword [ebp - 0x210]
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x220], 0
jmp 0x41c6e2
mov eax, dword [ebp - 0x220]
add eax, 1
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [ebp - 0x218]
jae 0x41c701
mov edx, dword [0x4566fc]
add edx, dword [ebp - 0x220]
mov byte [edx], 0
jmp 0x41c6d3
mov eax, dword [0x44dbc8]
add eax, 0x5b8
sub eax, dword [0x4566fc]
mov ecx, dword [0x44dbc8]
mov dword [ecx + 0x34], eax
call fcn.0041c893
call fcn.0042f956
mov edx, dword [0x44dbc8]
mov eax, dword [edx + 0xac]
push eax
call fcn.0041481f
add esp, 4
call fcn.00414230
call fcn.00413ece
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41ce10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x441330
push 1
push 0
push 0x441320
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x41ce4c
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x41cee9
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
call dword [eax + 0x50]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
call dword [edx + 0x1c]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
call dword [eax + 0x24]
lea edx, [ebp - 4]
push edx
push 0x441340
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
call dword [ecx]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x41ceb3
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x41cee9
push 2
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41ceed
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x445ae8
lea eax, [ebp - 0xc]
push eax
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41cf60
mov edx, dword [ebp + 8]
push edx
call fcn.004346e7
add esp, 4
lea eax, [eax + eax + 2]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
push 0x445b3c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41cf56
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4