joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5497a0
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x230]
call fcn.0040e160
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004fb1f0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x260]
call fcn.0040e120
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 2
push str.2345SoftMgrconfigpushnotifyhistory
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.00418990
add esp, 0xc
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040e0e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.0040ac80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.0040ac80
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040f0c0
mov eax, dword [ebp - 0x264]
or eax, 1
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0040ac80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret

Function at 0x4f3fa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5497a0
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x230]
call fcn.0040e160
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004fb1f0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x260]
call fcn.0040e120
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 2
push str.2345Pic2345PicDisplay.dat
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.00418990
add esp, 0xc
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040e0e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.0040ac80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.0040ac80
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040f0c0
mov eax, dword [ebp - 0x264]
or eax, 1
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0040ac80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8545
mov esp, ebp
pop ebp
ret
Function at 0x51177b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0051143b
Function at 0x526040
Capabilities:
Encode data using base64

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
lea ebx, [edi - 2]
test ebx, ebx
jle 0x5260cd
mov edi, dword [esp + 0x18]
nop dword [eax + eax]
movzx ecx, byte [edi + esi]
shr ecx, 2
movzx ecx, byte [ecx + 0x5574c0]
mov byte [eax], cl
movzx edx, byte [edi + esi]
movzx ecx, byte [edi + esi + 1]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + 0x5574c0]
mov byte [eax + 1], cl
movzx edx, byte [edi + esi + 1]
movzx ecx, byte [edi + esi + 2]
and edx, 0xf
shr ecx, 6
shl edx, 2
or edx, ecx
movzx ecx, byte [edx + 0x5574c0]
mov byte [eax + 2], cl
movzx ecx, byte [edi + esi + 2]
add esi, 3
and ecx, 0x3f
movzx ecx, byte [ecx + 0x5574c0]
mov byte [eax + 3], cl
add eax, 4
cmp esi, ebx
jl 0x526060
mov edi, dword [esp + 0x1c]
cmp esi, edi
jge 0x52612e
mov ebx, dword [esp + 0x18]
movzx ecx, byte [esi + ebx]
shr ecx, 2
mov cl, byte [ecx + 0x5574c0]
mov byte [eax], cl
lea ecx, [edi - 1]
movzx edx, byte [esi + ebx]
and edx, 3
shl edx, 4
cmp esi, ecx
jne 0x526102
mov cl, byte [edx + 0x5574c0]
mov dl, 0x3d
mov byte [eax + 1], cl
jmp 0x526124
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
or ecx, edx
mov cl, byte [ecx + 0x5574c0]
mov byte [eax + 1], cl
movzx ecx, byte [esi + ebx + 1]
and ecx, 0xf
mov dl, byte [ecx*4 + 0x5574c0]
mov byte [eax + 2], dl
mov byte [eax + 3], 0x3d
add eax, 4
pop edi
mov byte [eax], 0
sub eax, ebp
pop esi
pop ebp
inc eax
pop ebx
ret

Function at 0x5264a0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x54bd89
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x218]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov word [ebp], ax
mov word [ebp + 0x208], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x21c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x52655a
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x526549
push 0x104
lea eax, [ebp]
push eax
push 0x8000
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00526360
add esp, 0x14
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x52655a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x526573
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040e470
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5265a7
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004f8545
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403280
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x41a008], 0x8088405
inc edx
mov dword [ebx + 0x41a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4175fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x417684
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040460c
mov eax, dword [ebp - 4]
call fcn.004048cc
mov esi, eax
test esi, esi
jle 0x41765f
mov ebx, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, ebx
call fcn.004047f4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004048d4
inc ebx
dec esi
jne 0x41763e
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00404660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41768b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404630
ret

Function at 0x417694
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x41772a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404acc
call fcn.0040b6f0
mov ebx, eax
test ebx, ebx
jle 0x4176fc
mov esi, 1
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi - 1]
xor edx, edi
call fcn.004047f4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004048d4
inc esi
dec ebx
jne 0x4176db
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417731
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404630
lea eax, [ebp - 4]
call fcn.0040460c
ret

Function at 0x408947
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
call fcn.00408965
xor dword [ebx], eax
dec edi
inc ebx
mov esi, esi
add edi, 0xbe36b42d
cmp ebx, edx
jne fcn.00408947
sub esi, esi
ret
Function at 0x3ccded0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3503000]
push edi
or ebp, 0xffffffff
jmp 0x3ccdef2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3ccdef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ccdee8
mov eax, 1
add ebx, ebx
jne 0x3ccdf0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x3ccdf1c
jne 0x3ccdf3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ccdf3b
dec eax
add ebx, ebx
jne 0x3ccdf28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x3ccdf00
add ebx, ebx
jne 0x3ccdf37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x3ccdf8d
xor ecx, ecx
sub eax, 3
jb 0x3ccdf53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3ccdfc2
sar eax, 1
mov ebp, eax
jmp 0x3ccdf5e
add ebx, ebx
jne 0x3ccdf5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ccdf2c
inc ecx
add ebx, ebx
jne 0x3ccdf6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3ccdf2c
add ebx, ebx
jne 0x3ccdf79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x3ccdf6e
jne 0x3ccdf8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3ccdf6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x3ccdfac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x3ccdf9e
jmp 0x3ccdeee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x3ccdfac
add edi, ecx
jmp 0x3ccdeee
pop esi
mov edi, esi
mov ecx, 0xaf84
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x3ccdfca
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x3ccdfcf
lea edi, [esi + 0x38cb000]
mov eax, dword [edi]
or eax, eax
je 0x3cce040
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x38d44ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x38d4528]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x3ccdff5
mov ecx, edi
jns 0x3cce024
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x38d452c]
or eax, eax
je 0x3cce03a
mov dword [ebx], eax
add ebx, 4
jmp 0x3cce012
call dword [esi + 0x38d453c]
mov ebp, dword [esi + 0x38d4530]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x3cce074
sub esp, 0xffffff80
jmp 0x401484
Function at 0x45c0d1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x517440
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x55011c], 1
jge 0x5174af
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x517485
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x517485
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x517462
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x51749b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x5174a2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x51759f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x517570
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x517565
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x517559
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x517560
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x51759f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x51759a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x517583
mov eax, dword [ebx + 8]
jmp 0x51759f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x517591
xor eax, eax
jmp 0x51759f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x5174cf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x45da9e
Capabilities:
Query environment variable

Disassembly:
jmp 0x4f11d3
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4f11e7
xor edi, edi
jmp 0x4f122b
push ebx
push esi
call fcn.004f10c9
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.0045e0f7
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4f1218
push ebx
push esi
push edi
call fcn.0045dbed
add esp, 0xc
push 2
push 0
call fcn.0045e6ab
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x401a24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8170d0]
jne 0x401a2e
repz ret
jmp fcn.00402816

Function at 0x40dbab
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.00405f51
and dword [ebp - 4], 0
cmp dword [0x8200c0], 0
mov ebx, eax
jne 0x40dc5c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40dd0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40dd0d
push eax
call fcn.00405edf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x8200c0], eax
call esi
push eax
call fcn.00405edf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x8200c4], eax
call esi
push eax
call fcn.00405edf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x8200c8], eax
call esi
push eax
call fcn.00405edf
pop ecx
mov dword [0x8200d0], eax
test eax, eax
je 0x40dc5c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405edf
pop ecx
mov dword [0x8200cc], eax
mov eax, dword [0x8200cc]
cmp eax, ebx
je 0x40dcb4
cmp dword [0x8200d0], ebx
je 0x40dcb4
push eax
call fcn.00405f5a
push dword [0x8200d0]
mov esi, eax
call fcn.00405f5a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40dcb4
test edi, edi
je 0x40dcb4
call esi
test eax, eax
je 0x40dcab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40dcab
test byte [ebp - 0xc], 1
jne 0x40dcb4
or dword [ebp + 0x10], 0x200000
jmp 0x40dced
mov eax, dword [0x8200c4]
cmp eax, ebx
je 0x40dced
push eax
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dced
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40dced
mov eax, dword [0x8200c8]
cmp eax, ebx
je 0x40dced
push eax
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dced
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8200c0]
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dd0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40dd0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x81169e
Capabilities:
Compare security identifiers
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x8170d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x8205ac]
push edi
push dword [eax]
mov edi, dword [0x8204f4]
call fcn.008115cb
cmp dword [0x8205ac], 0x2f
pop ecx
jne 0x81172f
push esi
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
pop esi
push edi
call fcn.00811615
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00401a24
leave
ret
Function at 0x811a81
Capabilities:
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x8205ac], 0xbf9
jne 0x811aa4
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
cmp dword [0x8205ac], 0x3dc
mov dword [0x8205a0], 0x8e55ceaa
jne 0x811ad3
push esi
push 0x814988
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.canofepusofijinufuj_vil_jacuvopagaruvahobidorojofutove
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
dec edi
jne 0x811a91
xor ebx, ebx
cmp ebx, 0x8465cd
jne 0x811aef
mov eax, dword [0x81f574]
add eax, 0xa231
mov dword [0x8205ac], eax
cmp dword [0x8205ac], 0x141
jne 0x811b35
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
or dword [0x820274], 0xffffffff
mov dword [0x820270], 0xec58acac
inc ebx
cmp ebx, 0x125483c
jl 0x811ad8
call fcn.00811744
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
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
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219