joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407a75
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub eax, dword [ebp + 0x24]
clc
mov eax, dword [esp]
clc
cld
nop
nop
jae 0x406297
add byte [eax], al
pop ecx
add bl, ch
or dword [ecx + 0x4cbf5758], edi
jno 0x407ad0
add byte [edi + 0x6c3243c], al
mov word [eax], es
adc dword [edi], ebx
add byte [edi], ch
add byte [eax], bh
add byte [eax + eax], bh
int1
popfd
mov dword [edi - 0x20], eax
push edi
mov edi, 0x40837b
xchg dword [esp], edi
ret

Function at 0x40829a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
clc
cld
nop
nop
jae 0x407fd2
mov ecx, dword [ebx + 0xa70028]
add byte [ebp + 0x18c08343], bl
dec dword [ebp + 0x28]
clc
mov ecx, 0xe347260e
clc
mov ecx, dword [ecx + 0x38]
clc
cld
nop
nop
jae 0x408c56
add byte [eax], al
adc dword [eax], eax
add byte [ebp - 0x40a89f35], bl
rcr dword [edx + 0x40], cl
add byte [edi + 0xc3243c], al
cmpsd dword [esi], dword es:[edi]
add byte [eax], al
xchg ecx, eax
sub byte es:[eax], al
push es
push ds
add ah, ch
jle 0x406dad
cmp eax, 0xbf57d08b
add ecx, dword [edx + 0x3c870040]
and al, 0xc3
mov word [eax], es
jle 0x406e0f
add byte [eax], al
fiadd dword [eax]
add dh, bl
invalid
sbb al, byte [eax]
add byte [ebp + 0x5e00], bl
add byte [edi], ch
out 0xc, al
add byte [ebp + 0x51], ah
clc
cld
nop
nop
jae 0x407718
in al, 0xa6
das
add ah, ah
add byte [eax], al
pop edi
xor al, 0
int 0x55
mov ebp, esp
add byte [esi + 0x50090000], dl
add byte [esp + ecx*2], cl
cwde
cmp ebx, dword [ecx]
lcall 0x24, 0x9f500
inc byte [edi + 0x1598e9]
add byte [esi], bh
or dword [eax], eax
das
add byte [eax], al
jg 0x406e59
or al, 0xa4
add byte es:[ebp], bh
add bl, dh
mov ecx, 0x7262694c
clc
cld
nop
nop
jae 0x408298
add byte [ecx], cl
add bh, ah
bound eax, qword [eax]
and dword [ebx - 0xd07c38d], ecx
cld
fistp dword [esp]
push edi
mov edi, 0x405d4b
xchg dword [esp], edi
ret
jmp 0x40621f
mov ecx, ebx
clc
cld
nop
nop
jae 0x408a1d
cmpsb byte [esi], byte es:[edi]
add byte [esi], bh
add byte [ebp - 0x74aa3500], bl
in al, dx
jge 0x407fec
add byte [eax], al
jns 0x407fb2
mov ah, 0x17
or byte [eax], al
add dl, dl
mov ebx, 0x35d20803
xor byte [eax], al
sti
push ecx
nop
push ebp
mov ebp, esp
leave
nop
jmp 0x40637a
add ecx, dword [ecx + 0x3c]
clc
cld
nop
nop
jae 0x406d7f
mov cl, 0xa4
add byte [eax], al
das
push es
add bl, al
jmp 0x4079d9
Function at 0x4073e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x407420
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4073f6
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x4073f1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40744d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40742e
not eax
pop ebp
ret 0xc

Function at 0x4013f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [0x411028]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret

Function at 0x402ab1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410060]
jne 0x402abb
repz ret
jmp fcn.00404d5c

Function at 0x4096e7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404746
and dword [ebp - 4], 0
cmp dword [0x411a14], 0
mov ebx, eax
jne 0x409798
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409849
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40e1b8
push edi
call esi
test eax, eax
je 0x409849
push eax
call fcn.004046d4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x411a14], eax
call esi
push eax
call fcn.004046d4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411a18], eax
call esi
push eax
call fcn.004046d4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x411a1c], eax
call esi
push eax
call fcn.004046d4
pop ecx
mov dword [0x411a24], eax
test eax, eax
je 0x409798
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004046d4
pop ecx
mov dword [0x411a20], eax
mov eax, dword [0x411a20]
cmp eax, ebx
je 0x4097f0
cmp dword [0x411a24], ebx
je 0x4097f0
push eax
call fcn.0040474f
push dword [0x411a24]
mov esi, eax
call fcn.0040474f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4097f0
test edi, edi
je 0x4097f0
call esi
test eax, eax
je 0x4097e7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4097e7
test byte [ebp - 0xc], 1
jne 0x4097f0
or dword [ebp + 0x10], 0x200000
jmp 0x409829
mov eax, dword [0x411a18]
cmp eax, ebx
je 0x409829
push eax
call fcn.0040474f
pop ecx
test eax, eax
je 0x409829
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409829
mov eax, dword [0x411a1c]
cmp eax, ebx
je 0x409829
push eax
call fcn.0040474f
pop ecx
test eax, eax
je 0x409829
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x411a14]
call fcn.0040474f
pop ecx
test eax, eax
je 0x409849
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40984b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422a50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..data
lea edi, [esi - 0x1b000]
push edi
jmp 0x422a6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422a71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422a60
mov eax, 1
add ebx, ebx
jne 0x422a83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422a78
jne 0x422a94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422a78
xor ecx, ecx
sub eax, 3
jb 0x422aa8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422b1a
mov ebp, eax
add ebx, ebx
jne 0x422ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422ac0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422ae4
inc ecx
add ebx, ebx
jne 0x422ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422ac5
jne 0x422ae1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422ac5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422b04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422af5
jmp 0x422a66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422b04
add edi, ecx
jmp 0x422a66
pop esi
mov edi, esi
mov ecx, 0x2a2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422b22
cmp byte [edi], 7
jne 0x422b22
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 0x422b27
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422b96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25bf8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25c48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422b54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25c4c]
or eax, eax
je 0x422b90
mov dword [ebx], eax
add ebx, 4
jmp 0x422b71
call dword [esi + 0x25c5c]
mov ebp, dword [esi + 0x25c50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x422bca
sub esp, 0xffffff80
jmp 0x4033c0
Function at 0x401ce6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401d25
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401d25
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401d25
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401d25
cmp dword [ecx + 0x74], 0xe
jbe 0x401d25
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x101e09c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101e0ba4
pushal
mov esi, 0x1013a00d
lea edi, [esi - 0x13900d]
push edi
jmp 0x101e09ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101e09f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101e09e0
mov eax, 1
add ebx, ebx
jne 0x101e0a03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101e0a14
jne 0x101e0a33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101e0a33
dec eax
add ebx, ebx
jne 0x101e0a20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101e09f8
add ebx, ebx
jne 0x101e0a2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101e0a85
xor ecx, ecx
sub eax, 3
jb 0x101e0a4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101e0aba
sar eax, 1
mov ebp, eax
jmp 0x101e0a56
add ebx, ebx
jne 0x101e0a56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101e0a24
inc ecx
add ebx, ebx
jne 0x101e0a64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101e0a24
add ebx, ebx
jne 0x101e0a71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101e0a66
jne 0x101e0a82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101e0a66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101e0aa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101e0a96
jmp 0x101e09e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101e0aa4
add edi, ecx
jmp 0x101e09e6
pop esi
mov edi, esi
mov ecx, 0x1bcd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101e0ac2
cmp byte [edi], 0x45
jne 0x101e0ac2
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 0x101e0ac7
lea edi, [esi + 0x1c9000]
mov eax, dword [edi]
or eax, eax
je 0x101e0b36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e00e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e013c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101e0af4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e0140]
or eax, eax
je 0x101e0b30
mov dword [ebx], eax
add ebx, 4
jmp 0x101e0b11
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101e0b67
cmp al, 0xef
ja 0x101e0b5a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101e0b3c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101e0b49
mov ebp, dword [esi + 0x1e0144]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x101e0b9b
sub esp, 0xffffff80
jmp 0x10124bab
Function at 0x1000f660
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x1000f682
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x1000f676
xor eax, eax
pop edi
ret
mov eax, dword [eax + 8]
push eax
push edi
push 1
push ebx
call ecx
jmp 0x1000f6b2
cmp dword [esi + 8], 0
jne 0x1000f6a5
mov ecx, dword [eax + 8]
push 0x10038764
push ecx
call fcn.100131ba
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x1000f6a5
or eax, 0xffffffff
pop edi
ret
mov edx, dword [esi + 8]
push edx
push edi
push 1
push ebx
call fcn.10012078
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1000f6d4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000f6ce
push eax
call fcn.10012f52
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, edi
pop edi
ret

Function at 0x100203df
Capabilities:
Get number of processors

Disassembly:
add byte [eax], al
mov al, 3
add al, cl
add dword [eax], eax
add byte [eax + 0x30], bl
pop esp
xor byte [eax + 0x30], ah
xor byte fs:[eax + esi + 0x313430b8], dh
cmp byte [ecx], dh
dec eax
xor dword [ecx + esi + 0x50], ecx
xor dword [eax + 0x31], ebx
jo 0x10020433
xor byte [ecx], 0x84
xor dword [ecx + esi + 0x319c3198], edx
mov al, byte [0xc031a831]
xor eax, edx
xor esp, edx
xor esp, esp
xor eax, ebp
xor esp, ebp
xor eax, esi
xor eax, edi
xor dword [eax], edx
xor ah, byte [eax]
xor ah, byte [edx + esi]
xor al, 0x32
cmp byte [edx], dh
dec eax
xor cl, byte [edx + esi + 0x54]
xor ch, byte [edx + esi + 0x7c]
xor al, byte [eax - 0x6bcd6fce]
xor bl, byte [eax - 0x47cd5fce]
xor cl, al
xor cl, ah
xor dl, ah
xor ch, ah
xor bh, ah
xor al, byte [eax]
xor edx, dword [eax]

Function at 0x100220f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp - 4], 0
je 0x1002210c
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
push 0x1000e270
call fcn.10021c00
lea eax, [ebp - 4]
push eax
push 0
push 0
push fcn.100012c0
push 0
push 0
call fcn.10023106
add esp, 0x1c
test eax, eax
je 0x1002213a
push eax
call dword [fcn.1000c024]
mov ecx, dword [0x10011b70]
test ecx, ecx
jne 0x10022161
mov esi, dword [0x1000c020]
lea ebx, [ebx]
push 0x2710
call esi
mov edx, dword [0x10011b70]
test edx, edx
je 0x10022150
push 0
call dword [fcn.1000c018]
int3
Function at 0x10034ac0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x10034cf0
test ebx, ebx
je 0x10034cf0
mov eax, dword [0x526120]
push esi
push 0x1c
push 0
push eax
call dword [0x4f92d4]
mov esi, eax
test esi, esi
jne 0x10034b09
push 0x50cf60
call dword [0x4f92b0]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push 0x1c
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push esi
mov dword [esi + 0x14], eax
push edi
mov dword [esi + 0x18], eax
call dword [0x4f92d8]
test eax, eax
jne 0x10034b44
push 0x50cf88
call dword [0x4f92b0]
mov dword [ebp - 4], 0
jmp 0x10034c60
xor edi, edi
cmp dword [esi + 4], edi
jne 0x10034b5e
push 0x50cfac
call dword [0x4f92b0]
mov dword [ebp - 4], edi
jmp 0x10034c60
mov ecx, dword [esi + 4]
mov dword [ebx + 0x104], ecx
mov ecx, dword [esi + 4]
mov edx, 0x5a4d
cmp word [ecx], dx
je 0x10034b87
push 0x50cfd8
call dword [0x4f92b0]
mov dword [ebp - 4], edi
jmp 0x10034c60
mov eax, dword [ecx + 0x3c]
add eax, ecx
je 0x10034cdd
cmp dword [eax], 0x4550
jne 0x10034cdd
mov ecx, dword [eax + 8]
mov dword [ebx + 0x108], ecx
mov ecx, dword [esi + 0x18]
cmp ecx, 0x20000
je 0x10034c94
cmp ecx, 0x40000
je 0x10034c94
cmp ecx, 0x1000000
je 0x10034be4
push 0x50d0ac
call dword [0x4f92b0]
mov dword [ebx + 0x10c], 0xffffffff
mov dword [ebp - 4], edi
jmp 0x10034c60
mov edx, dword [0x526120]
push 0x104
push edi
push edx
mov dword [ebx + 0x10c], edi
call dword [0x4f92d4]
mov edi, eax
test edi, edi
jne 0x10034c13
push 0x50d030
call dword [0x4f92b0]
mov dword [ebp - 4], edi
jmp 0x10034c60
push 0x104
push 0
push edi
call 0x100b6510
mov eax, dword [ebp + 8]
add esp, 0xc
push 0x104
push edi
push eax
call dword [0x4f92d0]
push eax
call dword [0x4f9378]
test eax, eax
jne 0x10034c78
push 0x50d05c
call dword [0x4f92b0]
mov dword [ebp - 4], 0
mov edx, dword [0x526120]
push edi
push 0
push edx
call dword [0x4f92cc]
mov eax, dword [0x526120]
push esi
push 0
push eax
call dword [0x4f92cc]
mov eax, dword [ebp - 4]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push edi
call dword [0x4f9398]
push eax
push 0x40
push ebx
call 0x100b2f96
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x10034c50
mov dword [ebx + 0x10c], 1
mov ecx, dword [eax + 0x78]
cmp ecx, edi
je 0x10034ccd
cmp dword [eax + 0x7c], edi
je 0x10034ccd
mov eax, dword [esi + 4]
add ecx, eax
cmp ecx, edi
je 0x10034c60
mov ecx, dword [ecx + 0xc]
add ecx, eax
push ecx
push 0x40
push ebx
call 0x100b2f96
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x10034c60
push 0x50d084
call dword [0x4f92b0]
mov dword [ebp - 4], edi
jmp 0x10034c60
push 0x50d004
call dword [0x4f92b0]
mov dword [ebp - 4], edi
jmp 0x10034c60
push 0x50cf38
call dword [0x4f92b0]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x40806ef3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x4d18663b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], 0
push 0
push eax
mov esi, ecx
call fcn.00409cc0
lea ecx, [ebp - 0x10c]
add esp, 0xc
sub ecx, esi
jmp 0x4013c0
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4013c0
lea ecx, [ebp - 0x10c]
dec ecx
pop esi
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4013d5
mov eax, dword [str.stopservice.txt]
mov dword [ecx], eax
mov eax, dword [0x41ca98]
mov dword [ecx + 4], eax
mov eax, dword [0x41ca9c]
mov dword [ecx + 8], eax
mov eax, dword [0x41caa0]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f5b
mov esp, ebp
pop ebp
ret
Function at 0x401840
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
push 0x40
lea eax, [esp + 0x28]
mov esi, ecx
push 0
push eax
call fcn.00409cc0
add esp, 0xc
mov dword [esp + 0x20], 0x44
lea eax, [esp + 0x10]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401909
push eax
call fcn.00404943
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x14], edx
call fcn.004045c1
push eax
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x78]
push 0x14
push eax
call fcn.004045a4
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [esp + 0x70]
push eax
push str.__s_ERROR:_RunAndWait:_CreateProcess__s_failed___d_n
push dword [0x421558]
call fcn.004042e7
push dword [0x421558]
call fcn.004040a1
add esp, 0x18
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00403f5b
mov esp, ebp
pop ebp
ret
push 0x7530
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40195d
push 0
call fcn.00404943
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x14], edx
call fcn.004045c1
push eax
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x78]
push 0x14
push eax
call fcn.004045a4
push esi
lea eax, [esp + 0x84]
push eax
push str.__s_ERROR:_RunAndWait:_Wait_for_process__s_timeout_n
jmp 0x401a0c
cmp eax, 0xffffffff
jne 0x4019d0
push 0
call fcn.00404943
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x14], edx
call fcn.004045c1
push eax
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x78]
push 0x14
push eax
call fcn.004045a4
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [esp + 0x70]
push eax
push str.__s_ERROR:_RunAndWait:_Wait_for_process__s_failed___d_n
push dword [0x421558]
call fcn.004042e7
push dword [0x421558]
call fcn.004040a1
add esp, 0x18
mov eax, 1
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00403f5b
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x401a25
push eax
call fcn.00404943
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x14], edx
call fcn.004045c1
push eax
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x78]
push 0x14
push eax
call fcn.004045a4
push esi
lea eax, [esp + 0x84]
push eax
push str.__s_LOG:_RunAndWait:_Wait_for_process__s_success_n
push dword [0x421558]
call fcn.004042e7
push dword [0x421558]
call fcn.004040a1
add esp, 0x2c
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop esi
xor ecx, esp
call fcn.00403f5b
mov esp, ebp
pop ebp
ret
Function at 0x402060
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
test edi, edi
je 0x4020c4
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
mov esi, dword [ebp + 8]
push esi
push edi
call ebx
test eax, eax
je 0x4020bf
mov ecx, 0x2710
cmp dword [esi + 4], 1
je 0x4020bf
mov eax, 0xcccccccd
mul dword [esi + 0x18]
shr edx, 3
cmp edx, 0x3e8
jae 0x4020a2
mov edx, 0x3e8
jmp 0x4020ab
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
call ebx
mov ecx, 0x2710
test eax, eax
jne 0x402082
pop esi
pop ebx
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret
Function at 0x4028e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1398
call fcn.0040d190
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x1390]
xor bl, bl
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrent_VersionWinlogon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402967
lea eax, [ebp - 0x1394]
mov dword [ebp - 0x1394], 0x1388
push eax
lea eax, [ebp - 0x138c]
push eax
lea eax, [ebp - 0x1398]
push eax
push 0
push str.MakeKeyFlag
push dword [ebp - 0x1390]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40295b
cmp dword [ebp - 0x138c], eax
setne bl
push dword [ebp - 0x1390]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00403f5b
mov esp, ebp
pop ebp
ret

Function at 0x402980
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xf003f
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0
push 0
mov esi, ecx
movq qword [ebp - 0xc], xmm0
movdqu xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x402a3b
push edi
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x402a31
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
jne 0x402a2a
push ebx
cmp dword [ebp - 0x1c], eax
je 0x402a22
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea esp, [esp]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
jne 0x402a29
cmp dword [ebp - 0x1c], eax
je 0x402a22
push 0xc8
call ebx
inc esi
cmp esi, 5
jl 0x402a00
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
pop ebx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x1c], 1
pop esi
sete al
xor ecx, ebp
call fcn.00403f5b
mov esp, ebp
pop ebp
ret