joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428d40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov byte [ebp - 1], 1
mov dword [ebp - 8], edi
cmp dword [ebp + 0x14], edi
je 0x428d6c
mov ecx, esi
call fcn.00428b40
test al, al
jne 0x428d6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp + 0x14], eax
cmp eax, 0xffffffff
jne 0x428d8c
push esi
lea ebx, [ebp - 8]
mov dword [ebp + 0x14], edi
call fcn.00428860
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0xc], esi
cmp dword [eax + 4], esi
jbe 0x428ebf
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push ecx
lea ebx, [ebp - 0x1c]
mov eax, esi
call fcn.00428670
xor ebx, ebx
test eax, eax
je 0x428eaa
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], ebx
jne 0x428e98
mov ecx, str.ACTION
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428dfc
cmp dx, bx
je 0x428df8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428dfc
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x428dd6
xor eax, eax
jmp 0x428e01
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x428e19
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 0x10], edx
jne 0x428e98
mov byte [ebp - 1], bl
jmp 0x428e98
mov ecx, str.ATTRIBUTE
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428e46
cmp dx, bx
je 0x428e42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428e46
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x428e20
xor eax, eax
jmp 0x428e4b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x428e84
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
je 0x428e66
mov eax, dword [ebp - 0x10]
mov edx, eax
and edx, ecx
cmp edx, eax
jne 0x428e98
mov byte [ebp - 1], bl
jmp 0x428e98
xor eax, eax
cmp dword [ebp - 8], ebx
jbe 0x428e98
mov ecx, dword [ebp - 0x10]
mov edx, dword [edi + eax*4]
and edx, ecx
cmp edx, ecx
jne 0x428e7c
mov byte [ebp - 1], bl
inc eax
cmp eax, dword [ebp - 8]
jb 0x428e70
jmp 0x428e98
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
mov edx, esi
call fcn.00428950
add esp, 4
mov byte [ebp - 1], al
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0xc]
cmp byte [ebp - 1], bl
je 0x428ebf
mov ecx, dword [ebp + 0x10]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ecx + 4]
jb 0x428d9d
test edi, edi
je 0x428ed3
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428ee0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push 0x24c
lea eax, [ebp - 0x254]
push esi
push eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x258], esi
call fcn.00449a10
add esp, 0xc
push edi
push edi
push edi
lea ecx, [ebp - 0x258]
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428f55
add esi, dword [ebp - 0x23c]
add edi, dword [ebp - 0x238]
lea edx, [ebp - 0x258]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x428f30
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
mov edx, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x428f70
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x46c]
push ebx
push eax
mov dword [ebp - 0x470], ebx
call fcn.00449a10
xor eax, eax
add esp, 0xc
lea edx, [ebp - 0x220]
xor ecx, ecx
push edx
mov word [ebp - 0x220], cx
mov dword [ebp - 0x21e], eax
mov dword [ebp - 0x21a], eax
mov dword [ebp - 0x216], eax
mov word [ebp - 0x212], ax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x474], ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x470]
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov edi, eax
cmp edi, 0xffffffff
je 0x429174
push 0x206
lea ecx, [ebp - 0x20e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x210], ax
call fcn.00449a10
add esp, 0xc
mov edi, edi
lea edx, [ebp - 0x478]
push edx
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x429144
mov ecx, 0x465b0c
lea eax, [ebp - 0x444]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42907e
cmp dx, bx
je 0x42907a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42907e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x429058
xor eax, eax
jmp 0x429083
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x429144
mov ecx, 0x465b78
lea eax, [ebp - 0x444]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4290bc
cmp dx, bx
je 0x4290b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4290bc
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x429096
xor eax, eax
jmp 0x4290c1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x429144
mov ecx, dword [ebp - 0x46c]
mov edx, dword [ebp - 0x468]
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x474], edx
call fcn.00449a10
push esi
lea ecx, [ebp - 0x210]
push 0x104
push ecx
call fcn.00444ebb
mov eax, esi
add esp, 0x18
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429110
sub eax, edx
sar eax, 1
xor edx, edx
mov word [ebp + eax*2 - 0x212], dx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x210]
push 0x104
push ecx
call fcn.00444ebb
add esp, 0xc
lea edx, [ebp - 0x470]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x429030
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
push edi
sete bl
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x42ca60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x212]
push ecx
mov word [ebp - 0x214], ax
call fcn.00449a10
mov edx, dword [0x468840]
mov ax, word [0x468844]
mov cx, word [ebp + 8]
add esp, 0xc
mov dword [ebp - 0xc], edx
push 0x104
lea edx, [ebp - 0x214]
mov word [ebp - 8], ax
push edx
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [ebp - 0x214]
push str.LanmanRedirector
push ecx
call fcn.00447217
mov ecx, dword [ebp - 4]
add esp, 8
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00444627
mov esp, ebp
pop ebp
ret

Function at 0x42caf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x212]
push ecx
mov word [ebp - 0x214], ax
call fcn.00449a10
mov edx, dword [0x468840]
mov ax, word [0x468844]
mov cx, word [ebp + 8]
add esp, 0xc
mov dword [ebp - 0xc], edx
push 0x104
lea edx, [ebp - 0x214]
mov word [ebp - 8], ax
push edx
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [ebp - 0x214]
push str.Floppy
push ecx
call fcn.00447217
mov ecx, dword [ebp - 4]
add esp, 8
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x42f030
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x10], ecx
mov esi, edx
test al, 7
je 0x42f060
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret 4
shr eax, 3
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x42f1dc
push ebx
push edi
mov ecx, dword [esi + 4]
xor edi, edi
mov edx, dword [esi]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edi*4]
add eax, ecx
mov dword [ebp - 0x18], edx
mov dl, al
and dl, 0xf
mov ebx, eax
shr ebx, 4
and bl, 0xf
movzx edx, dl
movzx edx, byte [edx + 0x476520]
mov byte [ebp - 0xb], bl
mov ebx, eax
shr ebx, 8
mov byte [ebp - 0xc], dl
movzx edx, byte [ebp - 0xb]
movzx edx, byte [edx + 0x476530]
and bl, 0xf
mov byte [ebp - 0xa], bl
mov ebx, eax
shr ebx, 0xc
and bl, 0xf
mov byte [ebp - 0xb], dl
movzx edx, byte [ebp - 0xa]
movzx edx, byte [edx + 0x476540]
mov byte [ebp - 9], bl
mov ebx, eax
shr ebx, 0x10
and bl, 0xf
mov byte [ebp - 0xa], dl
movzx edx, byte [ebp - 9]
movzx edx, byte [edx + 0x476550]
mov byte [ebp - 8], bl
mov ebx, eax
shr ebx, 0x14
and bl, 0xf
mov byte [ebp - 9], dl
movzx edx, byte [ebp - 8]
movzx edx, byte [edx + 0x476560]
mov byte [ebp - 7], bl
mov ebx, eax
shr eax, 0x1c
and al, 0xf
movzx eax, al
movzx eax, byte [eax + 0x476590]
shr ebx, 0x18
shl eax, 4
and bl, 0xf
mov byte [ebp - 8], dl
movzx edx, byte [ebp - 7]
mov dl, byte [edx + 0x476570]
movzx ebx, bl
mov bl, byte [ebx + 0x476580]
movzx edx, dl
movzx ebx, bl
or eax, ebx
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 8]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 9]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xa]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xb]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xc]
shl eax, 4
or eax, edx
rol eax, 0xb
xor eax, dword [ebp - 0x18]
mov dword [esi], ecx
mov ecx, eax
inc edi
mov dword [esi + 4], ecx
cmp edi, 8
jl 0x42f075
xor edi, edi
mov edx, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.0042f3c0
inc edi
cmp edi, 8
jl 0x42f183
xor edi, edi
mov edx, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.0042f3c0
inc edi
cmp edi, 8
jl 0x42f196
mov edi, 7
lea esp, [esp]
mov edx, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.0042f3c0
dec edi
jns 0x42f1b0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [esi], ecx
add esi, 8
mov dword [ebp - 0x14], eax
test eax, eax
jg 0x42f070
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00444627
mov esp, ebp
pop ebp
ret 4
Function at 0x42f1f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x10], ecx
mov esi, edx
test al, 7
je 0x42f220
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret 4
shr eax, 3
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x42f39f
push ebx
push edi
mov ecx, dword [esi + 4]
xor edi, edi
mov edx, dword [esi]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edi*4]
add eax, ecx
mov dword [ebp - 0x18], edx
mov dl, al
and dl, 0xf
mov ebx, eax
shr ebx, 4
and bl, 0xf
movzx edx, dl
movzx edx, byte [edx + 0x476520]
mov byte [ebp - 0xb], bl
mov ebx, eax
shr ebx, 8
mov byte [ebp - 0xc], dl
movzx edx, byte [ebp - 0xb]
movzx edx, byte [edx + 0x476530]
and bl, 0xf
mov byte [ebp - 0xa], bl
mov ebx, eax
shr ebx, 0xc
and bl, 0xf
mov byte [ebp - 0xb], dl
movzx edx, byte [ebp - 0xa]
movzx edx, byte [edx + 0x476540]
mov byte [ebp - 9], bl
mov ebx, eax
shr ebx, 0x10
and bl, 0xf
mov byte [ebp - 0xa], dl
movzx edx, byte [ebp - 9]
movzx edx, byte [edx + 0x476550]
mov byte [ebp - 8], bl
mov ebx, eax
shr ebx, 0x14
and bl, 0xf
mov byte [ebp - 9], dl
movzx edx, byte [ebp - 8]
movzx edx, byte [edx + 0x476560]
mov byte [ebp - 7], bl
mov ebx, eax
shr eax, 0x1c
and al, 0xf
movzx eax, al
movzx eax, byte [eax + 0x476590]
shr ebx, 0x18
shl eax, 4
and bl, 0xf
mov byte [ebp - 8], dl
movzx edx, byte [ebp - 7]
mov dl, byte [edx + 0x476570]
movzx ebx, bl
mov bl, byte [ebx + 0x476580]
movzx edx, dl
movzx ebx, bl
or eax, ebx
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 8]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 9]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xa]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xb]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xc]
shl eax, 4
or eax, edx
rol eax, 0xb
xor eax, dword [ebp - 0x18]
mov dword [esi], ecx
mov ecx, eax
inc edi
mov dword [esi + 4], ecx
cmp edi, 8
jl 0x42f235
mov edi, 7
mov edx, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.0042f3c0
dec edi
jns 0x42f346
mov edi, 7
lea esp, [esp]
mov edx, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.0042f3c0
dec edi
jns 0x42f360
mov edi, 7
mov edx, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.0042f3c0
dec edi
jns 0x42f373
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [esi], ecx
add esi, 8
mov dword [ebp - 0x14], eax
test eax, eax
jg 0x42f230
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00444627
mov esp, ebp
pop ebp
ret 4
Function at 0x42f4f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test al, 7
je 0x42f51b
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret
shr eax, 3
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x42f69e
push ebx
push edi
jmp 0x42f530
mov ecx, dword [esi + 4]
mov edi, 0x4765a0
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
add eax, ecx
mov dl, al
and dl, 0xf
mov ebx, eax
shr ebx, 4
and bl, 0xf
movzx edx, dl
movzx edx, byte [edx + 0x476520]
mov byte [ebp - 0xb], bl
mov ebx, eax
shr ebx, 8
mov byte [ebp - 0xc], dl
movzx edx, byte [ebp - 0xb]
movzx edx, byte [edx + 0x476530]
and bl, 0xf
mov byte [ebp - 0xa], bl
mov ebx, eax
shr ebx, 0xc
and bl, 0xf
mov byte [ebp - 0xb], dl
movzx edx, byte [ebp - 0xa]
movzx edx, byte [edx + 0x476540]
mov byte [ebp - 9], bl
mov ebx, eax
shr ebx, 0x10
and bl, 0xf
mov byte [ebp - 0xa], dl
movzx edx, byte [ebp - 9]
movzx edx, byte [edx + 0x476550]
mov byte [ebp - 8], bl
mov ebx, eax
shr ebx, 0x14
and bl, 0xf
mov byte [ebp - 9], dl
movzx edx, byte [ebp - 8]
movzx edx, byte [edx + 0x476560]
mov byte [ebp - 7], bl
mov ebx, eax
shr eax, 0x1c
and al, 0xf
movzx eax, al
movzx eax, byte [eax + 0x476590]
shr ebx, 0x18
shl eax, 4
and bl, 0xf
mov byte [ebp - 8], dl
movzx edx, byte [ebp - 7]
mov dl, byte [edx + 0x476570]
movzx ebx, bl
mov bl, byte [ebx + 0x476580]
movzx edx, dl
movzx ebx, bl
or eax, ebx
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 8]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 9]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xa]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xb]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xc]
shl eax, 4
or eax, edx
rol eax, 0xb
xor eax, dword [ebp - 0x14]
mov dword [esi], ecx
add edi, 4
mov ecx, eax
mov dword [esi + 4], ecx
cmp edi, 0x4765c0
jl 0x42f538
xor edi, edi
mov edx, edi
mov ecx, esi
call fcn.0042f870
inc edi
cmp edi, 8
jl 0x42f647
xor edi, edi
jmp 0x42f660
mov edx, edi
mov ecx, esi
call fcn.0042f870
inc edi
cmp edi, 8
jl 0x42f660
mov edi, 7
mov edx, edi
mov ecx, esi
call fcn.0042f870
dec edi
jns 0x42f674
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [esi], ecx
add esi, 8
mov dword [ebp - 0x10], eax
test eax, eax
jg 0x42f530
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x42f6b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test al, 7
je 0x42f6db
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret
shr eax, 3
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x42f85c
push ebx
push edi
jmp 0x42f6f0
mov ecx, dword [esi + 4]
mov edi, 0x4765a0
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
add eax, ecx
mov dl, al
and dl, 0xf
mov ebx, eax
shr ebx, 4
and bl, 0xf
movzx edx, dl
movzx edx, byte [edx + 0x476520]
mov byte [ebp - 0xb], bl
mov ebx, eax
shr ebx, 8
mov byte [ebp - 0xc], dl
movzx edx, byte [ebp - 0xb]
movzx edx, byte [edx + 0x476530]
and bl, 0xf
mov byte [ebp - 0xa], bl
mov ebx, eax
shr ebx, 0xc
and bl, 0xf
mov byte [ebp - 0xb], dl
movzx edx, byte [ebp - 0xa]
movzx edx, byte [edx + 0x476540]
mov byte [ebp - 9], bl
mov ebx, eax
shr ebx, 0x10
and bl, 0xf
mov byte [ebp - 0xa], dl
movzx edx, byte [ebp - 9]
movzx edx, byte [edx + 0x476550]
mov byte [ebp - 8], bl
mov ebx, eax
shr ebx, 0x14
and bl, 0xf
mov byte [ebp - 9], dl
movzx edx, byte [ebp - 8]
movzx edx, byte [edx + 0x476560]
mov byte [ebp - 7], bl
mov ebx, eax
shr eax, 0x1c
and al, 0xf
movzx eax, al
movzx eax, byte [eax + 0x476590]
shr ebx, 0x18
shl eax, 4
and bl, 0xf
mov byte [ebp - 8], dl
movzx edx, byte [ebp - 7]
mov dl, byte [edx + 0x476570]
movzx ebx, bl
mov bl, byte [ebx + 0x476580]
movzx edx, dl
movzx ebx, bl
or eax, ebx
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 8]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 9]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xa]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xb]
shl eax, 4
or eax, edx
movzx edx, byte [ebp - 0xc]
shl eax, 4
or eax, edx
rol eax, 0xb
xor eax, dword [ebp - 0x14]
mov dword [esi], ecx
add edi, 4
mov ecx, eax
mov dword [esi + 4], ecx
cmp edi, 0x4765c0
jl 0x42f6f8
mov edi, 7
lea ebx, [ebx]
mov edx, edi
mov ecx, esi
call fcn.0042f870
dec edi
jns 0x42f810
mov edi, 7
mov edx, edi
mov ecx, esi
call fcn.0042f870
dec edi
jns 0x42f821
mov edi, 7
mov edx, edi
mov ecx, esi
call fcn.0042f870
dec edi
jns 0x42f832
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [esi], ecx
add esi, 8
mov dword [ebp - 0x10], eax
test eax, eax
jg 0x42f6f0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x42fba0
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4609f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esi], ebx
jne 0x42fcbf
mov dword [esi + 8], ebx
cmp dword [esi + 0x1c], ebx
jne 0x42fc02
lea edi, [ebp - 0x2c]
call fcn.00414050
lea ecx, [esi + 0xc]
push eax
mov dword [ebp - 4], ebx
call fcn.00403f40
cmp dword [ebp - 0x18], 8
jb 0x42fc02
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00444884
add esp, 4
xor eax, eax
push 1
lea ecx, [ebp - 0x4c]
push ecx
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov dword [ebp - 0x3f], eax
mov word [ebp - 0x3b], ax
mov byte [ebp - 0x39], al
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [esi + 0x20], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], ebx
jb 0x42fc58
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push 0xffffffffffffffff
push 0x1000
push 0x1000
push 1
push ebx
push 0xc0080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x28], eax
cmp eax, 0xffffffff
je 0x42fcac
lea edx, [ebp - 0x50]
push edx
push ebx
push eax
push 0x42f9a0
push ebx
push ebx
mov dword [0x477d30], esi
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x42fcb9
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], eax
xor eax, eax
jmp 0x42fcc4
mov dword [esi], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret

Function at 0x444627
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x473b80]
jne 0x444631
repz ret
jmp fcn.0044c645
Function at 0x455d3c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0044e49a
and dword [ebp - 0x14], 0
cmp dword [0x477b2c], 0
mov dword [ebp - 0x18], eax
jne 0x455def
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x455e97
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x465334
push ebx
call edi
test eax, eax
je 0x455e97
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x477b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x477b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x477b34], eax
call edi
push eax
call esi
mov dword [0x477b3c], eax
test eax, eax
je 0x455def
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x477b38], eax
mov eax, dword [0x477b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x455e48
cmp dword [0x477b3c], ecx
je 0x455e48
push eax
call esi
push dword [0x477b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x455e48
test ebx, ebx
je 0x455e48
call edi
test eax, eax
je 0x455e3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x455e3f
test byte [ebp - 8], 1
jne 0x455e48
or dword [ebp + 0x10], 0x200000
jmp 0x455e7b
mov eax, dword [0x477b30]
cmp eax, dword [ebp - 0x18]
je 0x455e7b
push eax
call esi
test eax, eax
je 0x455e7b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x455e7b
mov eax, dword [0x477b34]
cmp eax, dword [ebp - 0x18]
je 0x455e7b
push eax
call esi
test eax, eax
je 0x455e7b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x477b2c]
call esi
test eax, eax
je 0x455e97
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x455e99
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444627
leave
ret