joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1586e6b
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop dx
dec ecx
mov ebp, 0xeadf3751
jmp 0x1586efa
mov dh, 0x9f
xchg dx, ax
ror dl, cl
std
cmc
btr esi, edi
jmp 0x1586f0b
pop bx
cld
sete ch
mov byte [esp + 2], dh
inc al
setb al
jmp 0x1586ebf
dec bp
clc
setbe dl
cld
add esp, 3
mov edx, 0xa95d3fc2
jmp 0x1586ed5
setno bl
rdtsc
xchg dword [esp + 0xe], ebp
pop ax
push dword [esp + 0x11]
xchg byte [esp + 0xe], cl
jmp 0x1586fd5
cld
lea ecx, [edi*4]
mov dl, 0x58
mov byte [esp + 0x24], ch
pop dword [esp + 0xd]
mov esi, eax
jmp 0x1586fa1
bsf edi, ecx
bswap edx
stc
mov bh, byte [esp]
push dword [esp + 0x10]
mov edi, 0x65762654
jmp 0x1586f54
xchg byte [esp + 0x17], dh
not cx
lea esp, [esp + 0x2e]
mov byte [esp + 7], dl
push word [esp + 4]
push word [esp + 0xa]
jmp 0x1586fb2
push word [esp + 0x13]
clc
mov cx, si
cmc
mov ah, byte [esp + 0x29]
pop eax
jmp 0x1586f82
bsf si, dx
mov bp, dx
xchg dword [esp + 5], edi
add esp, 0xa
bts eax, edx
xchg si, di
jmp 0x1586fff
pushal
xchg ecx, edx
mov edx, edi
xchg word [esp + 0x22], bp
ror bh, 5
mov ebx, 0xc8f2642d
jmp 0x1586f6e
mov edx, 0x454c4c36
pop bx
lea edx, reloc.iphlpapi.dll_GetAdaptersInfo
call fcn.0158700f
adc cl, byte [ebp + 0x148d6f1c]
rdtsc
lea edx, [esi + edi]
rdtsc
mov word [esp + 1], cx
pushfd
mov dl, bl
cld
jmp 0x1586fe9

Function at 0x158700f
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp]
push word [esp + 0xa]
mov bp, ax
jmp 0x1587054
setbe ch
mov bp, 0xf4f
not ax
xchg word [esp + 6], ax
dec esi
jmp 0x158707f
not edx
bsr eax, ebx
not eax
mov ecx, 0xcde6ce14
mov byte [esp + 1], bl
lea eax, [ebx + ebp]
jmp 0x158703e
cld
mov dword [esp + 8], edi
xchg ecx, edi
xchg word [esp + 9], si
jmp 0x1587094
pop bx
rdtsc
std
push word [esp + 0xb]
xchg dx, cx
lea esi, reloc.iphlpapi.dll_GetAdaptersInfo
jmp 0x1587069
push word [esp + 5]
push word [esp + 9]
mov word [esp + 1], si
mov cl, 0xa0
mov eax, 0x2c78ac70
pop dx
jmp 0x15870d7
xchg di, bx
sub esp, 0x17
lea edi, [esp + esi]
xchg esi, ebx
pop word [esp + 0x20]
add esp, 0x10
jmp 0x158720d
mov dx, bx
stc
bts si, sp
rdtsc
push word [esp + 5]
std
jmp 0x1587161
xchg edi, ebx
bsr ecx, edx
mov word [esp + 8], bx
ror ah, cl
mov ah, byte [esp + 2]
mov edi, 0x4ff7ef0
jmp 0x158710d
mov ebp, eax
mov ecx, edi
pop dword [esp + 0xb]
call fcn.0158714b
rdtsc
stc
lea edx, [ebx*4]
neg ebp
pop edi
shr edi, cl
jmp 0x15871e1
dec di
mov ax, 0xf077
mov ecx, 0x2f9fdfde
bt ebp, esi
xchg ebx, ecx
xchg word [esp + 1], ax
jmp 0x1587134
lea ecx, [esp + 0xd]
pop word [esp + 0x13]
add esp, 0xd
push dword [esp + 1]
jmp 0x15871f6
inc si
pop di
xchg dword [esp + 0xa], edi
xchg dword [esp + 0xa], esi
mov bp, 0x9e3e
push esi
jmp 0x15871a6
cpuid
mov word [esp + 0xe], sp
bsr edi, edi
mov bx, sp
not esi
mov di, 0x23ff
jmp 0x15871bc
mov word [esp + 3], si
mov cl, 0x2b
cpuid
mov dx, bx
jmp 0x158733d
rdtsc
add eax, ebx
push word [esp + 0xa]
mov word [esp + 0x13], si
lea esp, [esp + 1]
mov ebx, 0x3d4561a5
jmp 0x158718f
mov edi, 0xc56ef2b8
Function at 0x158757a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bh, dl
neg ah
lea ebp, reloc.iphlpapi.dll_GetAdaptersInfo
xchg dh, dl
push dword [esp + 1]
mov dx, bx
jmp 0x158693f
bswap eax
xchg bl, cl
xchg dword [esp + 0x13], edi
not si
mov ax, word [esp + 6]
jmp 0x1586978
lea ebx, [ebx*4]
pushal
clc
pop dword [esp + 5]
inc ax
cpuid
jmp 0x1586901
rdtsc
pop dx
mov word [esp + 6], dx
or bp, 0x2d83
bsr esi, esp
bsr edi, esp
jmp 0x1586916
pushal
lea esp, [esp + 0x48]
stc
bswap ecx
bsr ax, bp
not bx
jmp 0x158692c
mov ax, word [esp + 0xf]
mov edi, 0x6a825e1b
mov edx, 0x83d30b18
xchg ecx, esi
mov dword [esp + 0xb], edx
pop edx
jmp 0x15873bc
bswap ebp
mov ax, sp
neg ecx
xchg word [esp + 0x23], si
setbe bl
btr ecx, esi
jmp 0x1586967
mov ecx, 0x581be6b8
mov bx, cx
mov ax, 0xcc7b
sub esp, 1
pushal
jmp 0x158699b

Function at 0x433005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x61d16115
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
mov ecx, 0x64372235
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4023e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ffbc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x448244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x402461
mov dword [ebx], 0x432db8
mov dword [ebx + 0x10], 0x432dc0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
lea esi, [ebx + 0x18]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 8], esi
call fcn.00401c60
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00411532
mov esi, eax
add esp, 4
test esi, esi
je 0x4024b9
push 1
mov byte [ebp - 4], 2
call fcn.00410732
add esp, 4
mov dword [esi + 4], eax
jmp 0x4024bb
xor esi, esi
lea eax, [ebx + 0x18]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4041f0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430305
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x448244]
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, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xf0]
push 1
mov dword [ebp - 0x40], edi
call fcn.004023e0
push 1
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [esi + 0x30]
mov ecx, esp
push eax
call fcn.00402350
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004040c0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [0x4321f0]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call dword [0x432228]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4321e8]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4321e4]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x34]
call dword [0x432220]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call dword [0x432210]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call dword [0x432224]
push edi
lea ecx, [ebp - 0x30]
call dword [0x432208]
lea ecx, [ebp - 0x30]
call dword [0x43221c]
lea ecx, [ebp - 0x34]
call dword [0x432224]
lea ecx, [ebp - 0x38]
call dword [0x432224]
lea ecx, [ebp - 0x2c]
call dword [0x4321ec]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x404327
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40431d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404363
push edx
push ecx
call fcn.00411562
add esp, 8
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403940
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.00411524
mov esp, ebp
pop ebp
ret 4
call fcn.004156ff
int3
Function at 0x4051d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x448244]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40529a
cmp byte [esi + 0x3e], 0
je 0x40529a
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x405287
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40524c
sub eax, 1
je 0x405250
sub eax, 2
jne 0x405287
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00411524
add esp, 0x28
ret
mov byte [esi + 0x3e], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x40526f
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00415b8a
add esp, 0x10
cmp edi, eax
jne 0x405287
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00411524
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00411524
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.00411524
add esp, 0x28
ret
Function at 0x40d9a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43111a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x448244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 0
push 0
mov dword [ebp - 4], 0
call dword [0x432164]
push 0xffffffffffffffff
push 0
mov byte [ebp - 4], 1
mov dword [ebx], vtable.DAQUpgradeWriteThread.0
mov dword [ebx + 8], 0
call dword [0x432200]
add esp, 8
mov dword [ebx + 0xc], eax
lea esi, [ebx + 0x10]
mov dword [esi], 0x433e44
mov dword [ebp - 0x18], esi
mov dword [esi + 0x78], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
lea edi, [esi + 0x10]
mov byte [ebp - 4], 3
push 0
push edi
mov ecx, esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], edi
call fcn.00401e20
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 4
mov dword [ebp - 0x20], edi
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00411532
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40daa4
push 1
mov byte [ebp - 4], 5
call fcn.00410732
add esp, 4
mov dword [ebx + 4], eax
jmp 0x40daa6
xor ebx, ebx
mov dword [edi + 0x34], ebx
lea edx, [edi + 8]
lea ebx, [edi + 4]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x10]
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], ebx
lea ecx, [eax + 0x18]
mov ebx, dword [ebp - 0x10]
lea esi, [eax + 0x24]
add eax, 0x28
add edi, 0x14
push 0x30
push 0
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], ecx
mov ebx, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov esi, dword [ebp - 0x1c]
mov dword [edx + 0x4c], 0
mov eax, dword [0x44976c]
mov ecx, dword [0x449770]
mov dword [edx + 0x40], eax
lea eax, [esi + 0xc8]
push eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
call fcn.00412f50
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
lea eax, [ebp + 0xc]
push eax
call dword [0x432168]
lea ecx, [ebp + 0xc]
call dword [0x43221c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40de40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x448244]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40df02
cmp byte [esi + 0x3d], 0
je 0x40df02
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40deef
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40deb4
sub eax, 1
je 0x40deb8
sub eax, 2
jne 0x40deef
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00411524
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x40ded7
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00415b8a
add esp, 0x10
cmp edi, eax
jne 0x40deef
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00411524
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00411524
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.00411524
add esp, 0x28
ret
Function at 0x40e843
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x448244]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40e860
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00411524
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40e89d
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40e89d
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 [esp + 0x2c]
xor ecx, esp
call fcn.00411524
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x40e993
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40e8c5
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 0x40e8f9
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0041838a
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00411524
add esp, 0x30
ret 4
mov byte [esp + 0xc], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40e962
sub eax, 1
je 0x40e962
sub eax, 2
jne 0x40e993
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.0040d510
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00411524
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x40e981
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00415b8a
add esp, 0x10
cmp edi, eax
jne 0x40e993
lea eax, [esp + 0xc]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
jne 0x40e887
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00411524
add esp, 0x30
ret 4

Function at 0x42120b
Capabilities:
Read file on windows

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

Function at 0x421216
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421046
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x7252436e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, str.A__
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x25d03b41
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402000
Capabilities:
Lock the desktop

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x40201a
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [0x62dbb0], 0xffffffff
jae 0x40202e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
jmp 0x402034
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x402042
push eax
call sym.SystemInformer.exe_PhGetNtMessage
mov edi, edi
jmp 0x402048
push eax
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x40208e
push dword [esi + 4]
push 0x5cc434
push str.Unable_to_lock_the_computer.
push 0xfffe
push 0x20
push dword [ebp + 8]
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4020a8
jmp 0x402080
call fcn.004fbd80
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push str.Unable_to_lock_the_computer.
push 0x5cc434
push 0x10
push dword [ebp + 8]
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4020c0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x4020de
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4020f2
push eax
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x4020f8
push eax
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x402139
push dword [esi + 4]
push 0x5cc434
push str.Unable_to_log_off_the_computer.
push 0xfffe
push 0x20
push dword [ebp + 8]
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x402150
call fcn.004fbd80
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push str.Unable_to_log_off_the_computer.
push 0x5cc434
push 0x10
push dword [ebp + 8]
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x402940
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0xc
dec eax
push esi
cmp eax, 5
ja case.0x402953.4
jmp dword [eax*4 + 0x402af8]
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
mov dword [esp + 0x10], str.EnableWarnings
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov esi, dword [ebp + 8]
test eax, eax
je 0x402993
push 0
push 0
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402953.4
mov ecx, dword [ebp + 0x10]
or ecx, 2
call fcn.0050a940
mov edi, edi
test eax, eax
je 0x402aee
push eax
push 0
push str.Unable_to_shut_down_the_computer.
push esi
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.shut_down
push str.preforms_a_hard
push str.This_option__s__s_in_an_disorderly_manner_and_may_cause_corrupted_files_or_instability_in_the_system.
call fcn.00401920
mov esi, dword [ebp + 8]
add esp, 0xc
push 1
push dword [eax + 4]
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402953.4
push 2
call dword [sym.imp.ntdll.dll_NtShutdownSystem]
lea ebx, [ebx]
test eax, eax
jns 0x402aee
push 0
push eax
push str.Unable_to_shut_down_the_computer.
push esi
lfence
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.shut_down
push str.forces_a_critical
push str.This_option__s__s_in_an_disorderly_manner_and_may_cause_corrupted_files_or_instability_in_the_system.
call fcn.00401920
mov esi, dword [ebp + 8]
add esp, 0xc
push 1
push dword [eax + 4]
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402953.4
push 0x80000000
push 6
push 6
call dword [sym.imp.ntdll.dll_NtSetSystemPowerState]
test eax, eax
jns 0x402aee
push 0
push eax
push str.Unable_to_shut_down_the_computer.
push esi
lfence
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
mov dword [esp + 0x10], str.EnableWarnings
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov esi, dword [ebp + 8]
test eax, eax
je 0x402acd
push 0
push 0
push str.the_computer
push str.update_and_shutdown
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402953.4
push 0x80000000
push 0x49
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
test eax, eax
jne 0x4029a8
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc