joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1f024bf0
Capabilities:
Create mailslot
Read file on windows
Read from mailslot

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x200
mov dword [0x1f08379c], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x200
call fcn.1f03f57c
add esp, 4
push ebx
push ebx
mov edi, eax
xor eax, eax
push ebx
push ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebp, eax
mov eax, dword [0x1f083764]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x45], eax
mov word [esp + 0x49], ax
mov byte [esp + 0x4b], al
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, 4
push 0xffffffffffffffff
mov word [esp + 0x42], cx
mov ecx, dword [esp + 0x6c]
push ebx
lea edx, [esp + 0x44]
push ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x48], 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x40], edx
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov edx, dword [0x1f08376c]
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
push edx
mov dword [esp + 0x20], eax
call esi
mov eax, dword [0x1f083790]
push eax
call esi
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1f024d41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1f024d3a
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
test eax, eax
je 0x1f024d63
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x10]
jae 0x1f024cd0
push edi
call fcn.1f03f571
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1f03f57c
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, eax
mov dword [esp + 0x14], edx
jmp 0x1f024cd0
cmp eax, 0x3e5
jne 0x1f024d63
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebx
je 0x1f024d63
cmp eax, 1
je 0x1f024d8d
cmp eax, 0xffffffff
jne 0x1f024cd0
mov edx, dword [0x1f083790]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebp
call esi
push edi
call fcn.1f03f571
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp dword [esp + 0x10], ebx
je 0x1f024cd0
mov ecx, dword [esp + 0x18]
push 1
push ecx
push edi
call fcn.1f023c10
add esp, 0xc
mov dword [esp + 0x10], ebx
jmp 0x1f024cd0
Function at 0x1f026970
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x430
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x10b00c], edi
je 0x1f02698f
pop edi
xor eax, eax
pop ebx
add esp, 0x430
ret
push esi
push 0x424
lea eax, [esp + 0x1c]
push edi
push eax
mov dword [ebx + 0x10b00c], 1
mov dword [esp + 0x20], edi
call fcn.1f03f590
mov ecx, dword [0x1f0836f0]
add esp, 0xc
push ecx
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
jne 0x1f0269dc
pop esi
mov dword [ebx + 0x10b00c], edi
pop edi
xor eax, eax
pop ebx
add esp, 0x430
ret
lea edx, [esp + 0x14]
push edx
push esi
mov dword [esp + 0x1c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1f026a0c
push esi
mov dword [ebx + 0x10b00c], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0x430
ret
mov eax, dword [ebx]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
push ebp
push edi
push edi
add ecx, eax
call fcn.1f02da00
mov dword [esp + 0x10], edi
lea ebp, [ebx + 0x42c]
jmp 0x1f026a30
lea edi, [ebp - 0x428]
mov ecx, 0x10a
lea esi, [esp + 0x18]
lea edx, [esp + 0x238]
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, ebx
call fcn.1f026630
mov ecx, dword [esp + 0x14]
inc dword [esp + 0x10]
mov dword [ebp], eax
lea eax, [esp + 0x18]
push eax
push ecx
add ebp, 0x42c
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x1f026a7a
cmp dword [esp + 0x10], 0x400
jb 0x1f026a30
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
mov dword [ebx + 0x10b004], edx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.1f02da70
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
pop edi
mov dword [ebx + 0x10b00c], 0
mov eax, 1
pop ebx
add esp, 0x430
ret
Function at 0x1f028480
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1f0837c0]
push esi
push edi
xor edi, edi
push eax
cmp eax, 0x40
jae 0x1f028496
call section..text
jmp 0x1f02849c
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1f0284ad
call fcn.1f014150
mov esi, eax
test esi, esi
je 0x1f0284ba
cmp dword [esi + 0x1c], edi
jne 0x1f0284ba
mov edi, 1
mov dword [esi + 0x1c], edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.1f027fe0
add esp, 0x20
test edi, edi
je 0x1f0284f5
mov dword [esi + 0x1c], 0
pop edi
pop esi
ret
Function at 0x1f0291c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
mov eax, dword [0x1f0837c0]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
push eax
cmp eax, 0x40
jae 0x1f0291ec
call section..text
jmp 0x1f0291f2
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, esi
je 0x1f029248
mov eax, dword [eax + 4]
cmp eax, esi
je 0x1f029248
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 0x10]
cmp ecx, esi
je 0x1f029248
lea ebx, [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
cmp dword [edx + 0x1b0c], esi
je 0x1f02922d
cmp dword [eax + 0x1a5c], esi
jne 0x1f029236
cmp dword [eax + 0x1a58], esi
jne 0x1f029236
mov ecx, dword [ecx + 8]
cmp ecx, esi
jne 0x1f029210
jmp 0x1f029248
mov ecx, dword [eax + 0x1a58]
mov edx, dword [eax + 0x1a5c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x1f082a00]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x1f082a04]
push esi
push 0x989680
push edx
push ecx
call fcn.1f040910
mov ecx, dword [0x1f0829fc]
push ecx
mov ecx, dword [0x1f0829f8]
push ecx
push edx
push eax
call fcn.1f040860
add eax, dword [0x1f0834b0]
adc edx, dword [0x1f0834b4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1f0292a4
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
lea ebx, [edi + 0x20]
mov eax, ebx
call fcn.1f03e7e0
mov esi, esp
test esi, esi
jne 0x1f0292d5
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [esi], 0x1f
mov dword [esi + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], edx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
push edi
push edx
lea eax, [esi + 0x20]
mov dword [esi + 0x18], ecx
push eax
mov dword [esi + 0x1c], edi
call fcn.1f03f7a0
mov ecx, dword [0x1f083708]
add esp, 0xc
push ebx
push esi
call fcn.1f02f110
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1f02a2a0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push edi
xor eax, eax
push esi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
mov word [esi + edi*2 - 2], cx
pop edi
pop esi
ret
Function at 0x1f02a3c0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1000
call fcn.1f03e9c0
push 0x800
lea ecx, [esp + 4]
xor eax, eax
push ecx
mov word [esp + 8], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [esp + 0x1010]
mov ecx, dword [esp + 0x100c]
push eax
mov eax, dword [esp + 0x100c]
xor edx, edx
push ecx
mov ecx, dword [esp + 0x100c]
mov word [esp + 0x1006], dx
lea edx, [esp + 8]
push edx
push eax
push ecx
call fcn.1f02a100
add esp, 0x1014
ret

Function at 0x1f02a480
Capabilities:
Query environment variable

Disassembly:
push ecx
xor ecx, ecx
mov eax, 0x1000
mov edx, 2
mul edx
seto cl
push ebx
push ebp
push esi
push edi
neg ecx
or ecx, eax
push ecx
call fcn.1f03f57c
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add esp, 4
mov ebx, eax
push 0x1000
push ebx
push str.Path
mov dword [esp + 0x1c], ebx
call edi
mov esi, eax
test esi, esi
je 0x1f02a5ff
cmp esi, 0x1000
jbe 0x1f02a500
push ebx
call fcn.1f03f571
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1f03f57c
add esp, 8
push esi
push eax
push str.Path
mov dword [esp + 0x1c], eax
call edi
mov ebx, dword [esp + 0x10]
mov edi, ebx
test ebx, ebx
je 0x1f02a5ff
mov ebx, dword [esp + 0x24]
mov edi, edi
push 0x3b
push edi
call fcn.1f03e1ee
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1f02a52a
xor eax, eax
mov word [ebp], ax
add ebp, 2
cmp word [edi], 0
je 0x1f02a5fb
push edi
call fcn.1f034370
add esp, 4
test eax, eax
je 0x1f02a5d2
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1f02a550
sub eax, edx
sar eax, 1
xor ecx, ecx
add eax, 5
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1f03f57c
mov esi, eax
mov eax, 0x1f05eed8
mov edx, esi
add esp, 4
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f02a586
mov ecx, esi
sub ecx, edi
mov eax, edi
lea edx, [ecx + 8]
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f02a5a0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
push edx
push esi
push eax
push ecx
call fcn.1f02a100
push esi
mov edi, eax
call fcn.1f03f571
add esp, 0x18
jmp 0x1f02a5ed
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
push edx
push edi
push eax
push ecx
call fcn.1f02a100
add esp, 0x14
mov edi, eax
test edi, edi
jne 0x1f02a610
mov edi, ebp
test ebp, ebp
jne 0x1f02a510
mov ebx, dword [esp + 0x10]
push ebx
call fcn.1f03f571
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.1f03f571
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x1f02a630
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x2024
call fcn.1f03e9c0
mov ecx, dword [esp + 0x2038]
push ebx
push esi
xor eax, eax
push edi
lea edx, [esp + 0x1030]
push edx
xor ebx, ebx
push 0x800
mov word [ecx], ax
mov dword [esp + 0x14], ebx
or esi, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [esp + 0x203c]
mov edi, dword [esp + 0x2038]
cmp eax, ebx
je 0x1f02a69e
push eax
jmp 0x1f02a6b6
push 0x800
lea eax, [esp + 0x34]
push eax
push edi
call fcn.1f033fd0
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp edi, ebx
je 0x1f02a736
lea eax, [esp + 0x10]
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateActCtxW]
xor edx, edx
push eax
mov dword [esp + 0x18], 1
mov word [esp + 0x20], dx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1f02a718
or dword [esp + 0x14], 8
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], 2
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1f02a718
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x28], 1
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x1f02a736
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
je 0x1f02a72f
mov ebx, 1
jmp 0x1f02a736
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov ecx, dword [esp + 0x2044]
mov edx, dword [esp + 0x2048]
mov eax, dword [esp + 0x2040]
push 0
push ecx
push edx
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
mov edi, eax
neg edi
sbb edi, edi
neg edi
test ebx, ebx
je 0x1f02a77a
mov ecx, dword [esp + 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
lea edx, [esp + 0x1030]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x2024
ret
Function at 0x1f02bc50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1f02bc6b
pop edi
xor eax, eax
pop ebx
ret
mov cl, byte [edi]
test cl, cl
je 0x1f02bc7b
cmp cl, 0x90
je 0x1f02bc7b
cmp cl, 0xcc
jne 0x1f02bc96
mov eax, 1
cmp ebx, eax
jbe 0x1f02bc8e
cmp byte [eax + edi], cl
jne 0x1f02bc96
inc eax
cmp eax, ebx
jb 0x1f02bc84
pop edi
mov eax, 1
pop ebx
ret
push esi
xor esi, esi
test ebx, ebx
jbe 0x1f02bcb5
lea ecx, [ecx]
push edi
call fcn.1f02ba80
add esp, 4
test eax, eax
je 0x1f02bcb5
add esi, eax
add edi, eax
cmp esi, ebx
jb 0x1f02bca0
cmp esi, ebx
pop esi
sbb eax, eax
pop edi
inc eax
pop ebx
ret
Function at 0x1f02bdd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x220
cmp dword [esp + 0x230], 0
push ebp
push esi
push edi
je 0x1f02bf4b
mov edi, dword [esp + 0x230]
mov ebp, dword [esp + 0x238]
mov eax, dword [edi]
mov dword [esp + 0xc], eax
cmp ebp, 1
jne 0x1f02be09
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], ecx
jmp 0x1f02be11
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x1f02bfae
mov eax, dword [esp + 0x240]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1f02be49
lea edx, [esp + 0x14]
push edx
push edi
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1f02bfae
push 0x104
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x24]
push edx
call fcn.1f02bcc0
mov esi, eax
mov eax, dword [esp + 0x18]
cdq
mov ecx, eax
mov eax, edx
mov dword [esp + 0x1c], eax
add esp, 4
mov eax, edi
cdq
sub eax, ecx
mov ecx, dword [esp + 0x18]
sbb edx, ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1f0302a0
test eax, eax
je 0x1f02bfae
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1f02bfae
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
xor eax, eax
cmp ebp, 1
sete al
push 0
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
lea eax, [eax*4 + 4]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
sub eax, dword [esi + 0x1104]
mov ecx, dword [esp + 0x10]
sbb ecx, dword [esi + 0x1108]
push ecx
push eax
mov ecx, esi
call fcn.1f030dc0
test eax, eax
je 0x1f02bfae
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov dword [ecx], 0xe
mov eax, 1
pop ebp
add esp, 0x220
ret
mov edx, dword [esp + 0x240]
push edx
call fcn.1f02bcc0
mov ecx, dword [esp + 0x234]
mov edx, dword [ecx]
add esp, 4
cmp dword [esp + 0x238], 1
jne 0x1f02bf73
mov esi, dword [ecx + 4]
jmp 0x1f02bf75
xor esi, esi
mov ecx, dword [eax + 0x1104]
sub edx, ecx
mov ecx, dword [eax + 0x1108]
sbb esi, ecx
push esi
push edx
mov ecx, eax
call fcn.1f030dc0
test eax, eax
je 0x1f02bfae
mov edx, dword [esp + 0x234]
pop edi
pop esi
mov dword [edx], 0xe
mov eax, 1
pop ebp
add esp, 0x220
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x220
ret
Function at 0x1f02f5d0
Capabilities:
Create mailslot
Create thread

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x1f02f5e3
push 0xffffffffffffffff
call fcn.1f02f4c0
mov eax, dword [esi + 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x1f02f67c
cmp dword [esp + 0x28], eax
je 0x1f02f655
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
mov dword [esp + 0xc], eax
mov dword [esp + 0x11], eax
mov dword [esp + 8], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
push eax
mov ecx, 4
push 0xffffffffffffffff
mov word [esp + 0x1a], cx
lea edx, [esp + 0x18]
push 0
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 1
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x14], edx
push ecx
jmp 0x1f02f65f
push 0
push 0xffffffffffffffff
push 0
lea edx, [esi + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
jne 0x1f02f685
push 0
push str.Mailslot_server_creation_error_:
call fcn.1f029560
add esp, 8
xor eax, eax
pop esi
add esp, 0x20
ret 8
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esp + 0x2c]
lea ecx, [esi + 0x438]
push ecx
push 0
push esi
push 0x1f02f270
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x1f02f67c
mov dword [esi + 0x14], 1
mov eax, 1
pop esi
add esp, 0x20
ret 8
Function at 0x1f030800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1f0565cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0x1f05f8d8
push edi
xor edi, edi
push 0x1000
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], 0x1f0575b0
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.1f03f57c
add esp, 4
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 0x1000
mov dword [esi + 0x34], edi
mov dword [esi + 0x20], 0x1000
mov dword [esi + 0x24], edi
mov dword [esp + 0x14], edi
mov ecx, esi
call fcn.1f0307b0
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1f033ad0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.Ntdll.dll
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call edi
push str.Kernel32.dll
mov dword [esi], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x1f033b33
push str.NtQueryInformationThread
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi]
push str.NtQueryInformationProcess
push eax
call edi
mov ecx, dword [esi]
push str.RtlNtStatusToDosError
push ecx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1f033b61
push str.GetProcessIdOfThread
push eax
call edi
mov edx, dword [esi + 4]
push str.GetThreadId
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.GetProcessId
push eax
call edi
mov dword [esi + 0x1c], eax
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x1f033cf0
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
xor eax, eax
push ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push esi
xor ebx, ebx
push eax
mov dword [esp + 0xc], ebx
call fcn.1f033b70
mov esi, eax
cmp esi, ebx
jne 0x1f033c5f
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
push edi
push ebx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x1f033c7a
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esp + 0x14], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1f033cce
cmp esi, dword [esp + 0x14]
je 0x1f033cb8
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1f033c91
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret 4
mov ebx, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret 4
push ebx
call fcn.1f029560
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret 4
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x1f033cf9
jmp eax
jmp 0x1f033c20
Function at 0x1f033d00
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xor eax, eax
push eax
push 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0x1c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x1f033d46
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret
push edi
lea eax, [esp + 0xc]
push eax
push esi
xor edi, edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x1f033d68
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret
cmp dword [esp + 0x18], ebx
jne 0x1f033d74
inc edi
cmp edi, 1
ja 0x1f033d5f
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1f033d68
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 2
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x1c
ret

Function at 0x1f033da0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0x1c
cmp eax, 0xffffffff
jne 0x1f033de7
xor eax, eax
add esp, 0x24
ret
lea ecx, [esp + 8]
push ecx
push eax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1f033de1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
lea esp, [esp]
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x24], edx
jne 0x1f033e37
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
je 0x1f033e37
push eax
push 0
push 2
call edi
mov esi, eax
test esi, esi
je 0x1f033e37
push esi
call ebx
push esi
call ebp
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
push ecx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1f033e10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret