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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x20], 0x424d5023
mov dword [ebp - 0x1c], 0x2364254c
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov eax, 0x10019e50
lea ecx, [ebp - 0x34]
sub eax, 0x35b5523b
push eax
call fcn.1000c6a0
push eax
mov eax, 0x10019b98
lea ecx, [ebp - 0x24]
sub eax, 0x477f543b
push eax
call fcn.10007f00
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x101290b8], eax
mov edx, 0xc6
xor ecx, ecx
nop
mov al, byte [ecx + 0x10019e5c]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000b820
mov byte [ebp - 0x28], 0
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x10019b78]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000b843
lea eax, [ebp - 0x34]
mov byte [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x24]
push eax
call esi
push eax
call edi
mov dword [0x101290bc], eax
mov edx, 0x81
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x10019e6c]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000b880
mov byte [ebp - 0x28], 0
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x10019b78]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000b8a3
lea eax, [ebp - 0x34]
mov byte [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x24]
push eax
call esi
push eax
call edi
mov dword [0x101290c0], eax
mov eax, dword [0x101290b8]
mov dword [0x101290c4], eax
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x1000bec0
push 0x101290c4
call fcn.10001c30
call fcn.100021f0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10012754
mov esp, ebp
pop ebp
ret
Function at 0x1000b920
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.10013880
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000b970
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp - 0x1008]
push esi
shr ebx, 2
xor esi, esi
push edi
test ebx, ebx
jle 0x1000b9de
mov edi, dword [ebp + esi*4 - 0x1004]
test edi, edi
je 0x1000b9d9
push edi
lea eax, [ebp - 0x1010]
push eax
call fcn.1000bd90
test al, al
jne 0x1000b9d9
mov dword [ebp - 0x1010], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
mov dword [ebp - 0x100c], eax
call fcn.1000be10
push ecx
push dword [ebp + esi*4 - 0x1004]
call fcn.1000ba10
test al, al
je 0x1000b9f3
push ecx
push dword [ebp + esi*4 - 0x1004]
call fcn.10008ee0
test al, al
je 0x1000b9f3
inc esi
cmp esi, ebx
jl 0x1000b982
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012754
mov esp, ebp
pop ebp
ret 4

Function at 0x1000baf0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10013880
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x110c]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
mov dword [ebp - 0x110c], 0
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x1000bb46
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret 8
push esi
push edi
mov edi, dword [ebp - 0x110c]
xor esi, esi
shr edi, 2
test edi, edi
jle 0x1000bbb5
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp + esi*4 - 0x1108]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x1000bbb0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000bba7
test dl, dl
je 0x1000bba3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000bba7
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000bb87
xor eax, eax
jmp 0x1000bbac
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000bbca
inc esi
cmp esi, edi
jl 0x1000bb60
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012754
mov esp, ebp
pop ebp
ret 8
Function at 0x1000bbe0
Capabilities:
Create thread
Encode data using xor
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 4
push 0x1000
push ebx
push 0
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x1000bc36
push 0
push ebx
push dword [ebp - 0x18]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000bc4b
push 0x8000
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret 0xc
mov edx, 0xf3
xor ecx, ecx
mov al, byte [ecx + 0x10019b78]
xor al, dl
mov byte [ebp + ecx - 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x1000bc52
push 0x10019e7c
lea eax, [ebp - 0x14]
mov byte [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov byte [ebp - 8], 0
sete cl
movq qword [ebp - 0x14], xmm0
test cl, cl
jne 0x1000bc28
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x1000bc28
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push edi
push esi
test eax, eax
jne 0x1000bc30
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012754
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10128078]
cmp eax, 0x927c0
jb 0x1000d807
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10128078], eax
cmp dword [0x1012803c], 0
je 0x1000d8b9
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [0x1012804c]
push 0
mov dword [0x10128050], eax
mov dword [0x10128e50], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1000d4d0
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1000d89b
mov eax, dword [0x1012804c]
cmp eax, dword [0x10128050]
je 0x1000d89b
mov ecx, 0x1012804c
call fcn.1000d8c0
push dword [esp + 4]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov esp, ebp
pop ebp
ret
push str.SOMETHING_WENT_WRONG._Terrible_sorry...
push 0
push 0x1011e1d8
call fcn.100087b0
add esp, 0xc
push dword [esp + 4]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov esp, ebp
pop ebp
ret
Function at 0x1000e070
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x1001e00c]
xor eax, esp
mov dword [esp + 0xe0], eax
push esi
push str.____________________________________________________________________________________________________
push 0
push 0x1011e1d8
call fcn.100087b0
add esp, 0xc
lea eax, [esp + 0x48]
push 0x94
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x48], 0x94
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
mov dword [esp + 8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x14]
mov eax, edx
shrd ecx, eax, 0x14
shr eax, 0x14
sub esi, dword [esp + 0x18]
push ecx
sbb edx, dword [esp + 0x20]
xor ecx, ecx
shrd esi, edx, 0x14
push esi
push dword [esp + 0x5c]
shr edx, 0x14
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push str.1.7.0
call fcn.10011340
push eax
push 0
push 0x1011e1d8
call fcn.100087b0
mov ecx, dword [esp + 0x108]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.10012754
mov esp, ebp
pop ebp
ret
Function at 0x1000e140
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001b698
push 0x1001306b
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1001e00c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x148], edx
push ecx
push str..PhysicalDrive_d
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x14c], esi
cmp esi, 0xffffffff
je 0x1000e2f0
xorps xmm0, xmm0
movq qword [ebp - 0x138], xmm0
mov dword [ebp - 0x130], 0
movq qword [ebp - 0x140], xmm0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
push 0
lea eax, [ebp - 0x144]
push eax
push 8
lea eax, [ebp - 0x140]
push eax
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1000e227
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000e2f0
push dword [ebp - 0x13c]
call fcn.10012abb
mov edi, eax
mov dword [ebp - 0x150], edi
push dword [ebp - 0x13c]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x13c]
push edi
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1000e286
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10012ab6
add esp, 4
jmp 0x1000e2f0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1000e274
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x148]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10012ab6
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000e2f2
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret
Function at 0x1000eb90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.LdrLoadDll
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x1000ebb9
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x10128e54
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi]
mov dword [0x10128e54], eax
mov ax, word [edi + 4]
mov word [0x10128e58], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x10128e54
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000ec00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x404]
call fcn.10003380
push 0xc
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x414], 0
push eax
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x41c], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x1000ec66
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x41c]
xor ecx, ecx
push esi
mov esi, dword [eax + 0x3c]
cmp cx, word [esi + eax + 6]
jae 0x1000ecf8
push ebx
mov ebx, dword [esi + eax + 0x104]
or edx, 0xffffffff
mov esi, dword [esi + eax + 0x100]
add ebx, eax
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x40c], esi
push edi
mov edi, ebx
test esi, esi
je 0x1000ecba
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x404]
sub esi, 1
jne 0x1000eca0
movq xmm0, qword [ebp - 0x410]
lea eax, [ebp - 0x42c]
not edx
mov dword [ebp - 0x42c], ebx
push eax
movq qword [ebp - 0x428], xmm0
mov dword [ebp - 0x420], edx
call fcn.1000fb90
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x40c]
push eax
call fcn.1000fbd0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10012754
mov esp, ebp
pop ebp
ret
Function at 0x1000ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x1001e00c]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.10003380
mov edx, dword [0x101290f4]
mov eax, dword [edx]
cmp eax, edx
je 0x1000edbb
mov esi, dword [eax + 0x18]
or ebx, 0xffffffff
mov edi, dword [eax + 0x14]
test esi, esi
je 0x1000ed6d
nop
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [esp + edx*4 + 0x10]
sub esi, 1
jne 0x1000ed50
mov edx, dword [0x101290f4]
not ebx
cmp dword [eax + 0x1c], ebx
jne 0x1000edd2
cmp byte [eax + 0xd], 0
jne 0x1000edb7
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1000ed9c
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x1000edb7
nop dword [eax]
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x1000ed90
jmp 0x1000edb7
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1000edb5
cmp eax, dword [ecx + 8]
jne 0x1000edb5
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1000eda5
mov eax, ecx
cmp eax, edx
jne 0x1000ed42
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.10012754
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x414]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012754
mov esp, ebp
pop ebp
ret
Function at 0x10010200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x1001e00c]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 8], eax
push esi
push edi
cmp dword [ebx + 0x18], 0
je 0x10010373
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push dword [ebx + 4]
mov dword [esp + 0x14], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x18]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebx + 0x14]
mov esi, eax
push dword [ebx + 0x10]
push 0
push 0
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [ebx + 0x20], 1
jne 0x10010364
push str.Segoe_UI
push 2
push 5
push 0
push 8
push 1
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, dword [esp + 0xc]
push eax
push edi
call esi
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 0x120]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esi, [ebx + 0x21]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100102f0
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, 0x3e
xor ecx, ecx
mov al, byte [ecx + str.P03__1fuxyk]
xor al, dl
mov byte [esp + ecx + 0x14], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x29
jb 0x10010312
lea eax, [esp + 0x14]
mov byte [esp + 0x3d], 0
push eax
push esi
call fcn.10008050
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010342
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0xf
push eax
mov eax, dword [ebx + 0x10]
sub eax, 0xdc
push eax
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012754
mov esp, ebp
pop ebp
ret 4
Function at 0x10010390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ecx + 4], 0
mov edx, 0xc2
mov dword [ecx + 0x1c], str.SPLASH
mov dword [ecx + 0xc], 0
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1001a158]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x100103c0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
mov eax, str.lin
lea ecx, [ebp - 0x2c]
sub eax, 0x702b1031
push eax
call fcn.100107a0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x10128f74], eax
call fcn.10012754
mov esp, ebp
pop ebp
ret
Function at 0x10010460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [0x10128dc4]
mov esi, ecx
push eax
push 0xff
lea eax, [esi + 0x21]
mov byte [esi + 0x20], 1
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x100104fa
mov edx, 0x4c
xor ecx, ecx
nop
mov al, byte [ecx + 0x1001a180]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x100104b0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 6], 0
movq qword [ebp - 0x10], xmm0
jmp 0x100105bb
cmp eax, 1
jne 0x10010553
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1001a19c]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x10010510
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x23], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
jmp 0x100105bb
push 0x8bd7aca0
cmp eax, 2
jne 0x1001058d
lea ecx, [ebp - 0x58]
call fcn.10010830
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x3e], 0
movq qword [ebp - 0x48], xmm0
jmp 0x100105bb
lea ecx, [ebp - 0x74]
call fcn.10010830
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x5a], 0
movq qword [ebp - 0x64], xmm0
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100105cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x18], 0
test edi, edi
je 0x10010616
lea eax, [ebp - 0x8c]
mov dword [esi + 0x18], edi
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x10010604
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100105fb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x18], 0
jmp 0x10010616
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0x808080
test eax, eax
je 0x10010657
cmp dword [0x10128f74], 0
je 0x10010657
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [0x10128f74]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10012754
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10010830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x10010841
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013e18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10129108], 0
je 0x10010b07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1012910c]
cmp eax, 0x1388
jbe 0x10010b07
push 0x10129138
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x10010b07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012910c], eax
test eax, eax
je 0x10010afc
call fcn.100109a0
test al, al
jne 0x10010afc
mov eax, 0x10019aec
lea ecx, [ebp - 0x30]
sub eax, 0x79ddc0fb
push eax
call fcn.10007d70
push ecx
push eax
push ecx
mov edx, 2
mov dword [ebp - 4], 0
mov ecx, 0x101282d0
call fcn.10011100
add esp, 0xc
jmp 0x10010b07
push 0x10129138
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret

Function at 0x10010b70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x10128dbc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10007750
mov byte [edi], 0xe9
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10010bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0xc3
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, ecx
push edi
mov dword [ebp - 4], edx
call esi
mov edi, eax
mov dword [ebp - 8], edi
call esi
sub eax, edi
cmp eax, ebx
jae 0x10010c3e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push dword [ebp - 4]
call edi
call esi
sub eax, dword [ebp - 8]
cmp eax, ebx
jb 0x10010c30
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret