joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023608
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x100436e0]
xor eax, esp
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x1b4]
push ebp
mov ebp, dword [esp + 0x1b4]
lea ecx, [esp + 4]
push ecx
push eax
push ebp
mov dword [esp + 0x24], eax
call sym.EXPSRV.dll___vbaInStr
test eax, eax
je 0x10023647
push 5
pop eax
jmp 0x1002373e
push ebx
push esi
push edi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push eax
push eax
push eax
xor edi, edi
push edi
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xdc]
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x50], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [esp + 0x18]
push 1
push edi
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push 0x78
lea ecx, [esp + 0x40]
call sym.EXPSRV.dll___vbaInStr
mov ebx, dword [esp + 0x2c]
test esi, esi
jne 0x10023718
test ebx, ebx
jne 0x100236c4
push 7
jmp 0x1002371a
push ebx
push dword [esp + 0x14]
call fcn.1000a463
test eax, eax
jne 0x10023718
mov eax, dword [esp + 0x18]
push edi
push edi
push edi
inc eax
push edi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
push dword [esp + 0x2c]
call fcn.1000a5df
test eax, eax
je 0x100236b6
cmp eax, 0x103
jne 0x10023718
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10023708
lea ecx, [esp + 0x28]
call fcn.100089b8
push 5
pop eax
jmp 0x1002373b
push dword [esp + 0x24]
push ebp
call sym.EXPSRV.dll___vbaInStr
test eax, eax
je 0x10023730
jmp 0x1002372d
push 5
pop edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10023730
test edi, edi
jne 0x10023730
push 5
pop edi
lea ecx, [esp + 0x28]
call fcn.100089b8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1ac]
pop ebp
xor ecx, esp
call fcn.10029dae
add esp, 0x1ac
ret 8

Function at 0x10029dae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100436e0]
jne 0x10029db8
repz ret
jmp fcn.1002a2cf
Function at 0x10008960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e63bd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10144008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, 0x1014814b
call fcn.100e5245
mov dword [esi], vtable.RC::IAntiVMainEngine.0
mov dword [ebp - 4], 1
mov dword [esi], vtable.RC::RCAntiVMainEngine.0
mov word [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001cde0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5eff
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10144008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x1014814b
call fcn.100e5245
cmp dword [edi], 0
jne 0x1001cec4
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.10003030
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100a6110
mov ecx, eax
call fcn.100a6200
mov ebx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x1001ce7d
mov dword [edi + 0x18], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001db90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9fb7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x10144008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, 0x10146450
call fcn.100e5245
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 4
lea eax, [esi + 0x18]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [esi + 0x30]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0xd
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
lea eax, [esi + 0x48]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x12
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x13
lea eax, [esi + 0x60]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x14
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x17
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x18
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov word [esi + 0x88], 0x100
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100260c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eba15
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x10144008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, 0x10147cad
call fcn.100e5245
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 4
lea eax, [esi + 0x18]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [esi + 0x30]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0xd
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
lea eax, [esi + 0x48]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x12
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x13
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], 1
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10026640
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebb75
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10144008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
lea esi, [edi + 0x48]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0x10
mov ecx, edi
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10027180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec005
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10144008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, 0x1014814b
call fcn.100e5245
mov dword [ebp - 4], 0xb
lea esi, [edi + 0x13c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x124]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x11
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
lea esi, [edi + 0x10c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x15
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
lea esi, [edi + 0xf4]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x19
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
lea esi, [edi + 0xdc]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x1d
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
lea esi, [edi + 0xc4]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x21
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
lea esi, [edi + 0xac]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x25
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea esi, [edi + 0x94]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x29
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea esi, [edi + 0x7c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x2d
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
lea esi, [edi + 0x64]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x31
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea esi, [edi + 0x4c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x35
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
lea esi, [edi + 0x34]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x39
mov ecx, esi
call fcn.10003460
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10029c00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec3d7
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10144008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x1014814b
call fcn.100e5245
push 0x30
call fcn.100e2b35
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 0
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esi], vtable.RC::DmAvCore::IAvTaskPool.0
mov byte [ebp - 4], 1
lea eax, [esi + 0x24]
mov dword [esi], vtable.RC::DmAvCore::RCImplTaskPool.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0x8000
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], 0
mov dword [eax], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x20], eax
test eax, eax
je 0x10029d80
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.kernel32.dll
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10029d12
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10029d12
lea ecx, [ebp - 0x34]
push ecx
call eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xff
jae 0x10029d12
test eax, eax
jne 0x10029d1f
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
call fcn.1002d7b0
mov dword [esi + 4], eax
test eax, eax
je 0x10029d80
mov ecx, 0x20
call fcn.1002d7b0
mov dword [esi + 8], eax
test eax, eax
je 0x10029d80
mov ecx, 0x20
call fcn.1002d8a0
mov dword [esi + 0xc], eax
test eax, eax
je 0x10029d80
mov edx, dword [eax]
mov ecx, eax
push esi
push 0x1002c520
call dword [edx + 4]
mov ecx, dword [esi + 0x14]
add ecx, ecx
call fcn.1002d8a0
mov dword [esi + 0x10], eax
test eax, eax
je 0x10029d80
mov edx, dword [eax]
mov ecx, eax
push 0
push 0
call dword [edx + 4]
mov eax, esi
jmp 0x10029d82
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e2b24
mov esp, ebp
pop ebp
ret
Function at 0x1002a1a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10123c88
push 0x100e3724
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10144008]
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 edi, ecx
mov ecx, 0x1014814b
call fcn.100e5245
push 0x200
push 0
lea eax, [ebp - 0x220]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 4], ebx
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
push 0x48
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1002a22a
push 0x1e7
jmp 0x1002a35c
cmp dword [edi + 0x40], 0
je 0x1002a237
push 0x57
jmp 0x1002a35c
mov eax, dword [edi]
test eax, eax
je 0x1002a35a
cmp eax, 0xffffffff
je 0x1002a35a
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
xorps xmm0, xmm0
movq qword [ebp - 0x230], xmm0
push 0
push 0
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1002a35e
push 0
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp - 0x220]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002a35e
cmp dword [ebp - 0x20], 0x200
jne 0x1002a35e
mov eax, 0xaa55
cmp word [ebp - 0x22], ax
jne 0x1002a300
mov al, byte [ebp - 0x220]
cmp al, 0xeb
jne 0x1002a2cf
cmp byte [ebp - 0x21e], 0x90
je 0x1002a2d3
cmp al, 0xe9
jne 0x1002a300
movzx ecx, word [ebp - 0x215]
movzx eax, word [ebp - 0x20f]
shl eax, 5
dec eax
add eax, ecx
cdq
idiv ecx
mov edx, eax
movzx ecx, word [ebp - 0x20a]
test ecx, ecx
cmove ecx, dword [ebp - 0x1fc]
test ecx, ecx
jne 0x1002a304
push 0xd
jmp 0x1002a35c
movzx eax, byte [ebp - 0x210]
imul eax, ecx
movzx ecx, word [ebp - 0x212]
add eax, edx
add ecx, eax
movzx eax, word [ebp - 0x215]
imul eax, ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x34]
cmp eax, 0xff5
jae 0x1002a340
mov dword [edi + 0x40], 3
jmp 0x1002a34d
cmp eax, 0xfff5
sbb eax, eax
add eax, 5
mov dword [edi + 0x40], eax
mov ebx, 1
mov dword [ebp - 0x224], ebx
jmp 0x1002a35e
push 6
call esi
mov dword [ebp - 4], 0xfffffffe
call fcn.1002a394
mov eax, ebx
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.100e2b24
mov esp, ebp
pop ebp
ret
Function at 0x1002ba50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec43f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10144008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x1014814b
call fcn.100e5245
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x84], esi
jne 0x1002baa7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp + 8]
cmp ebx, 0x20
ja 0x1002ba91
lea eax, [edi + 0xa4]
mov dword [ebp - 0x14], eax
cmp dword [eax], esi
jne 0x1002ba91
test ebx, ebx
je 0x1002bbd1
lea eax, [edi + 4]
mov dword [ebp + 8], eax
nop word [eax + eax]
push 0x24
call fcn.100e2b35
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x90]
call fcn.1002d7b0
mov dword [esi], eax
test eax, eax
je 0x1002bbbe
lea eax, [esi + 0xc]
push eax
push 0x20
push edi
push 0x1002be10
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov edx, eax
add esp, 0x18
mov dword [esi + 8], edx
test edx, edx
je 0x1002bbbe
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1002bb94
mov ecx, dword [edi + 0xa0]
cmp ecx, 2
jbe 0x1002bb78
cmp eax, 1
je 0x1002bb7f
cmp ecx, 2
jb 0x1002bb94
cmp eax, 2
jne 0x1002bb94
mov eax, 2
shl eax, cl
sub eax, 2
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov dword [esi + 0x10], eax
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
test eax, eax
je 0x1002bbbe
xor ecx, ecx
lea eax, [edi + 4]
nop
cmp dword [eax], 0
je 0x1002bbef
inc ecx
add eax, 4
cmp ecx, 0x20
jb 0x1002bbb0
mov esi, dword [ebp - 0x10]
add dword [ebp + 8], 4
sub ebx, 1
jne 0x1002bad0
mov eax, dword [ebp - 0x14]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
push esi
mov dword [eax], esi
mov ecx, dword [edi + 0x84]
push dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, dword [ebp - 0x10]
inc esi
mov dword [ebp - 0x10], esi
jmp 0x1002bbc1
Function at 0x1002cc80
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10144008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov ecx, 0x1014814b
call fcn.100e5245
cmp dword [ebx + 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
jne 0x1002ccc8
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x1002ccdd
mov eax, dword [ebx + 0x18]
add eax, edi
cmp eax, 0x20
jbe 0x1002ccf6
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e2b24
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebx + 0x1c]
cmp edi, 1
ja 0x1002ccec
mov edi, 1
jmp 0x1002ccf6
cmp edi, 4
jbe 0x1002ccf5
shr edi, 1
jmp 0x1002ccf6
dec edi
cmp esi, 3
mov eax, 1
cmovl eax, esi
mov dword [ebp - 0x14], eax
test edi, edi
je 0x1002cdff
nop dword [eax]
lea eax, [ebp - 8]
push eax
push 4
push ebx
push 0x1002cfa0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1002cdf6
push 0x20
call fcn.100e2b35
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1002cd6c
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x1002cd6c
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
jmp 0x1002cd85
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
mov ecx, dword [ebx + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0xc]
push esi
push dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002cded
mov ecx, dword [ebx + 0x1c]
cmp ecx, 2
jbe 0x1002cdcf
cmp eax, 1
je 0x1002cdd6
cmp ecx, 2
jb 0x1002cded
cmp eax, 2
jne 0x1002cded
mov eax, 2
shl eax, cl
sub eax, 2
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov dword [esi + 0xc], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
sub edi, 1
jne 0x1002cd10
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test esi, esi
je 0x1002ce1d
push 1
lea ecx, [ebx + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e2b24
mov esp, ebp
pop ebp
ret 0x14