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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xd0], 0
push esi
je 0x1000b640
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xa6]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001210
test al, al
jne 0x1000b613
push 0x100
push 0
push 0x10129570
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10018ed0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10129570], dl
inc eax
cmp eax, 0x100
jb 0x1000b5e0
push 0x10129570
push 0
mov ecx, 0x1011e278
call fcn.10005000
add esp, 8
call fcn.1000f5c0
mov eax, dword [edi + 0xd0]
cmp eax, dword [ebp - 0x40c]
je 0x1000b640
mov eax, 0x29
call fcn.1000fc90
push eax
push 0
mov ecx, 0x1011e278
call fcn.10005000
add esp, 8
call fcn.1000f5c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10012ae6
mov esp, ebp
pop ebp
ret

Function at 0x1000bc90
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 [0x10123400]
cmp eax, 0x927c0
jb 0x1000bcb3
call esi
mov dword [0x10123400], eax
cmp dword [0x101233bc], 0
je 0x1000bd7c
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 esi, dword [0x101233cc]
mov eax, dword [0x101233d0]
cmp esi, eax
je 0x1000bd0e
push 0
push eax
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov dword [0x101233d0], esi
push 0
mov dword [0x101240c8], 0xffffffff
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x1000b9b0
push 0
push eax
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
je 0x1000bd5e
mov edx, dword [0x101233cc]
cmp edx, dword [0x101233d0]
je 0x1000bd5e
push 0x101233cc
call fcn.1000bd90
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, 0x1011e278
call fcn.10005000
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 0x1000c490
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.____________________________________________________________________________________________________
push 0
mov ecx, 0x1011e278
call fcn.10005000
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 0x10129570
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x100166d0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10129570], cl
inc eax
cmp eax, 0x100
jb 0x1000c510
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 0x10129570
push 0
mov ecx, 0x1011e278
call fcn.10005000
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.10012ae6
mov esp, ebp
pop ebp
ret
Function at 0x1000c590
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001afe0
push 0x10012fb6
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1001e018]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x148], edi
cmp edi, 0xffffffff
je 0x1000c742
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
push esi
lea ecx, [ebp - 0x150]
push ecx
push 8
lea edx, [ebp - 0x140]
push edx
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call ebx
test eax, eax
jne 0x1000c674
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000c742
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.10012a20
mov esi, eax
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x13c]
push edx
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x138]
push edx
push 0x2d1400
push edi
call ebx
test eax, eax
jne 0x1000c6d3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x1000c742
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000c6c0
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000c744
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.10012ae6
mov esp, ebp
pop ebp
ret
Function at 0x1000d000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push str.LdrLoadDll
xor ebx, ebx
push str.Ntdll.dll
mov dword [ebp - 0xc], 0x25ff
mov word [ebp - 8], bx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
jne 0x1000d03a
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x101240cc
call edi
mov ecx, dword [esi]
mov dword [0x101240cc], ecx
mov ecx, dword [ebp - 4]
mov dx, word [esi + 4]
lea eax, [ebp - 4]
push eax
push ecx
push 6
push 0x101240cc
mov word [0x101240d0], dx
call edi
lea edx, [ebp - 4]
push edx
push 0x40
push 6
push esi
call edi
mov eax, dword [ebp - 0xc]
mov cx, word [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 6
push esi
mov word [esi + 4], cx
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.LdrLoadDll
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000d0d9
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push esi
call edi
mov ecx, dword [0x101240cc]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
mov dx, word [0x101240d0]
lea eax, [ebp - 4]
push eax
push ecx
push 6
push esi
mov word [esi + 4], dx
call edi
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000d120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x1001e018]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
lea esi, [esp + 0x28]
call section..text
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0xc
lea eax, [esp + 0x20]
push eax
push 0
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 0x1000d18c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10012ae6
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
xor ecx, ecx
cmp cx, word [eax + edx + 6]
jae 0x1000d201
mov ecx, dword [eax + edx + 0x104]
add ecx, edx
mov edx, dword [eax + edx + 0x100]
or eax, 0xffffffff
mov dword [esp + 0x10], edx
mov esi, ecx
test edx, edx
je 0x1000d1dc
lea esp, [esp]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [esp + edi*4 + 0x28]
inc esi
dec edx
jne 0x1000d1c0
mov edx, dword [esp + 0x10]
not eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.1000e6b0
push eax
lea edi, [esp + 0x10]
call fcn.1000df10
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10012ae6
mov esp, ebp
pop ebp
ret

Function at 0x1000d220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
mov edi, dword [0x101291f0]
mov edx, dword [edi]
cmp edx, edi
je 0x1000d2cc
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x1000d281
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 0x1000d260
mov edi, dword [0x101291f0]
not eax
cmp dword [edx + 0x18], eax
jne 0x1000d2df
cmp byte [edx + 0x1d], 0
jne 0x1000d2c8
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x1000d2ad
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x1000d2c8
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x1000d2a1
jmp 0x1000d2c8
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x1000d2c6
cmp edx, dword [eax + 8]
jne 0x1000d2c6
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x1000d2b6
mov edx, eax
cmp edx, edi
jne 0x1000d250
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012ae6
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.10012ae6
mov esp, ebp
pop ebp
ret
Function at 0x1000f040
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
lea ecx, [esi + 0x9c4]
mov edi, 0xe3
lea esp, [esp]
mov eax, dword [ecx + 4]
xor eax, dword [ecx]
and eax, 0x7fffffff
xor eax, dword [ecx]
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [ecx + 0x634]
shr eax, 1
xor edx, eax
mov dword [ecx - 0x9c0], edx
add ecx, 4
dec edi
jne 0x1000f050
lea ecx, [esi + 0xd50]
mov edi, 0x18c
nop
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, 0x7fffffff
xor eax, dword [ecx]
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [ecx - 0xd4c]
shr eax, 1
xor edx, eax
mov dword [ecx - 0x9c0], edx
add ecx, 4
dec edi
jne 0x1000f090
mov eax, dword [esi + 0x1380]
xor eax, dword [esi + 4]
and eax, 0x7fffffff
xor eax, dword [esi + 0x1380]
mov ecx, eax
and cl, 1
movzx edx, cl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [esi + 0x634]
shr eax, 1
xor edx, eax
mov dword [esi + 0x9c0], edx
mov dword [esi], edi
pop edi
ret

Function at 0x1000f100
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
add eax, 0x638
mov edx, 0x68
push edi
lea ecx, [ecx]
mov esi, dword [eax - 0x630]
mov ecx, dword [eax - 0x634]
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, dword [eax - 0x634]
mov ebx, ecx
and bl, 1
movzx edi, bl
neg edi
sbb edi, edi
shr ecx, 1
and edi, 0x9908b0df
xor edi, ecx
xor edi, dword [eax]
mov dword [eax + 0x38c], edi
mov edi, dword [eax - 0x62c]
mov ecx, edi
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov ebx, ecx
and bl, 1
movzx esi, bl
neg esi
sbb esi, esi
shr ecx, 1
and esi, 0x9908b0df
xor esi, dword [eax + 4]
xor esi, ecx
mov dword [eax + 0x390], esi
mov esi, dword [eax - 0x628]
mov ecx, esi
xor ecx, edi
and ecx, 0x7fffffff
xor ecx, edi
mov ebx, ecx
and bl, 1
movzx edi, bl
neg edi
sbb edi, edi
shr ecx, 1
and edi, 0x9908b0df
xor edi, dword [eax + 8]
xor edi, ecx
mov dword [eax + 0x394], edi
mov edi, dword [eax - 0x624]
mov ecx, edi
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov ebx, ecx
and bl, 1
movzx esi, bl
neg esi
sbb esi, esi
shr ecx, 1
and esi, 0x9908b0df
xor esi, dword [eax + 0xc]
xor esi, ecx
mov dword [eax + 0x398], esi
mov esi, dword [eax - 0x620]
mov ecx, esi
xor ecx, edi
and ecx, 0x7fffffff
xor ecx, edi
mov ebx, ecx
and bl, 1
movzx edi, bl
neg edi
sbb edi, edi
and edi, 0x9908b0df
xor edi, dword [eax + 0x10]
shr ecx, 1
xor edi, ecx
mov ecx, dword [eax - 0x61c]
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov ebx, ecx
mov dword [eax + 0x39c], edi
and bl, 1
movzx esi, bl
neg esi
sbb esi, esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x14]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x3a0], esi
add eax, 0x18
dec edx
jne 0x1000f110
pop edi
pop esi
pop ebx
ret
Function at 0x1000f550
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x10129204], 0
push esi
je 0x1000f5bb
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10129208]
cmp eax, 0x1388
jbe 0x1000f5bb
push 0x10129234
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1000f5bb
call esi
mov dword [0x10129208], eax
test eax, eax
je 0x1000f5b0
call fcn.1000f4a0
test al, al
jne 0x1000f5b0
push 0x1388
xor ecx, ecx
call fcn.10005760
push eax
push 2
mov esi, 0x10123668
call fcn.1000fa20
add esp, 0xc
pop esi
ret
push 0x10129234
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret

Function at 0x1000f620
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 0x1000f652
jmp 0x1000f640
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1000f640
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x1000f660
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013d86
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x1001e018]
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 [0x1001a0d8]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x1001a0d4]
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 0x1000f888
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1000f6e0
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 0x1000f796
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 0x1000f723
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.10010790
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 0x1000f750
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.10010020
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000f7b5
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x1000f796
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 0x1000f796
cmp word [ebx], di
je 0x1000f888
mov esi, dword [ebp - 0x660]
jmp 0x1000f6e0
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 0x1000f7d7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.10010790
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f801
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.1000fe90
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1000f842
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 0x1000f856
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 0x1000f884
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 0x1000f88a
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.10012ae6
mov esp, ebp
pop ebp
ret
Function at 0x1000fa20
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x100
push 0
push 0x10129570
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x100190d0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10129570], cl
inc eax
cmp eax, 0x100
jb 0x1000fa40
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push 0x10129570
push 0
mov ecx, 0x1011e278
call fcn.10005000
mov eax, dword [0x1012340c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x1000fab0
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x101240bc]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012340c], 0
call ebx
mov eax, dword [0x1012353c]
test eax, eax
je 0x1000fadb
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x101240bc]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012353c], 0
call ebx
mov eax, dword [0x1012366c]
test eax, eax
je 0x1000fb06
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x101240bc]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012366c], 0
call ebx
mov eax, dword [ebp + 8]
sub eax, 0
je 0x1000fb2c
dec eax
je 0x1000fb20
dec eax
jne 0x1000fb38
mov eax, 0x6a
mov ecx, 0x3838fb
jmp 0x1000fb3e
mov eax, 0x69
mov ecx, 0x83df
jmp 0x1000fb3e
mov eax, 0x67
mov ecx, 0xff7633
jmp 0x1000fb3e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.1000e990
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000f950
push 0
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esi + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x1000fbc2
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x1000fbc2
mov eax, dword [esi + 4]
test eax, eax
je 0x1000fbbd
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x101240bc]
mov edx, dword [esi + 0x20]
push ecx
push edx
mov dword [esi + 4], 0
call ebx
call fcn.1000f5c0
pop edi
pop ebx
pop ecx
pop ebp
ret

Function at 0x1000fc90
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10129570
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x100166d0]
pop esi
mov dl, byte [ecx + eax]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10129570], dl
inc eax
cmp eax, 0x100
jb 0x1000fcb3
mov eax, 0x10129570
ret
Function at 0x100108d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x1011e24c]
push edi
cmp esi, dword [0x1011e250]
je 0x1001099e
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x1001090e
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push connect
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x10010923
add esi, 0x105
cmp esi, dword [0x1011e250]
jne 0x100108f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1011e250]
mov esi, dword [0x1011e24c]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10010986
xor edi, edi
cmp byte [edi + esi], 2
jne 0x10010962
lea ecx, [edi + esi + 1]
push ecx
push connect
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x1011e24c]
mov ecx, dword [0x1011e250]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x10010946
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.10003050
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10010b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10010ca0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10010bc4
cmp dword [ebp - 4], 0x50000000
jb 0x10010b41
cmp dword [ebp - 4], 0x80000000
ja 0x10010b41
mov dword [ebp - 4], 0x4fff0000
jmp 0x10010b1a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10010b67
jmp 0x10010bc4
cmp dword [ebp - 0x14], 0x10000
jne 0x10010baa
cmp dword [ebp - 0x18], 0x10000
jb 0x10010baa
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10010b9d
mov eax, dword [ebp - 8]
jmp 0x10010bc6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10010bbf
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10010ca0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10010b1a
xor eax, eax
mov esp, ebp
pop ebp
ret