joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440890
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46de03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004615a3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00466c3b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00468157
test eax, eax
je 0x4409ac
mov ecx, dword [esp + 0x3c]
call fcn.00466c68
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x440970
push edi
mov ecx, esi
call fcn.004642cc
mov ecx, esi
call fcn.00440b10
cmp dword [esp + 0x38], 1
jne 0x4409a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00464407
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4433d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443403
push esi
call fcn.004464d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4433fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443489
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443472
mov eax, dword [esi + 8]
test eax, eax
je 0x443427
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44346e
cmp eax, 2
je 0x443472
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44341a
cmp eax, 3
je 0x44344d
cmp eax, 1
jne 0x44341a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44341a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44341a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004434b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443498
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004434b0
add esp, 4
pop esi
ret

Function at 0x462398
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4623d0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046044f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460427
jmp 0x4623dc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463a89
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x463acb
call fcn.00469547
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463acb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463ac2
xor eax, eax
jmp 0x463ad3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463ad9
pop edi
pop esi
pop ebx
ret 4

Function at 0x469a77
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469aa5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469ac3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004699dd
jmp 0x469ac3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469ac3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004699dd
test edi, edi
mov eax, edi
jne 0x469aad
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001000
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
push edi
mov ecx, 0x11
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push 0x1c2
lea eax, [esp + 0x62]
push 0
push eax
mov dword [esp + 0x20], 3
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 1
movsw word es:[edi], word [esi]
call fcn.10009ef0
push str.BaiduDisk
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.10005ef7
add esp, 0x18
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1000109a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.10005ee8
add esp, 0x21c
ret
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.Start
push edx
call esi
mov ecx, dword [esp + 8]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.Type
push ecx
call esi
mov eax, dword [esp + 8]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.ErrorControl
push eax
call esi
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100010f0
sub eax, edx
mov edx, dword [esp + 8]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push ebx
push 2
push 0
push str.ImagePath
push edx
call esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.10005ee8
add esp, 0x21c
ret

Function at 0x10001140
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x404
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push edi
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.10009ef0
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push esi
push str.SystemCurrentControlSetServices
lea edx, [esp + 0x1c]
push str._s_sEnum
push edx
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 0x1c
lea eax, [esp + 8]
push eax
push 0x80000002
call ebx
push esi
push str.SystemCurrentControlSetServices
lea ecx, [esp + 0x10]
push str._s_sSecurity
push ecx
call edi
add esp, 0x10
lea edx, [esp + 8]
push edx
push 0x80000002
call ebx
push esi
push str.SystemCurrentControlSetServices
lea eax, [esp + 0x10]
push str._s_s
push eax
call edi
add esp, 0x10
lea ecx, [esp + 8]
push ecx
push 0x80000002
call ebx
mov ecx, dword [esp + 0x408]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10005ee8
add esp, 0x404
ret
Function at 0x100012f0
Capabilities:
Create service
Delete service
Start service

Disassembly:
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x10001370
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push 3
push 1
push 0xf01ff
push str.BaiduDisk64
push str.BaiduDisk64
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x10001366
push 0x7dc
call fcn.10004980
add esp, 4
push 0
push 0
push esi
movzx edi, ax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test di, di
je 0x1000135f
push edi
call fcn.10004980
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, str.BaiduDisk64
call fcn.10001140
pop edi
xor eax, eax
pop esi
ret

Function at 0x100014d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10012688
push 0x10008f20
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edi
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x1000153b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jae 0x100015d9
push 0x84
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x100015c8
movzx ebx, word [esi]
add esi, 2
mov dword [ebp - 0x1c], esi
cmp bx, 0x40
mov eax, 0x3f
jae 0x10001577
movzx eax, bx
movzx ecx, ax
push ecx
push esi
lea edx, [edi + 4]
push edx
call fcn.1000a5e0
add esp, 0xc
movzx eax, bx
add esi, eax
mov dword [ebp - 0x1c], esi
movzx ebx, word [esi]
add esi, 2
mov dword [ebp - 0x1c], esi
cmp bx, 0x40
mov eax, 0x3f
jae 0x100015a7
movzx eax, bx
movzx ecx, ax
push ecx
push esi
lea edx, [edi + 0x44]
push edx
call fcn.1000a5e0
add esp, 0xc
movzx eax, bx
add esi, eax
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x24]
mov dword [ecx], edi
mov dword [ebp - 0x24], edi
inc dword [ebp - 0x20]
jmp 0x10001541
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001600
Capabilities:
Delete file

Disassembly:
sub esp, 0x44
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
push 0x3f
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.10009ef0
mov ecx, dword [esp + 0x64]
mov ebp, dword [ecx]
add esp, 0xc
test ebp, ebp
je 0x100016d8
lea ecx, [ebp + 4]
mov eax, edi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10001660
test dl, dl
je 0x1000165c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10001660
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001640
xor eax, eax
jmp 0x10001665
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100016cd
lea edx, [esp + 0xc]
push edx
call fcn.10002fc0
test eax, eax
je 0x100016cd
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001680
sub eax, edx
lea ecx, [ebp + 0x44]
lea esi, [esp + 0xc]
cmp eax, 4
jb 0x100016a9
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x100016cd
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x10001695
test eax, eax
je 0x100016df
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x100016cd
cmp eax, 1
jbe 0x100016df
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x100016cd
cmp eax, 2
jbe 0x100016df
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x100016df
mov ebp, dword [ebp]
test ebp, ebp
jne 0x10001639
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.10005ee8
add esp, 0x44
ret 8
Function at 0x10002100
Capabilities:
Create thread

Disassembly:
sub esp, 0x1e4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1dc], eax
push esi
push edi
xor edi, edi
cmp dword [0x1001eae4], edi
jne 0x10002133
lea esi, [esp + 0x50]
call fcn.10003a60
neg eax
sbb eax, eax
inc eax
mov dword [0x1001eae4], eax
push 0x1001df50
mov eax, 4
call fcn.10003310
mov dword [0x1001eabc], eax
test eax, eax
je 0x10002184
mov dword [eax + 0x14], 0x10001db0
call fcn.100037e0
mov edi, eax
test edi, edi
je 0x10002184
push 0x48
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10009ef0
add esp, 0xc
push 0x48
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x100
call fcn.100034e0
mov edi, eax
cmp dword [0x1001eab4], 0
jne 0x100021a0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x1001eab4], eax
push 0
push 0
push 0
push 0x10001700
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x1e4]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.10005ee8
add esp, 0x1e4
ret

Function at 0x100021d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
push esi
mov byte [esp + 8], 0x2d
mov byte [esp + 9], 0x52
mov byte [esp + 0xa], 0x55
mov byte [esp + 0xb], 0x4e
mov byte [esp + 0xc], 0
call fcn.10006603
lea eax, [esp + 8]
push eax
push esi
call fcn.10006380
mov ecx, dword [esp + 0x18]
add esp, 0xc
neg eax
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.10005ee8
add esp, 0xc
ret

Function at 0x10002230
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
push esi
mov byte [esp + 8], 0x2d
mov byte [esp + 9], 0x4c
mov byte [esp + 0xa], 0x44
mov byte [esp + 0xb], 0x52
mov byte [esp + 0xc], 0
call fcn.10006603
lea eax, [esp + 8]
push eax
push esi
call fcn.10006380
mov ecx, dword [esp + 0x18]
add esp, 0xc
neg eax
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.10005ee8
add esp, 0xc
ret

Function at 0x10002290
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push esi
push 1
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.Global73915FAD_DDBA_46BD_8931_4CCB8C10E931
push 1
lea eax, [esp + 0xc]
lea edx, [esp + 0x18]
push eax
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x10002300
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10002300
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x20
ret
xor eax, eax
pop esi
add esp, 0x20
ret
Function at 0x10002550
Capabilities:
Create process on windows
Create thread
Get common file path
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x884
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.user32.dll
mov esi, ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100025a4
push str.MessageBoxTimeoutW
push eax
call ebx
test eax, eax
je 0x100025a4
push 0x1001ea5c
push 0x10004ec0
call fcn.100056f0
add esp, 8
push 0x104
lea eax, [esp + 0x684]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call esi
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x14], 0
call edi
push eax
call ebx
mov dword [0x1001ea58], eax
test eax, eax
je 0x100025f0
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x1001ea58]
test eax, eax
je 0x1000260c
cmp dword [esp + 0xc], 0
je 0x1000260c
push 0
push 0x2a
lea edx, [esp + 0x70]
mov dword [0x1001eac4], 1
push edx
jmp 0x1000261f
push 0
push 0x26
lea eax, [esp + 0x70]
mov dword [0x1001eac0], 1
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x104
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x480]
push edx
call fcn.10006406
add esp, 0xc
push 0x104
lea eax, [esp + 0x47c]
push str.BaiduPlayer_
push eax
call fcn.10006668
add esp, 0xc
lea ecx, [esp + 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.10002230
test eax, eax
je 0x100026a6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
call fcn.10001e50
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10003160
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.10005ee8
mov esp, ebp
pop ebp
ret
call fcn.100021d0
test eax, eax
je 0x10002707
call fcn.10002290
test eax, eax
je 0x100026c0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10004ac0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10002310
push 0
push 0
call esi
mov ecx, dword [esp + 0x88c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10005ee8
mov esp, ebp
pop ebp
ret
push 0x104
lea edx, [esp + 0x274]
push edx
push 0
call esi
lea eax, [esp + 0x270]
push eax
call fcn.100045a0
add esp, 4
test eax, eax
jne 0x1000276d
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor edx, edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
push edx
push 0x200
push edx
push edx
push edx
mov word [esp + 0x70], dx
push str._RUN
lea edx, [esp + 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100027a0
Capabilities:
Get common file path
Get file size

Disassembly:
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
push 0x103
xor edi, edi
lea eax, [esp + 0xd]
push edi
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.10009ef0
add esp, 0xc
cmp byte [esi], 0x5c
jne 0x1000280a
push 0x5c
push esi
call fcn.1000cc50
mov esi, eax
add esp, 8
test esi, esi
je 0x1000280c
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 8]
jmp 0x1000280c
mov edi, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002845
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10005ee8
add esp, 0x108
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.10005ee8
add esp, 0x108
ret

Function at 0x10002870
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x108], eax
push ebp
mov ebp, dword [esp + 0x114]
push esi
push edi
push 0x103
xor edi, edi
lea eax, [esp + 0x15]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
call fcn.10009ef0
add esp, 0xc
cmp byte [esi], 0x5c
jne 0x100028ea
push 0x5c
push esi
call fcn.1000cc50
mov esi, eax
add esp, 8
test esi, esi
je 0x100028ec
push 0x104
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 0x10]
jmp 0x100028ec
mov edi, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000292e
mov ecx, dword [esp + 0x120]
push 0
lea eax, [esp + 0x10]
push eax
push ecx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x10002932
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1000293d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10005ee8
add esp, 0x10c
ret 8
Function at 0x10002960
Capabilities:
Get common file path
Get file size
Write file on windows

Disassembly:
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x108], eax
push ebp
mov ebp, dword [esp + 0x114]
push esi
push edi
push 0x103
xor edi, edi
lea eax, [esp + 0x15]
push edi
push eax
mov esi, ecx
mov byte [esp + 0x1c], 0
call fcn.10009ef0
add esp, 0xc
cmp byte [esi], 0x5c
mov dword [esp + 0xc], edi
jne 0x100029d6
push 0x5c
push esi
call fcn.1000cc50
mov esi, eax
add esp, 8
test esi, esi
je 0x100029d8
push 0x104
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 0x10]
jmp 0x100029d8
mov edi, esi
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10002a20
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x120]
push 0
lea eax, [esp + 0x10]
push eax
push ecx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x10002a24
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10002a2f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10005ee8
add esp, 0x10c
ret 8

Function at 0x10002b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov byte [ebp - 7], 0
mov byte [ebp - 5], 0
mov byte [ebp - 8], 0
mov byte [ebp - 6], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
jmp 0x10002b90
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x10002c13
mov edx, dword [ebp - 4]
add edx, 1
mov byte [ebp - 7], dl
movzx eax, byte [ebp - 7]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov byte [ebp - 5], dl
movzx eax, byte [ebp - 5]
movzx ecx, byte [ebp - 8]
add ecx, eax
mov byte [ebp - 8], cl
movzx edx, byte [ebp - 8]
movzx eax, byte [ebp - 7]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 5]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 5]
movzx ecx, byte [ebp - 7]
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx]
add eax, ecx
mov byte [ebp - 6], al
movzx edx, byte [ebp - 6]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
xor ecx, eax
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 4]
mov byte [edx], cl
jmp 0x10002b87
push 0x100
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10009ef0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0x10