joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ab4b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10188676
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
mov ax, word [edi]
mov word [esi], ax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
lea eax, [edi + 0x14]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.10005470
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x28], ebx
mov byte [ecx + 4], bl
call fcn.10005470
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
lea eax, [edi + 0x4c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x28], 1
mov byte [ecx + 4], bl
call fcn.10005470
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x100adf00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x59dc]
push edi
call ebp
mov eax, dword [esi + 0x59f4]
cmp eax, 0xa
jle 0x100adf2a
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call ebx
mov eax, dword [esi + 0x59f8]
test eax, eax
je 0x100adf4f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x59f8], 0
lea edi, [esi + 0x59dc]
push edi
call ebp
add dword [esi + 0x59f4], 1
lea ecx, [esi + 0x59fc]
push ecx
push 0
push esi
push 0x100add80
push 0
push 0
call fcn.1015a189
add esp, 0x18
push edi
mov dword [esi + 0x59f8], eax
call ebx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100b19a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10188e4e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
lea ebp, [esi + 4]
mov dword [esi], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea edi, [esi + 0x14]
mov dword [esp + 0x30], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esp + 0x14]
push eax
push 0x101cc844
push 0x101cc80c
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.1000abd0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.1000af80
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x30], 1
je 0x100b1a31
push eax
call fcn.10159534
add esp, 4
push edi
mov ecx, ebp
call fcn.1000af80
mov edx, dword [str.www.baidu.com.cn]
mov dword [esi + 0x24], edx
mov eax, dword [0x1019b610]
mov dword [esi + 0x28], eax
mov ecx, dword [0x1019b614]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x1019b618]
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x100b1d00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10188eeb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x50], 0xf
mov dword [eax + 0x4c], ecx
mov byte [eax + 0x3c], cl
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov byte [eax + 0x64], cl
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x100b8620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101897e1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
lea edx, [esp + 0x38]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x18]
mov dword [esp + 0x1c], 1
call fcn.100b2c80
lea ecx, [esp + 0x38]
mov dword [esp + 8], 1
mov byte [esp + 0x18], 0
call fcn.1005df40
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x100c1750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018a0b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
push 0x101cc5a4
mov dword [esp + 0xc], 0x10199614
mov dword [esp + 0x10], 0x101cc5a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], 0xf
call fcn.10005470
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x58e8]
mov byte [esp + 0x40], 1
call fcn.100bfa40
cmp dword [esp + 0x30], 0x10
jb 0x100c17f1
mov edx, dword [esp + 0x1c]
push edx
call fcn.10159534
add esp, 4
push 0x101cc5a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x38
ret 0xc

Function at 0x100c2d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018a1c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, ecx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 0xc]
add ecx, dword [eax]
mov dword [esp + 0x20], 0
call edx
mov bl, al
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x38], 0x1019b128
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x30], 0xffffffff
call fcn.1008fbd0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10159534
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x1c
Function at 0x100d4b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1018bec0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x58]
xor ebx, ebx
cmp ecx, ebx
je 0x100d4c3b
cmp byte [ecx], bl
je 0x100d4c3b
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov eax, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100d4bb0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.10005610
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 1
call fcn.100f0d69
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x100d4bf1
mov edx, dword [esp + 0x10]
push edx
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x100d4c04
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100d4c25
cmp dword [esp + 0x40], esi
jb 0x100d4c3b
mov eax, dword [esp + 0x2c]
push eax
call fcn.10159534
add esp, 4
jmp 0x100d4c3b
test al, 0x10
lea ecx, [esp + 0x28]
je 0x100d4c36
call fcn.10029980
mov al, 1
jmp 0x100d4c3d
call fcn.10029980
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10159cce
add esp, 0x48
ret

Function at 0x100d4c60
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x1018bec0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edx, dword [esp + 0x58]
xor ebx, ebx
cmp edx, ebx
jne 0x100d4ca1
xor al, al
jmp 0x100d4d46
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov eax, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea esi, [eax + 1]
jmp 0x100d4cd0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100d4cd0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.10005610
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 1
call fcn.100f0d69
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x100d4d11
mov edx, dword [esp + 0x10]
push edx
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x100d4d24
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
cmp dword [esp + 0x40], esi
jb 0x100d4d44
mov eax, dword [esp + 0x2c]
push eax
call fcn.10159534
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10159cce
add esp, 0x48
ret
Function at 0x100d6db0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1018c1ab
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 0xc]
mov dword [esi], 0x1019bce8
push eax
mov dword [esi + 8], 0x10199604
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.100a72b0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [edi + 4], eax
mov byte [eax + 0xe1], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x100d77c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1018c2d7
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x220]
mov ebx, dword [esp + 0x224]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.100727a0
mov ecx, eax
call fcn.100727a0
mov eax, dword [esp + 0x1c]
lea edx, [eax - 4]
cmp edx, 0x60
ja 0x100d7a2c
cmp dword [esp + 0x14], 0x2800
jle 0x100d7871
push str.invalid_size___
lea ecx, [esp + 0x24]
call fcn.10006620
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x21c], 1
call fcn.100064d0
push 0x101aa894
lea ecx, [esp + 0x40]
push ecx
call fcn.10159cdd
push eax
lea ecx, [esp + 0x160]
call fcn.100d7c40
cmp dword [esp + 0x14], 0
mov dword [esp + 0x218], 2
mov dword [esp + 0x18], 0
jle 0x100d79e4
lea edx, [esp + 0x15c]
push edx
push ebp
call fcn.100d8070
add esp, 8
lea ecx, [esp + 0x15c]
call fcn.100d7a80
test edx, edx
jl 0x100d79cf
jg 0x100d78cb
test eax, eax
jbe 0x100d79cf
lea ecx, [esp + 0x15c]
call fcn.100d7b00
test edx, edx
jl 0x100d79cf
jg 0x100d78e9
test eax, eax
jb 0x100d79cf
lea ecx, [esp + 0x15c]
call fcn.100d7a80
lea ecx, [esp + 0x15c]
mov edi, eax
mov esi, edx
call fcn.100d7b00
cmp esi, edx
jl 0x100d79cf
jg 0x100d7917
cmp edi, eax
jb 0x100d79cf
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x160]
call fcn.10058470
mov ecx, eax
call fcn.10001360
test al, al
jne 0x100d79cf
lea ecx, [esp + 0x15c]
call fcn.100d7b70
push eax
lea ecx, [esp + 0x160]
call fcn.100d7b60
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x168]
call fcn.10058470
push eax
lea edx, [esp + 0x14c]
push edx
call fcn.100edbb5
add esp, 0x10
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x220], 3
call fcn.100d49d0
push eax
lea edx, [esp + 0x68]
push edx
lea ecx, [ebx + 0x24]
mov byte [esp + 0x220], 4
call fcn.100d5b20
lea ecx, [esp + 0x70]
mov byte [esp + 0x218], 3
call fcn.10050d10
lea ecx, [esp + 0x140]
mov byte [esp + 0x218], 2
call fcn.10089160
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jl 0x100d789c
mov ecx, ebx
call fcn.100d6e70
lea ecx, [esp + 0x15c]
mov dword [esp + 0x218], 0xffffffff
call fcn.10058600
mov eax, ebp
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.10159cce
add esp, 0x208
ret
push 0x10
xor esi, esi
push str.invalid_cache___
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.10005610
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x21c], esi
call fcn.100064d0
push 0x101aa894
lea ecx, [esp + 0x40]
push ecx
call fcn.10159cdd
int3
Function at 0x100daf40
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [esp + 0x138]
push esi
push 0
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100dafd1
push edi
mov edi, dword [esp + 0x13c]
lea ecx, [esp + 0x30]
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100dafb0
test dl, dl
je 0x100dafac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100dafb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100daf90
xor eax, eax
jmp 0x100dafb5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100dafca
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100daf87
jmp 0x100dafd0
mov edx, dword [esp + 0x14]
mov dword [ebx], edx
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x130]
pop esi
pop ebx
xor ecx, esp
call fcn.10159cce
add esp, 0x12c
ret 8

Function at 0x100db8a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1018c6b1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], 2
call fcn.100daf00
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
lea edi, [esi + 0x64]
push eax
push edi
push ecx
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.10031000
mov ecx, dword [edi + 4]
push ecx
call fcn.10159534
xor ebx, ebx
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp dword [esi + 0x60], 0x10
jb 0x100db917
mov edx, dword [esi + 0x4c]
push edx
call fcn.10159534
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [esi + 0x60], 0xf
mov dword [esi + 0x5c], ebx
lea eax, [esi + 0x30]
mov byte [esi + 0x4c], bl
push eax
mov dword [esi + 0x2c], 0x10199604
call edi
lea ecx, [esi + 0x14]
mov ebx, 0x10199600
mov dword [esi + 0x2c], ebx
push ecx
mov dword [esi + 0x10], 0x10199604
call edi
mov dword [esi + 0x10], ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x100db970
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x1018c6db
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x16c]
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x38], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x18], edi
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x100dba6c
lea edi, [ebx + 0x10]
nop
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100db9f7
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10005610
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov dword [esp + 0x168], ebx
call fcn.100db770
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.10005470
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x164], 0xffffffff
jb 0x100dba51
mov edx, dword [esp + 0x18]
push edx
call fcn.10159534
add esp, 4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100db9e0
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.10159cce
add esp, 0x158
ret 4

Function at 0x100dbae0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1018c731
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 0x14]
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0xc], eax
push ecx
mov dword [esi + 0x10], 0x10199604
call edi
lea edx, [esi + 0x30]
push edx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x2c], 0x10199604
call edi
mov dword [esi + 0x60], 0xf
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
lea edi, [esi + 0x64]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.10004450
mov dword [edi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov byte [esi + 0x70], bl
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x100dc170
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x100dc196
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x100dc150
push 0
push 0
mov byte [esi + 9], 0
call fcn.1015a189
add esp, 0x18
mov dword [esi], eax
pop esi
ret
Function at 0x100dcab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1018c7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
lea eax, [esi + 0x10]
mov dword [esp + 0x24], eax
add eax, 4
push eax
mov dword [esp + 0x24], 0x10199614
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov dword [esp + 0x3c], 0
mov byte [esp + 0x48], 3
call fcn.10042070
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
push edx
mov ecx, edi
call fcn.100587a0
mov eax, dword [esi + 8]
mov ebx, dword [eax]
lea edi, [esi + 4]
mov esi, edi
mov ecx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ecx
test esi, esi
je 0x100dcb48
cmp esi, edi
je 0x100dcb4d
call fcn.1015988d
cmp ebx, dword [esp + 0x2c]
je 0x100dcb9b
test esi, esi
jne 0x100dcb5c
call fcn.1015988d
cmp ebx, dword [esi + 4]
jne 0x100dcb66
call fcn.1015988d
cmp ebx, dword [esi + 4]
lea ebp, [ebx + 0xc]
jne 0x100dcb73
call fcn.1015988d
mov ecx, dword [esp + 0x40]
lea edx, [ebp + 0x14]
push edx
push ebp
call fcn.10007bf0
mov ecx, eax
call fcn.10007bf0
lea ecx, [esp + 0x18]
call fcn.100dc240
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x100dcb40
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x100dccb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018c7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x10]
lea ebx, [eax + 4]
push ebx
mov dword [esp + 0x20], 0x10199614
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x68]
push edi
lea eax, [esp + 0x18]
add esi, 4
push eax
mov ecx, esi
mov dword [esp + 0x68], 0
call fcn.100dc4b0
mov ebp, dword [esp + 0x14]
test ebp, ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
je 0x100dcd21
cmp ebp, esi
je 0x100dcd26
call fcn.1015988d
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x28]
je 0x100dcd45
cmp byte [esp + 0x70], 0
je 0x100dcd45
push eax
push ebp
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.100dc520
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], edx
mov edx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], edx
call fcn.100dcbc0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc