joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476a80
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.0044b510
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x476beb
cmp dword [esp + 0x2c20], edi
je 0x476beb
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push pe_nt_image_headers32
push eax
call fcn.00476460
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x476bc4
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00449bc0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x476bb7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00449bc0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00478650
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00476220
test eax, eax
jne 0x476bb7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x476bce
inc ebx
cmp ebx, 0x10
jl 0x476ad0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.00449c3a
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00449c3a
add esp, 0x2c14
ret
Function at 0x476ed0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x4770d1
cmp dword [esp + 0x2f8], 0
je 0x4770d1
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x486ae0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x477098
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x47708b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x477059
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47704e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00449bc0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00476dc0
add esp, 0x14
test eax, eax
je 0x47704e
cmp byte [esp + 0x24], 0
je 0x477012
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x47704e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x477041
mov cl, byte [esi + eax]
test cl, cl
je 0x477041
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x477026
jmp 0x477045
test edx, edx
jne 0x477046
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x476f70
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x4770d1
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00476220
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00449c3a
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00449c3a
add esp, 0x2ec
ret
Function at 0x477340
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x4774bd
cmp ebp, 0x20
jb 0x4774bd
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00449bc0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x486b50
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4774bd
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4773d0
sub eax, edx
cmp eax, 0x40
jne 0x4774bd
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x47740e
mov cl, byte [esi + eax]
test cl, cl
je 0x47740e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4773f6
jmp 0x477412
test edx, edx
jne 0x477413
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x47744b
mov cl, byte [edx + eax]
test cl, cl
je 0x47744b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x477430
jmp 0x47744f
test esi, esi
jne 0x477450
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00449bc0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.004764f0
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x4774bd
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00476220
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00449c3a
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00449c3a
add esp, 0x50c
ret

Function at 0x4774e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.00449bc0
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.004764f0
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x47754b
mov cl, byte [esi + eax]
test cl, cl
je 0x47754b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x477530
jmp 0x47754f
test edx, edx
jne 0x477550
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.00476370
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x477576
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x486b50
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00449c3a
add esp, 0x188
ret
Function at 0x40608a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a74], 0
push esi
jne 0x4060c1
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 0x40609b
mov dword [ecx*4 + 0x422a70], eax
inc ecx
cmp ecx, 0x100
jl 0x406096
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4060f2
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 + 0x422a70]
xor eax, esi
inc ecx
dec edx
jne 0x4060d4
pop edi
not eax
pop esi
ret 0xc
Function at 0x401e80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x80], edx
mov byte [ebp - 0x7c], cl
mov al, byte [0x416c60]
mov byte [ebp - 0x1d], al
mov cx, word [section..data]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x70], 0x78d9
mov edx, dword [ebp - 0x80]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x70], 0x2927
jne 0x401f05
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x1d]
call fcn.00401e80
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x1d]
call fcn.00401e80
mov edx, dword [ebp - 0x70]
sub edx, 0x51d7
mov dword [ebp - 0x70], edx
movzx eax, word [section..data]
and eax, 0x5a1
mov word [ebp - 0x2c], ax
movzx ecx, word [section..data]
shl ecx, 5
mov word [ebp - 0x2c], cx
jmp 0x401f85
mov edx, dword [ebp - 8]
add edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x80]
jg 0x401f85
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov cl, byte [ebp - 0x1d]
mov byte [ebp - 0x26], cl
mov edx, dword [ebp - 8]
or edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x80]
jne 0x401f85
mov byte [ebp - 0x69], 0xce
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0x70
je 0x401f42
jmp 0x401f85
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp + 8]
mov cl, byte [ebp - 0x26]
call fcn.00401e80
movzx eax, word [ebp - 0x2c]
movzx ecx, word [section..data]
xor eax, ecx
mov edx, dword [ebp - 0x18]
mov word [edx], ax
movsx eax, byte [ebp - 0x26]
movsx ecx, byte [0x416c60]
sar eax, cl
mov byte [ebp - 0x1d], al
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x80], ecx
mov dl, byte [ebp - 0x1d]
mov cl, byte [ebp - 0x69]
call fcn.00401630
lea edx, [ebp - 0x70]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x401f9f
jmp 0x401fd1
lea ecx, [ebp - 0x69]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
mov dx, word [ebp - 0x2c]
mov word [ebp - 0x24], dx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x78], edx
mov al, byte [ebp - 0x26]
mov byte [ebp - 0x25], al
jmp 0x401fdf
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
add edx, 0x2548
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
add ecx, 0xbf98
mov dword [ebp - 0x70], ecx
movzx edx, byte [ebp - 0x69]
sub edx, 0xa4
mov byte [ebp - 0x69], dl
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.COMDLG32.dll_ChooseFontW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 0xd36c
je 0x402022
jmp 0x402035
movzx eax, word [ebp - 0x2c]
movzx ecx, word [section..data]
sub eax, ecx
mov edx, dword [ebp - 0x18]
mov word [edx], ax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
movzx edx, word [ebp - 0x2c]
and ecx, edx
mov eax, dword [ebp - 0x18]
mov word [eax], cx
mov dl, byte [ebp - 0x26]
mov cl, byte [ebp - 0x69]
call fcn.00401630
movsx eax, byte [0x416c60]
mov esp, ebp
pop ebp
ret 4
Function at 0x405603
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.004044f3
and dword [ebp - 4], 0
cmp dword [0x417398], 0
mov ebx, eax
jne 0x4056b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405765
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405765
push eax
call fcn.00404481
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x417398], eax
call esi
push eax
call fcn.00404481
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41739c], eax
call esi
push eax
call fcn.00404481
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4173a0], eax
call esi
push eax
call fcn.00404481
pop ecx
mov dword [0x4173a8], eax
test eax, eax
je 0x4056b4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404481
pop ecx
mov dword [0x4173a4], eax
mov eax, dword [0x4173a4]
cmp eax, ebx
je 0x40570c
cmp dword [0x4173a8], ebx
je 0x40570c
push eax
call fcn.004044fc
push dword [0x4173a8]
mov esi, eax
call fcn.004044fc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40570c
test edi, edi
je 0x40570c
call esi
test eax, eax
je 0x405703
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405703
test byte [ebp - 0xc], 1
jne 0x40570c
or dword [ebp + 0x10], 0x200000
jmp 0x405745
mov eax, dword [0x41739c]
cmp eax, ebx
je 0x405745
push eax
call fcn.004044fc
pop ecx
test eax, eax
je 0x405745
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405745
mov eax, dword [0x4173a0]
cmp eax, ebx
je 0x405745
push eax
call fcn.004044fc
pop ecx
test eax, eax
je 0x405745
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x417398]
call fcn.004044fc
pop ecx
test eax, eax
je 0x405765
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405767
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407498
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4109f8]
jne 0x4074a2
repz ret
jmp fcn.00408bc5
Function at 0x403670
Capabilities:
Check http status code

Disassembly:
add edi, esi
xchg edi, esi
imul edx, edi
imul edx, edi
mov al, dl
mov dh, ch
imul ecx, eax
sbb eax, 0x604eccd9
sub ch, 0xb
mov ecx, 0
jmp 0x403697
test bh, 0x74
test al, 0xc8
add al, 0x3e
adc eax, 0x6e1b5cf6
lea edx, [0x4bfd1f3d]
add ecx, 0xfffffbb9
xor esi, 0x58f5dea2
test eax, ebp
adc bl, dh
add ecx, 0x448
imul edx, esi, 0xac98c8bb
mov bl, 0x7d
inc esi
inc esi
cmp ecx, 0xc9a
jb 0x40368e
sub al, bl
mov esi, eax
call 0x403728
mov dl, 0x6a
mov ecx, 0x12b92283
mov eax, ecx
sub ah, ch
sub ch, ah
imul edx, edx
test eax, ebx
js 0x4036fd
mov ch, ah
and edx, eax
xchg esi, edx
push ebp
test dh, 0xbc
lea ebp, [0xba997ab3]
dec edx
pop ebx
movsx esi, bl
xor edx, esi
test ebx, 0x84db66c2
cmp eax, ecx
xor edi, ebx
jno 0x403728
sub ecx, 0x7208d41c
xor eax, 0xaa015010
test ch, dl
add dl, cl
test ebp, 0xe0f82f55
mov dl, ch
cmp bl, bh
add ebx, ecx
xor edi, eax
xor al, 0x48
inc edx
xor ecx, 0xbe99eb42
pop edi
mov ebp, ebx
mov ah, 2
mov cl, 0x5b
sbb esi, edx
mov ebx, 0xa079e7f7
add edi, 0x2ba17
or ebx, ebp
test dl, ah
test esi, ebp
cmp ebp, eax
test al, 0x13
test bh, 0xc2
movzx esi, bh
mov dl, cl
push eax
push edi
xor dl, 0x2b
mov dh, 0x7d
imul ecx, ecx, 0
inc esi
sub esi, esi
imul edx, esi
adc al, bh
mov al, 0xf7
mov bl, 7
adc bh, 0xd1
add ecx, 0xfffffeb7
jae 0x403797
mov eax, ebp
add esi, 0xb5956cb6
add ecx, 0x14a
mov ebx, eax
mov esi, ecx
inc ebp
lea eax, [0x7e0192b2]
lea ebp, [0xd3d8f42f]
sub al, 0xee
mov bh, bh
imul esi, edi, 0x8bffb383
cmp ecx, 0x57e
jbe 0x403776
mov bl, 0xa9
mov edx, ebx
xchg bl, dl
test al, ah
mov ebx, ebx
push edi
mov ebp, ebx
mov ebp, esi
ret
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x58e217e4
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x33f116d3
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x422be0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x422d3e
nop
jl 0x422c37
int1
ror dword [edi], 1
push cs
cmpsb byte [esi], byte es:[edi]
jb 0x422c2b
push cs
sbb ah, cl
popal
loope 0x422c54
popal
popal
popal
popal
popal
jnp 0x422bf1
mov bh, 0x79
div byte [esi - 0x97bd510]
jp 0x422bf3
jb 0x422c25
or eax, 0x1c832ae0
dec ecx
invalid
jb 0x422c46
or eax, 0x15822ae0
sar byte [eax], 0x72
adc eax, 0x197238c0
cmp esp, 0x30
sbb edx, esi
cmp esp, 0x30
adc ecx, edi
stc
jnp 0x422c2f
div dword [edi - 0x7af1fe8e]
test dword [eax + 0x34], edi
lock sub al, byte [esi + esi*8 + 0x1f72ef7a]
mov bh, 0x72
add dword [esi], ecx
test dword [ebp + 0x2af03478], eax
test dh, dh
jp 0x422c35
jb 0x422c67
or eax, 0x38e02ae0
lock sub al, byte [esi + esi*8 + 0x1f72ef7a]
pop ds
or eax, 0x38e02ae0
test cl, dl
mov al, 0xf0
sub al, byte [esi + esi*8 + 0x1f72ef7a]
or eax, 0x38e02ae0
lock sub al, byte [edx + 0x7af8841e]
sub ah, al
cmp al, dh
sub al, byte [edx + 0x7af8841e]
out dx, eax
jb 0x422c93
or eax, 0x15822ae0
jb 0x422cab
xor bl, dh
jo 0x422c8a
jo 0x422c8a
int1
add cl, byte [esi]
push cs
jb 0x422ca4
invalid
or eax, 0xf37bfe87
mov bl, 0x79
div byte [esi + 0x180684b8]
xchg edx, eax
mov eax, 0x92180684
push cs
push cs
push cs
popal
jp 0x422c91
jb 0x422cd3
cmc
js 0x422c99
jb 0x422cdb
cmc
cmc
jb 0x422cc0
cmc
xchg byte [eax], al
lock sbb byte ds:[ebp - 0x50f1f1f2], bh
scasd eax, dword es:[edi]
js 0x422cbb
dec eax
int1
int1
int1
jnp 0x422cb2
div byte [esi - 0xf32e623]
xchg byte [esi], al
mov dh, 0xdd
sbb ebp, ecx
lock xchg byte [esi], al
jno 0x422c93
test byte [ebx], al
jp 0x422cc0
jnp 0x422c7a
cmc
xchg edi, eax
xor byte [ecx], bl
stc
xor byte [ecx], dh
loope 0x422d4c
xor eax, 0x1a7109d8
sbb eax, esi
add dword [eax - 0xa], edi
lock add dword [eax - 0xa], edi
jb 0x422d17
hlt
mov dh, 0xa1
mov dh, 0x48
cmpsb byte [esi], byte es:[edi]
mov ecx, 0xea45f03
sbb dword [bp - 0xe0e], esp
clc
xor dword [ebp + 0x72f278f6], eax
xor dh, ch
sbb ch, byte [ecx]
push cs
sbb eax, 0x90f1f2a6
sbb byte [ebx], dl
in eax, dx
std
inc dword [eax]
mov eax, section._4321280
xor byte [eax], 0x56
inc eax
cmp eax, 0x422bcc
jle 0x422d43
mov eax, 0x422be6
xor byte [eax], 0xf1
inc eax
cmp eax, 0x422d38
jle 0x422d53
pushal
mov esi, section._4321280
jmp 0x422be5
Function at 0x1005ae5
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp byte [ecx], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
je 0x1005b1b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1005b1f
xor eax, eax
jmp 0x1005b35
mov eax, dword [ebp - 8]
push 0x400
imul eax, dword [ebp - 0xc]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x100749c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x10074e3
cmp edx, 0x10
jl 0x10074cf
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x10074bc
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x10074e3
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x10074db
and edx, 3
cmp edx, 3
jne 0x10074f7
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x10074fc
cmp edx, 2
jne 0x1007508
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x100750d
cmp edx, 1
jne 0x1007513
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x431002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2378145e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5cf935f9
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4031f0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x51c91c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
jne 0x4032b1
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00469210
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x40329b
push edi
push 0x104
lea edi, [ebx + 4]
push 0
push edi
call fcn.00469210
add esp, 0xc
lea eax, [ebp - 0x108]
push edi
push 0
push 0x4ea880
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..bat
push edi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 4
push 0
push 7
push 0xc01200a0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx], eax
pop edi
cmp dword [ebx], 0
jne 0x4032b1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004530b8
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.00469210
add esp, 0xc
mov dword [ebp - 0x314], 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push 0x207
push eax
call fcn.00403380
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004842b2
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x403311
cmp eax, 0x207
ja 0x403311
jne 0x403318
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403321
push 0
lea eax, [ebp - 0x314]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x310]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004530b8
mov esp, ebp
pop ebp
ret