joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1f007940
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x428
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
je 0x1f00795e
xor eax, eax
add esp, 0x428
ret
push ebx
push 0x424
lea ecx, [esp + 0xc]
push 0
push ecx
mov dword [esp + 0x10], 0
call fcn.1f03f590
mov edx, dword [esp + 0x43c]
mov eax, dword [esp + 0x440]
add esp, 0xc
push edx
push eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1f0079b5
lea ecx, [esp + 4]
push ecx
push ebx
mov dword [esp + 0xc], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1f0079bf
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
add esp, 0x428
ret
push ebp
mov ebp, dword [esp + 0x444]
push esi
mov esi, dword [esp + 0x440]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x1f0079e6
push 0
push esi
call edi
cmp eax, 0x102
jne 0x1f007a06
push ebp
lea edx, [esp + 0x14]
push edx
call dword [esp + 0x450]
test eax, eax
je 0x1f007a06
lea eax, [esp + 0x10]
push eax
push ebx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1f0079d6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x428
ret

Function at 0x1f007ac0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
push esi
push edi
push 0
push eax
mov edi, ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
jne 0x1f007afa
cmp dword [edi + 4], eax
je 0x1f007afa
push eax
push str.Pipe_read_error_:
call fcn.1f029560
add esp, 8
mov eax, esi
pop edi
pop esi
ret 0xc

Function at 0x1f007b00
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
push esi
push edi
push 0
push eax
mov edi, ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test esi, esi
jne 0x1f007b3a
cmp dword [edi + 4], eax
je 0x1f007b3a
push eax
push str.Pipe_write_error_:
call fcn.1f029560
add esp, 8
mov eax, esi
pop edi
pop esi
ret 0xc
Function at 0x1f013d90
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1f0837c0]
push eax
cmp eax, 0x40
jae 0x1f013da2
call section..text
jmp 0x1f013da8
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1f013dad
ret
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 0x10]
mov edx, dword [eax]
push esi
push edi
mov edi, dword [esp + 0xc]
lea esi, [edx + 0x1d30]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
fld qword [edx + 0x1d60]
sub esp, 8
fstp qword [esp]
call fcn.1f013840
mov eax, dword [edx + 0x1d74]
mov ecx, dword [edx + 0x38]
add esp, 8
pop edi
mov dword [ecx + 0x1b48], eax
mov eax, dword [edx + 0x1d70]
pop esi
ret

Function at 0x1f014150
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1f055ffb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
call fcn.1f00104b
mov ebp, eax
mov eax, dword [0x1f0837c4]
push eax
cmp eax, 0x40
jae 0x1f014183
call section..text
jmp 0x1f014189
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1f0837c4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, eax
lea eax, [edi + 1]
push eax
push ecx
cmp ecx, 0x40
jae 0x1f0141a8
call fcn.1f001021
jmp 0x1f0141aa
call ebx
push 0x78
call fcn.1f03e832
add esp, 4
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x1c], esi
cmp eax, esi
je 0x1f0141d2
mov ecx, dword [0x1f0837b8]
push ecx
mov ecx, eax
call fcn.1f01daf0
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [0x1f0837c0]
push esi
push eax
cmp eax, 0x40
jae 0x1f0141ed
call fcn.1f001021
jmp 0x1f0141ef
call ebx
mov eax, dword [0x1f0837cc]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax]
add ecx, eax
mov eax, dword [edx + 0x10]
push esi
call eax
mov eax, dword [0x1f0837c4]
push edi
push eax
cmp eax, 0x40
jae 0x1f014217
call fcn.1f001021
jmp 0x1f014219
call ebx
push ebp
call fcn.1f001055
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1f014340
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1f0837c0]
push eax
cmp eax, 0x40
jae 0x1f014352
call section..text
jmp 0x1f014358
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1f01435d
ret
dec dword [eax + 0x70]
mov ecx, dword [eax + 0x70]
push esi
mov esi, dword [eax + ecx*8 + 0x24]
cmp dword [esi + 0x1b2c], 0
push edi
mov edi, dword [eax + ecx*8 + 0x20]
jne 0x1f01439b
movzx eax, byte [esi + 0xb4]
mov edx, dword [esi + 0xb0]
push eax
lea ecx, [esi + 8]
push ecx
push edx
mov dword [esi + 0xa0], 0
call fcn.1f03f7a0
add esp, 0xc
lea eax, [esi + 0xa8]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
mov ecx, dword [eax]
test ecx, ecx
jge 0x1f0143b6
mov dword [eax], 0
mov eax, edi
pop edi
pop esi
ret
Function at 0x1f0143c0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1f0837c8]
push eax
cmp eax, 0x40
jae 0x1f0143d9
call section..text
shl eax, 4
add eax, 0x1f07e9d8
ret
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
shl eax, 4
add eax, 0x1f07e9d8
ret

Function at 0x1f014450
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
call fcn.1f00104b
mov ebx, eax
mov eax, dword [0x1f083734]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 1
mov eax, 0x1f07e9f0
cmp dword [eax], 0
je 0x1f01448a
inc esi
add eax, 0x10
cmp esi, 0x400
jb 0x1f014474
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [0x1f0837c8]
push edi
mov edi, esi
shl edi, 4
mov dword [edi + 0x1f07e9e0], 1
push eax
cmp eax, 0x40
jae 0x1f0144ac
call section..text
jmp 0x1f0144b2
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [edi + 0x1f07e9e4], eax
mov eax, dword [0x1f0837c8]
push esi
push eax
cmp eax, 0x40
jae 0x1f0144cb
call fcn.1f001021
jmp 0x1f0144d1
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x1f083734]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
call fcn.1f001055
lea eax, [edi + 0x1f07e9d8]
pop edi
pop esi
pop ebx
ret

Function at 0x1f014590
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x618
push esi
mov esi, dword [esp + 0x620]
movzx ecx, byte [esi + 0xb4]
mov edx, dword [esi + 0xb0]
lea eax, [esi + 0xa4]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1f014611
cmp dword [esp + 0x624], eax
mov eax, str.Error_removing_memory_protection_at_0x_p_for_function__s_in_module__s._Hook_wont_be_installed_for_this_function
jne 0x1f0145d3
mov eax, str.Error_removing_memory_protection_at_0x_p_for_function__s_in_module__s.
mov ecx, dword [esi + 0x1b04]
mov edx, dword [esi + 0x1b08]
push ecx
mov ecx, dword [esi + 0xb0]
push edx
push ecx
push eax
lea edx, [esp + 0x14]
push 0x30c
push edx
call fcn.1f03e8e1
add esp, 0x18
lea eax, [esp + 4]
push eax
push 3
call fcn.1f0291c0
xor eax, eax
pop esi
add esp, 0x618
ret
mov eax, 1
pop esi
add esp, 0x618
ret
Function at 0x1f015bb0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x818
push ebp
mov ebp, dword [esp + 0x820]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0xc
push ebp
call edi
test eax, eax
je 0x1f015bd9
pop edi
xor eax, eax
pop ebp
add esp, 0x818
ret
push esi
mov esi, dword [ebp]
push 0x1b78
push esi
call edi
test eax, eax
je 0x1f015bf5
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 0x818
ret
cmp dword [esi + 0x1b30], 0
je 0x1f015c0d
pop esi
pop edi
mov eax, 1
pop ebp
add esp, 0x818
ret
movzx edi, byte [esi + 0xb4]
push ebx
push edi
lea ebx, [esi + 8]
lea eax, [esp + 0x20]
push ebx
push eax
mov dword [esi + 0x1b2c], 1
call fcn.1f03f7a0
push edi
lea ecx, [esi + 0x14]
push ecx
push ebx
call fcn.1f03f7a0
mov edx, dword [esi + 0xb0]
add esp, 0x18
push edx
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
je 0x1f015c63
push ebp
call fcn.1f00dcf0
pop ebx
pop esi
pop edi
mov eax, 1
pop ebp
add esp, 0x818
ret
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.1f015800
mov ecx, dword [0x1f08372c]
add esp, 8
push ecx
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0xac]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1f015d17
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x1f015d17
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
inc ebx
call fcn.1f033d00
test eax, eax
je 0x1f015cbf
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call ebp
jmp 0x1f015d06
test edi, edi
jne 0x1f015cfe
cmp ebx, 0xa
jbe 0x1f015cfe
mov ecx, dword [esi + 0x1b08]
mov edx, dword [esi + 0x1b04]
push ecx
push edx
push str.Waiting_for_return_of_api__s:_s...
lea eax, [esp + 0x34]
push 0x400
push eax
mov edi, 1
call fcn.1f03e8e1
add esp, 0x14
lea ecx, [esp + 0x28]
push ecx
push 2
call fcn.1f0291c0
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0xa8]
test edx, edx
jne 0x1f015ca8
mov ebp, dword [esp + 0x82c]
mov edi, 1
mov dword [esi + 0x1b30], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1f06c378], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
je 0x1f015d46
cmp byte [esi + 0xb5], 0
mov dword [esp + 0x18], edi
ja 0x1f015d4e
mov dword [esp + 0x18], 0
mov eax, dword [0x1f0837a4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
mov eax, dword [0x1f083700]
jne 0x1f015d96
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x10]
push edx
call eax
mov ecx, dword [0x1f083724]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 0x818
ret
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax]
mov edx, dword [edx + 0xc]
add ecx, eax
push edi
lea eax, [esp + 0x14]
push eax
call edx
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 0x818
ret
Function at 0x1f016160
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x630
push esi
push 0x424
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.1f03f590
mov ecx, dword [0x1f0836f0]
add esp, 0xc
push ecx
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x1f0161a2
xor eax, eax
pop esi
add esp, 0x630
ret
push edi
mov edi, dword [esp + 0x63c]
push 0x5c
push edi
call fcn.1f03ec16
add esp, 8
test eax, eax
je 0x1f0161bc
lea edi, [eax + 2]
lea edx, [esp + 8]
push edx
push esi
mov dword [esp + 0x10], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1f0161f4
lea eax, [esp + 0x28]
push edi
push eax
call fcn.1f03eb83
add esp, 8
test eax, eax
je 0x1f016206
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1f0161d3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x630
ret
mov eax, dword [esp + 0x640]
cmp eax, dword [esp + 0x20]
jbe 0x1f016250
push edi
push eax
push str.0x_p_is_an_invalid_relative_address_for_module__s
lea edx, [esp + 0x43c]
push 0x104
push edx
call fcn.1f03e8e1
add esp, 0x14
lea eax, [esp + 0x430]
push eax
push 3
call fcn.1f0291c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x630
ret
mov ecx, dword [esp + 0x1c]
push esi
lea edi, [ecx + eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x630
ret
Function at 0x1f0184f0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x1f055ffb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1f0837c0]
push esi
push eax
cmp eax, 0x40
jae 0x1f018519
call section..text
jmp 0x1f01851f
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1f018535
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x3c
call fcn.1f03e832
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1f018597
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push esi
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
push edx
mov ecx, eax
call fcn.1f01dca0
mov esi, eax
jmp 0x1f018599
xor esi, esi
push edi
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.1f01e450
mov edi, eax
test esi, esi
je 0x1f0185bf
mov ecx, esi
call fcn.1f01e500
push esi
call fcn.1f03e80c
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1f019310
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1f0837c0]
push ebp
push eax
cmp eax, 0x40
jae 0x1f019323
call section..text
jmp 0x1f019329
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
test ebp, ebp
je 0x1f01949a
mov eax, dword [ebp + 4]
test eax, eax
je 0x1f01949a
cmp dword [esp + 8], 0
je 0x1f019355
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.1f03d970
test eax, eax
jmp 0x1f019364
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.1f03d970
cmp eax, 1
je 0x1f01949a
mov eax, dword [ebp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
cmp dword [edx + eax + 0x10], 0
je 0x1f01949a
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 0x10]
mov edi, dword [eax]
cmp dword [edi + 0x48], 0
je 0x1f019497
cmp dword [esp + 0x14], 0
mov ebx, dword [edi + 0x9c]
mov esi, dword [esp + 0x18]
je 0x1f0193bd
mov eax, dword [edi + 0x3c]
cmp esi, eax
ja 0x1f01944f
jne 0x1f0193bd
cmp dword [esp + 0x1c], ebx
ja 0x1f01944f
cmp esi, dword [edi + 0x3c]
je 0x1f0193fd
mov ecx, dword [esp + 0x18]
push 8
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1f0193fd
mov edx, dword [esp + 0x18]
push 8
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1f0193f8
mov esi, dword [esi]
cmp esi, dword [edi + 0x3c]
je 0x1f0193fd
push 8
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1f0193e4
cmp esi, dword [edi + 0x3c]
ja 0x1f01944f
cmp dword [esp + 0x14], 0
je 0x1f019410
cmp dword [esp + 0x1c], ebx
jbe 0x1f019497
jmp 0x1f01944f
mov edi, dword [edi + 0x38]
movzx eax, byte [edi + 0xb5]
xor edx, edx
test eax, eax
jbe 0x1f019441
lea ecx, [edi + 0x174]
mov esi, eax
mov eax, dword [ecx]
cmp eax, 4
ja 0x1f019434
mov eax, 4
add edx, eax
add ecx, 0xa4
sub esi, 1
jne 0x1f019428
mov eax, dword [esp + 0x1c]
add edx, ebx
cmp eax, edx
ja 0x1f01944f
cmp eax, ebx
jae 0x1f019497
mov eax, dword [ebp + 8]
test eax, eax
je 0x1f019475
mov edx, dword [ebp + 4]
mov esi, dword [edx]
mov ecx, dword [eax]
mov esi, dword [esi + 4]
mov ecx, dword [ecx + 4]
mov edx, dword [esi + edx + 0x10]
mov edx, dword [edx]
add ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push 0
call eax
mov ecx, dword [ebp + 4]
push 0
push ecx
push ebp
call fcn.1f018e50
mov eax, dword [ebp + 4]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add esp, 0xc
cmp dword [ecx + eax + 0x10], 0
jne 0x1f019380
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1f01dca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push 0x1f05608b
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x20]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x30]
push edi
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x44]
or edi, 0xffffffff
push 0xaf0
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi], edx
call fcn.1f03e832
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x1f01dd43
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.1f01ec00
jmp 0x1f01dd45
xor eax, eax
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x48]
push 0x98
push 0
push edi
mov dword [esi + 0x38], eax
call fcn.1f03f590
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov dword [esi + 0x34], edi
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x34

Function at 0x1f01e2c0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x20
xor eax, eax
push esi
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 dword [esp + 8], 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [esp + 0x28]
mov dword [esp + 4], eax
cmp esi, 0xffffffff
jne 0x1f01e300
xor eax, eax
pop esi
add esp, 0x20
ret
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1f01e375
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [0x1f0836f0]
jne 0x1f01e363
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x10]
je 0x1f01e363
cmp dword [0x1f08373c], 0
je 0x1f01e350
push edx
call fcn.1f01e2a0
add esp, 4
test eax, eax
jne 0x1f01e363
push edx
push 0
push 2
call edi
mov esi, eax
push esi
call ebx
push esi
call ebp
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1f01e324
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x20
ret
Function at 0x1f01e380
Capabilities:
Enumerate threads
Resume thread

Disassembly:
sub esp, 0x20
xor eax, eax
push esi
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 dword [esp + 8], 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [esp + 0x28]
mov dword [esp + 4], eax
cmp esi, 0xffffffff
jne 0x1f01e3c0
xor eax, eax
pop esi
add esp, 0x20
ret
push edi
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Thread32First
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1f01e434
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [0x1f0836f0]
jne 0x1f01e423
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x10]
je 0x1f01e423
cmp dword [0x1f08373c], 0
je 0x1f01e410
push edx
call fcn.1f01e2a0
add esp, 4
test eax, eax
jne 0x1f01e423
push edx
push 0
push 2
call ebx
mov esi, eax
push esi
call ebp
push esi
call edi
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1f01e3e4
pop ebp
pop ebx
push esi
call edi
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret

Function at 0x1f01f460
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 0x2cc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x10], 0x1003f
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [esp + 0x2e0]
cmp edi, eax
jne 0x1f01f496
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x1f01f4be
push edi
push 0
push 0xa
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1f01f520
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1f01f50e
mov eax, dword [0x1f0837cc]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
xor ebx, ebx
push ebx
push ebx
add ecx, eax
call fcn.1f02da00
mov eax, dword [0x1f0837cc]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x1f01f4f9
mov edx, dword [eax]
cmp dword [edx + 0x18], edi
je 0x1f01f4f7
mov eax, dword [eax + 4]
test eax, eax
jne 0x1f01f4e7
jmp 0x1f01f4f9
mov ebx, edx
call fcn.1f02da70
push ebx
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, ebp
call fcn.1f01ed40
mov ebx, eax
test esi, esi
je 0x1f01f520
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x2cc
ret 4
Function at 0x1f020330
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x428
push esi
push 0x424
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.1f03f590
mov ecx, dword [0x1f0836f0]
add esp, 0xc
push ecx
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x1f02037f
mov edx, dword [esp + 0x434]
mov dword [edx], str.Error_taking_snapshot_of_the_process
xor eax, eax
pop esi
add esp, 0x428
ret
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1f0203b4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x434]
mov dword [ecx], str.Error_parsing_modules_of_the_process
xor eax, eax
pop esi
add esp, 0x428
ret
push ebx
push edi
mov edi, dword [esp + 0x438]
lea ecx, [ecx]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, dword [edi]
push 0
push edx
cdq
push edx
mov edx, dword [ebx]
push eax
lea eax, [esp + 0x23c]
push eax
mov ecx, edi
call edx
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1f0203c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
pop edi
pop ebx
mov dword [ecx], str.Module_list_retrieval_success
mov eax, 1
pop esi
add esp, 0x428
ret
Function at 0x1f023830
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 0
je 0x1f02383b
jmp dword [esp + 4]
mov eax, dword [esp + 4]
push 0
push 0
push eax
push 0x1f0237d0
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1f023861
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret

Function at 0x1f023b10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x1f023ad0
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x1f023c10
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push 0x1f056236
push eax
mov dword fs:[0], esp
sub esp, 0x46c
cmp ecx, 4
jb 0x1f02440f
push ebx
push ebp
push esi
mov esi, dword [esp + 0x488]
mov ebx, 1
cmp ecx, 0x234
jae 0x1f023c7d
mov eax, dword [esi]
cmp eax, 6
je 0x1f023c7d
cmp eax, 7
je 0x1f023c97
cmp eax, 0x24
je 0x1f023c7d
cmp eax, 0x2b
je 0x1f023c7d
cmp eax, 0x2f
je 0x1f023c7d
cmp eax, 0x30
je 0x1f023c7d
cmp eax, 0x31
je 0x1f023c7d
cmp eax, 0x34
jne 0x1f02440c
mov eax, dword [esi]
cmp eax, 7
je 0x1f023c97
mov ebp, ebx
cmp eax, 0x3a
ja 0x1f02440c
push edi
jmp dword [eax*4 + 0x1f024424]
mov dword [esi], 6
mov eax, dword [esi]
mov ebp, 2
jmp 0x1f023c8f
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
add esp, 0x478
ret