joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420b5b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b9a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b9a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b9a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b9a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b9a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x3ff01000
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [str.99j9ttu_jao]
mov ecx, dword [0x3ff67044]
mov edx, dword [0x3ff67048]
mov dword [ebp - 0x10], eax
mov al, byte [0x3ff6704c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [str.eeDe774aD_o]
mov byte [ebp - 4], al
mov eax, dword [0x3ff67058]
mov dword [ebp - 8], edx
mov edx, dword [0x3ff67054]
mov dword [ebp - 0x20], ecx
mov cl, byte [0x3ff6705c]
push ebx
xor bl, bl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x14], cl
xor eax, eax
mov dl, byte [ebp + eax - 0x20]
mov cl, byte [ebp + eax - 0x10]
xor cl, dl
mov byte [ebp + eax - 0x10], cl
inc eax
cmp eax, 0xd
jb 0x3ff01050
push 0
push 0x4000000
push 3
push 0
push 0
lea eax, [ebp - 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov cl, byte [ebp - 0x20]
mov dword [0x3ffbe380], eax
xor eax, eax
mov dl, byte [ebp + eax - 0x10]
xor dl, cl
mov byte [ebp + eax - 0x10], dl
inc eax
cmp eax, 0xd
jb 0x3ff01087
mov eax, dword [0x3ff7692c]
test eax, eax
jne 0x3ff01147
mov eax, dword [ebp + 4]
mov dword [0x3ff76924], eax
mov eax, dword [0x3ff76924]
mov dl, 0x5a
mov cl, byte [eax]
cmp cl, 0xca
jne 0x3ff010d7
cmp byte [eax + 1], 0xed
jne 0x3ff010d7
cmp byte [eax + 2], 0x97
jne 0x3ff010d7
cmp byte [eax + 3], 0xcc
jne 0x3ff010d7
cmp byte [eax + 4], 0xff
jne 0x3ff010d7
cmp byte [eax + 5], dl
je 0x3ff010e1
add bl, cl
inc eax
mov dword [0x3ff76924], eax
jmp 0x3ff010b3
add eax, 8
xor ecx, ecx
mov dword [0x3ff76924], eax
mov dword [0x3ff7692c], ecx
mov dl, byte [ecx + eax]
cmp dl, 0xca
jne 0x3ff01115
cmp byte [ecx + eax + 1], 0xed
jne 0x3ff01115
cmp byte [ecx + eax + 2], 0x97
jne 0x3ff01115
cmp byte [ecx + eax + 3], 0xcc
jne 0x3ff01115
cmp byte [ecx + eax + 4], 0xff
je 0x3ff01118
inc ecx
jmp 0x3ff010eb
push 0x3ff76928
add ecx, 8
push 0x40
add eax, 0xfffffff8
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x3ff76924]
mov byte [ecx - 3], 0xa5
mov ebx, dword [0x3ff76924]
mov ecx, dword [0x3ff7692c]
sub ecx, 5
int3
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3ff011c0
Capabilities:
Delete file
Terminate process

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 3
ja case.default.0x3ff011cd
jmp dword [eax*4 + 0x3ff012cc]
push str.zdvdinstance
push 2
push 0
push 2
push 0
push 0xffffffffffffffff
mov dword [0x3ff76930], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x3ff76930], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x3ff0120f
push 1
call fcn.3ff4732d
add esp, 4
call fcn.3ff47290
call section..text
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
push eax
push 1
push ecx
mov dword [0x3ff67060], 0
call fcn.3ff2a9e0
add esp, 0xc
mov eax, 1
ret 0xc
mov eax, dword [0x3ff67060]
test eax, eax
jne case.default.0x3ff011cd
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push edx
push 2
push eax
call fcn.3ff2aa50
add esp, 0xc
mov eax, 1
ret 0xc
mov eax, dword [0x3ff67060]
test eax, eax
jne case.default.0x3ff011cd
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
push ecx
push 3
push edx
call fcn.3ff2aa60
add esp, 0xc
mov eax, 1
ret 0xc
mov eax, dword [0x3ff76930]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x3ff67060]
test eax, eax
jne case.default.0x3ff011cd
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
push ecx
push 0
push edx
call fcn.3ff2aa70
add esp, 0xc
push str..CCAD
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.3ff472c0
mov eax, 1
ret 0xc

Function at 0x3ff4d352
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x3ff75438
cmp edx, dword [eax]
je 0x3ff4d374
add eax, 8
inc ecx
cmp eax, 0x3ff754c8
jl 0x3ff4d365
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x3ff75438]
jne 0x3ff4d4a2
mov eax, dword [0x3ffb54cc]
cmp eax, 1
je 0x3ff4d47c
test eax, eax
jne 0x3ff4d3a5
cmp dword [0x3ffb54d0], 1
je 0x3ff4d47c
cmp edx, 0xfc
je 0x3ff4d4a2
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x3ff4d3dc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.3ff4e5e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.3ff4ea70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x3ff4d41f
lea eax, [ebp - 0x1a4]
push eax
call fcn.3ff4ea70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x3ff646b8
push edi
call fcn.3ff511d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.3ff4e5e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.3ff4e5f0
lea eax, [ebp - 0xa0]
push 0x3ff64698
push eax
call fcn.3ff4e5f0
push dword [esi + 0x3ff7543c]
lea eax, [ebp - 0xa0]
push eax
call fcn.3ff4e5f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.3ff5113b
add esp, 0x2c
pop edi
jmp 0x3ff4d4a2
lea eax, [ebp + 8]
lea esi, [esi + 0x3ff7543c]
push 0
push eax
push dword [esi]
call fcn.3ff4ea70
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x15e45587
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x6f23676d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x878058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8781a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x87807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x87806a
add dl, dl
jne 0x878089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8780dc
xor eax, eax
add dl, dl
jne 0x878096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x87817d
add dl, dl
jne 0x8780a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8780b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8780bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8780c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8780d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x878075
mov eax, 1
add dl, dl
jne 0x8780ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8780f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8780e1
sub eax, ebx
mov ebx, 1
jne 0x878128
mov ecx, 1
add dl, dl
jne 0x87810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x878119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x878105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x878075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x87813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x87814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x878136
cmp eax, 0x7d00
jae 0x87816d
cmp eax, 0x500
jb 0x878168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x878075
cmp eax, 0x7f
ja 0x878170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x878075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x87819e
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 0x878075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f004]
jne 0x401010
repz ret
jmp fcn.00401617
Function at 0x40794e
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.00402b18
and dword [ebp - 4], 0
cmp dword [0x443798], 0
mov ebx, eax
jne 0x4079ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407ab0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407ab0
push eax
call fcn.00402aa6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x443798], eax
call esi
push eax
call fcn.00402aa6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44379c], eax
call esi
push eax
call fcn.00402aa6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4437a0], eax
call esi
push eax
call fcn.00402aa6
pop ecx
mov dword [0x4437a8], eax
test eax, eax
je 0x4079ff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402aa6
pop ecx
mov dword [0x4437a4], eax
mov eax, dword [0x4437a4]
cmp eax, ebx
je 0x407a57
cmp dword [0x4437a8], ebx
je 0x407a57
push eax
call fcn.00402b21
push dword [0x4437a8]
mov esi, eax
call fcn.00402b21
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407a57
test edi, edi
je 0x407a57
call esi
test eax, eax
je 0x407a4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407a4e
test byte [ebp - 0xc], 1
jne 0x407a57
or dword [ebp + 0x10], 0x200000
jmp 0x407a90
mov eax, dword [0x44379c]
cmp eax, ebx
je 0x407a90
push eax
call fcn.00402b21
pop ecx
test eax, eax
je 0x407a90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407a90
mov eax, dword [0x4437a0]
cmp eax, ebx
je 0x407a90
push eax
call fcn.00402b21
pop ecx
test eax, eax
je 0x407a90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x443798]
call fcn.00402b21
pop ecx
test eax, eax
je 0x407ab0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407ab2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x438680
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x182
jne 0x4386ab
push 0
push 0
push 0
push str.sukeje
push str.nakefajijihi
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
jmp 0x4386c3
cmp ebp, 0x19f
jne 0x4386c3
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x438716
push esi
lea ebx, [ebx]
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.00438670
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x4386d0
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x438731
mov dword [0x2b419c0], 0xa62e7790
mov dword [0x2b419c4], 0xffffffff
add esp, 8
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x65ed45f4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x63e411f8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
xor ebx, ebx
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
add edi, edx
mov dword [ebp - 0xc], ecx
add esi, edx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x24]
add eax, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], ebx
jbe 0x4010cc
nop dword [eax]
mov edi, dword [edi + ebx*4]
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4010b4
xor edi, edi
test ecx, ecx
je 0x4010b4
movzx eax, word [eax + edi*2]
cmp eax, ebx
jne 0x4010ac
mov eax, dword [esi + edi*4]
mov esi, 0x6aa60bb0
add eax, edx
cmp byte [eax], 0
je 0x4010a9
movzx ecx, word [eax]
lea eax, [eax + 1]
mov edx, esi
ror edx, 8
add edx, ecx
xor esi, edx
cmp byte [eax], 0
jne 0x401087
cmp esi, 0xe332105c
je 0x4010bf
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, ecx
jb 0x401070
inc ebx
cmp ebx, dword [ebp - 0xc]
jae 0x4010cc
mov edi, dword [ebp - 0x18]
jmp 0x401060
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1c]
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 0x4010e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x403004]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
xor ecx, ecx
add edx, 1
lea eax, [ecx + 1]
cmovne eax, ecx
mov ecx, eax
cmp ecx, 3
jb 0x4010f4
call section..text
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0x7dd
push 0x4030f0
call eax
xor eax, eax
nop dword [eax]
mov edx, eax
and edx, 0x1f
movzx ecx, byte [edx + 0x4030f0]
xor byte [eax + 0x403110], cl
movzx ecx, byte [eax + 0x403110]
sub cl, byte [edx + 0x4030f0]
xor cl, 0x72
mov byte [eax + 0x403110], cl
inc eax
cmp eax, 0x7bd
jb 0x401120
mov eax, 0x403110
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004011e3
mov esp, ebp
pop ebp
ret
Function at 0x401170
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x403004]
xor eax, esp
mov dword [esp + 0x44], eax
lea eax, [esp]
mov dword [esp], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
lea eax, [ecx - 0x200]
cmp eax, 0x1f200
ja 0x4011b8
call fcn.004010e0
jmp 0x4011c9
push 0
push 0
push str.beatator_meritot_penitify_condent_cipitety_researchth_secrfy_thisule_employeeer_duflyant_cipitety_rect_tiner_magazineeur_transsuccesssure_onomatad_improve_asel_pushety_world_dinnerity_sanguinist_liminleastety_numer_plattsive_he
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0
push 0x4030f0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403604
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x403624
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x403636
mov dword [ebp - 0xc], 0x423b98
mov eax, dword [ebp + 8]
test eax, eax
jl 0x40364b
mov ecx, dword [0x437918]
add ecx, eax
push ecx
call fcn.00403835
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.0040381f
test eax, eax
je 0x40380d
test byte [ebp + 0x17], 0x80
je 0x4037b8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
and dword [0x40e4fc], 0
and dword [0x40e4f8], 0
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, 0x40fb80
mov dword [0x40dfe0], 8
mov dword [0x417b88], eax
mov dword [0x417b84], eax
mov eax, dword [ebp + 0x14]
mov dword [0x417b80], 0x417b80
mov dword [ebp + 8], eax
jle 0x403815
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x4036c4
mov esi, dword [ebp + 0x14]
mov edi, 0x41fb98
push esi
push edi
call fcn.0040381f
test eax, eax
je 0x40380d
sub dword [ebp + 0x14], esi
mov dword [0x40dfd0], edi
mov dword [0x40dfd4], esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push 0x40dfd0
mov dword [0x40dfd8], edi
mov dword [0x40dfdc], eax
call fcn.0040706d
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x4037b0
mov esi, dword [0x40dfd8]
sub esi, edi
call ebx
test byte [0x437974], 1
mov edi, eax
je 0x40376b
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
ja 0x403732
cmp dword [ebp + 0x14], 0
jne 0x40376b
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.004058be
mov dword [ebp - 0x10], edi
test esi, esi
je 0x4037a4
cmp dword [ebp + 0x10], 0
jne 0x40378a
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.0040648c
test eax, eax
je 0x4037b4
add dword [ebp - 4], esi
jmp 0x403798
mov eax, dword [0x40dfd8]
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 1
jne 0x4036e7
jmp 0x403815
cmp dword [ebp + 0x14], 0
jg 0x4036b7
jmp 0x403815
push 0xfffffffffffffffc
jmp 0x40380f
push 0xfffffffffffffffe
jmp 0x40380f
test edi, edi
jne 0x4037fa
cmp dword [ebp + 0x14], edi
jle 0x403815
mov ebx, dword [ebp - 8]
cmp dword [ebp + 0x14], ebx
mov esi, dword [ebp + 0x14]
jl 0x4037ce
mov esi, ebx
mov edi, 0x41fb98
push esi
push edi
call fcn.0040381f
test eax, eax
je 0x40380d
push esi
push edi
push dword [ebp + 0xc]
call fcn.0040648c
test eax, eax
je 0x4037b4
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x4037c4
jmp 0x403815
cmp dword [ebp + 0x14], esi
jge 0x403802
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.0040381f
test eax, eax
jne 0x403812
push 0xfffffffffffffffd
pop eax
jmp 0x403818
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405dc2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x408400
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083f0
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405e13
xor eax, eax
jmp 0x405e3a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405e3a
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405e0f
call esi
pop esi
leave
ret 4

Function at 0x405e74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x4313e0], 0x44
push eax
xor eax, eax
push 0x4313e0
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405eb3
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405eb7
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405f55
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.004063b5
mov edi, eax
cmp edi, 0xffffffff
je 0x405f96
test byte [esp + 0x10], 1
push esi
je 0x405f78
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405f7e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405f87
xor eax, eax
inc eax
jmp 0x405f98
test byte [esp + 0x10], 4
jne 0x405f96
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8