joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be810
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004075b4
xor eax, eax
push ebp
push 0x4be90d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4be8f7
xor eax, eax
push ebp
push 0x4be8f0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00407658
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4be880
call fcn.00406288
jmp 0x4be8f7
xor eax, eax
push ebp
push 0x4be8d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x65
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_ControlService
push 1
call sub.kernel32.dll_Sleep_2
cmp dword [ebp - 0x24], 1
je 0x4be8b2
dec ebx
jne 0x4be893
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be8d9
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be914
lea eax, [ebp - 4]
call fcn.004075bc
ret

Function at 0x4be91c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
push esp
push 0
push 0
push ebx
push 0
call sub.shell32.dll_SHGetFolderLocation
test eax, eax
jne 0x4be95e
cmp dword [esp], 0
je 0x4be95e
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004077b4
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4be9d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x4bea63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4bea7c
call fcn.004be810
push 0xa
call sub.kernel32.dll_Sleep_2
lea edx, [ebp - 8]
mov eax, 0x24
call fcn.004be91c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4beaa0
call fcn.00407a88
mov ebx, 0x64
mov eax, dword [ebp - 4]
call fcn.004be968
test al, al
je 0x4bea41
mov eax, dword [ebp - 4]
call fcn.00407658
push eax
call sub.kernel32.dll_DeleteFileW
push 0xa
call sub.kernel32.dll_Sleep_2
dec ebx
jne 0x4bea1d
push 0xa
call sub.kernel32.dll_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bea6a
lea eax, [ebp - 8]
mov edx, 2
call fcn.004075c4
ret
Function at 0x4beacc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffbdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1424], edx
mov dword [ebp - 0x1420], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004075b4
xor eax, eax
push ebp
push 0x4bec71
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1420]
mov eax, dword [ebp - 4]
call fcn.0041187c
mov edx, dword [ebp - 0x1420]
lea eax, [ebp - 4]
call fcn.00407620
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x101c]
mov edx, 0x1000
call fcn.004be78c
test eax, eax
je 0x4bec46
shr dword [ebp - 0xc], 2
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4bec46
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4bec2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
push eax
push 0
push 0x411
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4bec25
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, ebx
call fcn.004be7b0
test eax, eax
je 0x4bec25
lea eax, [ebp - 0x141c]
xor ecx, ecx
mov edx, 0x400
call fcn.00404bb8
push 0x200
lea ecx, [ebp - 0x141c]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004be7e0
lea eax, [ebp - 0x1424]
lea edx, [ebp - 0x141c]
mov ecx, 0x200
call fcn.004077b4
mov eax, dword [ebp - 0x1424]
lea edx, [ebp - 8]
call fcn.0041187c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040814c
test eax, eax
jle 0x4bec25
mov eax, dword [0x4cc530]
mov edx, 0x4bec8c
call fcn.00408054
mov edx, dword [ebp - 8]
call fcn.00408054
call fcn.004051f0
call fcn.004043c4
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bec39
add dword [ebp - 0x1c], 4
dec dword [ebp - 0x18]
jne 0x4beb5d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bec78
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.004075c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004075c4
ret

Function at 0x4c0500
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4c0508
push ecx
xor eax, eax
push ebp
push 0x4c05ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, 0x4c05e8
call fcn.004bf89c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
call fcn.00422b98
push 0
push 0
push 0x4c0624
push 0x4c0640
push 0x4c0654
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041d7c0
add esp, 0x1c
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x20]
call fcn.00422c80
push 0x20
push 0x4c0670
push 0x4c067c
push 0x4c06cc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041d7c0
add esp, 0x18
lea edx, [ebp - 0x44]
mov eax, 0x4d23d0
call fcn.00422c80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c05d5
lea eax, [ebp - 0x44]
mov edx, dword [0x401278]
mov ecx, 2
call fcn.00408528
lea eax, [ebp - 0x24]
call fcn.0040a600
lea eax, [ebp - 0x20]
mov edx, dword [0x401288]
mov ecx, 2
call fcn.00408528
ret
Function at 0x402440
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4230c8]
jne 0x40244a
repz ret
jmp fcn.00405f2e

Function at 0x405b54
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.00402ec9
and dword [ebp - 4], 0
cmp dword [0x424a28], 0
mov ebx, eax
jne 0x405c05
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405cb6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405cb6
push eax
call fcn.00402e57
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424a28], eax
call esi
push eax
call fcn.00402e57
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424a2c], eax
call esi
push eax
call fcn.00402e57
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424a30], eax
call esi
push eax
call fcn.00402e57
pop ecx
mov dword [0x424a38], eax
test eax, eax
je 0x405c05
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e57
pop ecx
mov dword [0x424a34], eax
mov eax, dword [0x424a34]
cmp eax, ebx
je 0x405c5d
cmp dword [0x424a38], ebx
je 0x405c5d
push eax
call fcn.00402ed2
push dword [0x424a38]
mov esi, eax
call fcn.00402ed2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c5d
test edi, edi
je 0x405c5d
call esi
test eax, eax
je 0x405c54
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c54
test byte [ebp - 0xc], 1
jne 0x405c5d
or dword [ebp + 0x10], 0x200000
jmp 0x405c96
mov eax, dword [0x424a2c]
cmp eax, ebx
je 0x405c96
push eax
call fcn.00402ed2
pop ecx
test eax, eax
je 0x405c96
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c96
mov eax, dword [0x424a30]
cmp eax, ebx
je 0x405c96
push eax
call fcn.00402ed2
pop ecx
test eax, eax
je 0x405c96
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424a28]
call fcn.00402ed2
pop ecx
test eax, eax
je 0x405cb6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405cb8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40131b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x413010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], ecx
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4013ca
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x214], ebx
push esi
call fcn.0040487d
pop ecx
push 0
mov ebx, eax
lea eax, [ebp - 0x214]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4013c3
mov edx, dword [ebx + 0x3c]
add edx, ebx
movzx eax, word [edx + 6]
movzx ecx, word [edx + 0x14]
imul esi, eax, 0x28
add esi, edx
mov edx, dword [ebp - 0x218]
mov eax, dword [ecx + esi]
mov dword [edx], eax
mov eax, dword [ecx + esi + 4]
add eax, ebx
jmp 0x4013cc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401735
leave
ret

Function at 0x4013db
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push 0x2c
mov eax, 0x40ce1c
call fcn.0040ccd5
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
push ecx
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040153f
push ecx
push ecx
xor esi, esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.0040153f
mov edi, dword [ebp - 0x38]
mov ebx, esi
mov eax, dword [ebp - 0x2c]
sub edi, eax
mov dword [ebp - 0x10], 0x100
lea ecx, [eax + ebx]
xor edx, edx
push 7
pop esi
mov eax, ebx
mov byte [edi + ecx], bl
div esi
mov esi, dword [ebp + 8]
inc ebx
push 0
mov al, byte [edx + esi]
mov byte [ecx], al
mov eax, dword [ebp - 0x2c]
pop esi
cmp ebx, 0x100
jl 0x401417
mov ebx, dword [ebp - 0x38]
mov edi, ebx
sub eax, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov dl, byte [edi]
movzx eax, byte [eax + edi]
add esi, eax
movzx ecx, dl
add esi, ecx
and esi, 0x800000ff
jns 0x401467
dec esi
or esi, 0xffffff00
inc esi
mov al, byte [esi + ebx]
mov byte [edi], al
inc edi
sub dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x20]
mov byte [esi + ebx], dl
jne 0x40144a
xor esi, esi
mov edi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x14], esi
jbe 0x4014d5
inc esi
and esi, 0x800000ff
jns 0x401496
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esi + ebx]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x4014ae
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + ebx]
mov byte [esi + ebx], al
mov byte [edi + ebx], cl
movzx eax, byte [esi + ebx]
mov ecx, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 0x18]
movzx eax, al
mov al, byte [eax + ebx]
xor byte [ecx + edx], al
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x14]
jb 0x401485
lea ecx, [ebp - 0x2c]
call fcn.00401583
lea ecx, [ebp - 0x38]
call fcn.00401583
mov eax, dword [ebp - 0x18]
call fcn.0040ccc1
ret
Function at 0x40205d
Capabilities:
Parse pe header

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

Function at 0x40cc90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ccbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ccbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x420b4b
Capabilities:
Parse pe header

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

Function at 0x433300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43332d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43332d
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
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x41452e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c88f
and dword [ebp - 0x14], 0
cmp dword [0x4245d8], 0
mov dword [ebp - 0x18], eax
jne 0x4145e1
push 0x41b318
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x414689
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b30c
push ebx
call edi
test eax, eax
je 0x414689
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x41b2fc
push ebx
mov dword [0x4245d8], eax
call edi
push eax
call esi
push 0x41b2e8
push ebx
mov dword [0x4245dc], eax
call edi
push eax
call esi
push 0x41b2cc
push ebx
mov dword [0x4245e0], eax
call edi
push eax
call esi
mov dword [0x4245e8], eax
test eax, eax
je 0x4145e1
push 0x41b2b4
push ebx
call edi
push eax
call esi
mov dword [0x4245e4], eax
mov eax, dword [0x4245e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41463a
cmp dword [0x4245e8], ecx
je 0x41463a
push eax
call esi
push dword [0x4245e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41463a
test ebx, ebx
je 0x41463a
call edi
test eax, eax
je 0x414631
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x414631
test byte [ebp - 8], 1
jne 0x41463a
or dword [ebp + 0x10], 0x200000
jmp 0x41466d
mov eax, dword [0x4245dc]
cmp eax, dword [ebp - 0x18]
je 0x41466d
push eax
call esi
test eax, eax
je 0x41466d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41466d
mov eax, dword [0x4245e0]
cmp eax, dword [ebp - 0x18]
je 0x41466d
push eax
call esi
test eax, eax
je 0x41466d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4245d8]
call esi
test eax, eax
je 0x414689
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41468b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a82f
leave
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
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40dbd9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x416008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40dc24
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040ddfa
test al, al
jne 0x40dc1e
sub edx, 2
cmp edx, edi
jne 0x40dc04
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40dc46
lea eax, [edi + 2]
cmp edx, eax
je 0x40dc46
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040db25
add esp, 0x10
jmp 0x40dd40
push esi
lea ecx, [ebp - 0x255]
call fcn.0040ddfa
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40dc89
push dword [ebp - 0x25c]
jmp 0x40dc36
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40dcc6
cmp word [ebp - 0x226], 0
je 0x40dce7
cmp word [ebp - 0x226], ax
jne 0x40dcc6
cmp word [ebp - 0x224], 0
je 0x40dce7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040db25
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40dd33
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40dca0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40dd1b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40dd40
push 0x40d955
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004108b0
add esp, 0x10
jmp 0x40dd10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407061
leave
ret

Function at 0x40e696
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0040e3aa
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40e6d3
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040e3e5
sbb eax, 0x8d8aa3ba
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x40e730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.0040e3aa
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040e3e5
invalid

Function at 0x40e7ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esi, 0xc6975d88
inc ebp
cwde
pop ss
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040e3f5
push eax
push esi
push dword [ebp + 8]
call fcn.0040e3aa
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040e3f5
push eax
push esi
push dword [ebp + 8]
call fcn.0040e3aa
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040e3e5
cmp eax, 0x88098c19
popfd
jl 0x40e86a
invalid
invalid

Function at 0x40ea6a
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40ea99
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40ea94
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40ea7e
invalid
adc eax, dword [ecx + 0xfffe1]
add byte [ebx + 0x34572bd6], cl
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40ea86
cmp edx, ebx
jne 0x40ebd4
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40ea55
add eax, dword [eax + 4]
jmp 0x40ea42
mov dword [ebp + 0xc], ebx
jmp 0x40eaa4
Function at 0x40eb28
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
push es
jne 0x40eabc
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40eada
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
inc ebp
mov esp, 0xb5f7c18b
push esp
invalid
invalid
invalid
cmp eax, dword [ebp - 0x44]
ja 0x40eb38
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40eb1f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je fcn.0040eb28
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40eb32
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40eb14
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40ea9e
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40eb85
dec eax
je 0x40eb7c
sub eax, 3
je 0x40eb73
mov dword [ebp - 4], 0x40
jmp 0x40eba2
mov dword [ebp - 4], 4
jmp 0x40eb88
mov dword [ebp - 4], 0x20
jmp 0x40eb88
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40ebd4
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc ebp
or byte [edi + 0x3b], al
mov ebp, 0xffffff74
jbe 0x40eb54
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040e3e5
xor al, 0xc8
shl ebx, 1
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x40ebe0
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40eed9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x40eeef
call fcn.0040e3aa
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.0040e3e5
jo 0x40ef4f
pop edi
outsb dx, byte cs:[esi]
and byte [ebp - 0x664], 0
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
invalid
invalid