joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42daf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435159
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x43ffa8]
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
push 0
push 0
mov dword [ebp - 0x21c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0042e2f0
mov dword [edi], eax
push 0
push 0
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0042e2f0
mov dword [edi + 8], eax
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_AcrobatDC
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042e600
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_ReaderDC
mov ecx, edi
call fcn.0042e600
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_SynchronizerDC
mov ecx, edi
call fcn.0042e600
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00433c26
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0
push 0x1a
push eax
push 0
call ebx
mov esi, dword [sym.imp.MSVCR120.dll_wcscat_s]
test eax, eax
je 0x42dbeb
push str.AdobeAcrobatDC
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042e330
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
test eax, eax
je 0x42dc22
push str.AdobeAcrobatDC
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042e330
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
test eax, eax
je 0x42dc59
push str.AdobeLinguisticsDictionaries
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042e330
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov ecx, edi
call fcn.0042e420
push str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
mov ecx, edi
call fcn.0042e420
mov eax, edi
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.00433bb2
mov esp, ebp
pop ebp
ret
Function at 0x42e420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
mov edi, ecx
lea ecx, [ebp - 0x810]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x42e5e6
push esi
lea eax, [ebp - 0x814]
mov dword [ebp - 0x80c], 0x400
push eax
push 0x20019
push 0
push str.cAllowedRegistryPaths
push dword [ebp - 0x810]
call ebx
mov esi, dword [sym.imp.MSVCR120.dll_wcstok_s]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42e527
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push str.tWhiteList
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e51f
mov eax, dword [ebp - 0x80c]
add eax, eax
cmp eax, 0x800
jae 0x42e5f8
xor ecx, ecx
mov word [ebp + eax - 0x804], cx
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x808], ecx
push 0x437a08
push eax
call esi
add esp, 0xc
lea ebx, [ebx]
push eax
mov ecx, edi
call fcn.0042e600
lea eax, [ebp - 0x808]
push eax
push 0x437a08
push 0
call esi
add esp, 0xc
test eax, eax
jne 0x42e500
push dword [ebp - 0x814]
call ebx
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push 0x437a0c
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e5dd
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push str.tWhiteList
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e5d5
mov eax, dword [ebp - 0x80c]
add eax, eax
cmp eax, 0x800
jae 0x42e5f8
xor ecx, ecx
mov word [ebp + eax - 0x804], cx
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x808], ecx
push 0x437a08
push eax
call esi
add esp, 0xc
push eax
mov ecx, edi
call fcn.0042e330
lea eax, [ebp - 0x808]
push eax
push 0x437a08
push 0
call esi
add esp, 0xc
test eax, eax
jne 0x42e5b6
push dword [ebp - 0x818]
call ebx
push dword [ebp - 0x810]
call ebx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00433bb2
mov esp, ebp
pop ebp
ret 4
call fcn.00433d64
int3

Function at 0x43106d
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4310a6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0xffffffffffffffff
push str.unable_to_create_tls_index
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.RSException.0
call fcn.0042ec3f
push 0x439d00
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x4330af
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov ecx, esi
call fcn.0042f6ee
cmp dword [esi + 4], ebx
jne 0x4330cc
xor eax, eax
jmp 0x433295
push edi
mov ecx, esi
call fcn.0042f6ee
xor edi, edi
inc edi
cmp dword [esi + 4], edi
jne 0x4330fb
push ebx
mov ecx, esi
call fcn.0042ed67
movzx eax, ax
push eax
call fcn.00433567
add esp, 4
test al, al
je 0x4330fb
mov eax, edi
jmp 0x433294
mov ecx, esi
call fcn.0042f6ee
cmp dword [esi + 4], 3
push 2
pop edi
jne 0x433167
push ebx
mov ecx, esi
call fcn.0042ed67
movzx eax, ax
push eax
call dword [sym.imp.MSVCR120.dll_iswalpha]
pop ecx
test eax, eax
je 0x433167
xor eax, eax
mov ecx, esi
inc eax
push eax
call fcn.0042ed67
cmp ax, 0x3a
jne 0x433167
push edi
mov ecx, esi
call fcn.0042ed67
movzx eax, ax
push eax
call fcn.00433567
add esp, 4
test al, al
je 0x433167
mov ecx, esi
call fcn.0042f6ee
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x433294
mov ecx, esi
call fcn.0042f6ee
cmp dword [esi + 4], edi
jbe 0x433292
push ebx
mov ecx, esi
call fcn.0042ed67
movzx eax, ax
push eax
call fcn.00433567
add esp, 4
test al, al
je 0x433292
xor eax, eax
mov ecx, esi
inc eax
push eax
call fcn.0042ed67
movzx eax, ax
push eax
call fcn.00433567
add esp, 4
test al, al
je 0x433292
push edi
mov ecx, esi
call fcn.0042ed67
movzx eax, ax
push eax
call fcn.00433567
add esp, 4
test al, al
jne 0x433299
mov ecx, esi
inc edi
call fcn.0042f6ee
cmp edi, dword [esi + 4]
jae 0x4331f3
push edi
mov ecx, esi
call fcn.0042ed67
movzx eax, ax
push eax
call fcn.00433567
add esp, 4
test al, al
je 0x4331ce
mov ecx, esi
call fcn.0042f6ee
cmp dword [esi + 4], edi
je 0x433299
mov ecx, esi
inc edi
call fcn.0042f6ee
cmp dword [esi + 4], edi
je 0x433299
push edi
mov ecx, esi
call fcn.0042ed67
movzx eax, ax
push eax
call fcn.00433567
add esp, 4
test al, al
jne 0x433299
mov ecx, esi
inc edi
call fcn.0042f6ee
cmp edi, dword [esi + 4]
jae 0x433251
push edi
mov ecx, esi
call fcn.0042ed67
movzx eax, ax
push eax
call fcn.00433567
add esp, 4
test al, al
je 0x43322c
mov ecx, esi
call fcn.0042f6ee
lea eax, [edi + 1]
cmp dword [esi + 4], eax
ja 0x433299
mov ecx, esi
call fcn.0042f6ee
cmp dword [esi + 4], edi
jne 0x43327b
movzx eax, word [0x43ffa4]
mov ecx, esi
push eax
call fcn.0042effd
mov ecx, esi
call fcn.0042f6ee
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb ebx, ebx
neg ebx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x433294
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4022fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x4815c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402366
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b4a
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00403a65
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40237e
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402e72
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40232e
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040607a
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402e72
jmp 0x402368

Function at 0x403e46
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ecx
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4824f0], eax
push 0x27
push 0x481018
push 0x547
mov esi, 0x481040
push esi
call fcn.0040239c
push 0x8aafdc01
push dword [0x4824f0]
call fcn.004022fd
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x403ea6
call fcn.00403d5c
xor eax, eax
pop ecx
ret 0x10
Function at 0x417fb0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417e21

Function at 0x4183aa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406f70
mov eax, dword [0x4815c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041612b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4183ec
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418548
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421830
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x482f90]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004193a2
mov ecx, dword [esi*4 + 0x482f90]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x418541
cmp eax, dword [edi + ecx + 0x24]
jne 0x418541
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418541
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004193a2
add esp, 0x14
test edx, edx
jl 0x418541
jg 0x4184b7
test eax, eax
jb 0x418541
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418541
jl 0x4184d1
cmp dword [ebp - 0x1008], eax
ja 0x418541
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4184ef
test ebx, ebx
je 0x418528
cmp ecx, edi
jae 0x418528
mov al, byte [ecx]
cmp al, 0xd
jne 0x418509
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418515
cmp byte [ecx + 1], 0xa
jne 0x418515
inc ecx
jmp 0x418515
movzx eax, al
movsx eax, byte [eax + 0x481898]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4184ef
cmp edx, ebx
jne 0x4184ef
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418546
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040607a
leave
ret
Function at 0x41883f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x482f90]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41887f
cmp byte [ebx], 0xa
jne 0x41887f
or byte [eax + edi + 0x28], 4
jmp 0x418884
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x418982
mov al, byte [edx]
cmp al, 0x1a
je 0x418964
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4188b3
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4188d8
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4188e2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x418895
jmp 0x418982
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41895f
cmp dword [ebp - 0xc], 0
je 0x41895f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482f90]
test byte [eax + edi + 0x28], 0x48
je 0x418939
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x418924
mov byte [esi], dl
jmp 0x418935
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482f90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x418982
cmp byte [ebp - 1], 0xa
jne 0x418948
cmp esi, ebx
jne 0x418948
mov byte [esi], 0xa
jmp 0x418981
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004193c0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x418982
mov byte [esi], 0xd
jmp 0x418981
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482f90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41897e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418982
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41898b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x482f90]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4189ce
cmp word [esi], dx
jne 0x4189ce
or byte [edi + eax + 0x28], 4
jmp 0x4189d3
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x418b26
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x418b06
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x418a15
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x418a4b
cmp eax, edx
jae 0x418a57
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4189ed
jmp 0x418b26
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418b02
cmp dword [ebp - 0x14], 0
je 0x418b02
mov eax, dword [ebx*4 + 0x482f90]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x418ada
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x418aa3
mov word [esi], cx
jmp 0x418ad6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482f90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482f90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482f90]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x418b26
pop ebx
cmp word [ebp - 4], bx
jne 0x418aeb
cmp esi, dword [ebp + 0xc]
jne 0x418aeb
mov word [esi], bx
jmp 0x418b23
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004193c0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x418b26
push 0xd
jmp 0x418b1f
mov ecx, dword [ebx*4 + 0x482f90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x418b1d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418b26
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4011e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x403188
push 0x5c
push ebx
call dword [sym.imp.MSVCR100.dll_strrchr]
add esp, 8
test eax, eax
je 0x40120e
lea ebx, [eax + 1]
push 0
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4012e6
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
lea ecx, [ebp - 0x10c]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401263
test dl, dl
je 0x40125f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401263
add eax, 2
add ecx, 2
test dl, dl
jne 0x401243
xor eax, eax
jmp 0x401268
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40128a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x128]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040187d
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea ecx, [ebp - 0x130]
push ecx
push edi
call esi
test eax, eax
je 0x4012df
mov edi, edi
lea ecx, [ebp - 0x10c]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4012c8
test dl, dl
je 0x4012c4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4012c8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4012a8
xor eax, eax
jmp 0x4012cd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40126c
lea edx, [ebp - 0x130]
push edx
push edi
call esi
test eax, eax
jne 0x4012a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040187d
mov esp, ebp
pop ebp
ret
Function at 0x40187d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401887
repz ret
jmp fcn.00401b24

Function at 0x1023d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1023d1a8
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 0x1023d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1023d06a
add dl, dl
jne 0x1023d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1023d0dc
xor eax, eax
add dl, dl
jne 0x1023d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1023d17d
add dl, dl
jne 0x1023d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1023d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1023d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1023d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1023d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1023d075
mov eax, 1
add dl, dl
jne 0x1023d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1023d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1023d0e1
sub eax, ebx
mov ebx, 1
jne 0x1023d128
mov ecx, 1
add dl, dl
jne 0x1023d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1023d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1023d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1023d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1023d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1023d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1023d136
cmp eax, 0x7d00
jae 0x1023d16d
cmp eax, 0x500
jb 0x1023d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1023d075
cmp eax, 0x7f
ja 0x1023d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1023d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1023d19e
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 0x1023d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000bcc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x1000bd12
vpmovsxbd ymm1, qword [esi]
vpxor ymm0, ymm1, ymmword [0x1014fce0]
vpshufb ymm0, ymm0, ymmword [0x1014fc40]
vpermq ymm0, ymm0, 0xd8
vpshufb ymm0, ymm0, ymmword [0x10150520]
vextracti128 xmm0, ymm0, 0
vmovq qword [esi], xmm0
mov eax, 8
nop dword [eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x1e]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x1000bd00
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
vzeroupper
ret

Function at 0x1000c060
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x1000c0b2
vpmovsxbd ymm1, qword [esi]
vpxor ymm0, ymm1, ymmword [0x1014fce0]
vpshufb ymm0, ymm0, ymmword [0x1014fc40]
vpermq ymm0, ymm0, 0xd8
vpshufb ymm0, ymm0, ymmword [0x10150520]
vextracti128 xmm0, ymm0, 0
vmovq qword [esi], xmm0
mov eax, 8
nop dword [eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x1e]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x1000c0a0
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
vzeroupper
ret

Function at 0x1000c190
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x1000c1e2
vpmovsxbd ymm1, qword [esi]
vpxor ymm0, ymm1, ymmword [0x1014fce0]
vpshufb ymm0, ymm0, ymmword [0x1014fc40]
vpermq ymm0, ymm0, 0xd8
vpshufb ymm0, ymm0, ymmword [0x10150520]
vextracti128 xmm0, ymm0, 0
vmovq qword [esi], xmm0
mov eax, 8
nop dword [eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x1e]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x1000c1d0
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
vzeroupper
ret