joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ac42
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004479d0
mov eax, dword [0x72fd34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415a4b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x44ac84
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x44ade0
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00447d60
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x730fa0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00416db2
mov ecx, dword [esi*4 + 0x730fa0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x44add9
cmp eax, dword [ecx + edi + 0x24]
jne 0x44add9
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44add9
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00416db2
add esp, 0x14
test edx, edx
jl 0x44add9
jg 0x44ad4f
test eax, eax
jb 0x44add9
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x44add9
jl 0x44ad69
cmp dword [ebp - 0x1008], eax
ja 0x44add9
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x44ad87
test ebx, ebx
je 0x44adc0
cmp ecx, edi
jae 0x44adc0
mov al, byte [ecx]
cmp al, 0xd
jne 0x44ada1
lea eax, [edi - 1]
cmp ecx, eax
jae 0x44adad
cmp byte [ecx + 1], 0xa
jne 0x44adad
inc ecx
jmp 0x44adad
movzx eax, al
movsx eax, byte [eax + 0x730498]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x44ad87
cmp edx, ebx
jne 0x44ad87
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x44adde
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a1a5
leave
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40633c
pop dword [ebp - 0x14]
mov eax, 0x14058c70
add eax, 0xec3ad6cc
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x78b0c336
sub dword [ebp - 0x24], 0x2a5e7deb
mov dword [ebp - 0x20], 0x1997948d
sub dword [ebp - 0x20], 0xe7644848
mov dword [ebp - 0x1c], 0xb8b83e98
sub dword [ebp - 0x1c], 0x6c6bfa6a
mov dword [ebp - 0x18], 0x21bcbb8f
sub dword [ebp - 0x18], 0x21bcbb8f
lea eax, [ebp - 0x24]
push eax
mov eax, 0x9274b675
add eax, 0x6dcbb9eb
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x10e8e631
sub dword [ebp - 0x24], 0x9c767cdb
mov dword [ebp - 0x20], 0x67d4b3d5
sub dword [ebp - 0x20], 0x26685260
mov dword [ebp - 0x1c], 0xa4d1cf1e
add dword [ebp - 0x1c], 0xbe9d9d4e
mov dword [ebp - 0x18], 0x4829f0a2
sub dword [ebp - 0x18], 0x4829f0a2
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x956f86d0
sub eax, 0x952f15d0
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x34989
push 0
call eax
mov ecx, 0xd1f9a6a0
sub ecx, 0xd1f966b7
xor esi, esi
add esi, eax
mov edi, 0x3e637fa2
add edi, 0xc1dd805e
add edi, dword [ebp - 0x14]
mov ebx, 0xad60ac2f
sub ebx, 0x9e436251
mov dword [ebp - 4], 0x7efb8fa6
mov edx, dword [edi]
add dword [ebp - 4], eax
xor edx, ebx
add dword [ebp - 4], eax
mov dword [esi], edx
mov dword [ebp - 0x10], 0x3983f792
add esi, 0x4c6174bd
add esi, 0xb39e8b47
add edi, 0xa39b19d0
sub edi, 0xa39b19cc
loop 0x406460
add eax, 0x988dec8b
sub eax, 0x988cfa14
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
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 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
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 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x593faa70
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SetFocus]
mov esi, ecx
push dword [esi + 8]
call edi
push dword [esi + 0xc]
call edi
push 5
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x18]
call edi
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x70]
push 0
mov dword [esi], 1
push dword [ecx + eax*4 + 0x24]
push 0x186
push dword [esi + 0x18]
call dword [sym.imp.vsansi.dll_SendMessageW]
and dword [esi], 0
pop edi
xor eax, eax
pop esi
ret

Function at 0x593fbcd7
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp edi, dword [esi + 8]
je 0x593fbd16
call fcn.59400487
push 0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, dword [esi + 0x14]
je 0x593fbd06
mov eax, dword [esi + 0x3c]
test eax, eax
jle 0x593fbd0f
dec eax
mov dword [esi + 0x3c], eax
jmp 0x593fbd0f
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.593fb8d4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x593fc691
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
ret 8

Function at 0x593fc6ab
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.vsansi.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop esi
ret 0xc

Function at 0x593fc6d7
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.vsansi.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x593fc6e2
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x59404d9b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.59404d84
and byte [esi + 0xc], 0
mov eax, 0x593f0000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call sub.MSVCR70.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x59404df5
cmp dword [ebp - 0x18], 5
jb 0x59404e0d
jmp 0x59404e09
cmp dword [ebp - 0xc], 1
jne 0x59404e0d
cmp dword [ebp - 0x18], 4
ja 0x59404e09
jne 0x59404e0d
cmp dword [ebp - 0x14], 0
jbe 0x59404e0d
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x59407090
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x40adac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40ae55
test eax, edx
je 0x40ae58
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40add5
push edx
mov edx, eax
mov eax, esp
call fcn.00405de4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40adeb
push eax
lea eax, [esp + 8]
call fcn.00405de4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40adfa
movzx eax, word [eax]
sub eax, ecx
jmp 0x40ae21
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40ae3b
add ecx, 4
js 0x40ae12
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40ae38
push eax
mov eax, ecx
mov edx, 2
call fcn.00405304
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40ae1f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40ae21
xor eax, eax
ret
test eax, eax
je 0x40ae68
test edx, edx
jne 0x40adbc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x411863
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405604
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.004085b0
mov edi, eax
cmp edi, 0x104
jbe 0x411886
mov eax, edi
add eax, eax
call fcn.00402fec
mov esi, eax
jmp 0x411888
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.004085b0
push edi
push esi
call fcn.004088f0
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4118c1
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4118ab
mov eax, esp
cmp esi, eax
je 0x4118ce
mov eax, esi
call fcn.00403008
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x411908
cmp bl, 0
je 0x411904
cmp bl, 0x41
jl 0x4118ff
cmp bl, 0x5a
jg 0x4118ff
or bl, 0x20
xor al, bl
inc esi
jmp 0x4118e3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x411848

Function at 0x4288b4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4288ba
ret
Function at 0x40a9a9
Capabilities:
Hash data with crc32

Disassembly:
in eax, dx
jne 0x40a9bc
mov eax, dword [esp + 0x10c]
pop edi
pop ebp
add esp, 0x100
ret
mov ecx, 1
mov dword [esp + 8], 0xedb88320
in eax, dx
mov eax, ecx
nop
mov dword [esp + eax*4 + 8], ecx
inc eax
add ecx, ecx
cmp eax, 0x20
jl 0x40a9cc
push ebx
push esi
xor esi, esi
mov eax, dword [esp + esi + 0x10]
lea ecx, [esp + 0x10]
xor edx, edx
test eax, eax
je 0x40a9f9
mov edi, edi
test al, 1
je 0x40a9f2
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x40a9ec
mov dword [esp + esi + 0x90], edx
add esi, 4
cmp esi, 0x80
jl 0x40a9dc
xor esi, esi
jmp 0x40aa1c
mov eax, dword [esp + esi + 0x90]
lea ecx, [esp + 0x90]
xor edx, edx
test eax, eax
je 0x40aa3d
test al, 1
je 0x40aa36
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x40aa30
mov dword [esp + esi + 0x10], edx
add esi, 4
cmp esi, 0x80
jl 0x40aa1c
mov ebx, dword [esp + 0x114]
jmp 0x40aa5c

Function at 0x432003
Capabilities:
Check for vm using instruction vpcext
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x1235570f
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, str.U_
mov ebx, 0x42f314
nop
nop
mov ecx, 0x55e80d23
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5ba73172
nop
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x275a7507
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401350
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x107c
call fcn.00412270
mov eax, dword [0x41f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0x800
mov edi, eax
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00407830
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401581
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x417fac
lea eax, [ebp + eax*2 - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401581
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401581
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x24
push 0x417fb8
push 0x418008
push edi
call ebx
cmp eax, 7
je 0x401594
push 0x24
push 0x417fb8
push str._fT_aY
push edi
call ebx
push 0x800
mov esi, eax
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00407830
movups xmm0, xmmword [0x413260]
add esp, 0xc
lea eax, [ebp - 0x1004]
push 5
sub esp, 0x10
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call fcn.00404630
add esp, 0x18
cmp esi, 6
jne 0x401542
lea eax, [ebp - 0x1004]
push eax
push 0x4180e0
call fcn.004046d0
add esp, 8
test eax, eax
je 0x401542
lea ecx, [ebp - 0x1058]
call fcn.00401300
mov eax, ecx
push eax
call fcn.00403ed0
add esp, 4
lea eax, [ebp - 0x1004]
cmp dword [ebp - 0x100c], 7
lea esi, [ebp - 0x1020]
cmova esi, dword [ebp - 0x1020]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4014cb
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 4
mov dword [ebp - 0x1078], edi
mov word [ebp - 0x1068], ax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x106c], eax
lea eax, [ebp - 0x1078]
push eax
mov dword [ebp - 0x1074], 2
mov dword [ebp - 0x1070], esi
mov dword [ebp - 0x1066], 0
mov dword [ebp - 0x1062], 0
mov dword [ebp - 0x105e], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x401560
push 0x40
push 0x417fb8
push 0x4180f8
push edi
call ebx
lea ecx, [ebp - 0x1058]
call fcn.004015b0
push 0
lea ecx, [ebp - 0x107c]
call fcn.00401c80
push 0x40
push 0x417fb8
push 0x418130
push edi
call ebx
jmp 0x401594
push 0x24
push 0x417fb8
push str.penc
push edi
call ebx
cmp eax, 7
jne 0x401537
lea ecx, [ebp - 0x1058]
call fcn.004015b0
jmp 0x401594
push 0x40
push 0x417fb8
push str.S_MRMOn
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405f6e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401c80
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41235d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x41f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x64]
call fcn.00401300
mov dword [ebp - 4], 0
lea eax, [ebp - 0x64]
push eax
call fcn.00403ed0
add esp, 4
test eax, eax
jne 0x401cde
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004015b0
jmp 0x401dc2
mov ecx, dword [ebp - 0x68]
call fcn.004028d0
sub esp, 0x54
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x64]
push edx
call fcn.00401bc0
mov ecx, dword [ebp - 0x68]
call fcn.00401fb0
mov ecx, dword [ebp - 0x68]
call fcn.004021c0
sub esp, 0x54
mov ecx, esp
mov dword [ebp - 0x70], esp
lea eax, [ebp - 0x64]
push eax
call fcn.00401bc0
mov ecx, dword [ebp - 0x68]
call fcn.00402280
sub esp, 0x54
mov ecx, esp
mov dword [ebp - 0x74], esp
lea edx, [ebp - 0x64]
push edx
call fcn.00401bc0
mov ecx, dword [ebp - 0x68]
call fcn.00402520
mov ecx, dword [ebp - 0x68]
call fcn.004025e0
sub esp, 0x54
mov ecx, esp
mov dword [ebp - 0x78], esp
lea eax, [ebp - 0x64]
push eax
call fcn.00401bc0
mov ecx, dword [ebp - 0x68]
call fcn.00402630
cmp dword [ebp + 8], 0
je 0x401d71
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004015b0
jmp 0x401dc2
sub esp, 0x54
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp - 0x64]
push edx
call fcn.00401bc0
call fcn.00404150
add esp, 0x54
sub esp, 0x54
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0x64]
push eax
call fcn.00401bc0
mov ecx, dword [ebp - 0x68]
call fcn.00402730
push 0x418720
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004015b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405f6e
mov esp, ebp
pop ebp
ret 4

Function at 0x401de0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x41f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ecx
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x401e0b
xor eax, eax
jmp 0x401e5b
push str.GetNativeSystemInfo
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x401e2c
lea ecx, [ebp - 0x28]
push ecx
call dword [ebp - 0x30]
jmp 0x401e36
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
je 0x401e52
movzx edx, word [ebp - 0x28]
cmp edx, 6
jne 0x401e59
mov eax, 1
jmp 0x401e5b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405f6e
mov esp, ebp
pop ebp
ret
Function at 0x401fb0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4123b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x41f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.00401650
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40201f
mov dword [ebp - 0x298], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015b0
mov eax, dword [ebp - 0x298]
jmp 0x40219b
push str..
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00403420
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x28]
call fcn.00401650
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0xffffffff
jne 0x40208d
mov dword [ebp - 0x29c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015b0
mov eax, dword [ebp - 0x29c]
jmp 0x40219b
lea eax, [ebp - 0x264]
push eax
push 0x419160
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40213c
lea ecx, [ebp - 0x264]
push ecx
push 0x419164
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40213c
mov edx, dword [ebp - 0x290]
and edx, 0x10
jne 0x40213c
push 0x41916c
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00403420
add esp, 0xc
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004033e0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.00401660
lea ecx, [ebp - 0x40]
call fcn.00401650
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401660
lea eax, [ebp - 0x290]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40208d
mov edx, dword [ebp - 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2a8]
call fcn.004027d0
mov dword [ebp - 0x2ac], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015b0
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405f6e
mov esp, ebp
pop ebp
ret 0x54