joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4242d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406afc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a040
mov edi, eax
cmp edi, 0x104
jbe 0x42427f
mov eax, edi
add eax, eax
call fcn.0040464c
mov esi, eax
jmp 0x424281
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a040
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4242bc
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4242a6
mov eax, esp
cmp esi, eax
je 0x4242c9
mov eax, esi
call fcn.00404668
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x424304
cmp bl, 0
je 0x424300
cmp bl, 0x41
jl 0x4242fb
cmp bl, 0x5a
jg 0x4242fb
or bl, 0x20
xor al, bl
inc esi
jmp 0x4242df
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x424240

Function at 0x4245d8
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004072c0
add esp, 0x800
pop ebx
ret

Function at 0x424920
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00406610
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00407214
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x424965
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040677c
jmp 0x42497e
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040732c
push ebx
mov eax, dword [esi]
call fcn.00407214
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x427e70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetEnvironmentStringsW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x427ec5
xor eax, eax
push ebp
push 0x427ebe
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0042bec0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427ec5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsW
ret
movzx eax, byte [ebp - 1]
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x427f40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406610
test esi, esi
jne 0x427f7f
push 0x105
lea eax, [ebp - 0x20a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW_1
mov ecx, eax
lea edx, [ebp - 0x20a]
mov eax, ebx
call fcn.0040677c
jmp 0x427f9d
call sub.kernel32.dll_GetCommandLineW_1
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00427db0
mov edi, eax
test esi, esi
je 0x427f9d
cmp dword [ebx], 0
je 0x427f9d
dec esi
jmp 0x427f86
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427fb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428109
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [esi], eax
test ebx, ebx
je 0x4280ee
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406a1c
mov eax, dword [ebp - 4]
cmp word [eax], 0x22
je 0x428012
push 0x428128
push dword [ebp - 4]
push 0x428128
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040748c
lea eax, [ebp - 8]
push eax
mov ecx, 0x428138
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0042ba20
mov eax, dword [ebp - 8]
call fcn.00407214
mov ebx, eax
lea eax, [ebp - 0x58]
mov edx, 0x44
call fcn.0042b0a0
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 1
lea eax, [ebp - 0x68]
mov edx, 0x10
call fcn.0042b0a0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4280ee
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4280e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
jne 0x4280aa
call fcn.00405dfc
jmp 0x4280ee
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x4280c7
call fcn.00405dfc
jmp 0x4280ee
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4280ee
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428110
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406670
ret

Function at 0x4283b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407214
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4283d0
test al, 0x10
sete al
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x428410
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
call fcn.00407214
mov edi, eax
push edi
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x428467
push edi
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x428467
test edi, 1
je 0x428467
and edi, 0xfffffffe
push edi
mov eax, esi
call fcn.00407214
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesW
push ebx
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x428470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407214
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x428494
test eax, 0x10
seta al
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x429550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x10], edi
test edi, edi
jne 0x42957e
push ebp
call fcn.004294a0
pop ecx
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_LoadResource
mov edi, eax
mov dword [ebx + 0x14], edi
test edi, edi
jne 0x429598
push ebp
call fcn.004294a0
pop ecx
mov edi, ebx
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_SizeofResource
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x42b0b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
add esp, 0xffffffc8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
mov edi, dword [esp + 4]
test edi, edi
jle 0x42b22b
mov eax, 0x42b238
mov dword [esp + 8], eax
movzx eax, word [esi]
mov edx, dword [esp + 8]
cmp ax, 0xff
ja 0x42b0e6
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0xc], al
cmp byte [esp + 0xc], 0
je 0x42b0f8
mov al, 1
jmp 0x42b120
mov eax, 0x42b258
mov dword [esp + 0x10], eax
movzx eax, word [esi]
mov edx, dword [esp + 0x10]
cmp ax, 0xff
ja 0x42b114
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x14], al
movzx eax, byte [esp + 0x14]
test al, al
je 0x42b128
mov dl, 1
jmp 0x42b18c
mov eax, 0x42b238
mov dword [esp + 0x18], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x18]
cmp ax, 0xff
ja 0x42b145
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x1c], al
cmp byte [esp + 0x1c], 0
je 0x42b15a
mov byte [esp + 0x25], 1
jmp 0x42b187
mov eax, 0x42b258
mov dword [esp + 0x20], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x20]
cmp ax, 0xff
ja 0x42b177
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x25], al
movzx edx, byte [esp + 0x25]
test dl, dl
jne 0x42b22b
mov eax, 0x42b278
mov dword [esp + 0x28], eax
movzx eax, word [esi]
mov edx, dword [esp + 0x28]
cmp ax, 0xff
ja 0x42b1b0
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x2c], al
cmp byte [esp + 0x2c], 0
jne 0x42b1c5
mov byte [esp + 0x35], 1
jmp 0x42b1f4
mov eax, 0x42b278
mov dword [esp + 0x30], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x30]
cmp ax, 0xff
ja 0x42b1e2
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x34], al
movzx eax, byte [esp + 0x34]
xor al, 1
mov byte [esp + 0x35], al
cmp byte [esp + 0x35], 0
jne 0x42b22b
movzx eax, byte [esi]
movzx eax, word [eax*2 + 0x5d9ef8]
shl eax, 4
movzx edx, byte [esi + 2]
movzx edx, word [edx*2 + 0x5d9ef8]
add al, dl
mov edx, dword [esp]
mov byte [edx], al
inc dword [esp]
add esi, 4
dec edi
test edi, edi
jg 0x42b0ca
mov eax, dword [esp + 4]
sub eax, edi
add esp, 0x38
pop edi
pop esi
ret
Function at 0x42e500
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov word [ebp - 0x12], dx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
mov dword [ebp - 8], eax
movzx edx, word [ebp - 0x12]
mov eax, dword [ebp - 0x10]
call fcn.0041d72c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42e5ea
mov ax, word [ebp - 0x12]
and ax, 0xf
cmp ax, 2
jne 0x42e555
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x20], 1
jmp 0x42e563
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], 4
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42e58a
push ebp
call fcn.0042e4a0
pop ecx
jmp 0x42e5ea
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42e5af
push ebp
call fcn.0042e4a0
pop ecx
jmp 0x42e5ea
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x42e5cc
push ebp
call fcn.0042e4a0
pop ecx
jmp 0x42e5ea
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x42e25c]
call fcn.0042ea50
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x42f040
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0
push 0x40
push 0x1000
push 0x228
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42f1a9
lea eax, [ebp - 0x248]
mov edx, 0x228
call fcn.0042b0a0
mov byte [ebp - 0x248], 0x68
mov eax, dword [ebp - 4]
add eax, 0x1e
mov dword [ebp - 0x247], eax
mov word [ebp - 0x243], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x16
mov dword [ebp - 0x241], eax
mov byte [ebp - 0x23d], 0x68
xor eax, eax
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x238], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x1a
mov dword [ebp - 0x236], eax
push 0x42f1b0
mov eax, dword [0x5dd244]
mov eax, dword [eax]
push eax
call fcn.0040b48c
mov dword [ebp - 0x232], eax
push 0x42f1cc
mov eax, dword [0x5dd244]
mov eax, dword [eax]
push eax
call fcn.0040b48c
mov dword [ebp - 0x22e], eax
mov eax, dword [ebp - 0xc]
call fcn.00406ae4
add eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x42f12c
mov eax, dword [ebp - 0xc]
call fcn.00407214
lea edx, [ebp - 0x22a]
mov ecx, dword [ebp - 0x14]
call fcn.00404860
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x228
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x42f1a9
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42f1a9
xor eax, eax
push ebp
push 0x42f1a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f1a9
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x42f1f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x42f28c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
jne 0x42f28c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3c]
add dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0x4550
jne 0x42f28c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x42f28c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp word [eax + 0x18], 0x10b
jne 0x42f28c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 4], eax
pop ecx
pop ebp
ret

Function at 0x4301d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x430238
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x430238
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x430238
mov eax, dword [ebp - 4]
call fcn.0042e3b0
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
call fcn.0042e3d0
mov dword [ebp - 8], eax
push 0xf8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x430233
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x430238
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x430240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4302a8
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x4302a8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x4302a8
mov eax, dword [ebp - 4]
call fcn.0042e3b0
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
call fcn.0042e3d0
mov dword [ebp - 8], eax
push 0x108
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4302a3
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x4302a8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x440030
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x11], 0
je 0x440053
mov eax, dword [ebp - 8]
call fcn.00407214
push eax
call sub.kernel32.dll_OutputDebugStringW
pop ecx
pop ecx
pop ebp
ret
Function at 0x4402a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4402d5
cmp dword [ebp - 0x108], 2
jne 0x4402d5
cmp dword [ebp - 0x114], 6
jae 0x4402d9
xor eax, eax
jmp 0x4402db
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4402f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x49]
mov edx, 0x3c
call fcn.0042b0a0
mov dword [ebp - 0x49], 0x3c
xor eax, eax
mov dword [ebp - 0x45], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x41], eax
mov eax, dword [ebp - 0xc]
call fcn.00407214
mov dword [ebp - 0x39], eax
mov eax, dword [ebp + 0xc]
call fcn.00407214
mov dword [ebp - 0x35], eax
mov eax, dword [ebp + 8]
call fcn.00407214
mov dword [ebp - 0x31], eax
mov dword [ebp - 0x2d], 1
mov eax, dword [ebp - 4]
call fcn.00407214
mov dword [ebp - 0x3d], eax
lea eax, [ebp - 0x49]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8

Function at 0x440f30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x440
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.00407214
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00407214
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.00407214
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
call fcn.00407214
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
cmp dword [ebp - 0x2c], 0x20
jbe 0x440fc3
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x440fcb
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x440fe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00440ec0
push eax
mov eax, dword [ebp + 0x10]
call fcn.00440ec0
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407214
push eax
mov eax, dword [ebp - 8]
call fcn.00407214
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x441160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4411de
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00425860
test al, al
je 0x4411c0
push ebp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00441110
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004069d4
push ebp
lea eax, [ebp - 0xc]
call fcn.00441070
pop ecx
jmp 0x4411c8
mov eax, dword [ebp - 8]
call fcn.00406610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4411e5
lea eax, [ebp - 0x10]
call fcn.00406610
ret

Function at 0x4448c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x4448fe
and ax, 0x3ff
xor ax, 0xdc00
mov edx, dword [ebp - 4]
mov word [edx], ax
xor eax, eax
mov dword [esi + 0x40034], eax
mov byte [ebp - 5], 1
jmp 0x444a2b
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00445c90
test al, al
je 0x444a2b
cmp byte [ebp - 6], 0x80
jae 0x44492e
movzx eax, byte [ebp - 6]
mov edx, dword [ebp - 4]
mov word [edx], ax
mov byte [ebp - 5], 1
jmp 0x444a2b
mov edi, 1
movzx eax, byte [ebp - 6]
mov dword [esi + 0x40034], eax
movzx eax, byte [ebp - 6]
mov byte [ebp - 7], al
mov bl, 0x40
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0xc0
jne 0x444a2b
jmp 0x4449ca
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00445c90
test al, al
jne 0x44497a
mov edx, 0x444a44
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x444a2b
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0x80
je 0x444995
mov edx, 0x444a44
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x444a2b
movzx eax, byte [ebp - 6]
and al, 0x3f
movzx eax, al
mov edx, dword [esi + 0x40034]
shl edx, 6
or eax, edx
mov dword [esi + 0x40034], eax
inc edi
cmp edi, 6
jle 0x4449c3
mov edx, 0x444a44
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x444a2b
movzx eax, bl
shr eax, 1
mov ebx, eax
test byte [ebp - 7], bl
jne 0x444956
mov eax, dword [edi*4 + 0x5da6a0]
and dword [esi + 0x40034], eax
cmp edi, 1
jle 0x4449fe
mov eax, dword [edi*4 + 0x5da69c]
cmp eax, dword [esi + 0x40034]
jb 0x4449fe
mov edx, 0x444a44
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x444a2b
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x444a1a
shr eax, 0xa
add ax, 0xd7c0
mov edx, dword [ebp - 4]
mov word [edx], ax
jmp 0x444a27
mov eax, dword [ebp - 4]
movzx edx, word [esi + 0x40034]
mov word [eax], dx
mov byte [ebp - 5], 1
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret