joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x18
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebx, dword [esp + 0x14]
sub ebp, dword [esp + 0x18]
push 0
call edi
push 1
mov esi, eax
call edi
push 0
push 0x404060
mov edi, eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4010e0
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
sub edx, ecx
cmp edx, eax
jle 0x4010ab
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
sub esi, ebx
sar ecx, 1
sub esi, 0xc
cmp eax, ecx
jge 0x40109e
mov edi, dword [esp + 0x20]
add edi, 0xc
jmp 0x4010a3
sub eax, ebp
lea edi, [eax - 0xc]
test edi, edi
jns 0x4010cf
xor edi, edi
jmp 0x4010cf
mov eax, esi
cdq
sub eax, edx
sub edi, ebp
sar eax, 1
sub edi, 0xc
cmp ecx, eax
jge 0x4010c4
mov esi, dword [esp + 0x1c]
add esi, 0xc
jmp 0x4010c9
sub ecx, ebx
lea esi, [ecx - 0xc]
test esi, esi
jns 0x4010cf
xor esi, esi
mov edx, dword [esp + 0x10]
push 0
push ebp
push ebx
push edi
push esi
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004019bf
add esp, 0x18
ret

Function at 0x401560
Capabilities:
Check os version

Disassembly:
sub esp, 0xbc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xb8], eax
push esi
mov esi, dword [esp + 0xc4]
push 0x9c
lea eax, [esp + 0x24]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4015c2
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004019bf
add esp, 0xbc
ret 0x10
cmp dword [esp + 0x24], 6
jb 0x4015d3
mov dword [0x404518], 1
push 0
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x40451d
push str.Edit
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
mov eax, esi
call fcn.00401470
add esp, 4
test eax, eax
jne 0x401622
mov eax, 1
pop esi
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004019bf
add esp, 0xbc
ret 0x10
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
call esi
test eax, eax
je 0x40166d
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
cmp eax, 0xffffffff
je 0x40166b
lea eax, [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
call esi
test eax, eax
jne 0x401647
pop edi
pop ebx
mov ecx, dword [esp + 0xbc]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004019bf
add esp, 0xbc
ret 0x10
Function at 0x401690
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x64
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push ebp
xor ebp, ebp
push esi
mov dword [esp + 8], ebp
xor ecx, ecx
lea esp, [esp]
mov dl, byte [ecx + str.SoftwareStoic_JokersT_Clock_2010]
mov byte [esp + ecx + 0x18], dl
inc ecx
test dl, dl
jne 0x4016b0
cmp eax, ebp
je 0x401727
cmp byte [eax], dl
je 0x401727
mov ecx, 0x404044
mov esi, ecx
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4016d0
push edi
sub ecx, esi
lea edi, [esp + 0x1c]
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4016e1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401700
lea edi, [esp + 0x1c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401710
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x401782
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push ebx
mov esi, 4
push edx
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401773
cmp dword [esp + 0xc], esi
jne 0x401773
lea ebp, [esi - 3]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jne 0x401795
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004019bf
add esp, 0x64
ret
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 8]
pop esi
pop ebp
xor ecx, esp
call fcn.004019bf
add esp, 0x64
ret
Function at 0x4017b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x64
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
xor eax, eax
jmp 0x4017d0
mov cl, byte [eax + str.SoftwareStoic_JokersT_Clock_2010]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x4017d0
cmp byte [0x4040b0], bl
je 0x401847
mov eax, 0x404048
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4017f0
push edi
lea edi, [esp + 0x1c]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401800
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x4040b0
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401820
lea edi, [esp + 0x1c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401830
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4018a6
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.ViewMonths
mov esi, 4
push edx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401897
cmp dword [esp + 0x10], esi
jne 0x401897
lea ebx, [esi - 3]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x4018b3
mov dword [esp + 8], 1
call fcn.004018d0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
call fcn.004019bf
add esp, 0x64
ret
Function at 0x4018d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
xor ebx, ebx
mov dword [esp + 8], 1
xor eax, eax
jmp 0x4018f0
mov cl, byte [eax + str.SoftwareStoic_JokersT_Clock_2010]
mov byte [esp + eax + 0xc], cl
inc eax
test cl, cl
jne 0x4018f0
cmp byte [0x4040b0], bl
je 0x401968
mov eax, 0x404050
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401910
push esi
push edi
lea edi, [esp + 0x14]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401920
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x4040b0
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401940
lea edi, [esp + 0x14]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401950
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4019ad
push 4
lea edx, [esp + 0xc]
push edx
push 4
push eax
mov eax, dword [esp + 0x14]
push str.ViewMonths
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4019a2
lea ebx, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x5c]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004019bf
add esp, 0x5c
ret

Function at 0x4019bf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4019c9
repz ret
jmp fcn.00401cb6
Function at 0x1c2c90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [eax], 0
mov edx, eax
je 0x1c2cab
mov ecx, eax
lea esp, [esp]
xor byte [edx], 0xf
inc ecx
cmp byte [ecx], 0
mov edx, ecx
jne 0x1c2ca0
ret
Function at 0x1c4280
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
xor edx, edx
test esi, esi
jle 0x1c42d3
push ebx
push ebp
jmp 0x1c4290
movzx ecx, byte [edx + edi]
add eax, ecx
mov ecx, 0x20
jmp 0x1c42a0
lea ebx, [eax + eax]
xor ebx, eax
and ebx, 0xfffffff8
lea ebp, [eax*8]
xor ebx, ebp
shl ebx, 4
mov ebp, eax
and ebp, 0xffffff80
xor ebx, ebp
mov ebp, eax
shl ebx, 0x11
shr ebp, 8
or ebx, ebp
add eax, ebx
sub ecx, 1
jne 0x1c42a0
inc edx
cmp edx, esi
jl 0x1c4290
pop ebp
pop ebx
xor ecx, ecx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
mov esi, eax
shl edx, 0x11
shr esi, 8
or edx, esi
add eax, edx
mov edx, dword [esp + 8]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x10
jl 0x1c42d5
pop esi
ret
Function at 0x1c4cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
push esi
push edi
mov ebx, ecx
push ebx
mov edi, eax
call dword [0x1d9f4c]
mov esi, eax
test esi, esi
jne 0x1c4cfd
push ebx
call dword [0x1d9f70]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x1c4e9b
push 2
push 4
lea eax, [esp + 0x24]
push eax
call dword [0x1d9f44]
mov esi, eax
test esi, esi
je 0x1c4e9b
push 0
push 1
push 2
call dword [0x1da29c]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x1c4e49
mov ecx, dword [0x1d5eb0]
mov ax, word [0x1d5eb8]
mov edx, dword [0x1d5eb4]
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x20], 0
mov cl, byte [0x1d5eba]
mov word [esp + 0x28], ax
mov dword [esp + 0x24], edx
mov byte [esp + 0x2a], cl
lea eax, [esp + 0x20]
je 0x1c4d5b
mov ecx, eax
lea ebx, [ebx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x1c4d50
lea edx, [esp + 0x20]
push edx
call dword [0x1d4060]
mov ecx, dword [0x1d6190]
mov dx, word [0x1d6194]
mov ebx, eax
mov eax, dword [0x1d618c]
mov dword [esp + 0x20], eax
cmp byte [esp + 0x20], 0
mov al, byte [0x1d6196]
mov byte [esp + 0x2a], al
mov dword [esp + 0x24], ecx
mov word [esp + 0x28], dx
lea eax, [esp + 0x20]
je 0x1c4dab
mov ecx, eax
lea ecx, [ecx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x1c4da0
mov esi, dword [fcn.001d4058]
lea ecx, [esp + 0x20]
push ecx
push ebx
call esi
mov edx, dword [0x1d6198]
mov cx, word [0x1d61a0]
mov edi, eax
mov eax, dword [0x1d619c]
mov dword [esp + 0x20], edx
cmp byte [esp + 0x20], 0
mov dl, byte [0x1d61a2]
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
mov byte [esp + 0x2a], dl
lea eax, [esp + 0x20]
je 0x1c4dfc
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x1c4df1
lea eax, [esp + 0x20]
push eax
push ebx
call esi
mov esi, eax
call esi
lea ecx, [esp + 0x88]
push ecx
push 0x101
call edi
test eax, eax
je 0x1c4e3d
mov ebx, dword [0x1d403c]
push 0x3e8
call ebx
call esi
lea edx, [esp + 0x88]
push edx
push 0x101
call edi
test eax, eax
jne 0x1c4e21
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, 2
mov word [esp + 0xc], ax
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push 0x50
mov dword [esp + 0x14], eax
call dword [0x1da14c]
mov edx, dword [edi]
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
mov word [esp + 0x1a], ax
call dword [0x1d9f64]
cmp eax, 0xffffffff
mov eax, dword [edi]
jne 0x1c4ea7
push eax
call dword [0x1da18c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push ecx
push edx
push eax
call dword [0x1d9f50]
cmp eax, 0xffffffff
jne 0x1c4ed2
mov ecx, dword [edi]
push ecx
call dword [0x1da18c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1c6d20
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, 0x4b524f57
mov edi, eax
mov dword [esp + 0xc], esi
mov eax, 0x44524148
test ecx, ecx
jle 0x1c6dc4
push ebx
push ebp
mov ebp, dword [esp + 0x24]
sub ebp, edi
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, esi
shr edx, 8
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and dl, bl
mov ebx, esi
mov ecx, eax
shr ecx, 8
and dl, cl
mov dword [esp + 0x1c], ecx
mov ecx, esi
shr ecx, 0x18
shr ebx, 0x10
and cl, bl
mov bl, byte [esp + 0x10]
xor dl, cl
xor dl, byte [edi + ebp]
mov ecx, dword [esp + 0x14]
lea esi, [eax*4]
xor esi, eax
add esi, esi
and bl, cl
xor esi, eax
xor dl, bl
xor dl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [esp + 0x1c]
shl esi, 0x14
or esi, dword [esp + 0x10]
mov byte [edi], dl
inc edi
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], esi
mov eax, ecx
jne 0x1c6d50
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x100e0123
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100e00ff
pop esi
leave
ret 8
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, reloc.user32.dll_DdeSetUserHandle
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c040
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40c0f5
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push 0
push 0
call ebp
add byte [edi + ebx], 0xbf
push 0
push 0
call ebp
add byte [edi + ebx], 0x6f
push 0
push 0
call ebp
add byte [edi + ebx], 0x20
push 0
push 0
call ebp
xor byte [edi + ebx], 0xea
push 0
push 0
call ebp
add byte [edi + ebx], 0x9a
push 0
push 0
call ebp
add byte [edi + ebx], 0xdc
push 0
push 0
call ebp
add byte [edi + ebx], 0xa6
push 0
push 0
call ebp
xor byte [edi + ebx], 0x39
push 0
push 0
call ebp
add byte [edi + ebx], 0xfc
push 0
push 0
call ebp
add byte [edi + ebx], 0xbd
push 0
push 0
call ebp
xor byte [edi + ebx], 0x5e
push 0
push 0
call ebp
add byte [edi + ebx], 0x69
push 0
push 0
call ebp
xor byte [edi + ebx], 0x7b
push 0
push 0
call ebp
add byte [edi + ebx], 0xd
inc ebx
cmp esi, ebx
jne 0x40c060
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402cc5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c100
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
mov ebx, eax
jb 0x40c118
mov ebx, dword [eax]
mov esi, dword [esp + 0x40]
xor esi, edi
cmp edi, 4
jae 0x40c127
mov ecx, edi
jmp 0x40c195
mov dword [esp + 0x24], edi
shr edi, 2
xor ebp, ebp
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp], xmm0
mov dword [esp + 0x20], 0
call dword [sym.imp.GDI32.dll_ArcTo]
sub esp, 0x24
mov dword [esp + 4], str.Z81xbyuAua
mov dword [esp], 0x4d4860
call fcn.00402d5b
mov dword [esp], eax
call fcn.004060eb
imul eax, dword [ebx + ebp*4], 0x5bd1e991
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e991
imul esi, esi, 0x5bd1e991
xor esi, eax
inc ebp
cmp edi, ebp
jne 0x40c130
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
mov edi, dword [esp + 0x24]
and edi, 0xfffffffc
and ecx, 3
xor eax, eax
cmp ecx, 1
je 0x40c1be
cmp ecx, 2
je 0x40c1b4
cmp ecx, 3
jne 0x40c1cc
movsx eax, byte [ebx + edi + 2]
shl eax, 0x10
movsx ecx, byte [ebx + edi + 1]
shl ecx, 8
xor eax, ecx
movsx ecx, byte [ebx + edi]
xor ecx, eax
imul eax, ecx, 0x5bd1e991
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e991
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4035bc
Capabilities:
Terminate process

Disassembly:
jmp 0x453cc3
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453cd4
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058c1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x4096c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
adc ch, ah
cmp byte [esi - 0x1b], dl
jne 0x409717
lea eax, [ebp - 0x38]
pop ss
inc ebp
cld
add byte [eax], al
fadd dword [eax]
mov ecx, dword [esi + 4]
jg 0x4096b7
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x4096f2
mov eax, dword [ebp - 0x38]
ret 0x2c4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40970a
invalid
mov esp, dword [edx + 0x4568b0c]
and dword [esi], 0x6550654d
push 0
call 0x3e909788
add byte [eax + ebp*8 + 0x6a], ah
add byte [eax + 0x3e], dl
sub byte [ecx + 0x52610900], cl
call dword [0x304014b8]
in eax, 0xc0
je 0x409768
pop edi
xor eax, eax
push cs
mul ch
pop ebp
ret
jp 0x409780
jg 0x40977a
test dword [esi + esi*2 + 0x10], ebp
push 0
push 0x3cd
push ecx
push eax
call 0xebb590
or eax, 0xf883ea23
adc bl, byte [esi]
stosd dword es:[edi], eax
add bl, dh
or eax, 0xf883ea23
and ebp, edx
cmp eax, 0xffffffff
jne 0x40978b
push dword [ebp + 4]
or eax, eax
jmp 0x40978d
lodsb al, byte [esi]
rcl byte [eax - 0x75], 0x46
or al, 0x8b
dec eax
adc byte [ecx - 1], dl
xlatb
push eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
call edi
xor eax, 0x80
je 0x409791
ljmp 0x5ec:0xa1c174c0
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c050
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40c105
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push 0
push 0
call ebp
add byte [edi + ebx], 0xa5
push 0
push 0
call ebp
add byte [edi + ebx], 0x61
push 0
push 0
call ebp
add byte [edi + ebx], 0xcd
push 0
push 0
call ebp
xor byte [edi + ebx], 0xea
push 0
push 0
call ebp
add byte [edi + ebx], 0x59
push 0
push 0
call ebp
add byte [edi + ebx], 0xef
push 0
push 0
call ebp
add byte [edi + ebx], 0x56
push 0
push 0
call ebp
xor byte [edi + ebx], 0x8f
push 0
push 0
call ebp
add byte [edi + ebx], 0x5c
push 0
push 0
call ebp
add byte [edi + ebx], 0xde
push 0
push 0
call ebp
xor byte [edi + ebx], 0xbd
push 0
push 0
call ebp
add byte [edi + ebx], 0x30
push 0
push 0
call ebp
xor byte [edi + ebx], 0xd0
push 0
push 0
call ebp
add byte [edi + ebx], 0xb1
inc ebx
cmp esi, ebx
jne 0x40c070
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402cc5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c110
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
mov ebp, eax
jb 0x40c128
mov ebp, dword [eax]
mov esi, dword [esp + 0x20]
xor esi, edi
cmp edi, 4
jae 0x40c137
mov ecx, edi
jmp 0x40c193
mov dword [esp], edi
shr edi, 2
cmp edi, 2
mov eax, 1
cmovae eax, edi
mov dword [esp + 4], eax
xor ebx, ebx
nop
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ecx, 0x4d6888
push edi
call fcn.00403d41
imul eax, dword [ebp + ebx*4], 0x5bd1e991
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e991
imul esi, esi, 0x5bd1e991
xor esi, eax
inc ebx
cmp dword [esp + 4], ebx
jne 0x40c150
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov edi, dword [esp]
and edi, 0xfffffffc
and ecx, 3
xor eax, eax
cmp ecx, 1
je 0x40c1bc
cmp ecx, 2
je 0x40c1b2
cmp ecx, 3
jne 0x40c1cb
movsx eax, byte [ebp + edi + 2]
shl eax, 0x10
movsx ecx, byte [ebp + edi + 1]
shl ecx, 8
xor eax, ecx
movsx ecx, byte [ebp + edi]
xor ecx, eax
imul eax, ecx, 0x5bd1e991
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e991
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4035bc
Capabilities:
Terminate process

Disassembly:
jmp 0x456593
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4565a4
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058c6
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret