joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0cb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ee04d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10252964]
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
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push 0x102638f8
movlpd qword [ebp - 0x24], xmm0
call fcn.100c2f90
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.100c2fc0
test byte [0x102570f0], 1
jne 0x100a0e2a
push fcn.100a0cb0
call fcn.100c3020
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
test ecx, ecx
jne 0x100a0d34
push 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x28]
mov esi, dword [0x10257120]
xor ebx, ebx
add esi, ecx
cmp dword [0x10257124], ebx
jbe 0x100a0db4
mov edi, dword [esi]
lea eax, [ebp - 0x14]
push eax
push 0x40
add edi, ecx
mov dword [ebp - 0x14], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100a0d73
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 5
lea eax, [esi + 4]
push eax
push edi
call fcn.101d7d20
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100a0da5
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x28]
inc ebx
add esi, 9
cmp ebx, dword [0x10257124]
jb 0x100a0d46
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x10263900], eax
push 1
push 0
push 1
mov byte [ebp - 4], 1
call fcn.1009f7f0
add esp, 0xc
lea ecx, [ebp - 0x24]
mov edi, eax
mov esi, edx
call fcn.100c3000
mov ecx, edi
or ecx, esi
je 0x100a0e20
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.101b2a80
push 0
push 1
push dword [ebp - 0x28]
mov ecx, edi
mov byte [ebp - 4], 2
call dword [0x1024a49c]
call edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.101b2b40
mov dword [0x10263900], 0
lea ecx, [ebp - 0x24]
call fcn.100c2fa0
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.101c1860
mov esp, ebp
pop ebp
ret
Function at 0x100b0cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ef655
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10252964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xd], bl
jne 0x100b0d90
mov esi, eax
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov dword [ebp - 0x18], esi
jb 0x100b0d4f
mov edx, dword [edi + 8]
cmp dword [esi + 0x2c], 0x10
lea ecx, [esi + 0x18]
jb 0x100b0d5b
mov ecx, dword [esi + 0x18]
push dword [edi + 0x18]
push edx
push dword [esi + 0x28]
push ecx
call fcn.10081260
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x100b0d7a
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
jmp 0x100b0d81
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x10], ecx
movzx ebx, al
xor ebx, 1
cmp byte [esi + 0xd], 0
je 0x100b0d40
mov esi, dword [ebp - 0x20]
cmp byte [ecx + 0xd], 0
jne 0x100b0de2
cmp dword [ecx + 0x2c], 0x10
lea eax, [edi + 8]
lea edx, [ecx + 0x18]
jb 0x100b0da5
mov edx, dword [ecx + 0x18]
cmp dword [edi + 0x1c], 0x10
jb 0x100b0dad
mov eax, dword [eax]
push dword [ecx + 0x28]
push edx
push dword [edi + 0x18]
push eax
call fcn.10081260
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x100b0de2
mov ecx, dword [ebp - 0x10]
mov byte [esi + 4], al
mov eax, esi
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x4924924
je 0x100b0e87
mov dword [ebp - 0x2c], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.101c1316
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x14]
lea esi, [edi + 0x14]
add ecx, 8
mov dword [ebp - 4], 1
push ecx
lea ecx, [esi + 4]
mov dword [edi + 0x10], 0x10045768
mov dword [ebp - 0x10], esi
call fcn.10074730
mov ecx, dword [ebp - 0x14]
mov dword [esi], 0x10044c38
push edi
push ebx
mov eax, dword [ecx + 0x20]
push dword [ebp - 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.1007d500
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.1007e0b0
int3
Function at 0x100c1bc0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f094b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10252964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x14]
mov dword [ebx], 0x100457d0
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
mov al, byte [edi + 4]
mov byte [ebx + 4], al
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
lea eax, [edi + 0x18]
push eax
call fcn.10074730
mov dword [esi], 0x10044c38
add ebx, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
add edi, 0x30
mov dword [ebx], fcn.100798c0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 1
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x100c1d35
mov esi, dword [edi + 8]
test esi, esi
jne 0x100c1c88
xor edi, edi
jmp 0x100c1c8b
mov edi, dword [edi + 4]
mov eax, dword [ebx + 4]
test eax, eax
je 0x100c1cb2
cmp dword [ebx + 0x14], 1
jne 0x100c1ca9
push dword [ebx + 8]
push 0
push eax
call fcn.101d82a0
mov eax, dword [ebx + 4]
add esp, 0xc
push eax
call fcn.101c135d
add esp, 4
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov byte [ebx + 0x10], 1
test esi, esi
je 0x100c1d01
push esi
call fcn.101c1354
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
test edi, edi
je 0x100c1cef
push esi
push edi
push eax
call fcn.101d7d20
jmp 0x100c1cfe
cmp dword [ebx + 0x14], 1
jne 0x100c1d01
push esi
push 0
push eax
call fcn.101d82a0
add esp, 0xc
mov esi, dword [ebx + 0x18]
cmp esi, dword [ebx + 0x1c]
je 0x100c1d35
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100c1d2d
mov eax, dword [eax]
push 1
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x1024a49c]
mov ecx, dword [ebp - 0x14]
call edi
add esi, 4
cmp esi, dword [ebx + 0x1c]
jne 0x100c1d10
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0x10044c8c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c3530
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f0bba
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x10252964]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], 0
call fcn.1007b410
push 0
push 2
mov esi, dword [eax + 0x224]
mov ecx, esi
call dword [0x1024a49c]
call esi
mov esi, eax
mov dword [ebp - 0x148], esi
test esi, esi
jne 0x100c35a9
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
jmp 0x100c36fb
lea eax, [ebp - 0x148]
mov dword [ebp - 0x158], eax
push 0x124
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.101d82a0
add esp, 0xc
mov dword [ebp - 0x144], 0x128
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x100c360b
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 2
jmp 0x100c36e0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
call fcn.101affb0
mov ebx, eax
nop word [eax + eax]
cmp dword [ebp - 0x12c], ebx
jne 0x100c3695
mov edi, dword [ebp - 0x18]
cmp edi, dword [ebp - 0x14]
je 0x100c3685
mov esi, dword [ebp - 0x13c]
mov dword [edi], esi
mov dword [edi + 4], 0
call fcn.1007b410
push esi
push 0
push 0x1fffff
mov esi, dword [eax + 0x238]
mov ecx, esi
call dword [0x1024a49c]
call esi
mov dword [edi + 4], eax
add dword [ebp - 0x18], 8
jmp 0x100c3695
lea eax, [ebp - 0x13c]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.100c31f0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100c3640
mov ebx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 6
call fcn.1007b410
push dword [ebp - 0x148]
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x1024a49c]
call esi
mov eax, ebx
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.101c1860
mov esp, ebp
pop ebp
ret
Function at 0x100ca980
Capabilities:
Create directory

Disassembly:
sub esp, 0x28
mov eax, dword [0x10252964]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push 1
push eax
mov byte [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x100ca9db
push 0
push 0
push 1
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x100ca9db
lea eax, [esp + 0x10]
mov dword [esp + 4], 0xc
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x24], 1
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x28]
test eax, eax
pop esi
setne al
xor ecx, esp
call fcn.101c1860
add esp, 0x28
ret
Function at 0x100cb300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f18fd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10252964]
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 edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x1c]
push edx
push dword [0x1024c07c]
mov byte [ebp - 0x1d], 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100cb3a2
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov dword [edi], 0
push eax
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
test eax, eax
jne 0x100cb390
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x100cb3a5
mov al, byte [ebp - 0x1d]
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.101c1860
mov esp, ebp
pop ebp
ret
Function at 0x100cb430
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f193d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10252964]
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 edi, dword [ebp + 8]
mov eax, edi
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
jb 0x100cb46f
mov eax, dword [edi]
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
push dword [0x1024c07c]
push 0
push 0x10045fc0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100cb56a
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x10045fac
push esi
call ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
je 0x100cb4ca
cmp ecx, 2
jne 0x100cb555
test eax, eax
jne 0x100cb555
push eax
push dword [ebp - 0x14]
mov ecx, edi
call fcn.10080460
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x100cb4e7
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x10045fac
push dword [ebp - 0x1c]
call ebx
test eax, eax
jne 0x100cb555
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x100cb50c
mov eax, dword [edi]
mov edx, dword [edi + 0x10]
lea ebx, [edx - 1]
add ebx, eax
mov eax, edi
cmp ecx, 0x10
jb 0x100cb51d
mov eax, dword [edi]
sub ebx, eax
mov ecx, 1
mov eax, edx
sub eax, ebx
cmp eax, ecx
cmovb ecx, eax
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20], ecx
mov eax, edi
jb 0x100cb53a
mov eax, dword [edi]
lea ecx, [eax + ebx]
mov eax, dword [ebp - 0x20]
sub edx, eax
add eax, ecx
mov dword [edi + 0x10], edx
sub edx, ebx
inc edx
push edx
push eax
push ecx
call fcn.101d7d20
add esp, 0xc
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x10], 0
je 0x100cb59a
push 0x13
push 0x10045e0c
mov ecx, edi
call fcn.1007e640
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.101c1860
mov esp, ebp
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x24]
call fcn.100cc730
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x50]
call fcn.100cc810
push 0x10233934
lea eax, [ebp - 0x50]
push eax
call fcn.101d78f7
int3
Function at 0x100ce710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x2c]
xor edx, edx
xor eax, eax
mov dword [esp + 4], 0x310030
mov dword [esp + 8], 0x330032
mov dword [esp + 0xc], 0x350034
mov dword [esp + 0x10], 0x370036
mov dword [esp + 0x14], 0x390038
mov dword [esp + 0x18], 0x420041
mov dword [esp + 0x1c], 0x440043
mov dword [esp + 0x20], 0x460045
test ebx, ebx
je 0x100ce79c
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x30]
nop word [eax + eax]
movzx ecx, byte [eax + edi]
lea edx, [edx + 2]
shr ecx, 4
movzx ecx, word [esp + ecx*2 + 0xc]
mov word [esi + edx*2 - 4], cx
movsx ecx, byte [eax + edi]
inc eax
and ecx, 0xf
movzx ecx, word [esp + ecx*2 + 0xc]
mov word [esi + edx*2 - 2], cx
cmp eax, ebx
jne 0x100ce770
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x100cfb90
Capabilities:
Clear file content
Get file size
Write file on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x10252964]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [ecx]
lea eax, [esp + 0x30]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100cfc51
mov ecx, dword [esp + 0x40]
xor edx, edx
cmp edx, ecx
jl 0x100cfc33
mov eax, dword [esp + 0x3c]
jg 0x100cfbd0
cmp esi, eax
jbe 0x100cfc33
push 0
push 0
push ecx
push eax
push ebx
call fcn.100cf990
add esp, 0x14
test al, al
je 0x100cfc51
sub esi, dword [esp + 0x3c]
je 0x100cfc1e
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 0x200
cmp esi, 0x200
mov edi, esi
push 0
cmova edi, eax
lea eax, [esp + 0x48]
push eax
push edi
push 0x102639f8
push ebx
call ebp
cmp dword [esp + 0x44], edi
jne 0x100cfc51
mov eax, 0x200
sub esi, edi
jne 0x100cfbf4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101c1860
add esp, 0x3c
ret 8
push 0
push 0
push edx
push esi
push ebx
call fcn.100cf990
add esp, 0x14
test al, al
je 0x100cfc51
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100cfc1e
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [esp + 0x40]
call fcn.100cc730
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.100cc810
push 0x10233934
lea eax, [esp + 0x14]
push eax
call fcn.101d78f7
int3
Function at 0x100cfcb0
Capabilities:
Check for time delay via queryperformancecounter
Get system information on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x10252964]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x100cfcf2
mov eax, dword [0x10263bf8]
test eax, eax
jne 0x100cfce0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x2c]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
mov dword [ebx + 0xc], eax
cmp eax, 8
jb 0x100cfe09
cmp eax, 0x20
jae 0x100cfd15
pause
inc dword [ebx + 0xc]
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.101c1860
add esp, 0x3c
ret
jne 0x100cfdee
push 7
call fcn.100cebb0
add esp, 4
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
push ecx
call eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x100cfd58
mov ecx, dword [esp + 0xc]
mov eax, 0xd1b71759
lea ecx, [ecx - 1]
mul ecx
shr edx, 0xd
jmp 0x100cfd99
mov eax, dword [esp + 0xc]
mov ecx, 0x5f5e100
push esi
push edi
push dword [esp + 0x10]
mul ecx
push dword [esp + 0x10]
mov edi, eax
mov esi, edx
push 0x38d7e
sub edi, 1
push 0xa4c67fff
sbb esi, 0
call fcn.101c1ac0
add eax, 1
adc edx, 0
push edx
push eax
push esi
push edi
call fcn.101c1ac0
pop edi
mov edx, eax
pop esi
lea eax, [edx + 1]
mov dword [ebx + 8], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x100cfdce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebx], eax
inc dword [ebx + 0xc]
mov dword [ebx + 4], ecx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.101c1860
add esp, 0x3c
ret
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
inc dword [ebx + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.101c1860
add esp, 0x3c
ret
cmp dword [ebx + 8], 0
jne 0x100cfe1c
and al, 1
je 0x100cfe54
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x100cfe09
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebx + 0xc]
mov ecx, dword [esp + 0x3c]
pop ebx
xor ecx, esp
call fcn.101c1860
add esp, 0x3c
ret
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x100cfe35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
jmp 0x100cfe3d
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
sub eax, dword [ebx]
sbb ecx, dword [ebx + 4]
test ecx, ecx
jb 0x100cfdf8
ja 0x100cfe4d
cmp eax, dword [ebx + 8]
jb 0x100cfdf8
mov dword [ebx + 8], 0
push 1
jmp 0x100cfe03
Function at 0x100d21f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f212d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10252964]
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 esi, ecx
mov eax, dword [ebp + 0xc]
push dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
call fcn.100e7170
mov ebx, dword [esi]
add esp, 4
add ebx, 0xa
add ebx, eax
mov eax, 7
mov word [edi], ax
mov eax, dword [ebp - 0x24]
mov dword [edi + 2], ebx
add eax, 0xfffffffa
mov ecx, dword [esi + 0x30]
add edi, 6
push eax
push edi
call fcn.100d2d00
mov ecx, dword [esi + 0x2c]
add edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edi
test ecx, ecx
je 0x100d22f8
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov eax, dword [ebp - 0x24]
sub eax, edi
add eax, dword [ebp - 0x28]
push eax
push dword [esi]
push edi
call fcn.100e7040
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x3c]
add esp, 0x10
push eax
call fcn.100d2ab0
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.1010a400
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.1010a5c0
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x100d22d8
mov ecx, dword [ebp - 0x30]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.10094af0
mov eax, ebx
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.101c1860
mov esp, ebp
pop ebp
ret 8
call fcn.101c290d
int3
Function at 0x100d2300
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f212d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10252964]
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 esi, ecx
mov eax, dword [ebp + 0xc]
push dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
call fcn.100e7170
mov ebx, dword [esi]
add esp, 4
add ebx, 0x12
add ebx, eax
mov eax, 3
mov word [edi], ax
mov eax, dword [ebp - 0x24]
mov dword [edi + 2], ebx
add eax, 0xfffffffa
mov ecx, dword [esi + 0x30]
add edi, 6
push eax
push edi
call fcn.100d2d20
mov ecx, dword [esi + 0x2c]
add edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edi
test ecx, ecx
je 0x100d2408
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov eax, dword [ebp - 0x24]
sub eax, edi
add eax, dword [ebp - 0x28]
push eax
push dword [esi]
push edi
call fcn.100e7040
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x3c]
add esp, 0x10
push eax
call fcn.100d2ab0
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.1010a400
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.1010a5c0
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x100d23e8
mov ecx, dword [ebp - 0x30]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.10094af0
mov eax, ebx
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.101c1860
mov esp, ebp
pop ebp
ret 8
call fcn.101c290d
int3