joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10076a5
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x38]
push 0x10022ac
call fcn.0100efbf
push dword [esi + 0x40]
mov ecx, dword [esi + 0x34]
call fcn.0100a19d
mov eax, dword [esi + 0x2c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x30]
push 0
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10076e7
add eax, 4
jmp 0x10076e9
xor eax, eax
push 5
mov dword [esi + 0x24], eax
push dword [eax]
call edi
push 5
push dword [esi + 4]
call edi
test eax, eax
jne 0x100770a
mov ecx, dword [esi + 0x38]
push 0x1002274
call fcn.0100efbf
pop edi
pop esi
ret

Function at 0x100efbf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x102b184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0xffffffff
je 0x100f04d
lea eax, [ebp - 0x18]
push 0xa
push eax
call fcn.010121d5
push edi
lea eax, [ebp - 0x18]
push eax
push 0x1003ad8
push 0xffffffffffffffff
lea eax, [ebp - 0x818]
push 0x400
push eax
call fcn.01010cc8
lea eax, [ebp - 0x818]
add esp, 0x20
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x100f01d
and dword [ebp - 0x81c], 0
sub eax, ecx
push 0
sar eax, 1
lea ecx, [ebp - 0x81c]
push ecx
add eax, eax
push eax
lea eax, [ebp - 0x818]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010107a9
leave
ret 4

Function at 0x10107a9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102b184]
jne 0x10107b3
repz ret
jmp fcn.010146ac
Function at 0x1012762
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x102b1d8]
je 0x101277d
inc edi
cmp edi, 0x17
jb 0x101276e
cmp edi, 0x17
jae 0x10128fd
push ebp
push 3
call fcn.0101936c
cmp eax, 1
pop ecx
je 0x10128c9
push 3
call fcn.0101936c
test eax, eax
pop ecx
jne 0x10127b1
cmp dword [0x102b180], 1
je 0x10128c9
cmp ebx, 0xfc
je 0x10128fc
push 0x1004418
mov ebx, 0x314
push ebx
mov ebp, 0x102c950
push ebp
call fcn.010178e5
add esp, 0xc
test eax, eax
je 0x10127e7
push esi
push esi
push esi
push esi
push esi
call fcn.010148b4
add esp, 0x14
push 0x104
mov esi, 0x102c969
push esi
push 0
mov byte [0x102ca6d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x101282b
push 0x1004400
push 0x2fb
push esi
call fcn.010178e5
add esp, 0xc
test eax, eax
je 0x101282b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.010148b4
add esp, 0x14
push esi
call fcn.01012370
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1012870
push esi
call fcn.01012370
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x102cc64
push 0x10043fc
sub ecx, eax
push ecx
push eax
call fcn.010192b9
add esp, 0x14
test eax, eax
je 0x1012870
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.010148b4
add esp, 0x14
jmp 0x1012872
xor esi, esi
push 0x10043f8
push ebx
push ebp
call fcn.01019248
add esp, 0xc
test eax, eax
je 0x1012892
push esi
push esi
push esi
push esi
push esi
call fcn.010148b4
add esp, 0x14
push dword [edi*8 + 0x102b1dc]
push ebx
push ebp
call fcn.01019248
add esp, 0xc
test eax, eax
je 0x10128b4
push esi
push esi
push esi
push esi
push esi
call fcn.010148b4
add esp, 0x14
push 0x12010
push 0x10043d0
push ebp
call fcn.0101908b
add esp, 0xc
jmp 0x10128fc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10128fc
cmp ebp, 0xffffffff
je 0x10128fc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x102b1dc]
push dword [esi]
call fcn.01012370
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1020631
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x36a5b], al
inc dword [eax]
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0101f712
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0101f6c7
add esp, 0xc
Function at 0x1023e29
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
je 0x1023e74
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x1023e45
mov eax, edi
and dword [ebp + 0x10], 0
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x1023e7c
test ecx, ecx
je 0x1023e74
test edi, edi
ja 0x1023e3a
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1023e76

Function at 0x1023e84
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
je 0x1023ecf
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x1023ea0
mov eax, edi
and dword [ebp + 0x10], 0
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x1023ed7
test ecx, ecx
je 0x1023ecf
test edi, edi
ja 0x1023e95
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1023ed1

Function at 0x102415a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x1024162
mov dword [ecx*4 + 0x102e800], eax
inc ecx
cmp ecx, 0x100
jb 0x102415d
pop esi
ret
Function at 0x102667e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jb GdipFree
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x10266bc
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x10266c1
inc edi
cmp edi, dword [ebp - 4]
jb 0x10266b3
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x10267b9
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x1026718
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x10266ec
cmp cl, 0xff
jne 0x1026743
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x1026751
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x1026758
dec ecx
shl edx, cl
and edx, 7
je 0x10266dd
movzx ecx, byte [edx + 0x1005e20]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x1005e18], 0
mov cl, byte [ebx + 4]
je 0x1026740
test cl, cl
je 0x1026740
cmp cl, 0xff
jne 0x10266dd
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x10266ae
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x102678c
movzx esi, byte [edx + 0x1005e20]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x1026777
cmp al, 0xff
jne 0x1026789
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x102670a
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x10266ae
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret 0x14
Function at 0x1026e07
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x102b184]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.01026d9c
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.010108d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1026e56
cmp dword [ebp - 0x1c], 5
jb 0x1026e6e
jmp 0x1026e6a
cmp dword [ebp - 0x10], 1
jne 0x1026e6e
cmp dword [ebp - 0x1c], 4
ja 0x1026e6a
jne 0x1026e6e
cmp dword [ebp - 0x18], 0
jbe 0x1026e6e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1005e68
call fcn.0100c366
test eax, eax
jge 0x1026e8f
mov byte [0x102c780], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.010107a9
add ebp, 0x78
leave
ret

Function at 0x1027041
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x102d548], 0
push esi
jne 0x1026fb4
call fcn.01026edf
test eax, eax
je 0x1026ff7
mov eax, dword [0x102d548]
cmp eax, 1
jne 0x1026fd5
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1026ff7
pop esi
ret
push eax
call dword [0x102d550]
test eax, eax
jne 0x102703f
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1026ffb
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x102d548]
call dword [0x102d550]
mov edi, eax
test edi, edi
je 0x1027022
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x102703e
lea edi, [esi + 0xff0]
push esi
push dword [0x102d548]
call dword [0x102d54c]
add esi, 0x10
cmp esi, edi
jb 0x1027028
mov eax, esi
pop edi
pop esi
ret
jmp 0x1026fa1
Function at 0x1027105
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
mov dword [ebp - 4], esi
call fcn.010270b6
test eax, eax
je 0x1027158
push 0x10063c8
call dword [0x102c688]
cmp eax, esi
je 0x1027139
push 0x10063b0
push eax
call dword [0x102c66c]
cmp eax, esi
jne 0x1027145
mov dword [ebp - 8], 0x8000ffff
jmp 0x10271e3
lea ecx, [ebp - 4]
push ecx
push esi
push 0x8000
push 0x1006414
call eax
jmp 0x1027175
push 0x208
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
push eax
push esi
push esi
push 0x801c
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
mov dword [ebp - 8], eax
jl 0x10271e3
mov eax, dword [ebp - 4]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1027182
push ebx
sub eax, edx
sar eax, 1
push edi
mov ebx, eax
lea esi, [ebx + 0x16]
push esi
push 0
lea edi, [esi + 1]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x10271b3
mov dword [ebp - 8], 0x8007000e
jmp 0x10271e1
push ebx
push dword [ebp - 4]
push edi
push eax
call fcn.01010e7e
push 0x16
push 0x1006380
sub edi, ebx
push edi
mov edi, dword [ebp - 0xc]
lea eax, [edi + ebx*2]
push eax
call fcn.01010e7e
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
add esp, 0x20
mov dword [eax], esi
pop edi
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 8]
pop esi
leave
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x75736d1e
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x71754a8
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x406f97
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406fbb
xor eax, eax
test eax, eax
je 0x406fce
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406fce
xor ecx, ecx
jmp 0x406fd1
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a524]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4070f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x432a9c], 0
push esi
jne 0x40712b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407105
mov dword [ecx*4 + 0x432a98], eax
inc ecx
cmp ecx, 0x100
jl 0x407100
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40715c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x432a98]
xor eax, esi
inc ecx
dec edx
jne 0x40713e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x605c52c4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x533376f6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x404036
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
push ebx
push esi
push edi
push 0x401034
push ecx
lea eax, [ebp - 0x470]
push eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
call dword [0x411bf4]
xor eax, eax
mov word [ebp - 0x26a], ax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x404087
xor al, al
jmp 0x40426e
xor ebx, ebx
cmp word [ebp - 0x23c], 0x2e
jne 0x4040b7
cmp word [ebp - 0x23a], bx
je 0x404243
cmp word [ebp - 0x23a], 0x2e
jne 0x4040b7
cmp word [ebp - 0x238], bx
je 0x404243
test byte [ebp - 0x268], 0x10
je 0x404102
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x470]
push eax
call dword [0x411bf4]
mov esi, dword [ebp - 0x10]
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x404263
mov edx, esi
lea ecx, [ebp - 0x470]
call fcn.00404036
jmp 0x404243
push 0x411728
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [0x411740], ebx
jbe 0x404230
mov eax, dword [0x411744]
lea eax, [eax + edi*4]
cmp dword [eax], ebx
je 0x404197
cmp dword [ebp - 0x24c], ebx
jne 0x404197
push dword [eax]
lea eax, [ebp - 0x23c]
push eax
call dword [0x411c0c]
test eax, eax
je 0x404197
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x470]
push eax
call dword [0x411bf4]
mov esi, dword [ebp - 0x248]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x470]
push eax
mov eax, dword [0x411a6c]
push dword [eax + 0x180]
mov dword [ebp - 4], 4
push 0x80000001
mov dword [ebp - 0xc], ebx
call fcn.0040765c
test al, al
je 0x4041a9
cmp esi, dword [ebp - 0xc]
jne 0x4041a9
inc edi
cmp edi, dword [0x411740]
jb 0x40411b
jmp 0x404230
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x248]
mov eax, dword [0x411a6c]
push dword [eax + 0x184]
lea eax, [ebp - 0x678]
push 0x103
push eax
call dword [0x411bec]
add esp, 0x14
lea eax, [ebp - 0x678]
push eax
push ebx
lea eax, [ebp - 0x470]
push eax
call fcn.00410b69
test al, al
je 0x40421b
mov eax, dword [ebp - 0x248]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x470]
push eax
mov eax, dword [0x411a6c]
push dword [eax + 0x180]
push 0x80000001
call fcn.004076a5
mov eax, dword [ebp - 0x10]
push 0x2710
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x404263
push 0x411728
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push 0x14
call dword [sym.imp.kernel32.dll_Sleep]
cmp dword [0x411740], ebx
jbe 0x404263
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x404089
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_FindClose]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404b2b
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
push ebx
push esi
push edi
push 0x401034
mov esi, ecx
push esi
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 8], edx
xor ebx, ebx
call dword [0x411bf4]
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
test edi, edi
je 0x404c16
lea eax, [ebp - 0x438]
call fcn.0040dfab
test al, al
jne 0x404bf9
lea eax, [ebp - 0x438]
push eax
push esi
lea eax, [ebp - 0x214]
push eax
call dword [0x411bf4]
lea eax, [ebp - 0x438]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x66c]
push eax
call dword [0x411bf4]
test byte [ebp - 0x464], 0x10
je 0x404bcc
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00404b2b
add ebx, eax
jmp 0x404bf9
push dword [ebp - 8]
lea eax, [ebp - 0x438]
push eax
call dword [0x411c0c]
test eax, eax
je 0x404bf9
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x214]
push eax
push eax
call fcn.00410b69
test al, al
je 0x404bf9
inc ebx
lea eax, [ebp - 0x464]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x404b6f
push edi
call dword [sym.imp.kernel32.dll_FindClose]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x40585e
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push edi
push 0
push 2
xor bl, bl
mov dword [ebp - 0x22c], 0x22c
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.kernel32.dll_Process32FirstW]
test eax, eax
je 0x4058e1
push esi
xor esi, esi
cmp dword [ebp - 0x224], esi
je 0x4058ce
mov ecx, dword [0x411a6c]
movzx eax, si
movzx eax, word [eax*2 + 0x4019bc]
push dword [ecx + eax*4]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x4058cc
inc esi
cmp si, 5
jb 0x40589e
jmp 0x4058ce
mov bl, 1
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.kernel32.dll_Process32NextW]
test eax, eax
jne 0x405894
pop esi
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
mov al, bl
pop ebx
leave
ret