joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c5218
Capabilities:
Encrypt data using speck

Disassembly:
or si, cx
not si
call fcn.005f7134
lea esp, [esp + 8]
jmp fcn.005d2f6f
adc ebp, 1
mov dword [esp], 0x159b5a39
xor word [esp], 0x822
jae 0x5969fa

Function at 0x61579f
Capabilities:
Encrypt data using speck

Disassembly:
add esi, 6
mov dword [esp], 0xa2b74a29
call fcn.0054c5f6
lea esp, [esp + 4]
jne 0x59a3c8

Function at 0x615dfd
Capabilities:
Encode data using xor

Disassembly:
sbb byte [ebp + 0x1a], ah
arpl di, di
invalid
adc eax, 0x7f650200
rcr byte [edx], 8
mov dh, 0x75
push cs
jo 0x615d63
mov word [esi + 0x7dbd67c6], gs
enter 0x787c, 0xffffffffffffffd1
push ebx
adc eax, 0x8ab09f00
rcr ebx, 1
xor byte [edi + 0x2a], al
and byte [ebp - 0x3f], 0xff
invalid
and eax, 0x34571a1
or byte cs:[ebp - 0x742fc15d], cl
cmp ebx, dword [edi]
lahf
imul eax, dword [ebp + 0x48], 0xfffffff6
xchg ebx, eax
and eax, 0xd50dd6b8
ror dword [ecx - 0x73], 1
lea esp, [esp + 0x14]
lea esp, [esp + 0x14]
jbe fcn.0059f9d5
pop eax
inc edx
jns 0x615dc1
cmp dword [esi + eax*8], 0xb7107624
fiadd word [edi + 1]
cmp dl, byte [ecx - 0x6912d81a]
ja 0x615da2
sub dword [ebx + 0x29dd9100], esp
or dword [ebp - 0x57], ebp
xchg edx, eax
push edi
mov eax, dword [0x68368613]
push eax
out 0xdf, eax
stosb byte es:[edi], al
add byte [ecx + 0x6d0929dd], dl
test eax, 0x13a15792
xchg byte [esi], dh
push 0xaadfe750
jnp 0x615de2
pop es
je 0x615e83
jl 0x615e63
cmp ebx, dword [edi]
pop ecx
cmp dword [edi - 0x7e33396f], esp
test al, 0xc6
das
std
xor al, 0x55
aaa
dec esp
cwde
cld
out 0x9e, eax
clc
push es
pop edx
mov ecx, 0xcb52fb2d
xor al, 0xa2
invalid
pop ss
xor dword [ecx - 0x6837f784], edx
cmc
push edx
enter 0xfffffffffffff597, 0x52
inc ebx
lcall 0x1ee0, 0x658ae484
add al, 0xc7
sahf
salc
invalid
rol al, 1
test eax, 0x833f30fe
aad 0x2d
test eax, 0x5228cb34
inc ecx
jns 0x615e5e
out 0x97, al
mov al, byte [0x824b3f51]
jecxz 0x615eea
jl 0x615e1f
adc byte [edx - 0x12949d84], cl
xor dh, byte [eax - 0xf]
test dword [eax - 0x384666af], ebp
pop es
invalid
fucomp st(3)
fnstcw word [ebx + 7]
rol byte [ecx + 0x5a], cl
aaa
xchg ah, ch
and al, 0xb9
inc eax
ret 0xa44

Function at 0x70a84c
Capabilities:
Encode data using base64

Disassembly:
xor dx, 0x3839
adc ecx, esp
shl dl, 0xc3
jne 0x74b19a
dec dword [esp]
pop edx
xor cl, 0x3f
xor bl, cl
sal edx, 0x16
ja 0x550e58
inc cl
mov dword [esp + edx + 0x7f8cf27f], 0xe909303c
lea edx, [edx + 0x7b0c4a09]
neg edx
not cl
inc cl
jmp 0x59faa9

Function at 0x741e1b
Capabilities:
Encrypt data using speck

Disassembly:
xor bl, al
sal word [esp + 1], 0x61
sbb edi, 1
push 0xea801587
call fcn.005d3511
movsb byte es:[edi], byte [esi]
int 0x1c
scasd eax, dword es:[edi]
xchg ecx, eax
dec esp
sub byte [esi - 0x44ad33b9], al
dec edx
cdq
invalid
mov dword [esp], 0x398a9a1d
push 0xdd9a229e
inc al
neg dword [esp + 4]
ror al, 1
sub dword [esp + 4], 0x5d20d410
inc al
rol al, 1
inc byte [esp + 4]
jl 0x5fd057

Function at 0x752c9d
Capabilities:
Encrypt data using speck

Disassembly:
dec ebx
lea esp, [esp + 8]
jne 0x758ca3
mov dword [esp + 8], eax
mov dword [esp + 4], 0xec860d05
jae 0x5b1c32
Function at 0x1a0e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01a0e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1a0e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a0e06a
add dl, dl
jne 0x1a0e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a0e0dc
xor eax, eax
add dl, dl
jne 0x1a0e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a0e17d
add dl, dl
jne 0x1a0e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a0e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a0e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a0e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1a0e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1a0e075
mov eax, 1
add dl, dl
jne 0x1a0e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a0e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a0e0e1
sub eax, ebx
mov ebx, 1
jne 0x1a0e128
mov ecx, 1
add dl, dl
jne 0x1a0e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a0e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a0e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a0e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1a0e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a0e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a0e136
cmp eax, 0x7d00
jae 0x1a0e16d
cmp eax, 0x500
jb 0x1a0e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a0e075
cmp eax, 0x7f
ja 0x1a0e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a0e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1a0e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1a0e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x1a8170c3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x48973df1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x44b410
Capabilities:
Accept command line arguments

Disassembly:
push ecx
mov al, byte [0x65e04e]
mov cl, byte [0x65e043]
xor cl, al
push esi
mov byte [0x65e043], cl
mov cl, byte [0x65e041]
or cl, 0xc
push edi
shr cl, 2
and ecx, 0xff
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x6619e0]
fadd qword [0x661980]
fstp qword [0x6619e0]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.comctl32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
mov dl, byte [0x65e042]
mov al, byte [0x65e049]
mov ecx, dword [0x65e030]
xor al, dl
mov byte [0x65e049], al
mov eax, dword [0x65e034]
mov edx, dword [0x65e048]
and eax, 4
add ecx, eax
and edx, 0xff
mov dword [0x65e030], ecx
mov ecx, dword [0x65e03c]
and ecx, 0xc
lea eax, [esp + 8]
imul ecx, edx
mov edx, dword [0x65e038]
push eax
xor edx, ecx
push esi
mov dword [0x65e038], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [0x661be4], eax
mov eax, dword [0x661be0]
test eax, eax
jne 0x44b52e
test esi, esi
je 0x44b510
mov edx, dword [0x661acc]
push 0x6617e8
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push str.LoadIconWithScaleDown
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov dword [0x661ad4], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x661acc]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
pop edi
xor eax, eax
mov dword [0x661be0], 1
pop esi
pop ecx
ret 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ecx
ret 4
Function at 0x4abac8
Capabilities:
Encode data using xor

Disassembly:
inc ebp
leave
shl byte [bx + si + 0x26], 0xdb
test dword [edx + ecx*8 + 0x2a01379c], 0xf6811411
inc edi
cdq
sub al, 0xa7
and byte [edi - 0x80], ah
popal
rcr dword [esi + 0x76e0b62b], cl
ror byte [ecx + 0x2d], 1
lcall 0xa78c, 0xbba8faaf
inc ecx
push ds
mov ebx, 0x1e41a78c
adc dword [edx + 0x6c80421e], edx
into
invalid
loope 0x4aba13
rcl byte [esi - 0x1f]
lahf
loope 0x4aba3b
int 0xcb
mov edi, 0x481361a7
sub dh, byte [ebx + 0x72fe9a1a]
sub edi, dword [0xf74b0cc6]
leave
xor dword [edi - 0x6803690d], edx
aaa
mov ch, 0x54
in eax, dx
sub ch, byte [ecx - 0x6790c552]
mov al, byte [0x7121e424]
into
in al, 0x21
jno 0x4aba8c
inc esp
popfd
cwde
aaa
popal
dec edi
add esi, ebp
push edi
adc esi, ebp
jg 0x4abb35
adc al, 0x87
or dword [edi - 0x16], edx
inc eax
stc
salc
div dword [ebp + 0x45]
movlps xmm5, qword [ebx]
mov al, 0x6c
sub ah, byte [bx + di - 0x29]
jns 0x4aba96
jge 0x4ababa
mov word [ebx + 0x54], es
push esp
div byte [ebx]
xchg edx, eax
shr dword [edx - 0x68ac8993], 0x5e
push sp
add al, 0x55
xchg ebp, eax
fidiv dword [edi - 0x58]
call 0x8d1e7692
fld st(6)
add byte [esi + eax], ch
sub al, 0xec
xor ebx, eax
and cl, byte [ecx + 0x5fbc22a6]
push esp
jno 0x4abae6
inc edx
out dx, al
sbb bl, byte [ebp + 0x61426095]
popal
out 0x11, eax
neg byte [ecx + 0x2416ba1]
rcr byte [eax - 0x79], 0x68
xchg ecx, eax
xor al, 0xba
pop ds
adc ebx, dword [ebx]
imul esp, dword [ebx], 0x21
int1
scasd eax, dword es:[edi]
inc ebp
push ds
xchg edi, eax
movsb byte es:[edi], byte [esi]
movsd dword es:[edi], dword [esi]
popal
insb byte es:[edi], dx
out 0x7d, al
pushfd
loop 0x4abb7a
add esp, dword [ecx - 0x32b33f7e]
jno 0x4abb50
pop ebx
stosb byte es:[edi], al
inc ebx
inc ecx
sub ebx, dword [ebx]
push eax
dec ebp
add al, 0x36
mov eax, dword [0xf7723270]
nop
invalid
jl 0x4abbe3
sub dword [edi - 0x484e2c7f], edx
popfd
ret 0xd761
sub byte [ebp + 0x36], ch
dec dword [ecx - 0x17]
lodsb al, byte [esi]
inc eax
mov dword [0x471e4827], eax
mov al, byte [0xc9dadfad]
sbb ebp, esp
inc edi
xor ecx, esi
jb 0x4abc66
ret 0x9954
mov bh, byte [0x30a188f7]
salc
and esi, eax
mov dh, 0x23
invalid
Function at 0x58b2a8
Capabilities:
Encode data using xor

Disassembly:
jne 0x58b24b
and ecx, dword [0x499e0bf7]

Function at 0x58d828
Capabilities:
Encode data using xor

Disassembly:
push ebx
adc eax, 0x62157e6c
adc eax, 0x12b6d562
nop
or byte [edi - 0x32], bh
push ebx
adc eax, 0x12b6d562
nop
or byte [edi - 0x32], bh
push ebx
and dword [ebp + 0x23], edx
add dword [edi - 0x4c1555d9], edx
dec esi
inc esp
cmp eax, 0x7f13f9c8
mov ebx, 0x2365cc00
jne 0x58d824
xor al, 0x71
cmp eax, 0xdf4d8afa
pop esp
sbb eax, 0x2f87c1ab
mov edx, esi
fisttp dword [edx + 0x6cda9dbb]
enter 0x1cb8, 0x47
xor dword [edi + 0x14], ecx
cmpsb byte [esi], byte es:[edi]
dec ebx
pop ss
ja 0x58d84b
sub dword [edi], ebp
inc edi
and eax, 0xd3bd3365
arpl word [edx + eax - 0x5d1a1e3], si
dec ebp
movsd dword es:[edi], dword [esi]
invalid
Function at 0x6565dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65e3b8
cmp edx, dword [eax]
je 0x6565ff
add eax, 8
inc ecx
cmp eax, 0x65e448
jl 0x6565f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65e3b8]
jne 0x65672d
mov eax, dword [0xa63d28]
cmp eax, 1
je 0x656707
test eax, eax
jne 0x656630
cmp dword [0x65e2e4], 1
je 0x656707
cmp edx, 0xfc
je 0x65672d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x656667
lea eax, [ebp - 0x1a4]
push 0x65b810
push eax
call fcn.00656fc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00657450
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6566aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.00657450
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65b80c
push edi
call fcn.00659320
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65b7f0
push eax
call fcn.00656fc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00656fd0
lea eax, [ebp - 0xa0]
push 0x65b7ec
push eax
call fcn.00656fd0
push dword [esi + 0x65e3bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00656fd0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65b7c4
push eax
call fcn.00659294
add esp, 0x2c
pop edi
jmp 0x65672d
lea eax, [ebp + 8]
lea esi, [esi + 0x65e3bc]
push 0
push eax
push dword [esi]
call fcn.00657450
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401130
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x41e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401237
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
push esi
call fcn.00403084
add esp, 4
mov edi, eax
lea eax, [ebp - 0x108]
push edi
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
push 0x4122c0
push edi
call fcn.00401470
push 0x4122d0
push edi
mov esi, eax
call fcn.00401470
push 0x4122dc
push edi
mov ebx, eax
call fcn.00401470
push 0x4122ec
push edi
mov dword [ebp - 0x10c], eax
call fcn.00401470
push 0x4122fc
push edi
mov dword [ebp - 0x110], eax
call fcn.00401470
add esp, 0x28
mov edi, eax
call fcn.00401a90
push edi
push dword [ebp - 0x110]
push dword [ebp - 0x10c]
push ebx
push esi
push str._n_s_v_s____s_n_s_n_s_n_n
test eax, eax
je 0x401215
call fcn.00402906
add eax, 0x20
push eax
call fcn.00402c4b
call fcn.00402906
add eax, 0x20
jmp 0x40122b
call fcn.00402906
add eax, 0x40
push eax
call fcn.00402c4b
call fcn.00402906
add eax, 0x40
push eax
call fcn.00402a95
add esp, 0x20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403360
mov esp, ebp
pop ebp
ret

Function at 0x401250
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x41e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401357
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.00403084
add esp, 4
mov edi, eax
lea eax, [ebp - 0x20c]
push edi
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
push 0x412208
push edi
call fcn.004014c0
push 0x412224
push edi
mov esi, eax
call fcn.004014c0
push 0x41223c
push edi
mov ebx, eax
call fcn.004014c0
push 0x41225c
push edi
mov dword [ebp - 0x210], eax
call fcn.004014c0
push 0x41227c
push edi
mov dword [ebp - 0x214], eax
call fcn.004014c0
add esp, 0x28
mov edi, eax
call fcn.00401a90
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x210]
push ebx
push esi
push 0x412294
test eax, eax
je 0x401335
call fcn.00402906
add eax, 0x20
push eax
call fcn.00402cf8
call fcn.00402906
add eax, 0x20
jmp 0x40134b
call fcn.00402906
add eax, 0x40
push eax
call fcn.00402cf8
call fcn.00402906
add eax, 0x40
push eax
call fcn.00402a95
add esp, 0x20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403360
mov esp, ebp
pop ebp
ret
Function at 0x4017c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x101
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401830
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.EulaAccepted
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x401830
cmp dword [ebp - 8], 0
je 0x401830
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x41e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push str.SoftwareMicrosoftwindows_ntcurrentversion
xor esi, esi
mov dword [ebp - 0x214], 0x208
push 0x80000002
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4019f0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push 0x41857c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4019e4
lea eax, [ebp - 0x20c]
push eax
push str.iotuap
call fcn.0040342b
add esp, 8
mov ecx, 1
test eax, eax
cmove esi, ecx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00403360
mov esp, ebp
pop ebp
ret

Function at 0x401a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionServerServerLevels
xor esi, esi
mov dword [ebp - 0xc], 0
push 0x80000002
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x401a82
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.NanoServer
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401a79
cmp dword [ebp - 8], 4
jne 0x401a79
mov eax, 1
cmp dword [ebp - 0xc], eax
cmove esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401df0
Capabilities:
Terminate process

Disassembly:
push dword [0x41e0c4]
push 0x418610
call fcn.00403a45
push str.This_is_the_first_run_of_this_program._You_must_accept_EULA_to_continue._n
call fcn.00403a45
push str.Use__accepteula_to_accept_EULA._n_n
call fcn.00403a45
add esp, 0x10
push 1
call fcn.00403886
int3
Function at 0x402100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x40211a
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x402148
push str.CommandLineToArgvW
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4021a1
mov edi, 0x41f420
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov ebx, eax
xor esi, esi
cmp dword [edi], esi
jle 0x4021a1
xor eax, eax
mov dword [ebp - 4], eax
push 0x418504
push dword [ebx + esi*4]
call fcn.0040342b
add esp, 8
test eax, eax
je 0x402182
push 0x41851c
push dword [ebx + esi*4]
call fcn.0040342b
add esp, 8
test eax, eax
je 0x402182
inc esi
cmp esi, dword [edi]
jl 0x402153
jmp 0x4021a1
mov eax, dword [edi]
dec eax
mov dword [ebp - 4], 1
cmp esi, eax
jge 0x40219f
mov eax, dword [ebx + esi*4 + 4]
mov dword [ebx + esi*4], eax
inc esi
mov eax, dword [edi]
dec eax
cmp esi, eax
jl 0x402190
dec dword [edi]
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp + 8]
call fcn.00401e20
add esp, 8
mov ecx, 1
test eax, eax
cmovne ebx, ecx
xor eax, eax
pop edi
test ebx, ebx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402440
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push str.Usage:__s___nobanner____accepteula___drive_letter__n
call fcn.004038e7
push str._nobanner____Do_not_display_the_startup_banner_and_copyright_message._n
call fcn.004038e7
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00403886
int3
Function at 0x40cbaf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407ac9
mov dword [ebp - 0x14], eax
cmp dword [0x420184], esi
jne 0x40cca2
push 0x800
push esi
push 0x41a1f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cc2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cd82
push esi
push esi
push 0x41a1f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cd82
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cd82
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x420184], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x420188], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42018c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x420194], eax
test eax, eax
je 0x40cc9f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x420190], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ccc7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ccba
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ccdc
push 4
pop eax
jmp 0x40cd84
cmp dword [ebp - 0x14], esi
je 0x40ccdc
push dword [0x420184]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ccc1
mov eax, dword [0x420190]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cd3a
cmp dword [0x420194], edi
je 0x40cd3a
push eax
call ebx
push dword [0x420194]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cd3a
test eax, eax
je 0x40cd3a
call ecx
test eax, eax
je 0x40cd2f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cd2f
test byte [ebp - 8], 1
jne 0x40cd3a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cd6a
mov eax, dword [0x420188]
cmp eax, edi
je 0x40cd67
push eax
call ebx
test eax, eax
je 0x40cd67
call eax
mov esi, eax
test esi, esi
je 0x40cd67
mov eax, dword [0x42018c]
cmp eax, edi
je 0x40cd67
push eax
call ebx
test eax, eax
je 0x40cd67
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x420184]
call ebx
test eax, eax
je 0x40cd82
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cd84
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403360
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x62e905f1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1ae66328
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
jmp 0x401219