joyce8/EMBER2024-capa huggingface dataset:
Function at 0x144a0
Capabilities:
Map section object
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0x21], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00014440
push 0
push 0
push 0
push 1
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x145ab
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.00014440
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push 0x8000000
push 2
push 0
lea eax, [ebp - 0x20]
push eax
push 0xf0005
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
jl 0x1459f
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 2
push 0
push 1
lea edx, [ebp - 0x34]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jl 0x14593
cmp dword [ebp - 0x30], 0
je 0x14593
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x14587
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0x4550
jne 0x14587
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov al, 1
jmp 0x145ae
mov ecx, dword [ebp - 0x30]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x14820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00014440
push 0
push 0
push 0x20
push 0
push 1
push 0x80
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0x100002
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x1488d
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x14920
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 8], 6
ja 0x14953
cmp dword [ebp - 8], 6
jne 0x1494a
cmp dword [ebp - 4], 1
ja 0x14953
mov dword [ebp - 0xc], 0
jmp 0x1495a
mov dword [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x14970
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp dword [ebp - 4], 0
je 0x14a4c
mov edx, dword [ebp - 4]
shl edx, 1
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x14a4c
push 0
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jne 0x14a42
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
jmp 0x149ee
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx]
jae 0x14a42
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x11c
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x11c
mov edx, dword [ebp - 0x14]
movzx ecx, word [edx + ecx + 0x1a]
lea edx, [eax + ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
add esp, 8
test eax, eax
jne 0x14a40
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x11c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0xc], eax
jmp 0x14a42
jmp 0x149e5
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x14ef0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x14f27
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x14f27
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x14f27
mov eax, dword [ebp - 4]
add eax, 0x28
jmp 0x14f29
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x15220
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp dword [ebp - 4], 0
jne 0x152b0
mov dword [ebp - 4], 0x10000
mov ecx, dword [ebp - 4]
shl ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x15278
jmp 0x152ae
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jge 0x1529f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x152ae
cmp dword [ebp - 4], 0x400000
jb 0x15258
jmp 0x152f0
mov eax, dword [ebp - 4]
shl eax, 1
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x152f0
push 0
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jge 0x152f0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x1533a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, 1
test edx, edx
je 0x15330
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
cmp ecx, dword [ebp + 8]
jne 0x15319
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x15323
jmp 0x15330
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x152fc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x15a10
Capabilities:
Get file attributes
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov byte [ebp - 0x235], 0
push 0x15a00
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ntoskrnl.exe_wcscpy]
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push 0x210
lea edx, [ebp - 0x210]
push edx
call fcn.00015c00
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.00014440
push 0
push 0
push 0
push 1
push 1
push 0
push 0
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x234]
push eax
push 1
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x15be8
mov dword [ebp - 0x244], 0
push 0
push 0
lea edx, [ebp - 0x234]
push edx
call fcn.00014440
mov eax, dword [ebp - 0x21c]
push eax
push 0x8000000
push 2
push 0
lea ecx, [ebp - 0x234]
push ecx
push 0xf0005
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
jl 0x15bc8
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
push 2
push 0
push 1
lea eax, [ebp - 0x248]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x24c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jl 0x15bbb
cmp dword [ebp - 0x24c], 0
je 0x15bbb
push 5
push 0x18
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x270]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
jl 0x15bac
cmp dword [ebp + 0x14], 0
je 0x15b77
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x260]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x15b88
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x260]
jbe 0x15b91
mov eax, dword [ebp - 0x260]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call fcn.00013b30
mov byte [ebp - 0x235], 1
mov ecx, dword [ebp - 0x24c]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [ebp + 0x18], 0
je 0x15bdb
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x21c]
mov dword [eax], ecx
jmp 0x15be8
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, byte [ebp - 0x235]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x639440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x233000]
push edi
jmp 0x63945a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x639461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x639450
mov eax, 1
add ebx, ebx
jne 0x639473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x639484
jne 0x6394a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6394a3
dec eax
add ebx, ebx
jne 0x639490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x639468
add ebx, ebx
jne 0x63949f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6394f5
xor ecx, ecx
sub eax, 3
jb 0x6394bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x63952a
sar eax, 1
mov ebp, eax
jmp 0x6394c6
add ebx, ebx
jne 0x6394c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x639494
inc ecx
add ebx, ebx
jne 0x6394d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x639494
add ebx, ebx
jne 0x6394e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6394d6
jne 0x6394f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6394d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x639514
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x639506
jmp 0x639456
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x639514
add edi, ecx
jmp 0x639456
pop esi
mov edi, esi
mov ecx, 0x290
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x639532
cmp byte [edi], 1
jne 0x639532
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 0x639537
lea edi, [esi + 0x237000]
mov eax, dword [edi]
or eax, eax
je 0x6395af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2536a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x253758]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x639564
mov ecx, edi
jns 0x639593
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 + 0x253760]
or eax, eax
je 0x6395a9
mov dword [ebx], eax
add ebx, 4
jmp 0x639581
call dword [esi + 0x25375c]
mov ebp, dword [esi + 0x253764]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x6395e3
sub esp, 0xffffff80
jmp 0x403640
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x100064c9
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x1005afb1
call fcn.1005a790
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x1c], 0xf56
mov eax, edx
cmp dword [ebp - 0x1c], 0x12b7
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jle 0x10006554
push 0x2141
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x14], 0x51b0
xor esi, esi
mov eax, ebx
mov ecx, 0x10073e78
and eax, esi
and eax, edi
cdq
push edx
push eax
call fcn.1000383a
inc esi
cmp esi, 0x5a98
jl 0x10006513
mov esi, dword [ebp - 0x18]
add ebx, esi
dec dword [ebp - 0x14]
jne 0x10006511
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x635a
jl 0x10006508
inc edi
cmp edi, 0x4784
jl 0x10006503
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
cmp byte [ebp + 8], 0
je 0x10006567
cmp byte [ecx], 0
je 0x10006575
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x10006575
cmp byte [eax], 0
je 0x10006575
push ecx
push ecx
call fcn.10007310
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0xcb2
jge 0x10006591
mov edx, str.tvqqpthtc_pysi_aoxohbhf_zhxo_gkxwvanhv_wpe_fxuveed_fxtulogyy_oxa_ieelkvvzs_fcnpgjhg_dryq_mzcxxl
mov ecx, 0x10073e78
call fcn.100059c3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007344
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005b089
call fcn.1005a790
sub esp, 0x20
push ebx
push esi
mov dword [ebp - 0x20], 0x25fb
mov ebx, ecx
cmp dword [ebp - 0x20], 0x45e
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ebx
jge 0x100073c0
lea eax, [ebp - 0x14]
xor edi, edi
push eax
lea eax, [ebp - 0x24]
push eax
push str._ld__ld_n
call fcn.10043abb
mov esi, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
jmp 0x100073ab
mov eax, ecx
and eax, 0x80000001
jns 0x10007399
dec eax
or eax, 0xfffffffe
inc eax
je 0x1000739e
inc ecx
jmp 0x100073a7
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [ebp - 0x14], ecx
inc edi
cmp esi, ecx
jl 0x1000738b
sub esi, ecx
add esi, edi
push esi
push str._ld_n
call fcn.10043cef
pop ecx
pop ecx
cmp byte [ebp + 8], 0
je 0x10007479
mov dword [ebp - 0x20], 0x7291
cmp dword [ebp - 0x20], 0x74a2
jle 0x10007434
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov ecx, edi
mov dword [ebp - 0x28], esi
xor ebx, ebx
shl esi, cl
xor edi, edi
lea eax, [edi + ebx]
mov ecx, 0x10073e78
xor eax, esi
cdq
push edx
push eax
call fcn.1000383a
inc edi
cmp edi, 0x1723
jl 0x100073ef
inc ebx
cmp ebx, 0x6f04
jl 0x100073ed
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x1240
jl 0x100073e4
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0xef9
jl 0x100073df
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebx + 4]
sub edx, dword [ebx]
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
sar edx, 2
cmp dword [ebp - 0x20], 0x6f65
mov dword [eax], edx
jge 0x1000745d
mov edx, str.fqf_finhvb_qdlnjtuz_chpozncj_zrt_nsrd
mov ecx, 0x10073e78
call fcn.100059c3
jmp 0x10007493
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10007493
push 0
mov edx, 0x7786
mov ecx, 0x251d
call fcn.10007bdb
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007819
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005b0b5
call fcn.1005a790
sub esp, 0x4c
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x28], edx
je 0x10007938
cmp byte [ebp + 0xc], 0
je 0x10007904
mov edx, dword [ebp + 0x24]
lea ecx, [ebp - 0x40]
xor esi, esi
mov dword [ebp - 0x14], esi
call fcn.1000700f
mov edx, dword [ebp + 0x20]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], esi
call fcn.1000700f
push 1
push 0x55d0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], esi
push eax
push 1
lea eax, [ebp - 0x40]
mov edx, 0x33ee
push eax
lea eax, [ebp - 0x18]
mov ecx, 0x460
push eax
call fcn.10007611
add esp, 0x1c
mov dword [ebp + 0x10], esi
cmp dword [ebp - 0x18], esi
jle 0x100078ed
test esi, esi
jne 0x100078ed
push 0x6263
lea eax, [ebp - 0x34]
push eax
push ecx
push 0x65d1
lea eax, [ebp + 0x10]
mov cl, 1
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x14]
call fcn.100076c9
add esp, 0x14
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
sub esp, 0xc
call fcn.10007a3e
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov esi, dword [ebp - 0x14]
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [ebp - 0x18]
jl 0x1000789d
lea ecx, [ebp - 0x34]
mov dword [edi], esi
call fcn.1000afab
lea ecx, [ebp - 0x40]
call fcn.1000afab
jmp 0x100079fb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call fcn.1000a843
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [ebp - 4], 2
call fcn.1000a903
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10004184
jmp 0x100079fb
mov dword [ebp - 0x24], 0x8b5
xor esi, esi
cmp dword [ebp - 0x24], 0xc43
jle 0x1000799c
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x20], esi
mov eax, esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add eax, esi
lea ecx, [ebx + edi]
xor eax, ecx
mov ecx, 0x10073e78
cdq
push edx
push eax
call fcn.1000383a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x58c7
jl 0x10007959
inc esi
push 0
mov dword [ebp - 0x20], esi
cmp esi, 0xc87
pop esi
jl 0x10007951
inc ebx
cmp ebx, 0x11a8
jl 0x1000794e
inc edi
cmp edi, 0x1fbe
jl 0x1000794c
mov dword [ebp - 4], 3
cmp dword [ebp - 0x24], 0x651
jge 0x100079d9
mov edx, str.bmsiq_vfnt_jrhqnuy_ozxopfek_awrhj_ebtp_xiykjyl_gmaqpncz_hvpsmh_qzoeix_yfktc_cpwtwnczv_zwecbtyi
mov ecx, 0x10073e78
call fcn.100059c3
jmp 0x100079d9
cmp byte [ebp + 0x18], 0
je 0x100079f2
push esi
push 0x26e1
push 0x2661
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
jmp 0x100079fb
mov eax, dword [ebp - 0x28]
mov dword [eax], 3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a2ac
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov esi, edx
je 0x1000a2e6
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
mov dword [esi], eax
jmp 0x1000a2e0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, edi
call fcn.1000ab50
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [ebx]
jl 0x1000a2cd
jmp 0x1000a2f0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000bc11
Capabilities:
Query service status

Disassembly:
mov eax, 0x1005b26a
call fcn.1005a790
sub esp, 0x14
push ebx
push esi
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x20], 0x2cfe
cmp dword [ebp - 0x20], 0x2e5f
push edi
mov dword [ebp - 0x10], esp
jle 0x1000bc74
xor edi, edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov esi, 0x1a11
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, 0x10073e78
cdq
push edx
push eax
call fcn.1000383a
dec ebx
dec esi
jne 0x1000bc45
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x4694
jl 0x1000bc3e
inc edi
cmp edi, 0x5dd7
jl 0x1000bc39
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x293e
jge 0x1000bc90
mov edx, str.skktj_rbubab_zqamdrp_nwidyhek_yumrtfdtt_abfvsiegr
mov ecx, 0x10073e78
call fcn.100059c3
cmp byte [ebp - 0x14], 0
je 0x1000bcc2
push 0x2603
push 0x102a
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x1000bce8
mov esi, dword [ebp + 8]
mov dword [esi], 0
jmp 0x1000bce3
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
je 0x1000bce1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
inc dword [esi]
cmp dword [esi], 0x17
jle 0x1000bccd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c37d
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
cmp byte [ebp + 8], 0
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
je 0x1000c45b
mov dword [esp + 0x14], 0x2bdf
cmp dword [esp + 0x14], 0x2c7d
jle 0x1000c41e
xor edi, edi
mov dword [esp + 0x10], edi
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, eax
mov dword [esp + 0x18], edi
xor esi, esi
shl edi, cl
mov ecx, esi
mov eax, edi
sar eax, cl
lea ecx, [esp + 0x20]
cdq
push edx
push eax
call fcn.10001aa4
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000c3dc
mov eax, dword [eax]
push eax
call fcn.10043cef
pop ecx
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.10003c79
inc esi
cmp esi, 0xc2a
jl 0x1000c3c0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0xbd3
jl 0x1000c3b6
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x489e
jl 0x1000c3b0
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0x293b
jge 0x1000c433
push str.vlckd_suouzxolv_zlkjypvtk_jnnnlnh_bpreuf_mqqogqx_nqewm_mpeeed_ljtvsqge_pwupgae_whkda_ffwguuz_otdfpm
call fcn.10043cef
pop ecx
mov dword [esi], 0
jmp 0x1000c454
mov byte [esp + 0xb], 0
cmp byte [esp + 0xb], 0
je 0x1000c452
push 0x13da
call dword [sym.imp.KERNEL32.dll_TlsFree]
inc dword [esi]
cmp dword [esi], 3
jle 0x1000c43b
jmp 0x1000c465
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
pop edi
pop esi
mov esp, ebp
pop ebp
ret