joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405cf7
Capabilities:
Inspect section memory permissions

Disassembly:
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x405f6a
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x405d20
cmp dword [eax + 0xc], ebx
je 0x405dc3
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0040577b
daa
lahf
int3
call fcn.0040577b
imul ebp, dword [ebx - 0x787442e9], 0xa0
cmp eax, ebx
je 0x405e2f
add eax, esi
cmp dword [eax], ebx
je 0x405e2f
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x405e2a
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x405e14
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x405e1c
cmp edx, ebx
jne 0x405f6a
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x405deb
add eax, dword [eax + 4]
jmp 0x405dd8
mov dword [ebp + 0xc], ebx
jmp 0x405e3a
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405e52
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x405e70
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x405ece
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x405eb5
cmp dword [ebp + 8], ebx
je 0x405ebe
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x405ec8
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x405eaa
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe fcn.00405e34
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x405f1b
dec eax
je 0x405f12
sub eax, 3
je 0x405f09
mov dword [ebp - 4], 0x40
jmp 0x405f38
mov dword [ebp - 4], 4
jmp 0x405f1e
mov dword [ebp - 4], 0x20
jmp 0x405f1e
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x405f6a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x405eea
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040577b
push ebx
invalid
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x403e59
pop dword [ebp - 0x30]
mov eax, 0x403e59
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xa9af595d
sub dword [ebp - 0x40], 0x5b5d1412
mov dword [ebp - 0x3c], 0xc09da4d
sub dword [ebp - 0x3c], 0xd9d68e08
mov dword [ebp - 0x38], 0x553d50ca
add dword [ebp - 0x38], 0xf70ef364
mov dword [ebp - 0x34], 0x9dbbcf44
sub dword [ebp - 0x34], 0x9dbbcf44
lea eax, [ebp - 0x40]
push eax
mov eax, 0x9a89ea7f
add eax, 0x65b685e5
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x47b1fe1a
sub dword [ebp - 0x40], 0xd33f94c4
mov dword [ebp - 0x3c], 0x36f0aa45
sub dword [ebp - 0x3c], 0xf58448d0
mov dword [ebp - 0x38], 0xd2330e90
add dword [ebp - 0x38], 0x913c5ddc
mov dword [ebp - 0x34], 0x65ec07d5
sub dword [ebp - 0x34], 0x65ec07d5
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x96de4698
add eax, 0x69622a10
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3c4bd
push 0
call eax
mov ecx, 0x50125c5f
sub ecx, 0x5011fe2d
mov edi, eax
mov ebx, 0x6f9470db
sub ebx, 0x6f5370db
add ebx, dword [ebp - 0x30]
mov edx, 0xc9191ecb
mov esi, dword [ebx]
sub dword [ebp - 0x24], 0x88f1a897
xor esi, edx
sub dword [ebp - 0x24], edx
mov dword [edi], esi
add dword [ebp - 0xc], 0xd4fdb0e3
add edi, 0x3855a191
sub edi, 0x3855a18d
add ebx, 0xd90daff5
sub ebx, 0xd90daff1
loop 0x403f70
add eax, 0x9dfeebc3
add eax, 0x62027fd8
mov ebx, eax
add eax, 0xc2c9f02
add eax, 0xf3d36103
mov ecx, 0xee1c3fcd
add ecx, 0x1223c033
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x1a03058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01a031a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1a0307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a0306a
add dl, dl
jne 0x1a03089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a030dc
xor eax, eax
add dl, dl
jne 0x1a03096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1a0317d
add dl, dl
jne 0x1a030a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a030b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a030bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a030c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1a030d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1a03075
mov eax, 1
add dl, dl
jne 0x1a030ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1a030f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a030e1
sub eax, ebx
mov ebx, 1
jne 0x1a03128
mov ecx, 1
add dl, dl
jne 0x1a0310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a03119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a03105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a03075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1a0313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1a0314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1a03136
cmp eax, 0x7d00
jae 0x1a0316d
cmp eax, 0x500
jb 0x1a03168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a03075
cmp eax, 0x7f
ja 0x1a03170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1a03075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1a0319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1a03075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x408959
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
mov esi, dword [esp]
add esp, 4
sub ecx, eax
and ecx, eax
call fcn.00408982
xor dword [ebx], esi
inc ebx
dec ecx
add ecx, ecx
cmp ebx, edi
jne fcn.00408959
inc ecx
ret
Function at 0x10002430
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d8da
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10055020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0x1004c464
mov dword [edi + 4], 0x1004c450
mov dword [ebp - 4], 6
mov eax, dword [edi + 0x6c]
cmp eax, 0xffffffff
je 0x10002485
push 0
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
mov ecx, dword [edi + 0x50]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 5
lea esi, [edi + 0x64]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push dword [eax + 4]
push esi
call fcn.100032b0
push 0x30
push dword [esi]
call fcn.1001ff67
add esp, 8
mov byte [ebp - 4], 4
mov esi, dword [edi + 0x60]
test esi, esi
je 0x100024d2
mov ecx, esi
call fcn.100050c0
push 0x6c
push esi
call fcn.1001ff67
add esp, 8
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x100024ff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x100024ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x100024ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 2
mov esi, dword [edi + 0x54]
test esi, esi
je 0x10002528
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10002528
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10002528
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x38]
call fcn.10002a70
mov byte [ebp - 4], 0
lea ecx, [edi + 0x20]
call fcn.10002a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 8]
call fcn.10002a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100036d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dbdf
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10055020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.1001cfe8
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x10003781
push eax
push esi
call fcn.1001d2c8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.1001ce16
int3
Function at 0x10006f60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10006f91
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10006f80
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x1000ea10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e410
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10055020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x30], 0
je 0x1000ea67
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x1000ea48
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x1000ea5b
mov eax, dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 0x30], 0
mov word [eax], cx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1000ea7b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x1c], 0
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1000ea8f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x18], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1000eaa3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1000eab7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1000eacb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100130b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004001d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10055020]
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 eax, dword [ebp + 8]
mov ecx, 0x10157044
mov dword [ebp - 0x14], eax
mov al, 1
xchg byte [ecx], al
test al, al
je 0x100130f8
mov eax, 1
jmp 0x10013212
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.10013550
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov dword [eax], 0
mov esi, dword [0x10157138]
mov dword [0x10157138], ecx
test esi, esi
je 0x10013137
mov ecx, esi
call fcn.10012e60
push 0x91
push esi
call fcn.1001ff67
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1001315a
mov ecx, esi
call fcn.10012e60
push 0x91
push esi
call fcn.1001ff67
add esp, 8
mov ecx, dword [0x10157138]
call fcn.10019ad0
mov ebx, eax
call fcn.1001bfce
xor esi, esi
mov ecx, 1
mov edi, 0x1015708c
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x100131ac
mov edi, dword [sym.imp.kernel32.dll_Sleep]
cmp esi, 0x20
jae 0x10013191
push 0
jmp 0x10013193
push 1
call edi
inc esi
mov ecx, 1
xor eax, eax
mov edx, 0x1015708c
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10013188
mov edi, edx
cmp dword [0x10157090], 0
jne 0x100131c6
push 0
push 0
push 0
call dword [sym.imp.kernel32.dll_HeapCreate]
mov dword [0x10157090], eax
xor eax, eax
xchg dword [edi], eax
mov esi, dword [0x10157138]
mov dword [0x10157138], 0
test esi, esi
je 0x100131f3
mov ecx, esi
call fcn.10012e60
push 0x91
push esi
call fcn.1001ff67
add esp, 8
cmp ebx, 1
jne 0x10013207
push 0
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
xor al, al
mov ecx, 0x10157044
xchg byte [ecx], al
xor eax, eax
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.1001fd2c
mov esp, ebp
pop ebp
ret 4
Function at 0x10014c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100403cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10055020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
push eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x30], ecx
call eax
add esp, 4
test eax, eax
je 0x10014de1
push eax
mov eax, dword [edi + 0x34]
call eax
add esp, 4
test eax, eax
je 0x10014de1
push eax
mov eax, dword [edi + 8]
call eax
push dword [ebp - 0x30]
mov ecx, dword [edi + 0x20]
push esi
push eax
mov dword [ebp - 0x34], eax
call ecx
add esp, 0x10
test eax, eax
jne 0x10014de3
mov eax, dword [edi + 0xc]
push 2
push dword [ebp - 0x34]
call eax
push eax
mov eax, dword [edi + 0x10]
call eax
add esp, 0xc
mov dword [ebp - 0x3c], eax
xor esi, esi
test eax, eax
jle 0x10014de1
nop dword [eax]
mov eax, dword [edi + 0x14]
lea ecx, [esi + 1]
mov esi, ecx
or ecx, 0x2000000
push ecx
push dword [ebp - 0x34]
mov dword [ebp - 0x38], esi
call eax
add esp, 8
mov dword [ebp - 0x40], eax
test eax, eax
je 0x10014dd8
mov ecx, dword [edi + 0x38]
push eax
call ecx
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014d40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002de0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014d60
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
sub ecx, edx
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
cmp esi, ecx
jne 0x10014dc6
mov edx, dword [ebp - 0x30]
sub esi, 4
jb 0x10014d94
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x10014d99
add eax, 4
add edx, 4
sub esi, 4
jae 0x10014d83
cmp esi, 0xfffffffc
je 0x10014e03
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10014dc6
cmp esi, 0xfffffffd
je 0x10014e03
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10014dc6
cmp esi, 0xfffffffe
je 0x10014e03
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x10014dc6
cmp esi, 0xffffffff
je 0x10014e03
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x10014e03
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10002a70
mov esi, dword [ebp - 0x38]
cmp esi, dword [ebp - 0x3c]
jl 0x10014cf0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001fd2c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10002a70
mov eax, dword [ebp - 0x40]
jmp 0x10014de3
Function at 0x10017980
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10157084], 0
jne 0x100179a5
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
pop ebp
ret 0x10
push 0x18
call fcn.1001ff37
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [eax + 0xc], 0
push dword [ebp + 0x14]
mov dword [eax + 0x14], 0
push 0
push eax
push dword [0x10157084]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
push 0
push 0
mov dword [eax], 0x584f5250
mov dword [eax + 4], 0x20202059
mov dword [eax + 0x10], ecx
call dword [sym.imp.kernel32.dll_CreateThread]
pop ebp
ret 0x10
Function at 0x1001bc41
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10055020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x1001bd4c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.kernel32.dll_Thread32First]
test eax, eax
je 0x1001bd45
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x1001bd09
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1001bd09
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1001bd09
mov edx, dword [esi]
test edx, edx
jne 0x1001bcd2
push 0x200
push edx
push dword [0x10157090]
mov dword [esi + 4], 0x80
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1001bd2e
lea ebx, [esi + 8]
jmp 0x1001bcfc
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x1001bcfc
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10157090]
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1001bd5d
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.kernel32.dll_Thread32Next]
test eax, eax
jne 0x1001bc8a
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x12
je 0x1001bd45
xor edi, edi
cmp dword [esi], edi
je 0x1001bd45
push dword [esi]
push edi
push dword [0x10157090]
call dword [sym.imp.kernel32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fd2c
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0x1001bd2e

Function at 0x1001bd62
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.1001bc41
test eax, eax
jne 0x1001bd86
push 9
pop esi
jmp 0x1001bdcd
cmp dword [edi], esi
je 0x1001bdcd
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x1001bdcc
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.kernel32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x1001bdc6
push eax
call dword [sym.imp.kernel32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.1001baee
pop ecx
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x1001bd92
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret