joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dae0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d6fd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4b4200]
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
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x499148
push 1
push 0
push 0x499158
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41dbff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41dbff
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
push esi
mov edi, dword [eax + 0xc]
call fcn.004013f0
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x41db64
mov eax, dword [eax]
jmp 0x41db66
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x14]
call edi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x41dbd5
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x41dbce
test esi, esi
je 0x41dbce
mov eax, dword [esi]
test eax, eax
je 0x41dbac
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41dbc3
push eax
call fcn.00469dd3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0046a3d1
add esp, 8
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41dc01
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x18]
jmp 0x41dc01
xor eax, eax
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.00469dc5
mov esp, ebp
pop ebp
ret
Function at 0x421d50
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47daed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0x4b00
mov dword [ebp - 4], 0
call fcn.0046a3df
push 0x4b00
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x28], ebx
call fcn.0046ba40
add esp, 0x10
mov dword [esi + 4], 0
lea ecx, [esi + 4]
push 0
push ecx
push 0x4b00
push ebx
push 0
push 0
push 0x70050
push dword [esi + 0x230]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x421e58
cmp dword [ebx + 4], 0
je 0x421e58
test edi, edi
je 0x421df6
mov eax, dword [ebx]
mov dword [edi], eax
mov ecx, dword [ebp - 0x28]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x421e5a
lea edi, [ecx + 0x30]
mov eax, dword [edi]
test eax, eax
jne 0x421e35
cmp byte [edi + 0x20], al
jbe 0x421e27
cmp byte [edi + 0x22], al
je 0x421e27
inc ebx
add edi, 0x90
sub dword [ebp - 0x30], 1
jne 0x421e16
jmp 0x421e5a
cmp eax, 1
jne 0x421e27
lea edx, [edi + 0x20]
mov esi, 0xc
lea eax, [ebp - 0x24]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x421e26
add edx, 4
add eax, 4
sub esi, 4
jae 0x421e45
jmp 0x421e27
xor ebx, ebx
push dword [ebp - 0x28]
call fcn.00469dd3
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 4
Function at 0x422060
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x230]
mov dword [ebp - 0xc], ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp eax, 0xffffffff
je 0x4221b9
test eax, eax
je 0x4221b9
mov ebx, dword [esi + 4]
lea eax, [esi + 4]
mov edi, 0xc
mov dword [ebp - 4], eax
cmp ebx, edi
jb 0x4220b2
cmp dword [esi], 0
jne 0x4220a5
lea edi, [ecx + 0x230]
jmp 0x4220c7
lea edx, [ecx + 4]
mov ecx, edi
mov dword [ebp - 8], edx
jmp 0x422137
mov eax, dword [esi]
lea edi, [ecx + 0x230]
test eax, eax
je 0x4220c7
push eax
call fcn.00469dd3
add esp, 4
push 0xc
call fcn.0046a3df
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], 0xc
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
push 0
add ecx, 4
mov dword [eax + 4], 0
mov ebx, dword [esi]
push ecx
push 8
push ebx
push 0xc
push eax
push 0x2d1400
push dword [edi]
mov dword [ebp + 0xc], ecx
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4221b9
mov edi, dword [ebx + 4]
test edi, edi
je 0x4221b9
mov edx, dword [ebp + 0xc]
lea eax, [esi + 4]
mov ebx, 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, edi
cmp ebx, edi
jb 0x422146
cmp dword [esi], 0
jne 0x42217c
lea eax, [ecx + 0x10]
mov ebx, ecx
mov dword [ebp + 0xc], eax
jmp 0x422160
mov ecx, dword [esi]
lea eax, [edi + 0x10]
mov dword [ebp + 0xc], eax
mov ebx, edi
test ecx, ecx
je 0x422160
push ecx
call fcn.00469dd3
add esp, 4
lea eax, [edi + 0x10]
push eax
call fcn.0046a3df
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push edi
push 0
push eax
mov dword [esi], eax
mov dword [edx], ecx
call fcn.0046ba40
add esp, 0x10
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
push 0
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
push ecx
mov dword [eax + 4], 0
push ebx
mov dword [ecx], 0
mov eax, dword [esi]
push eax
push ebx
push eax
mov eax, dword [ebp - 0xc]
push 0x2d1400
push dword [eax + 0x230]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423990
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x4239be
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 4
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
movups xmm0, xmmword [0x49f908]
mov ecx, dword [0x49f938]
mov edx, eax
mov dword [ebp - 0x20], ecx
xor eax, eax
mov cx, word [0x49f93c]
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x1c], cx
xor ecx, ecx
movups xmm0, xmmword [0x49f918]
mov dword [ebp - 0xc], 0x5c
xor esi, esi
mov dword [ebp - 0x18], edx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x3a0041
movups xmm0, xmmword [0x49f928]
mov word [ebp - 0xc], ax
mov dword [ebp - 0x14], ecx
movups xmmword [ebp - 0x30], xmm0
nop
mov ax, word [ebp + esi*2 - 0x50]
mov word [ebp - 0x10], ax
test ebx, edx
je 0x423a45
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00405a60
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x14], ecx
add edi, 0xc
inc esi
add ebx, ebx
cmp esi, 0x1a
jl 0x423a20
mov eax, ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 4
Function at 0x443280
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e52a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x1a
push 0x13c
movlpd qword [ebp - 0x1c], xmm0
call fcn.0046a3df
add esp, 4
mov dword [ebp - 0x2c], eax
push 0x405700
push 0x4054d0
push 0x1a
lea ebx, [eax + 4]
mov dword [ebp - 4], 0
push 0xc
push ebx
mov dword [eax], 0x1a
mov dword [ebp - 0x28], ebx
call fcn.0046a414
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x1a
push ecx
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00423990
xor edi, edi
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x4433ba
mov esi, ebx
nop dword [eax]
cmp dword [esi], 0
jne 0x443339
push 2
call fcn.0046a3df
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 4], ecx
push dword [esi]
mov ecx, 8
mov eax, esi
lea ebx, [eax + ecx]
mov byte [ebx], 1
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x443358
cmp eax, 2
jne 0x4433ad
cmp dword [esi], 0
jne 0x443371
push 2
call fcn.0046a3df
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [ebx - 4], ecx
mov ecx, dword [esi]
mov byte [ebx], 1
call fcn.00423000
cmp eax, dword [ebp + 8]
jne 0x4433ad
cmp dword [esi], 0
jne 0x443399
push 2
call fcn.0046a3df
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 4], ecx
push ecx
push dword [esi]
mov ecx, dword [ebp - 0x24]
mov byte [esi + 8], 1
call fcn.00442550
cmp eax, 0xffffffff
je 0x44341c
inc edi
add esi, 0xc
cmp edi, dword [ebp - 0x20]
jl 0x443320
mov edi, 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4433fc
push 0x405700
lea esi, [eax - 4]
mov dword [ebp - 4], 3
push dword [esi]
push 0xc
push eax
call fcn.0046a06b
mov ecx, dword [esi]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx*4 + 4]
push ecx
push esi
call fcn.00469dd8
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 4
or edi, 0xffffffff
jmp 0x4433bf
Function at 0x444dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e6bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
test edx, edx
js 0x444fbf
mov ecx, dword [esi + 0x9e4]
cmp edx, ecx
jge 0x444fbf
jb 0x444e11
lea ecx, [edx + 1]
mov dword [esi + 0x9e4], ecx
mov eax, dword [esi + 0x9ec]
lea edi, [edx + edx*2]
shl edi, 5
cmp byte [edi + eax], 0
je 0x444fbf
cmp ecx, edx
ja 0x444e34
lea eax, [edx + 1]
mov dword [esi + 0x9e4], eax
mov edx, dword [esi + 0x9ec]
mov eax, dword [edx + edi + 0x54]
test eax, eax
je 0x444fbf
cmp word [eax], 0
je 0x444fbf
mov byte [edx + edi + 0x5c], 1
xorps xmm0, xmm0
mov edx, eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov edi, str.Monitoring_
xor eax, eax
nop dword [eax]
lea eax, [eax + 1]
cmp word [eax*2 + str.HKCUSoftwareClearDiskInfo], 0
jne 0x444e70
xor ecx, ecx
lea ecx, [ecx + 1]
cmp word [ecx*2 + str.Monitoring_], 0
jne 0x444e80
lea ebx, [eax + ecx]
mov esi, edx
test edx, edx
je 0x444eaa
xor eax, eax
cmp word [edx], ax
je 0x444ea8
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x444ea0
add ebx, eax
mov ecx, 2
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 1]
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
mov ebx, str.HKCUSoftwareClearDiskInfo
mov dword [ebp - 0x1c], eax
add esp, 4
mov ecx, eax
mov edx, 0x48
sub ebx, eax
nop dword [eax]
mov word [ecx], dx
add ecx, 2
movzx eax, word [ebx + ecx]
mov edx, eax
test ax, ax
jne 0x444ee0
mov ebx, dword [ebp - 0x18]
mov eax, 0x5c
nop dword [eax]
movzx eax, ax
lea edi, [edi + 2]
mov word [ecx], ax
add ecx, 2
movzx eax, word [edi]
test ax, ax
jne 0x444f00
test esi, esi
je 0x444f36
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x444f36
movzx eax, ax
lea esi, [esi + 2]
mov word [ecx], ax
add ecx, 2
movzx eax, word [esi]
test ax, ax
jne 0x444f22
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov word [ecx], ax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
push ecx
mov dword [ebp - 4], eax
mov edx, 0x20019
mov ecx, edi
mov byte [ebp - 0x28], 1
call fcn.00409550
mov esi, eax
mov dword [ebp - 0x20], 0
test esi, esi
je 0x444fa0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.Status
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444fa0
cmp dword [ebp - 0x18], 4
jne 0x444fa0
cmp dword [ebp - 0x20], eax
je 0x444fa0
mov bl, 1
jmp 0x444fa6
xor bl, bl
test esi, esi
je 0x444fb2
cmp esi, 0xffffffff
je 0x444fb2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00469dd3
add esp, 4
mov al, bl
jmp 0x444fc1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 4
Function at 0x444fe0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e705
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0x9e4]
cmp esi, edx
jge 0x4451eb
lea ecx, [esi + 1]
jb 0x44502b
mov edx, ecx
mov dword [edi + 0x9e4], ecx
mov eax, dword [edi + 0x9ec]
lea ebx, [esi + esi*2]
shl ebx, 5
cmp byte [ebx + eax], 0
je 0x4451eb
cmp edx, esi
ja 0x44504b
mov dword [edi + 0x9e4], ecx
mov edx, eax
mov eax, dword [edx + ebx + 0x54]
test eax, eax
je 0x4451eb
cmp word [eax], 0
je 0x4451eb
xorps xmm0, xmm0
mov byte [edx + ebx + 0x5c], 1
mov edx, eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov edi, str.Monitoring_
xor eax, eax
lea eax, [eax + 1]
cmp word [eax*2 + str.HKCUSoftwareClearDiskInfo], 0
jne 0x445080
xor ecx, ecx
lea ecx, [ecx + 1]
cmp word [ecx*2 + str.Monitoring_], 0
jne 0x445090
lea ebx, [eax + ecx]
mov esi, edx
test edx, edx
je 0x4450ba
xor eax, eax
cmp word [edx], ax
je 0x4450b8
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x4450b0
add ebx, eax
mov ecx, 2
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 1]
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
mov ebx, str.HKCUSoftwareClearDiskInfo
mov dword [ebp - 0x20], eax
add esp, 4
mov ecx, eax
mov edx, 0x48
sub ebx, eax
nop dword [eax]
mov word [ecx], dx
add ecx, 2
movzx eax, word [ebx + ecx]
mov edx, eax
test ax, ax
jne 0x4450f0
mov ebx, dword [ebp - 0x18]
mov eax, 0x5c
nop dword [eax]
movzx eax, ax
lea edi, [edi + 2]
mov word [ecx], ax
add ecx, 2
movzx eax, word [edi]
test ax, ax
jne 0x445110
test esi, esi
je 0x445146
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x445146
movzx eax, ax
lea esi, [esi + 2]
mov word [ecx], ax
add ecx, 2
movzx eax, word [esi]
test ax, ax
jne 0x445132
mov edi, dword [ebp - 0x20]
xor eax, eax
mov word [ecx], ax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
push ecx
mov dword [ebp - 4], eax
mov edx, 0xf003f
mov ecx, edi
mov byte [ebp - 0x28], 1
call fcn.00409550
mov esi, eax
mov dword [ebp - 0x1c], 0
test esi, esi
je 0x4451cc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.Status
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4451cc
cmp dword [ebp - 0x18], 4
jne 0x4451cc
cmp dword [ebp - 0x1c], eax
je 0x4451cc
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push 0
push str.Status
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
jmp 0x4451d2
mov bl, 1
test esi, esi
je 0x4451de
cmp esi, 0xffffffff
je 0x4451de
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00469dd3
add esp, 4
mov al, bl
jmp 0x4451ed
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 4
Function at 0x44e440
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eadd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x44e4af
cmp dword [esi + 0x9b4], 0
jne 0x44e49b
push 2
call fcn.0046a3df
add esp, 4
mov dword [esi + 0x9b4], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x9b8], ecx
push dword [esi + 0x9b4]
mov ecx, ebx
mov byte [esi + 0x9bc], 1
call fcn.00405a60
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0x20a
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0046a3df
add esp, 4
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1c], esi
push esi
push eax
push eax
push 0x26
mov word [esi + 0x208], ax
push eax
mov word [esi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov byte [ebp - 0x14], 0
cmp word [esi], ax
je 0x44e51d
nop dword [eax]
inc eax
cmp word [esi + eax*2], 0
jne 0x44e510
mov dword [ebp - 0x18], eax
jmp 0x44e522
mov dword [ebp - 0x18], eax
xor eax, eax
xor ecx, ecx
inc ecx
cmp word [ecx*2 + str.Clear_Disk_InfoClearDiskInfo.exe], 0
jne 0x44e524
add eax, ecx
mov ecx, 2
mov dword [ebp - 0x20], eax
inc eax
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
movzx edx, word [esi]
mov ebx, eax
add esp, 4
mov ecx, ebx
mov eax, edx
test dx, dx
je 0x44e571
mov edi, esi
sub edi, ebx
mov word [ecx], dx
add ecx, 2
movzx eax, word [edi + ecx]
mov edx, eax
test ax, ax
jne 0x44e560
mov edi, str.Clear_Disk_InfoClearDiskInfo.exe
mov edx, 0x5c
sub edi, ecx
nop dword [eax]
mov word [ecx], dx
lea ecx, [ecx + 2]
movzx eax, word [edi + ecx]
mov edx, eax
test ax, ax
jne 0x44e580
xor eax, eax
push esi
mov word [ecx], ax
call fcn.00469dd3
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 1
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
test esi, esi
je 0x44e5ca
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x44e5ca
push ebx
mov byte [ebp - 0x14], 1
call fcn.00405a60
push ebx
call fcn.00469dd3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 4
Function at 0x46ad30
Capabilities:
Parse pe header

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

Function at 0x4745cb
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x474616
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00474766
test al, al
jne 0x474610
sub edx, 2
cmp edx, edi
jne 0x4745f6
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x474638
lea eax, [edi + 2]
cmp edx, eax
je 0x474638
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00474517
add esp, 0x10
jmp 0x474732
push esi
lea ecx, [ebp - 0x255]
call fcn.00474766
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47467b
push dword [ebp - 0x25c]
jmp 0x474628
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4746b8
cmp word [ebp - 0x226], 0
je 0x4746d9
cmp word [ebp - 0x226], ax
jne 0x4746b8
cmp word [ebp - 0x224], 0
je 0x4746d9
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00474517
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x474725
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x474692
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x47470d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x474732
push 0x474347
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00477200
add esp, 0x10
jmp 0x474702
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469dc5
leave
ret

Function at 0x475486
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49bd74
push 0x49bd6c
push str.FlsAlloc
push 0x1f
call fcn.004753c1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4754ba
push dword [ebp + 8]
mov ecx, esi
call dword [0x47f648]
call esi
jmp 0x4754c0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x475504
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49bd84
push 0x49bd7c
push str.FlsGetValue
push 0x21
call fcn.004753c1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47553b
push dword [ebp + 8]
mov ecx, esi
call dword [0x47f648]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x475543
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49bd8c
push 0x49bd84
push str.FlsSetValue
push 0x22
call fcn.004753c1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47557d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x47f648]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x47ad10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47ad3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47ad3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40b080
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [ebx - 0x70afa71d], cl
or eax, 0x8b5ffff3
invalid
push ebp
mov ebp, esp
push esi
mov eax, dword [eax + ecx + 0x57]
mov edx, dword [eax + 0x10]
mov ecx, dword [ebx]
adc byte [ebx - 0x3eb3ebb2], cl
mov dword [ebp + 0x10], 0xb7004a00
dec esp
jno 0x40b027
inc esi
or byte [eax + eax*8 - 0x6074708c], al
lodsb al, byte [esi]
lea ecx, [ebp + 8]
pop esi
add byte [ecx + 0x6a], dl
add byte [edx - 0x4a], ch
mov eax, 0x15ff5200
or al, 0xc0
inc eax
push 0x6074c085
mov esi, dword [0xb8ee4f98]
cmpsd dword [esi], dword es:[edi]
salc
test eax, eax
jne 0x40b0d2
aam 0x4d
adc al, 0x69
pop esi
mov dword [edx], esp
pop ebp
ret
xchg esi, edx
add eax, 0xafc80
adc ch, ch
and dword [edx], ecx
add byte [ebp + 5], dh
mov eax, 0xee837e
xchg edx, eax
dec ebp
adc al, 0x5f
pop esi
mov dword [ecx], 0xba
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408ecc
mov ecx, 0x11a92411
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
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..text
mov ebx, 0x42e1d0
nop
mov ecx, 0x58f12e87
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219