joyce8/EMBER2024-capa huggingface dataset:
Function at 0x105c7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105c71a8
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 0x105c707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105c706a
add dl, dl
jne 0x105c7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105c70dc
xor eax, eax
add dl, dl
jne 0x105c7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105c717d
add dl, dl
jne 0x105c70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105c70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105c70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105c70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105c70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105c7075
mov eax, 1
add dl, dl
jne 0x105c70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105c70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105c70e1
sub eax, ebx
mov ebx, 1
jne 0x105c7128
mov ecx, 1
add dl, dl
jne 0x105c710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105c7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105c7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105c7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105c713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105c714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105c7136
cmp eax, 0x7d00
jae 0x105c716d
cmp eax, 0x500
jb 0x105c7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105c7075
cmp eax, 0x7f
ja 0x105c7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105c7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105c719e
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 0x105c7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x20031d24
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x35805c2f
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100299b
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1002e20
call fcn.01002b34
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1004370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10027b0
cmp eax, esi
jne 0x10027a3
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x10027b3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100278a
xor esi, esi
inc esi
mov eax, dword [0x100436c]
cmp eax, esi
jne 0x10027c6
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1002801
mov eax, dword [0x100436c]
test eax, eax
jne 0x10027fb
mov dword [0x100436c], esi
push 0x1001190
push 0x1001184
call fcn.01002707
pop ecx
pop ecx
test eax, eax
je 0x1002801
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x10028cb
mov dword [0x1004034], esi
mov eax, dword [0x100436c]
cmp eax, esi
jne 0x1002825
push 0x1001180
push 0x1001178
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100436c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1002832
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1004374], ebx
je 0x1002853
push 0x1004374
call fcn.01002aa9
pop ecx
test eax, eax
je 0x1002853
push ebx
push 2
push ebx
call dword [0x1004374]
push dword [0x100401c]
push dword [0x1004020]
push dword [0x1004018]
call fcn.01001ae5
add esp, 0xc
mov dword [0x1004030], eax
cmp dword [0x1004024], ebx
jne 0x10028b1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004034], ebx
jne 0x10028bf
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004030]
call fcn.01002b79
ret
call fcn.01002c81
jmp 0x1002768

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6bc878bc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x798c7afb
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1003f390
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.WM::GMFileMappingEx.0
cmp eax, 0xffffffff
je 0x1003f3af
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0xffffffff
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xffffffff
je 0x1003f3d1
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x1003f3c2
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esi + 0x2c], 0xffffffff
mov ecx, dword [esi + 0x24]
cmp ecx, 8
jb 0x1003f407
mov eax, dword [esi + 0x10]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1003f3fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f463
mov eax, edx
push ecx
push eax
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 7
mov word [esi + 0x10], ax
mov eax, dword [esi + 8]
mov dword [esi], vtable.WM::GMFileMapping.0
test eax, eax
je 0x1003f436
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003f44b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
test byte [esp + 8], 1
je 0x1003f45d
push 0x30
push esi
call fcn.1007306e
add esp, 8
mov eax, esi
pop esi
ret 4
call fcn.10080da8
int3

Function at 0x10042bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d7fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.100589c9
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x10042c5d
push eax
push esi
call fcn.1005948e
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.10042ad0
push 0x1014c7b0
lea eax, [ebp - 0x1c]
push eax
call fcn.100768db
int3
Function at 0x100ca9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x238
mov dword [0x101599a8], eax
mov eax, dword [ebp + 0x14]
mov dword [0x101599ac], eax
push ebx
push esi
test eax, eax
je 0x100caa37
mov esi, dword [eax]
test esi, esi
je 0x100caa37
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101599ac]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, ax
movzx ecx, al
shr ax, 8
shl cx, 8
or cx, ax
mov eax, 0x600
cmp cx, ax
jae 0x100caa5f
xor bl, bl
jmp 0x100caae6
xor eax, eax
mov dword [esp + 0x28], 0
push eax
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.100e54e0
test al, al
je 0x100caadb
lea eax, [esp + 0x14]
mov dword [esp + 8], 4
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0
push eax
push 0
push str.EnableLUA
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100cab07
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x18]
call fcn.100e56f0
mov bl, 1
call fcn.100f51b0
test bl, bl
jne 0x100cab1b
test al, al
jne 0x100cab1f
xor ecx, ecx
mov eax, 2
push ecx
push eax
call fcn.100d4a50
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x10], 0
jne 0x100caadb
lea ecx, [esp + 0x18]
call fcn.100e56f0
xor bl, bl
jmp 0x100caae6
test al, al
je 0x100cab3d
xorps xmm0, xmm0
movlpd qword [esp + 8], xmm0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
push eax
call fcn.100d4a50
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov eax, 1
push ecx
push eax
call fcn.100d4a50
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100cbf60
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [ebp + 0xc]
sub esp, 0x26c
mov dword [0x101599a8], eax
mov eax, dword [ebp + 0x14]
mov dword [0x101599ac], eax
push esi
test eax, eax
je 0x100cbfa6
mov esi, dword [eax]
test esi, esi
je 0x100cbfa6
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101599ac]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.100d4b80
push 0x40
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x44
xorps xmm0, xmm0
push 0
push eax
movaps xmmword [esp + 0x1c], xmm0
call fcn.10077450
add esp, 0xc
mov dword [esp + 0x4c], 1
xor eax, eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100cc026
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
mov dword [esp + 0x14], eax
call fcn.100d4a50
pop esi
mov esp, ebp
pop ebp
ret
push esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100cc054
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push dword [esp + 0x10]
call fcn.100d4a50
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [esp + 0x10]
call fcn.100d4a50
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100cc070
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [ebp + 0xc]
sub esp, 0x26c
mov dword [0x101599a8], eax
mov eax, dword [ebp + 0x14]
mov dword [0x101599ac], eax
push esi
test eax, eax
je 0x100cc0b6
mov esi, dword [eax]
test esi, esi
je 0x100cc0b6
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101599ac]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.100d4b80
push 0x40
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x44
xorps xmm0, xmm0
push 0
push eax
movaps xmmword [esp + 0x1c], xmm0
call fcn.10077450
add esp, 0xc
mov eax, 1
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100cc131
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
mov dword [esp + 0x14], eax
call fcn.100d4a50
pop esi
mov esp, ebp
pop ebp
ret
push esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100cc15f
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push dword [esp + 0x10]
call fcn.100d4a50
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [esp + 0x10]
call fcn.100d4a50
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100d1da0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10120ed0
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
mov dword fs:[0], esp
call fcn.10074560
push esi
push edi
push 0x2000
lea eax, [ebp - 0x2028]
mov edi, ecx
push 0
push eax
mov esi, edx
mov dword [ebp - 0x10], edi
call fcn.10077450
xor eax, eax
mov dword [ebp - 0x18], 0
add esp, 0xc
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x100d1e00
mov esi, dword [esi]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100d1e0b
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x100d1e16
mov ecx, dword [ecx]
push esi
push 0xfff
lea edx, [ebp - 0x2028]
push edx
lea edx, [ebp - 0x28]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x2028]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d1e50
sub ecx, edx
lea eax, [ebp - 0x2028]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1001a860
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100d1ea4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1e9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d1eb6
push edx
push ecx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10080da8
int3
Function at 0x100d2430
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x244
mov dword [0x101599a8], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x101599ac], esi
push edi
test esi, esi
je 0x100d2479
mov esi, dword [esi]
test esi, esi
je 0x100d2479
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101599ac]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.100d4b80
mov esi, eax
call fcn.100d4b80
mov edi, eax
call fcn.100d4b80
mov ebx, eax
mov dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x44], 7
lea ecx, [esp + 0x48]
mov word [esp + 0x30], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d24b0
sub ecx, edx
lea eax, [esp + 0x48]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.1001a860
push dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x24], 0
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x14]
mov word [esp + 0x14], ax
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x2c], 7
call fcn.1001a860
lea eax, [esp + 0x10]
mov dword [esp + 0x28], 0
push eax
push 0x100ed050
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100d25ff
push edi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100d25eb
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100d2591
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2587
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2684
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp edx, 8
jb 0x100d25e4
mov ecx, dword [esp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d25da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2684
push edx
push ecx
call fcn.1007306e
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x820
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x100d2555
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100d2637
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d262d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2684
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp edx, 8
jb 0x100d25e4
mov ecx, dword [esp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d25da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d25da
call fcn.10080da8
int3
Function at 0x100d2a50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [0x101599a8], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [0x101599ac], eax
call fcn.100d4b80
mov esi, eax
call fcn.100d4b80
mov ebx, eax
call fcn.100d4b80
mov dword [esp + 0x10], eax
call fcn.100d4b80
mov dword [esp + 0x14], 0
mov edi, eax
test esi, esi
je 0x100d2ae7
lea eax, [esp + 0x14]
push eax
push edi
push 0
push dword [esp + 0x1c]
push ebx
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x100d2ae7
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100d2b2c
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100d2b2c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100d2b2c
push eax
push 0
push 0x100011
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100d2b2c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100d2b2c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e1ff0
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
test esi, esi
je 0x100e2104
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x100e2104
cmp edi, 3
jl 0x100e2095
mov eax, 0xaaaaaaab
mul edi
push ebx
mov ebx, edx
shr ebx, 1
lea eax, [ebx*4]
sub eax, ebx
neg eax
add edi, eax
nop dword [eax]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + 0x1013dae0]
mov byte [ecx], al
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
shl edx, 4
or edx, eax
movzx eax, byte [edx + 0x1013dae0]
mov byte [ecx + 1], al
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
and edx, 0xf
shr eax, 6
shl edx, 2
or edx, eax
movzx eax, byte [edx + 0x1013dae0]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + 0x1013dae0]
mov byte [ecx + 3], al
add ecx, 4
sub ebx, 1
jne 0x100e2030
pop ebx
test edi, edi
jle 0x100e20fa
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x1013dae0]
mov byte [ecx], al
mov dl, byte [esi]
and dl, 3
shl dl, 4
cmp edi, 1
jle 0x100e20bc
mov al, byte [esi + 1]
shr al, 4
or dl, al
movzx eax, dl
mov al, byte [eax + 0x1013dae0]
mov byte [ecx + 1], al
cmp edi, 2
jge 0x100e20e2
mov al, 0x3d
mov byte [ecx + 2], al
mov byte [ecx + 3], al
add ecx, 4
pop edi
mov al, 1
pop esi
mov byte [ecx], 0
ret 8
movzx eax, byte [esi + 1]
and eax, 0xf
mov al, byte [eax*4 + 0x1013dae0]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
add ecx, 4
pop edi
mov byte [ecx], 0
mov al, 1
pop esi
ret 8
pop edi
xor al, al
pop esi
ret 8