joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2a80d983
Capabilities:
Write file on windows

Disassembly:
push 0x74
mov eax, 0x2a84c87d
call fcn.2a8015aa
mov edi, ecx
cmp dword [edi + 4], 0xffffffff
je 0x2a80dabd
xor ebx, ebx
lea eax, [ebp - 0x30]
push 0x14
push ebx
push eax
mov dword [ebp - 0x10], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_CreateEventA]
mov esi, eax
mov dword [ebp - 0x14], esi
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], ebx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
cmp esi, 0xffffffff
jne 0x2a80d9ff
push ebx
push esi
push str.Failed_to_create_connection
lea ecx, [ebp - 0x48]
call fcn.2a801558
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x64]
call fcn.2a837aa7
push 0x2a85b040
jmp 0x2a80daca
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x2a80da54
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x2a80da6a
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
sub eax, ebx
je 0x2a80da41
sub eax, 1
jne 0x2a80d9ff
jmp 0x2a80dabd
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_GetOverlappedResult]
push esi
mov dword [ebp - 4], 3
call dword [sym.imp.kernel32.dll_CloseHandle]
call fcn.2a80187a
ret 8
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xe8
je 0x2a80daae
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xe9
je 0x2a80daae
push ebx
push 0xffffffffffffffff
push str.Connection_Closed
lea ecx, [ebp - 0x48]
call fcn.2a801558
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x80]
call fcn.2a837aa7
push 0x2a85b040
lea eax, [ebp - 0x80]
jmp 0x2a80dacd
lea ecx, [ebp - 0x80]
call fcn.2a80ceef
push 0x2a85b05c
jmp 0x2a80daa9
lea ecx, [ebp - 0x64]
call fcn.2a80ceef
push 0x2a85b05c
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x2a8209c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [0x2a8662e0]
lea eax, [ebp - 4]
push eax
mov eax, dword [0x2a8662f4]
xor ebx, ebx
and dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2a8523cc]
call esi
pop ecx
movzx eax, ax
push eax
mov eax, dword [0x2a8662e0]
push dword [ebp + 8]
mov esi, dword [eax + 0x54]
mov ecx, esi
call dword [0x2a8523cc]
call esi
mov esi, dword [edi + 0x168]
mov ecx, esi
push eax
call dword [0x2a8523cc]
call esi
mov eax, dword [0x2a8662e0]
add esp, 0x10
mov esi, dword [eax + 0x170]
mov ecx, esi
push dword [ebp - 4]
call dword [0x2a8523cc]
call esi
pop ecx
test eax, eax
je 0x2a820acc
test byte [ebp + 0xc], 1
je 0x2a820aa1
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x2a820aa1
mov ebx, esi
test esi, esi
je 0x2a820aa1
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ecx, dword [ebp - 8]
xor edx, edx
or edx, eax
or ecx, edi
mov dword [ebp - 0x10], ecx
ja 0x2a820a8a
cmp edx, 0x7fffffff
jbe 0x2a820aa1
mov edi, dword [ebp - 0xc]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x2a8523cc]
mov ecx, edi
call esi
xor ebx, ebx
mov edi, dword [0x2a8662e0]
push dword [ebp - 4]
mov esi, dword [edi + 0x54]
mov ecx, esi
call dword [0x2a8523cc]
call esi
mov esi, dword [edi + 0x16c]
mov ecx, esi
push eax
call dword [0x2a8523cc]
call esi
pop ecx
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x2a82cc8b
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x2a84f345
call fcn.2a8015aa
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edi
cmp dword [edi + 0x14], 0x10
jb 0x2a82ccad
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], esi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
mov byte [esi], cl
push ecx
mov eax, ebx
mov dword [ebp - 4], ecx
shl eax, 2
push 3
pop ecx
cdq
idiv ecx
mov dword [ebp - 0x1c], 1
add eax, ecx
mov ecx, esi
push eax
call fcn.2a837aa7
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x2a82ccef
mov edx, dword [esi]
xor ecx, ecx
test ebx, ebx
jle 0x2a82cda0
mov esi, dword [ebp - 0x14]
movzx eax, byte [esi + ecx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov bl, byte [esi + ecx]
and bl, 3
shl bl, 4
inc ecx
cmp ecx, dword [ebp - 0x10]
jge 0x2a82cd22
mov al, byte [esi + ecx]
shr al, 4
or bl, al
movzx eax, bl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x10]
cmp ecx, eax
jge 0x2a82cd63
cmp dword [edi + 0x14], 0x10
mov ebx, edi
jb 0x2a82cd3f
mov ebx, dword [edi]
mov bl, byte [ebx + ecx]
and bl, 0xf
shl bl, 2
inc ecx
cmp ecx, eax
jge 0x2a82cd55
mov al, byte [esi + ecx]
shr al, 6
or bl, al
movzx eax, bl
mov bl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [ebp - 0x10]
jmp 0x2a82cd65
mov bl, 0x3d
lea esi, [edx + 3]
mov byte [edx + 2], bl
mov dword [ebp - 0x18], esi
mov edx, esi
mov esi, dword [ebp - 0x14]
inc edx
cmp ecx, eax
jge 0x2a82cd8a
movzx eax, byte [esi + ecx]
and eax, 0x3f
mov bl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [ebp - 0x10]
jmp 0x2a82cd8c
mov bl, 0x3d
mov esi, dword [ebp - 0x18]
inc ecx
mov byte [esi], bl
mov esi, dword [ebp - 0x14]
cmp ecx, eax
jl 0x2a82ccfc
mov esi, dword [ebp - 0x20]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x2a82cdaa
mov eax, dword [esi]
push 0
sub edx, eax
mov ecx, esi
push edx
call fcn.2a837aa7
mov eax, esi
call fcn.2a80187a
ret

Function at 0x2a82f2c5
Capabilities:
Get hostname

Disassembly:
push 0x448
mov eax, 0x2a84f81b
call fcn.2a84a907
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
mov edi, 0x400
mov dword [ebp - 0x450], esi
push edi
xor ebx, ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x410]
push edi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x2a82f329
lea eax, [ebp - 0x410]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.2a805678
mov eax, esi
call fcn.2a84a8e5
ret
push 0x93
lea ecx, [ebp - 0x454]
call fcn.2a837aa7
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], ebx
push ecx
mov ecx, eax
call fcn.2a827d86
push eax
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 1
call fcn.2a821de4
push 0x2a85dc48
lea eax, [ebp - 0x434]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x2a837aa7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x2a837ab6
pop dword [ebp - 0xc]
mov eax, 0x2a837ab6
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x931894e8
sub dword [ebp - 0x1c], 0x44c64f9d
mov dword [ebp - 0x18], 0xae34a106
add dword [ebp - 0x18], 0x83feab3f
mov dword [ebp - 0x14], 0xa6ae024d
add dword [ebp - 0x14], 0xa59e41e1
mov dword [ebp - 0x10], 0x40d7cf24
sub dword [ebp - 0x10], 0x40d7cf24
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x5d477237
sub dword [ebp - 0x1c], 0xe8d508e1
mov dword [ebp - 0x18], 0xc2a97151
sub dword [ebp - 0x18], 0x813d0fdc
mov dword [ebp - 0x14], 0x908c76ce
add dword [ebp - 0x14], 0xd2e2f59e
mov dword [ebp - 0x10], 0x43ede15f
add dword [ebp - 0x10], 0xbc121ea1
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x7167f9ae
sub eax, 0x46e2d872
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x46b90
push 0
call eax
mov ecx, 0xd3b69d5e
add ecx, 0x2c499cc6
mov edi, eax
mov edx, 0x827eb927
add edx, 0xa80930d9
add edx, dword [ebp - 0xc]
mov esi, 0x2a930aec
sub esi, 0xadd73fa4
xor dword [ebp - 4], ebx
mov ebx, dword [edx]
add dword [ebp - 8], 0x21308272
add ebx, esi
xor dword [ebp - 4], eax
mov dword [edi], ebx
add dword [ebp - 8], edi
add edi, 0xcfb9b785
sub edi, 0xcfb9b781
add edx, 0xdd1d5cb5
sub edx, 0xdd1d5cb1
loop 0x2a837bce
add eax, 0xaa0f3b2a
add eax, 0x55f1a039
mov ebx, eax
add eax, 5
mov ecx, 0x99e3985b
add ecx, 0x909c67a5
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x2a84a76f
Capabilities:
Create process on windows

Disassembly:
push 0x48
mov eax, 0x2a851e75
call fcn.2a8015aa
mov edi, ecx
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push 0x10
mov dword [ebp - 0x54], esi
call fcn.2a837aa7
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x2a84a7b4
push 0x10
push ebx
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x2a84a7b6
mov esi, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [edi + 0x24], esi
call fcn.2a849b77
push dword [edi + 0x24]
lea ecx, [ebp - 0x54]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
call fcn.2a80187a
ret
Function at 0x401500
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov byte [ebp - 0x24], 0xbe
mov byte [ebp - 0x23], 0x44
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x22
mov byte [ebp - 0x20], 0x11
mov byte [ebp - 0x1f], 0x6a
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x1d], 0x68
mov byte [ebp - 0x1c], 0x44
mov byte [ebp - 0x1b], 0x33
mov byte [ebp - 0x1a], 0x22
mov byte [ebp - 0x19], 0x11
mov byte [ebp - 0x18], 0xcb
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x48
mov byte [ebp - 0x15], 0x8b
mov byte [ebp - 0x14], 4
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x60
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0x67
mov byte [ebp - 0xd], 0x48
mov byte [ebp - 0xc], 0x89
mov byte [ebp - 0xb], 6
mov byte [ebp - 0xa], 0x6a
mov byte [ebp - 9], 0x23
mov byte [ebp - 8], 0x68
mov byte [ebp - 7], 0x44
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x22
mov byte [ebp - 4], 0x11
mov byte [ebp - 3], 0x48
mov byte [ebp - 2], 0xcb
mov byte [ebp - 1], 0xc3
cmp dword [0x4031d4], 0
jne 0x4015d2
push 0x40
push 0x3000
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4031d4], eax
push 0
push 0x24
lea eax, [ebp - 0x24]
xor ecx, ecx
push ecx
push eax
mov edx, dword [0x4031d4]
xor eax, eax
push eax
push edx
call fcn.00401ac0
add esp, 0x18
mov ecx, dword [0x4031d4]
mov edx, dword [ebp + 8]
mov dword [ecx + 1], edx
mov eax, dword [0x4031d4]
add eax, 0xd
mov ecx, dword [0x4031d4]
mov dword [ecx + 8], eax
mov edx, dword [0x4031d4]
add edx, 0x23
mov eax, dword [0x4031d4]
mov dword [eax + 0x1d], edx
call dword [0x4031d4]
mov esp, ebp
pop ebp
ret
Function at 0x4018c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 4
jae 0x4018d9
mov dword [ebp + 0x10], 4
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
je 0x4018f2
mov dword [ebp - 8], 8
jmp 0x4018f9
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [ebp - 1], dl
cmp dword [0x4031d8], 0
jne 0x40193d
push 0x40
push 0x3000
push 0x7a
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4031d8], eax
push 0
push 0x7a
mov eax, str.j3hD3_
xor ecx, ecx
push ecx
push eax
mov edx, dword [0x4031d8]
xor eax, eax
push eax
push edx
call fcn.00401ac0
add esp, 0x18
mov ecx, dword [0x4031d8]
add ecx, 8
mov edx, dword [0x4031d8]
mov dword [edx + 3], ecx
mov eax, dword [0x4031d8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x14], cl
cmp dword [ebp + 0x10], 4
jbe 0x40196b
mov edx, dword [ebp + 0x10]
sub edx, 4
mov dword [ebp - 0xc], edx
jmp 0x401972
mov dword [ebp - 0xc], 0
mov eax, dword [0x4031d8]
mov cl, byte [ebp - 0xc]
mov byte [eax + 0x1b], cl
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx*8 - 8]
mov edx, dword [0x4031d8]
mov dword [edx + 0x22], ecx
mov eax, dword [0x4031d8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x53], ecx
mov dword [eax + 0x57], edx
cmp dword [ebp + 0x10], 4
jbe 0x4019b6
mov eax, dword [ebp + 0x10]
lea ecx, [eax*8 - 0x20]
mov dword [ebp - 0x10], ecx
jmp 0x4019bd
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
add edx, 0x20
mov eax, dword [0x4031d8]
mov byte [eax + 0x60], dl
mov ecx, dword [0x4031d8]
lea edx, [ebp - 0x1c]
mov dword [ecx + 0x68], edx
mov eax, dword [0x4031d8]
add eax, 0x79
mov ecx, dword [0x4031d8]
mov dword [ecx + 0x73], eax
call dword [0x4031d8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x401ac0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov byte [ebp - 0x3c], 0x6a
mov byte [ebp - 0x3b], 0x33
mov byte [ebp - 0x3a], 0x68
mov byte [ebp - 0x39], 0x44
mov byte [ebp - 0x38], 0x33
mov byte [ebp - 0x37], 0x22
mov byte [ebp - 0x36], 0x11
mov byte [ebp - 0x35], 0xcb
mov byte [ebp - 0x34], 0x56
mov byte [ebp - 0x33], 0x57
mov byte [ebp - 0x32], 0x48
mov byte [ebp - 0x31], 0xbe
mov byte [ebp - 0x30], 0x88
mov byte [ebp - 0x2f], 0x77
mov byte [ebp - 0x2e], 0x66
mov byte [ebp - 0x2d], 0x55
mov byte [ebp - 0x2c], 0x44
mov byte [ebp - 0x2b], 0x33
mov byte [ebp - 0x2a], 0x22
mov byte [ebp - 0x29], 0x11
mov byte [ebp - 0x28], 0x48
mov byte [ebp - 0x27], 0xbf
mov byte [ebp - 0x26], 0x88
mov byte [ebp - 0x25], 0x77
mov byte [ebp - 0x24], 0x66
mov byte [ebp - 0x23], 0x55
mov byte [ebp - 0x22], 0x44
mov byte [ebp - 0x21], 0x33
mov byte [ebp - 0x20], 0x22
mov byte [ebp - 0x1f], 0x11
mov byte [ebp - 0x1e], 0x48
mov byte [ebp - 0x1d], 0xb9
mov byte [ebp - 0x1c], 0x88
mov byte [ebp - 0x1b], 0x77
mov byte [ebp - 0x1a], 0x66
mov byte [ebp - 0x19], 0x55
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x17], 0x33
mov byte [ebp - 0x16], 0x22
mov byte [ebp - 0x15], 0x11
mov byte [ebp - 0x14], 0xf3
mov byte [ebp - 0x13], 0xa4
mov byte [ebp - 0x12], 0x5f
mov byte [ebp - 0x11], 0x5e
mov byte [ebp - 0x10], 0x6a
mov byte [ebp - 0xf], 0x23
mov byte [ebp - 0xe], 0x68
mov byte [ebp - 0xd], 0x44
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x22
mov byte [ebp - 0xa], 0x11
mov byte [ebp - 9], 0x48
mov byte [ebp - 8], 0xcb
mov byte [ebp - 7], 0xc3
cmp dword [0x4031d0], 0
jne 0x401be9
push 0x40
push 0x3000
push 0x36
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4031d0], eax
mov dword [ebp - 4], 0
jmp 0x401bcf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x36
jae 0x401be9
mov ecx, dword [0x4031d0]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx - 0x3c]
mov byte [ecx], al
jmp 0x401bc6
mov ecx, dword [0x4031d0]
add ecx, 8
mov edx, dword [0x4031d0]
mov dword [edx + 3], ecx
mov eax, dword [0x4031d0]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [0x4031d0]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x16], ecx
mov dword [eax + 0x1a], edx
mov eax, dword [0x4031d0]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov eax, dword [0x4031d0]
add eax, 0x35
mov ecx, dword [0x4031d0]
mov dword [ecx + 0x2f], eax
call dword [0x4031d0]
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
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 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
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 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x40153f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x134]
sub esp, 0x154
mov dword [ebp - 0x134], 0
mov dword [esp], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea ebx, [ebp - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x40162d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040153f
test eax, eax
jne 0x4016c7
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40215e
sub eax, 0x4016fc
mov dword [esp], 0x4016fc
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4016c7
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401442
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014c9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401e61
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

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

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