joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40df0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415048]
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.00409a75
and dword [ebp - 0x14], 0
cmp dword [0x416cac], 0
mov dword [ebp - 0x18], eax
jne 0x40dfbe
push 0x4122f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e066
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4122e4
push ebx
call edi
test eax, eax
je 0x40e066
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4122d4
push ebx
mov dword [0x416cac], eax
call edi
push eax
call esi
push 0x4122c0
push ebx
mov dword [0x416cb0], eax
call edi
push eax
call esi
push 0x4122a4
push ebx
mov dword [0x416cb4], eax
call edi
push eax
call esi
mov dword [0x416cbc], eax
test eax, eax
je 0x40dfbe
push 0x41228c
push ebx
call edi
push eax
call esi
mov dword [0x416cb8], eax
mov eax, dword [0x416cb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40e017
cmp dword [0x416cbc], ecx
je 0x40e017
push eax
call esi
push dword [0x416cbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40e017
test ebx, ebx
je 0x40e017
call edi
test eax, eax
je 0x40e00e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40e00e
test byte [ebp - 8], 1
jne 0x40e017
or dword [ebp + 0x10], 0x200000
jmp 0x40e04a
mov eax, dword [0x416cb0]
cmp eax, dword [ebp - 0x18]
je 0x40e04a
push eax
call esi
test eax, eax
je 0x40e04a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e04a
mov eax, dword [0x416cb4]
cmp eax, dword [ebp - 0x18]
je 0x40e04a
push eax
call esi
test eax, eax
je 0x40e04a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x416cac]
call esi
test eax, eax
je 0x40e066
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e068
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045a8
leave
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 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 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x7fc6532
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x678a3f71
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x100075f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100075ff
pop dword [ebp - 0x4c]
mov eax, 0xdd465222
sub eax, 0xcd45dc23
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x792c1d5b
sub dword [ebp - 0x5c], 0x2ad9d810
mov dword [ebp - 0x58], 0xb74b459c
sub dword [ebp - 0x58], 0x8517f957
mov dword [ebp - 0x54], 0xd8435b31
add dword [ebp - 0x54], 0x7408e8fd
mov dword [ebp - 0x50], 0x808c41a
add dword [ebp - 0x50], 0xf7f73be6
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x2a30810b
sub eax, 0x1a2ed0fb
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x28c6450a
sub dword [ebp - 0x5c], 0xb453dbb4
mov dword [ebp - 0x58], 0xd81c902e
add dword [ebp - 0x58], 0x694fd147
mov dword [ebp - 0x54], 0x62b13ba1
add dword [ebp - 0x54], 0xbe30cb
mov dword [ebp - 0x50], 0xe557b32d
sub dword [ebp - 0x50], 0xe557b32d
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x3fceaa68
add eax, 0xd03305ac
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3f27b
push 0
call eax
mov ecx, 0x813ba3fe
sub ecx, 0x813b584f
mov edi, eax
mov ebx, 0x1002b000
add ebx, dword [ebp - 0x4c]
mov esi, 0x3ad3d382
add dword [ebp - 0x20], 0xc462f008
mov edx, dword [ebx]
add dword [ebp - 0x18], 0x8f74e8e
add edx, esi
xor dword [ebp - 0x10], 0x77d119d3
mov dword [edi], edx
xor dword [ebp - 8], ecx
add edi, 4
add ebx, 0x6b2ea69
add ebx, 0xf94d159b
loop 0x10007715
add eax, 0x427db7fe
add eax, 0xbd836991
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x198f8404
add ecx, 0xf6707bfc
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
lea edi, [ebp - 0x10]
push ebx
mov ebx, eax
sub esp, 0x3c
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
mov dword [esp], 0xfffffff5
mov dword [ebp - 0x14], eax
call eax
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x401050
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [sym.imp.kernel32.dll_GetOEMCP]
mov dword [ebp - 0x28], ecx
call ecx
mov dword [esp + 0x1c], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [ebp - 0x20], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x18], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
sub esp, 0xc
test eax, eax
je 0x401048
mov ecx, dword [ebp - 0x28]
call ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov esi, dword [ebp - 0x14]
sub esp, 0x20
mov dword [esp], 0xfffffff5
call esi
mov edx, dword [ebp - 0x18]
sub esp, 4
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0x24]
sub esp, 0x14
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4021b0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x402220
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401580
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40596d
pop dword [ebp - 0x30]
mov eax, 0x2543363
sub eax, 0x213d9f6
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x9819cf64
add dword [ebp - 0x40], 0xb63875e7
mov dword [ebp - 0x3c], 0x1d5b1161
add dword [ebp - 0x3c], 0x14d83ae4
mov dword [ebp - 0x38], 0x67a99afb
sub dword [ebp - 0x38], 0x1b5d56cd
mov dword [ebp - 0x34], 0x692afa7d
sub dword [ebp - 0x34], 0x692afa7d
lea eax, [ebp - 0x40]
push eax
mov eax, 0x401d743e
add eax, 0xc022fc22
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xdbab8dbd
add dword [ebp - 0x40], 0x98c6db99
mov dword [ebp - 0x3c], 0x9c724854
add dword [ebp - 0x3c], 0xa4fa1921
mov dword [ebp - 0x38], 0x591c4e6
add dword [ebp - 0x38], 0x5ddda786
mov dword [ebp - 0x34], 0x815151ec
add dword [ebp - 0x34], 0x7eaeae14
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x33b6f
push 0
call eax
mov ecx, 0xb7a7a25a
sub ecx, 0xb7a7665c
mov edx, eax
mov edi, 0x1163d509
add edi, 0xeedd2af7
add edi, dword [ebp - 0x30]
mov esi, 0x93c1b986
sub esi, 0x81f57d2b
add dword [ebp - 0x24], esi
mov ebx, dword [edi]
add dword [ebp - 8], 0xdf5f82c1
sub ebx, esi
mov dword [edx], ebx
xor dword [ebp - 0x20], esi
add edx, 0x2c2edf5c
sub edx, 0x2c2edf58
add edi, 0x8540c666
add edi, 0x7abf399e
loop 0x405a8a
add eax, 0x2b00bf1f
sub eax, 0x2affdc54
mov ebx, eax
add eax, 5
mov ecx, 0x4c394d68
add ecx, 0xb406b298
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x1002f0dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x10086fd0
add byte [eax - 0x5225b], al
inc dword [eax]
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.10086449
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100863fe
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.10086439
invalid

Function at 0x1002f77b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x10072ed0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x100a58a0], 1
jge 0x10072f3f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x10072f15
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x10072f15
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x10072ef2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x10072f2b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x10072f32
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x1007303d
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movdqa xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x1007300e
mov eax, dword [ebx + 8]
movdqu xmm0, xmmword [eax]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10073003
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x10072ff7
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x10072ffe
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x1007303d
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x10073038
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x10073021
mov eax, dword [ebx + 8]
jmp 0x1007303d
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x1007302f
xor eax, eax
jmp 0x1007303d
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x10072f62
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1002fae1
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x10086a90
cmp eax, ebx
je 0x10086aed
add eax, esi
cmp dword [eax], ebx
je 0x10086aed
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10086ae8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10086ad2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10086ada
cmp edx, ebx
jne 0x10086c28
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10086aa9
add eax, dword [eax + 4]
jmp 0x10086a96
mov dword [ebp + 0xc], ebx
jmp 0x10086af8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10086b10
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10086b2e
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
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10086b8c
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 0x10086b73
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10086b7c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10086b86
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10086b68
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10086af2
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 0x10086bd9
dec eax
je 0x10086bd0
sub eax, 3
je 0x10086bc7
mov dword [ebp - 4], 0x40
jmp 0x10086bf6
mov dword [ebp - 4], 4
jmp 0x10086bdc
mov dword [ebp - 4], 0x20
jmp 0x10086bdc
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 0x10086c28
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10086ba8
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10086439
fist dword [edx]
sub byte [ebx - 1], cl
jne 0x10086c33
push 1
push esi
call edi
mov eax, esi
jmp 0x10086c34
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10087ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebx]
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.10086449
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.100863aa
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x100883b1
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x402ee4
pop dword [ebp - 0x28]
mov eax, 0x552d694e
add eax, 0xab12c596
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xd037561d
sub dword [ebp - 0x38], 0x81e510d2
mov dword [ebp - 0x34], 0x655b90c3
add dword [ebp - 0x34], 0xccd7bb82
mov dword [ebp - 0x30], 0x1eba76c4
add dword [ebp - 0x30], 0x2d91cd6a
mov dword [ebp - 0x2c], 0xb103404a
sub dword [ebp - 0x2c], 0xb103404a
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xe92a98f9
add dword [ebp - 0x38], 0x8b47d05d
mov dword [ebp - 0x34], 0xd3412f28
sub dword [ebp - 0x34], 0x91d4cdb3
mov dword [ebp - 0x30], 0x7dd787a7
sub dword [ebp - 0x30], 0x1a681b3b
mov dword [ebp - 0x2c], 0x3ab0d1c6
add dword [ebp - 0x2c], 0xc54f2e3a
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x53fad787
add eax, 0xac45a979
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x375bf
push 0
call eax
mov ecx, 0x494b
xor edx, edx
add edx, eax
mov edi, 0xae43f57b
sub edi, 0xadfd117b
add edi, dword [ebp - 0x28]
mov esi, 0x8b61995c
sub dword [ebp - 0x10], edi
mov ebx, dword [edi]
xor dword [ebp - 0x14], esi
add ebx, esi
xor dword [ebp - 8], esi
mov dword [edx], ebx
sub dword [ebp - 0x14], 0x9f09b4b1
add edx, 4
add edi, 0xfdf8132b
sub edi, 0xfdf81327
loop 0x402ff7
add eax, 0xfbb5add
add eax, 0xf045bd22
mov ebx, eax
add eax, 0xc10ed8cc
add eax, 0x3ef12739
mov ecx, 0xf62af260
sub ecx, 0xf5eaf260
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401c66
pop dword [ebp - 0x48]
mov eax, 0x78e924c1
add eax, 0x8756f7a5
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xb8246cf0
sub dword [ebp - 0x58], 0x69d227a5
mov dword [ebp - 0x54], 0x3ea9760d
sub dword [ebp - 0x54], 0xc7629c8
mov dword [ebp - 0x50], 0xa2d9d20b
add dword [ebp - 0x50], 0xa9727223
mov dword [ebp - 0x4c], 0xb0bbb1b9
add dword [ebp - 0x4c], 0x4f444e47
lea eax, [ebp - 0x58]
push eax
mov eax, 0xe798364c
sub eax, 0xe75805f8
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x480e6d6c
sub dword [ebp - 0x58], 0xd39c0416
mov dword [ebp - 0x54], 0x17068c41
sub dword [ebp - 0x54], 0xd59a2acc
mov dword [ebp - 0x50], 0x25a0f009
sub dword [ebp - 0x50], 0xc231839d
mov dword [ebp - 0x4c], 0x66b79de9
add dword [ebp - 0x4c], 0x99486217
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x6c146a22
sub eax, 0x6bd439f6
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x37eaa
push 0
call eax
mov ecx, 0x4dbe
mov esi, eax
mov edx, 0x407000
add edx, dword [ebp - 0x48]
mov edi, 0x6739e781
add edi, 0x4ef6b4c6
add dword [ebp - 0x18], 0xba4e4841
mov ebx, dword [edx]
add dword [ebp - 0x30], 0x8d466b4a
add ebx, edi
xor dword [ebp - 0x20], edi
mov dword [esi], ebx
add esi, 0xd2751add
add esi, 0x2d8ae527
add edx, 0xa190a5d
add edx, 0xf5e6f5a7
loop 0x401d7c
add eax, 0x53277f57
add eax, 0xacd9aa74
mov ebx, eax
add eax, 0x7b388061
sub eax, 0x7b38805c
mov ecx, 0x4d410dc0
sub ecx, 0x4d010dc0
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
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 0x403e8d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov ch, 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
inc ebp
mov bh, 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00403c01
movsb byte es:[edi], byte [esi]
jle 0x403e95
sub eax, 0x50a8458d
call fcn.00403c11
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00403bc6
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 0x403eef
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.00403c01
jns 0x403f5a
pop ss
mov cl, byte [ebp - 0x17af3fbb]
invalid
test dword [eax - 1], edi
invalid