joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10101c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov edx, dword [ebx + 0x1c]
mov eax, edx
mov edi, dword [ebx + 0x20]
or eax, edi
mov dword [ebp + 0xc], edi
jne 0x10101c7f
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
add eax, dword [ebx + 0x24]
cmp eax, dword [esi + 8]
ja 0x10101c7f
pop edi
pop esi
mov dword [ebx + 0x24], 0
lea eax, [ecx + 0x2c]
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + 0x34]
sub esi, dword [ecx + 0x2c]
mov dword [ebp - 8], esi
test edx, edx
jne 0x10101d1f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp esi, eax
ja 0x10101d1f
mov edi, dword [ecx + 0x38]
dec esi
sub edi, dword [ebp + 0xc]
sub edi, dword [ecx + 0x30]
mov edx, dword [0x11d0c5b8]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + edx*4]
xor edx, edx
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x7a68]
mov ecx, dword [ecx + 0x2dac]
add esi, ecx
neg ecx
and esi, ecx
div esi
mov esi, dword [ebp - 4]
mov edx, eax
cmp edi, edx
mov ecx, dword [esi + 0x3c]
cmovb edx, edi
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esi + 0x40]
add ecx, edi
mov dword [ebx + 0x14], ecx
mov eax, dword [esi + 0x2c]
mov dword [ebx], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 8], eax
mov eax, ebx
mov ecx, dword [esi + 0x30]
add ecx, edi
mov dword [ebx + 4], ecx
add ecx, edx
mov dword [ebx + 0xc], ecx
lea ecx, [edi + edx]
imul edx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 0x20], ecx
sub dword [ebx + 0x24], edx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx + 0x3c]
sub esi, edx
add eax, edx
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x40]
add eax, edi
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 0x2c]
add eax, edx
mov dword [ebx], eax
mov ecx, dword [ecx + 0x30]
mov dword [ebp + 0xc], eax
add ecx, edi
mov eax, dword [ebp + 8]
mov dword [ebx + 4], ecx
mov eax, dword [eax + 8]
cmp esi, eax
ja 0x10101d5c
lea eax, [edi + 1]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], eax
jmp 0x10101d64
mov esi, eax
lea eax, [edx + esi]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebx + 8], eax
lea eax, [ecx + 1]
mov dword [ebx + 0xc], eax
mov eax, ebx
sub dword [ebx + 0x24], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10102340
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], edi
cmp dword [edi + 0x364], ebx
jbe 0x1010241b
add edi, 8
mov eax, ecx
mov esi, dword [edi - 4]
test esi, esi
je 0x10102408
mov eax, dword [edi]
test eax, eax
je 0x10102405
mov dword [ebp - 8], eax
mov dword [edi], 0
mov esi, dword [esi + 0xbe2c]
mov eax, dword [esi]
cmp dword [eax + 0xd45c], 1
jne 0x101023ea
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x10d4]
lea ecx, [ebp - 8]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [esi + 0x1428]
mov eax, dword [ebp - 0xc]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
jmp 0x10102405
mov eax, dword [esi + 0x10d4]
lea ecx, [ebp - 8]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov eax, dword [ebp - 4]
inc ebx
add edi, 0xc
cmp ebx, dword [eax + 0x364]
jb 0x10102361
mov edi, dword [ebp - 4]
mov esi, dword [edi]
test esi, esi
je 0x1010251c
mov ecx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 8], eax
mov ebx, dword [eax + 0x10]
add ebx, 0x7a80
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10102465
push dword [eax + 0xae0]
mov ecx, esi
call fcn.100559e0
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x10102451
push ecx
push 0
mov ecx, esi
call fcn.1004e780
push 0x252
lea eax, [esi + 0x38]
push 0
push eax
call fcn.10425c00
and byte [esi + 0x28], 0xfc
add esp, 0xc
mov dword [esi + 0xc], 0
mov byte [esi + 0x2b8], 0
mov dword [esi + 8], 0
push ebx
mov dword [esi + 0x20], 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi]
test esi, esi
je 0x10102516
mov ecx, esi
call fcn.1004ee00
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x7b30], esi
jne 0x101024d6
mov eax, dword [esi]
mov dword [ecx + 0x7b30], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
test edx, edx
je 0x101024e4
mov dword [edx + 4], eax
jmp 0x101024f7
mov dword [ecx + 0x7b2c], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x101024f7
mov dword [eax], 0
mov edx, dword [esi + 4]
test edx, edx
je 0x10102502
mov eax, dword [esi]
mov dword [edx], eax
dec dword [ecx + 0x7b34]
push 0x2c0
push esi
call fcn.1045088a
add esp, 8
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10108700
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x3c]
mov dword [esi], eax
test dword [eax + 0x140], 0x10000000
mov dword [ebp - 8], esi
je 0x10108792
push 0x78100000
push 1
push 1
push 0x80000
push 0x80000
lea ecx, [ebp - 0x1e4]
call fcn.10025350
mov eax, dword [ebp - 0x184]
mov ecx, dword [esi]
and eax, 0xffffff
or byte [ebp - 0x176], 4
or eax, 0x1000000
push 0
push 1
mov dword [ebp - 0x184], eax
add ecx, 0x7a80
push ecx
lea eax, [ebp + 8]
push eax
push 0x440000
push 0xa00
lea eax, [ebp - 0x1e4]
push eax
call fcn.100569d0
mov dword [edi + 0x30], eax
test eax, eax
je 0x10108812
mov eax, dword [esi]
cmp dword [eax + 0xf944], 2
ja 0x101087a9
test dword [eax + 0x140], 0x10000000
jne 0x10108824
push 0x78100000
push 2
push 1
push 0x100000
push 0x100000
lea ecx, [ebp - 0x1e4]
call fcn.10025350
mov eax, dword [ebp - 0x184]
mov ecx, dword [esi]
and eax, 0xffffff
or byte [ebp - 0x176], 4
or eax, 0x2000000
push 0
push 1
mov dword [ebp - 0x184], eax
add ecx, 0x7a80
push ecx
lea eax, [ebp + 8]
push eax
push 0x480000
push 0x200
lea eax, [ebp - 0x1e4]
push eax
call fcn.100569d0
mov dword [edi + 0x34], eax
test eax, eax
jne 0x10108824
mov ecx, edi
call fcn.10108920
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, 4
nop dword [eax]
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [edi], eax
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 1
mov esi, dword [eax + 0xbe2c]
mov eax, dword [esi]
cmp dword [eax + 0xd45c], 1
jne 0x101088de
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x10d0]
lea ecx, [ebp - 0x5c]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov dword [ebp + 8], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0x14], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [esi + 0x1428]
mov eax, dword [ebp - 0x10]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
mov eax, dword [ebp + 8]
jmp 0x101088f9
mov eax, dword [esi + 0x10d0]
lea ecx, [ebp - 0x5c]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
test eax, eax
jne 0x10108903
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov esi, dword [ebp - 8]
add edi, 0xc
sub ebx, 1
jne 0x10108830
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10108cd0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x11233af0
push 0x10425410
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x11ad127c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
cmp byte [0x11d23c70], 0
jne 0x10108e56
mov dword [ebp - 0x48], 0x720063
mov dword [ebp - 0x44], 0x720079
mov dword [ebp - 0x40], 0x6e0065
mov dword [ebp - 0x3c], 0x650064
mov dword [ebp - 0x38], 0x640072
mov dword [ebp - 0x34], 0x640033
mov dword [ebp - 0x30], 0x2e0039
mov dword [ebp - 0x2c], 0x6c0064
mov dword [ebp - 0x28], 0x6c
mov dword [ebp - 0x24], 0x7461642e
mov word [ebp - 0x20], 0x61
mov byte [0x11d23c70], 1
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10108e56
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10108e56
mov edi, dword [eax + 0x3c]
add edi, eax
xor ebx, ebx
mov eax, 0x20b
cmp word [edi + 0x18], ax
je 0x10108e75
mov dword [ebp - 0x54], 0x425c1f
mov dword [ebp - 0x50], 0x4bd000
mov dword [ebp - 0x4c], 0x18141
xor ecx, ecx
mov dword [ebp - 0x58], ecx
cmp ecx, 1
jae 0x10108dde
lea edx, [ecx + ecx*2]
mov eax, dword [edi + 0x58]
cmp eax, dword [ebp + edx*4 - 0x54]
jne 0x10108e50
mov eax, dword [edi + 0x50]
cmp eax, dword [ebp + edx*4 - 0x50]
jne 0x10108e50
mov ebx, dword [ebp + edx*4 - 0x4c]
test ebx, ebx
je 0x10108e56
cmp dword [edi], 0x4550
jne 0x10108e56
movzx eax, word [edi + 0x14]
mov ecx, 0xe0
cmp ax, cx
jb 0x10108e56
lea esi, [eax + 0x18]
add esi, edi
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov dword [ebp - 0x64], eax
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x60], esi
cmp esi, eax
je 0x10108e56
lea eax, [ebp - 0x24]
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10108e20
sub eax, edx
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.1043a494
add esp, 0xc
test eax, eax
jne 0x10108e48
mov eax, dword [esi + 0xc]
add eax, edi
lea eax, [eax + ebx*4]
mov dword [0x11d23c6c], eax
add esi, 0x28
mov eax, dword [ebp - 0x64]
jmp 0x10108e0d
inc ecx
jmp 0x10108dbd
mov eax, dword [0x11d23c6c]
test eax, eax
je 0x10108e75
cmp dword [eax], 2
je 0x10108e75
mov dword [eax], 2
jmp 0x10108e75
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
Function at 0x10109160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov esi, dword [eax + ecx*4]
cmp byte [esi + 8], 0
jne 0x10109193
call fcn.10450c0b
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x162c]
shr eax, 7
test al, 1
je 0x101093a3
cmp byte [esi + 8], 0
jne 0x101091b8
call fcn.10450c0b
mov eax, dword [esi + 0x10]
cmp dword [eax + 0xd490], 0
jne 0x101091e8
cmp byte [esi + 8], 0
jne 0x101091d5
call fcn.10450c0b
mov eax, dword [esi + 0x10]
cmp dword [eax + 0xd5b8], 0
je 0x101093a3
cmp byte [0x11d0d1e6], 0
je 0x101093a3
push 0x11d0d258
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x11c24778], 0xffffffff
jne 0x101092b0
cmp byte [0x11d221e5], 0
mov al, byte [esi + 8]
jne 0x10109251
test al, al
jne 0x10109225
call fcn.10450c0b
cmp dword [esi + 0x10], 0
je 0x1010923c
cmp byte [esi + 8], 0
jne 0x1010924a
call fcn.10450c0b
cmp byte [esi + 8], 0
jne 0x1010924a
call fcn.10450c0b
sub esp, 0xc
push 2
jmp 0x10109284
test al, al
jne 0x1010925a
call fcn.10450c0b
cmp dword [esi + 0x10], 0
je 0x10109271
cmp byte [esi + 8], 0
jne 0x1010927f
call fcn.10450c0b
cmp byte [esi + 8], 0
jne 0x1010927f
call fcn.10450c0b
sub esp, 0xc
push 4
mov ecx, dword [esi + 0x10]
sub esp, 8
mov ecx, dword [ecx + 0xd5b8]
call fcn.1005ce10
add esp, 0x18
mov dword [0x11c24778], eax
cmp eax, 0xffffffff
je 0x101093b4
mov byte [0x11d221e5], 1
cmp dword [0x11d0d24c], 0
jne 0x101092d3
push 0x40000
call fcn.10450898
add esp, 4
mov dword [0x11d0d24c], eax
test eax, eax
je 0x10109398
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push eax
call fcn.10098480
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x40c]
push 0x1046c330
push eax
call fcn.10098560
lea edi, [ebp - 0x40c]
add esp, 0xc
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x10109310
mov ebx, dword [0x11d0d250]
sub edi, ecx
lea eax, [ebx + edi]
cmp eax, 0x40000
jbe 0x10109378
cmp byte [esi + 8], 0
jne 0x1010933d
call fcn.10450c0b
mov ebx, dword [0x11d0d250]
cmp dword [esi + 0x10], 0
je 0x1010935a
cmp byte [esi + 8], 0
jne 0x1010935a
call fcn.10450c0b
mov ebx, dword [0x11d0d250]
push 0
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [0x11d0d24c]
push dword [0x11c24778]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ebx, ebx
push edi
lea eax, [ebp - 0x40c]
push eax
mov eax, dword [0x11d0d24c]
add eax, ebx
push eax
call fcn.10425d60
add esp, 0xc
add ebx, edi
mov dword [0x11d0d250], ebx
push 0x11d0d258
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret
mov byte [0x11d0d1e6], 0
jmp 0x10109398
Function at 0x1011d5c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x100]
mov edx, dword [eax]
mov edi, dword [edx + 0x6ac4]
test edi, edi
je 0x1011d733
mov ecx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x10], esi
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
test byte [esi + 0xf9], 0x60
mov dword [esp + 8], eax
mov eax, dword [esi + 0x140c]
setne cl
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1990]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1610]
lea ecx, [ecx*4 + 0x10]
mov dword [esp + 0x44], eax
movzx eax, byte [esp + 0xc]
and al, 0xf0
or cl, al
movzx eax, byte [esi + 0x12b4]
shl al, 7
and cl, 0x7f
or cl, al
movzx eax, byte [esi + 0x12ac]
mov byte [esp + 0xc], cl
and al, 2
movzx ecx, byte [esi + 0x1408]
and cl, 1
or cl, al
movzx eax, byte [esp + 0xd]
and al, 0xfc
or cl, al
mov eax, dword [esi + 0x408]
mov byte [esp + 0xd], cl
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x488]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1680]
movzx ecx, byte [esi + 0x160c]
mov dword [esp + 0x34], eax
and cl, 1
mov eax, dword [esi + 0x134c]
add cl, cl
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x118c]
mov dword [esp + 0x3c], eax
movzx eax, byte [esi + 0x198c]
and al, 1
mov dword [esp + 0x2c], 0
or cl, al
movzx eax, byte [esp + 0xc]
and al, 0x9f
shl cl, 5
or cl, al
mov eax, dword [esi + 0x12b0]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x12b8]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x1400]
mov dword [esp + 0x50], eax
lea eax, [esp + 8]
push eax
push 0x50
push 0
mov byte [esp + 0x18], cl
mov ecx, edi
push 2
call fcn.1003f0d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1011e9f0
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0xc
mov edx, dword [0x11d0c5b8]
push ebx
mov edx, dword [eax + edx*4]
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x100]
mov eax, dword [esi]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0x100]
inc dword [edi + 0x488]
mov eax, dword [eax]
mov edx, dword [eax + 0xf888]
shr edx, 8
and edx, 0xf
cmp edx, 2
jb 0x1011ea50
mov ebx, dword [edi + 0xb4]
test bl, 0x10
je 0x1011ea50
lea ecx, [edx - 2]
mov eax, 1
shl eax, cl
test ebx, eax
jne 0x1011ea52
xor edx, edx
lea ebx, [edi + 0x108]
push edx
mov ecx, ebx
call fcn.100d97c0
mov eax, dword [edi + 0x100]
mov esi, dword [eax + 0xf7c]
add esi, 0xbb8
je 0x1011eac4
test dword [esi + 0x58], 0x1000
je 0x1011eac4
mov ecx, esi
call fcn.100d8a90
mov dword [ebp - 4], eax
test eax, eax
je 0x1011eac4
cmp byte [esi + 0x13e], 0
je 0x1011eaa6
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esi + 0x13e], 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [esi + 0x48]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
sbb eax, dword [esi + 0x4c]
mov dword [edx], ecx
mov dword [edx + 4], eax
cmp dword [ebx], 0
jne 0x1011eae8
inc dword [ebx + 0xc]
cmp dword [ebx + 0xc], 1
jne 0x1011eae8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
test byte [edi + 0xf9], 0x10
je 0x1011eb48
mov al, byte [edi + 0x480]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov cl, al
add cl, cl
xor cl, al
and cl, 2
xor cl, al
mov eax, dword [edi + 0xe8]
mov byte [edi + 0x480], cl
test eax, eax
je 0x1011eb20
push eax
call esi
test ax, ax
jns 0x1011eb32
mov eax, dword [edi + 0xec]
test eax, eax
je 0x1011eb36
push eax
call esi
test ax, ax
js 0x1011eb36
xor cl, cl
jmp 0x1011eb38
mov cl, 1
mov al, byte [edi + 0x480]
and al, 0xfe
or al, cl
mov byte [edi + 0x480], al
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1012bc80
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax], 0
jne 0x1012bcfd
mov eax, dword [edi + 4]
push esi
push dword [ebp + 0xc]
mov esi, 0x10000
cmp dword [ebp + 8], esi
mov dword [eax], 1
lea eax, [edi + 0x10]
cmova esi, dword [ebp + 8]
push 0x20
push eax
call fcn.1043c4a1
mov eax, dword [edi + 4]
add eax, 8
lock inc dword [eax]
lea eax, [edi + 0xc]
test esi, esi
push eax
mov eax, dword [edi + 4]
push 0x10004
push eax
mov eax, 0x2800
push 0x1012bc10
cmovne eax, esi
push eax
push 0
call fcn.1043ce9b
add esp, 0x24
mov dword [edi + 8], eax
pop esi
cmp eax, 0xffffffff
jne 0x1012bd07
mov eax, dword [edi + 4]
add eax, 8
lock dec dword [eax]
mov eax, dword [edi + 4]
mov dword [eax], 0
mov eax, 0x80004005
pop edi
pop ebp
ret 8
xor ecx, ecx
lea eax, [ebp + 8]
lock or dword [eax], ecx
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
pop ebp
ret 8
Function at 0x1012f2d0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x69c
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x320
lea eax, [ebp - 0x324]
mov esi, ecx
push 0
push eax
call fcn.10425c00
mov eax, dword [ebp + 8]
add esp, 0xc
mov edi, dword [0x11d0c5b8]
mov ebx, dword fs:[0x2c]
mov dword [ebp - 0x328], eax
sub eax, 1
jne 0x1012f455
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x16c]
test eax, eax
je 0x1012f338
mov dword [ebp - 0x320], eax
jmp 0x1012f3ab
lea eax, [ebp - 0x684]
push eax
push 1
push 0
push 0x1046c390
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1012f3ab
mov dword [ebp - 0x680], eax
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x680]
mov dword [ebp - 0x688], 4
push eax
push 0
push 0
push 0x1046c3c0
push dword [ebp - 0x684]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x320]
test eax, eax
push dword [ebp - 0x684]
cmove ecx, dword [ebp - 0x680]
mov dword [ebp - 0x320], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x320], 0
jne 0x1012f3cb
pop edi
mov byte [esi + 0xc], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x324], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x31c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x318], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x314], eax
lea eax, [esi + 0x124]
push 0xff
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.1043a5d0
push 0xff
lea eax, [esi + 0x324]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.1043a5d0
push 0xff
lea eax, [esi + 0x224]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.1043a5d0
mov eax, dword [esi + 0x424]
add esp, 0x24
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x428]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x42c]
mov dword [ebp - 8], eax
mov eax, dword [ebx + edi*4]
lea esi, [ebp - 0x328]
mov dword [ebp - 0x698], 0
lea edi, [ebp - 0x64c]
mov dword [ebp - 0x68c], 0
xorps xmm0, xmm0
mov ecx, 0xc9
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0xbe2c]
mov eax, dword [eax + 0x11cc]
mov dword [ebp - 0x69c], eax
lea eax, [ebp - 0x67c]
mov dword [ebp - 0x694], eax
lea eax, [ebp - 0x69c]
movups xmmword [ebp - 0x668], xmm0
mov dword [ebp - 0x650], 0
movq qword [ebp - 0x658], xmm0
mov dword [ebp - 0x66c], 0x1000004
mov dword [ebp - 0x67c], 0x4e564441
mov dword [ebp - 0x678], 0x10002
mov dword [ebp - 0x670], 0x4e564458
mov dword [ebp - 0x674], 0x354
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x690], 0x354
mov ecx, dword [edx + 0xbe2c]
push eax
call fcn.101d20e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
Function at 0x101395b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [0x11d0d394]
push esi
push 0x10
push 8
call fcn.10434a32
add esp, 8
test eax, eax
je 0x1013971b
mov byte [eax + 4], 1
push 0x10
mov dword [eax], 0
push 0x24
mov dword [ebx + 0xdc], eax
call fcn.10434a32
mov esi, eax
add esp, 8
test esi, esi
je 0x10139706
and byte [esi + 0x21], 0xfe
xorps xmm0, xmm0
push edi
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 3
movups xmmword [esi], xmm0
push 0x1000
movq qword [esi + 0x10], xmm0
mov dword [esi + 4], 0xffffffff
mov edi, dword [ebx + 0xdc]
push esi
mov dword [ebx + 0xd4], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
mov al, byte [esi + 0x21]
setne cl
and al, 0xfe
or cl, al
mov byte [esi + 0x21], cl
test cl, 1
jne 0x10139668
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1013965f
movzx eax, ax
or eax, 0x80070000
test eax, eax
je 0x1013966b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x1c], edi
push 0x10
push 8
call fcn.10434a32
mov edi, eax
add esp, 8
test edi, edi
je 0x10139686
xorps xmm0, xmm0
movq qword [edi], xmm0
jmp 0x10139688
xor edi, edi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [0x11d0d394]
mov esi, eax
push 0
push 0x10000
push edi
push 0x10139000
mov dword [ebx], esi
push 0
push 0
mov byte [edi], 0
mov dword [edi + 4], ecx
call fcn.1043ce9b
xor edx, edx
mov dword [ebx + 0xd0], eax
add esp, 0x18
mov ecx, 0x80004005
cmp esi, 0xffffffff
cmovne ecx, edx
cmp eax, 0xffffffff
jne 0x101396f7
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
push edi
mov dword [ebx], 0xffffffff
call fcn.1045088a
add esp, 8
mov ecx, 0x80004005
xor edi, edi
mov dword [ebx + 0xe4], edi
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov dword [ebx + 0xd4], 0
mov eax, 0xe
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov dword [ebx + 0xdc], 0
mov eax, 0xe
pop ebx
mov esp, ebp
pop ebp
ret