joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d5c9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
push dword [ebx + 4]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0x48], edi
je 0x42d63b
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x48]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push 0xcc0020
push edi
push edi
push esi
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, edi
je 0x42d704
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x42d704
mov eax, dword [ebp + 8]
push 0x1000000
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_FillRect]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], 0x578
mov dword [ebp - 0x14], 0x4394
mov dword [ebp - 8], 0x23f0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add eax, ecx
cdq
push 0x64
pop ecx
idiv ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], 0xffffff
push 0x64
pop esi
mov byte [ebp - 4], al
movzx eax, byte [ebp - 3]
imul eax, ecx
add eax, dword [ebp - 0x14]
cdq
idiv esi
mov byte [ebp - 3], al
movzx eax, byte [ebp - 2]
imul eax, ecx
add eax, dword [ebp - 0x18]
cdq
idiv esi
mov edx, ecx
lea esi, [ebp - 0x1c]
mov byte [ebp - 2], al
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push dword [ebp - 4]
push eax
xor eax, eax
call fcn.0042dd88
sub dword [ebp - 8], 0x5c
inc dword [ebp - 0xc]
add dword [ebp - 0x10], 0xff
sub dword [ebp - 0x14], 0xad
sub dword [ebp - 0x18], 0xe
cmp dword [ebp - 8], edi
jg 0x42d66c
push 0xead5c
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FrameRect]
cmp esi, edi
je 0x42d704
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebx + 0x4c]
cmp edx, edi
je 0x42d739
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
push 3
push edi
push edi
push eax
push ecx
push edx
cdq
sub eax, edx
push 0x3c
pop edx
sar eax, 1
sub edx, eax
push edx
mov eax, ecx
cdq
push 0x3c
sub eax, edx
pop ecx
sar eax, 1
sub ecx, eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x58]
push eax
mov ecx, ebx
call fcn.0042d74d
pop edi
pop esi
leave
ret 4
Function at 0x42e8fe
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x458ca0
call fcn.004485c4
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
lea ecx, [ebp - 0x34]
mov edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0xf
call fcn.004173b7
cmp ebx, esi
mov dword [ebp - 4], esi
je 0x42ea58
mov dword [ebp - 0x18], ebx
mov al, byte [edi]
mov byte [ebp + esi - 0x10], al
mov bl, byte [ebp - 0xf]
inc esi
inc edi
cmp esi, 3
jne 0x42e9ab
mov al, byte [ebp - 0x10]
shr al, 2
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x10]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x13], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0xe]
and al, 0x3f
mov byte [ebp - 0x11], al
xor esi, esi
cmp dword [0x47f578], 0x10
mov eax, dword [0x47f564]
jae 0x42e98f
mov eax, 0x47f564
movzx ecx, byte [ebp + esi - 0x14]
movsx eax, byte [ecx + eax]
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.0042ec6f
inc esi
cmp esi, 4
jl 0x42e97c
xor esi, esi
dec dword [ebp - 0x18]
jne 0x42e935
test esi, esi
je 0x42ea58
cmp esi, 3
jge 0x42e9d9
push 3
pop ecx
sub ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
lea edi, [ebp + esi - 0x10]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov bl, byte [ebp - 0xf]
mov al, byte [ebp - 0x10]
mov cl, al
shr cl, 2
mov byte [ebp - 0x14], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0xe]
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0x12], bl
and al, 0x3f
lea edi, [esi + 1]
xor ebx, ebx
test edi, edi
mov byte [ebp - 0x11], al
jle 0x42ea40
cmp dword [0x47f578], 0x10
mov eax, dword [0x47f564]
jae 0x42ea27
mov eax, 0x47f564
movzx ecx, byte [ebp + ebx - 0x14]
movsx eax, byte [ecx + eax]
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.0042ec6f
inc ebx
cmp ebx, edi
jl 0x42ea14
push 3
pop edi
cmp esi, edi
jge 0x42ea58
sub edi, esi
push 0x3d
push 1
lea ecx, [ebp - 0x34]
call fcn.0042ec6f
dec edi
jne 0x42ea49
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.004188b1
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00417a85
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4361f1
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x459109
call fcn.004485c4
sub esp, 0x68
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
push edi
mov dword [esi + 0xc], eax
jae 0x43624b
push str.Incorrect_key_length
lea ecx, [ebp - 0x3c]
call fcn.00418739
and dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
push 1
lea ecx, [ebp - 0x20]
call fcn.0041875b
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00418793
push 0x38
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x436256
mov dword [ebp + 0xc], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push dword [ebp + 8]
push eax
call fcn.004458a0
push 0x48
lea edi, [esi + 0x10]
push 0x46d2c0
push edi
call fcn.004458a0
push 0x1000
lea eax, [esi + 0x58]
push 0x46d308
push eax
call fcn.004458a0
add esp, 0x24
and dword [ebp + 0x10], 0
push 4
lea eax, [ebp - 0x74]
mov ecx, edi
mov dword [ebp - 0x14], 0x12
pop ebx
and dword [ebp + 8], 0
mov dword [ebp - 0x10], ebx
mov edx, dword [ebp + 8]
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
inc eax
inc dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x4362c6
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x74]
dec dword [ebp - 0x10]
jne 0x4362a5
mov edx, dword [ebp + 8]
xor dword [ecx], edx
push 4
pop ebx
add ecx, ebx
dec dword [ebp - 0x14]
jne 0x43629e
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043635d
mov eax, dword [ebp - 0x18]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x12
jb 0x4362e5
lea eax, [esi + 0x58]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], ebx
and dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0043635d
mov eax, dword [ebp - 0x18]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x100
jl 0x436318
add dword [ebp + 0x10], 0x400
dec dword [ebp + 8]
jne 0x436311
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4365f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4590ef
call fcn.004485c4
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, ecx
mov esi, edx
je 0x43670c
test al, 7
jne 0x43670c
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jne 0x436681
cmp eax, 8
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov dword [ebp - 0x18], ecx
jb 0x436670
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.00436567
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
xor dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0043635d
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.004365bb
dec dword [ebp + 0xc]
jne 0x436639
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp dword [ebp + 0xc], 2
jne 0x4366da
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x436670
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043635d
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.00436567
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.004365bb
dec ebx
jne 0x43669d
jmp 0x436670
cmp eax, 8
jb 0x436670
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.00436567
lea eax, [ebp - 0x14]
push eax
call fcn.0043635d
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.004365bb
dec ebx
jne 0x4366e4
jmp 0x436670
push str.Incorrect_buffer_length
lea ecx, [ebp - 0x40]
call fcn.00418739
lea eax, [ebp - 0x40]
push eax
push 1
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.0041875b
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00418793
int3
Function at 0x436736
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4590d5
call fcn.004485c4
sub esp, 0x3c
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, ecx
mov esi, edx
je 0x436868
test al, 7
jne 0x436868
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jne 0x4367d6
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x4367c5
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.00436567
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00436462
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call fcn.004365bb
dec dword [ebp + 0xc]
jne 0x436782
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp dword [ebp + 0xc], 2
jne 0x436836
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x4367c5
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.00436567
lea eax, [ebp - 0x1c]
push eax
call fcn.0043635d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, eax
xor eax, dword [ebp - 0x1c]
mov ebx, ecx
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
call fcn.004365bb
dec dword [ebp + 0xc]
jne 0x4367f3
jmp 0x4367c5
cmp eax, 8
jb 0x4367c5
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.00436567
lea eax, [ebp - 0x14]
push eax
call fcn.00436462
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.004365bb
dec ebx
jne 0x436840
jmp 0x4367c5
push str.Incorrect_buffer_length
lea ecx, [ebp - 0x48]
call fcn.00418739
lea eax, [ebp - 0x48]
push eax
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0041875b
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00418793
int3
Function at 0x43885b
Capabilities:
Execute vbscript javascript or jscript in memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 0x10]
push eax
push str.JScript
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea esi, [edi + 0x10]
push esi
push 0x4619fc
push 1
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x438890
xor eax, eax
jmp 0x4388df
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
lea ebx, [edi + 0x14]
push ebx
push 0x4619ec
push eax
call dword [ecx]
test eax, eax
jge 0x4388a9
xor eax, eax
jmp 0x4388de
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4388a5
mov ebx, dword [ebx]
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
test eax, eax
jl 0x4388a5
cmp dword [edi + 0xc], 0
je 0x4388d1
mov ecx, dword [edi + 0xc]
push dword [esi]
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [esi]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0x14]
xor eax, eax
inc eax
pop ebx
pop esi
leave
ret

Function at 0x43f630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4580d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push 0xffffffffffffffff
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
push eax
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
call fcn.00417328
mov eax, dword [esp + 0x48]
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], eax
call fcn.0043efe0
cmp dword [esp + 0x28], 0x10
pop esi
jb 0x43f6b4
mov edx, dword [esp + 0x10]
push edx
call fcn.00445898
add esp, 4
mov ecx, dword [esp + 0x2c]
xor al, al
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
Function at 0x44208c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp eax, 8
push ebx
push esi
mov esi, edx
not esi
mov edx, 0xff
jb 0x442149
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [ecx]
sub eax, 8
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
xor ebx, ebx
inc ecx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
inc ecx
dec edi
jne 0x4420a6
pop edi
test eax, eax
je 0x442163
xor ebx, ebx
mov bl, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x461fc8]
inc ecx
dec eax
jne 0x44214d
mov eax, esi
pop esi
not eax
pop ebx
ret

Function at 0x4428c4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
cmp byte [eax], 0
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 1
mov dword [ebp + 8], eax
je 0x4428ef
cmp byte [eax + 1], 0x3a
jne 0x4428ef
inc eax
inc eax
cmp byte [eax], 0x5c
jne 0x4428f5
inc eax
push esi
jmp 0x442944
cmp cl, 0x5c
je 0x442915
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x4428f8
xor esi, esi
test esi, esi
jne 0x442919
cmp dword [ebp + 0xc], esi
jne 0x44291c
xor eax, eax
inc eax
pop esi
leave
ret
mov esi, eax
jmp 0x442906
mov byte [esi], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x44293a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44294c
test esi, esi
je 0x44290f
mov byte [esi], 0x5c
lea eax, [esi + 1]
mov cl, byte [eax]
test cl, cl
jne 0x4428f8
jmp 0x44290f
test esi, esi
je 0x442953
mov byte [esi], 0x5c
xor eax, eax
jmp 0x442912
Function at 0x443ade
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, eax
cmp dword [esi + 0x1c], 0xffffffff
jne 0x443af5
push 9
pop eax
jmp 0x443bf9
push ebx
mov ebx, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [esi + 8], edi
test byte [ebx + 4], 0x10
je 0x443b24
inc edi
push edi
push dword [ebp + 8]
call fcn.004428c4
test eax, eax
pop ecx
pop ecx
jne 0x443b1d
mov dword [esi + 8], edi
jmp 0x443bef
xor eax, eax
jmp 0x443bf7
push edi
push dword [ebp + 8]
call fcn.004428c4
test eax, eax
pop ecx
pop ecx
je 0x443b51
push edi
push dword [ebx + 4]
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x443b5d
mov dword [esi + 8], 1
jmp 0x443bef
mov eax, esi
call fcn.00442409
cmp dword [esi + 8], edi
jne 0x443be6
cmp dword [esi + 0x28], edi
mov ebx, 0x4000
jne 0x443bc4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [esi + 0x28], eax
jne 0x443bc4
mov dword [esi + 8], 2
jmp 0x443bc4
push ebx
push dword [esi + 0x28]
push esi
call fcn.004439ab
add esp, 0xc
cmp eax, edi
mov dword [ebp - 8], eax
je 0x443bc9
push edi
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [esi + 0x28]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x443bbd
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
je 0x443bc4
mov dword [esi + 8], 3
cmp dword [esi + 8], edi
je 0x443b8b
cmp dword [esi + 8], edi
jne 0x443be6
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x18]
push ecx
lea ecx, [eax + 8]
push ecx
add eax, 0x10
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004423e0
mov eax, dword [esi + 8]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x443fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
mov ebp, 0xf
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xc42c
sbb edi, edi
lea eax, [esp + 0x14]
and edi, eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x18]
add eax, 4
cmp edx, 8
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
jb 0x444002
mov eax, dword [eax]
push edi
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
cmp esi, ebx
jne 0x444048
mov esi, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
push ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00417328
cmp dword [esp + 0x30], 0x10
jb 0x4440dc
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4440d4
push esi
call fcn.00444a58
mov ebp, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x18]
add esp, 4
cmp ecx, 8
jb 0x444067
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
jmp 0x44406b
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
push edi
push ebx
push esi
push ebp
push 0xffffffffffffffff
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x44408e
dec esi
push esi
push ebp
lea ecx, [esp + 0x20]
call fcn.0041819d
push ebp
call fcn.00445bdd
mov eax, dword [esp + 0x54]
add esp, 4
cmp eax, ebx
je 0x4440a8
cmp dword [esp + 0x14], ebx
jne 0x4440a8
mov byte [eax], 1
mov esi, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00417328
cmp dword [esp + 0x30], 0x10
jb 0x4440dc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00445898
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4443a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
push esi
push edi
xor eax, eax
push eax
mov dword [esp + 0xc], 0
mov ecx, 0x49
lea edi, [esp + 0x10]
push 0xa
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x444418
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x444411
mov edi, dword [ebp + 8]
lea esp, [esp]
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.00448434
add esp, 8
test eax, eax
je 0x444420
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4443f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x444470
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push eax
xor bl, bl
call fcn.004443a0
mov esi, eax
add esp, 4
test esi, esi
je 0x4444d5
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, ebp
imul edi, edi, 0x3e8
cmp esi, 0xffffffff
je 0x4444d3
push 0
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp ebp, 1
jbe 0x4444b9
dec ebp
sub edi, 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004443a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x444495
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
ret
Function at 0x447a7b
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x463968
call fcn.0044b378
mov edi, 0x94
mov eax, edi
call fcn.0044be00
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x47ea50], ecx
mov eax, dword [esi + 4]
mov dword [0x47ea5c], eax
mov edx, dword [esi + 8]
mov dword [0x47ea60], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x47ea54], esi
cmp ecx, 2
je 0x447adb
or esi, 0x8000
mov dword [0x47ea54], esi
shl eax, 8
add eax, edx
mov dword [0x47ea58], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x447b16
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x447b16
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x447b2e
cmp eax, 0x20b
je 0x447b1b
mov dword [ebp - 0x1c], esi
jmp 0x447b42
cmp dword [ecx + 0x84], 0xe
jbe 0x447b16
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x447b3c
cmp dword [ecx + 0x74], 0xe
jbe 0x447b16
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044a323
pop ecx
test eax, eax
jne 0x447b56
push 0x1c
call fcn.00447a01
pop ecx
call fcn.0044b84d
test eax, eax
jne 0x447b67
push 0x10
call fcn.00447a01
pop ecx
call fcn.0044f869
mov dword [ebp - 4], esi
call fcn.0044f61f
test eax, eax
jge 0x447b80
push 0x1b
call fcn.004479dc
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x480a18], eax
call fcn.0044f4fd
mov dword [0x47e8b8], eax
call fcn.0044f45b
test eax, eax
jge 0x447ba6
push 8
call fcn.004479dc
pop ecx
call fcn.0044f228
test eax, eax
jge 0x447bb7
push 9
call fcn.004479dc
pop ecx
push 1
call fcn.0044d3b5
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x447bcd
push eax
call fcn.004479dc
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0044f1cb
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x447bee
movzx eax, word [ebp - 0x40]
jmp 0x447bf1
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00429242
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x447c0f
push edi
call fcn.0044d4e2
call fcn.0044d504
jmp 0x447c41
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0044b3b3
ret