joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409b27
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x49b043
call fcn.0046c73c
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
push edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x88]
push eax
call fcn.0042a502
add esp, 0xc
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x5c], 1
xor eax, eax
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x1c]
call fcn.00428cde
lea eax, [ebp - 0x34]
push eax
call fcn.004419e2
mov esi, 0x49cb74
mov ecx, esi
cmp dword [eax], edi
cmovne ecx, dword [eax]
push edi
push 0x4a0168
push ecx
push 0x4a0170
lea eax, [ebp - 0x1c]
push eax
call fcn.0042fb87
add esp, 0x18
lea ecx, [ebp - 0x34]
call fcn.00426615
lea ecx, [ebp - 0x28]
call fcn.00428cde
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.004465ec
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00425883
lea ecx, [ebp - 0x34]
call fcn.00426615
lea eax, [ebp - 0x28]
push eax
push 0x4a0174
lea ecx, [ebp - 0x1c]
call fcn.00424827
push 0x200
lea ecx, [ebp - 0x1c]
call fcn.00423e90
cmp dword [ebp - 0x1c], edi
cmovne esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
push eax
push edi
push edi
push 0x10
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x409c31
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x44]
call esi
lea ecx, [ebp - 0x28]
call fcn.00426615
lea ecx, [ebp - 0x1c]
call fcn.00426615
mov al, 1
jmp 0x409c69
push edi
push edi
push edi
push dword [ebp + 8]
push 0x49cf40
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setge bl
lea ecx, [ebp - 0x28]
call fcn.00426615
lea ecx, [ebp - 0x1c]
call fcn.00426615
mov al, bl
jmp 0x409c69
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40c1db
Capabilities:
Terminate process

Disassembly:
mov eax, 0x49b061
call fcn.0046c73c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00409e68
mov eax, dword [0x4deef4]
test eax, eax
je 0x40c21b
push 6
push eax
call fcn.00464c49
push dword [0x4deef4]
call fcn.00464608
add esp, 0xc
mov dword [0x4deef4], esi
call fcn.00465038
call fcn.0040e7fc
mov ecx, dword [0x4def6c]
test ecx, ecx
je 0x40c253
push esi
push 1
call fcn.00469831
mov ecx, dword [0x4def6c]
call fcn.00469c29
mov ecx, dword [0x4def6c]
call fcn.004689e0
mov dword [0x4def6c], esi
call fcn.00412655
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4230c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], edi
push dword [esi]
call fcn.004273d0
push dword [esi + 4]
mov ebx, eax
call fcn.004273d0
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
add edi, 0x44
mov dword [ebp - 8], 8
xor ebx, dword [edi]
lea edi, [edi - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
mov esi, dword [edi + 4]
shr ecx, 0x18
mov edx, dword [edx + eax*4 + 0x448]
mov eax, dword [ebp - 4]
add edx, dword [eax + ecx*4 + 0x48]
mov eax, ebx
mov ecx, dword [ebp - 4]
shr eax, 8
movzx eax, al
xor edx, dword [ecx + eax*4 + 0x848]
movzx eax, bl
add edx, dword [ecx + eax*4 + 0xc48]
mov ecx, dword [ebp + 0xc]
xor edx, esi
mov esi, dword [ebp - 4]
xor ecx, edx
mov eax, ecx
mov dword [ebp + 0xc], ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov edx, dword [esi + eax*4 + 0x448]
add edx, dword [esi + ecx*4 + 0x48]
mov ecx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 8
movzx eax, al
xor edx, dword [esi + eax*4 + 0x848]
movzx eax, cl
add edx, dword [esi + eax*4 + 0xc48]
xor ebx, edx
sub dword [ebp - 8], 1
jne 0x4230f3
mov eax, dword [edi]
xor eax, ebx
push eax
call fcn.004273d0
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [edi - 4]
xor eax, dword [ebp + 0xc]
push eax
call fcn.004273d0
pop ecx
pop ecx
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 8

Function at 0x42322e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push dword [esi]
call fcn.004273d0
push dword [esi + 4]
mov ebx, eax
call fcn.004273d0
pop ecx
lea edx, [edi + 0x48]
mov dword [ebp - 4], eax
pop ecx
mov dword [ebp + 0xc], edx
mov dword [ebp - 8], 8
xor ebx, dword [edi]
lea edi, [edi + 8]
mov esi, dword [edi - 4]
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [edx + eax*4 + 0x400]
mov eax, dword [ebp + 0xc]
add edx, dword [eax + ecx*4]
mov eax, ebx
mov ecx, dword [ebp + 0xc]
shr eax, 8
movzx eax, al
xor edx, dword [ecx + eax*4 + 0x800]
movzx eax, bl
add edx, dword [ecx + eax*4 + 0xc00]
mov ecx, dword [ebp - 4]
xor edx, esi
mov esi, dword [ebp + 0xc]
xor ecx, edx
mov eax, ecx
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov edx, dword [esi + eax*4 + 0x400]
add edx, dword [esi + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, ecx
shr eax, 8
movzx eax, al
xor edx, dword [esi + eax*4 + 0x800]
movzx eax, cl
add edx, dword [esi + eax*4 + 0xc00]
xor ebx, edx
sub dword [ebp - 8], 1
mov edx, esi
jne 0x42325e
mov eax, dword [edi]
xor eax, ebx
push eax
call fcn.004273d0
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
xor eax, dword [ebp - 4]
push eax
call fcn.004273d0
pop ecx
pop ecx
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 8
Function at 0x423323
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push edi
call fcn.0042306e
pop ecx
test al, al
je 0x4233f3
push ebx
push 0x48
push 0x4a2db0
lea ebx, [esi + 0x48]
push esi
mov dword [ebp + 0xc], ebx
call fcn.0042a499
push 0x1000
push 0x4a2df8
push ebx
call fcn.0042a499
add esp, 0x18
sar edi, 5
xor ecx, ecx
mov eax, ecx
mov ebx, dword [ebp + 8]
cdq
idiv edi
mov eax, dword [ebx + edx*4]
xor dword [esi + ecx*4], eax
inc ecx
cmp ecx, 0x12
jl 0x42336a
and dword [ebp - 4], 0
mov edi, esi
and dword [ebp - 8], 0
push 9
pop ebx
lea eax, [ebp - 8]
mov ecx, esi
push eax
push eax
call fcn.0042322e
push dword [ebp - 8]
call fcn.004273d0
push dword [ebp - 4]
mov dword [edi], eax
call fcn.004273d0
mov dword [edi + 4], eax
lea edi, [edi + 8]
pop ecx
pop ecx
sub ebx, 1
jne 0x42338b
mov ebx, dword [ebp + 0xc]
mov edi, 0x200
lea eax, [ebp - 8]
mov ecx, esi
push eax
push eax
call fcn.0042322e
push dword [ebp - 8]
call fcn.004273d0
push dword [ebp - 4]
mov dword [ebx], eax
call fcn.004273d0
mov dword [ebx + 4], eax
lea ebx, [ebx + 8]
pop ecx
pop ecx
sub edi, 1
jne 0x4233be
mov ecx, esi
call fcn.0042330f
mov al, 1
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x431d29
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x431eed
mov eax, dword [esi]
test eax, eax
je 0x431eed
test byte [ebp + 0xc], 1
push edi
mov edi, eax
je 0x431d66
movzx eax, word [eax]
jmp 0x431d5b
add dword [esi], 2
mov edi, dword [esi]
movzx eax, word [edi]
push eax
call fcn.0042542d
pop ecx
test al, al
jne 0x431d53
xor eax, eax
test byte [ebp + 0xc], 4
mov dword [ebp - 8], eax
mov byte [ebp + 0xb], al
mov eax, edi
mov dword [ebp - 4], eax
jne 0x431db3
movzx ecx, word [edi]
mov dword [ebp - 4], eax
sub ecx, 0x2b
je 0x431d8e
dec ecx
sub ecx, 1
jne 0x431db3
mov byte [ebp + 0xb], 1
add edi, 2
test byte [ebp + 0xc], 0x40
mov eax, edi
mov dword [esi], edi
mov dword [ebp - 4], eax
je 0x431db3
push 0x20
pop ecx
cmp word [edi], cx
jmp 0x431dae
add dword [esi], 2
mov eax, dword [esi]
cmp word [eax], cx
mov dword [ebp - 4], eax
je 0x431da6
xorps xmm1, xmm1
movsd qword [ebp - 0x1c], xmm1
movzx eax, word [eax]
mov ecx, eax
mov dword [ebp - 0xc], eax
push eax
mov dword [ebp - 0x10], ecx
mov edi, eax
call fcn.00425275
pop ecx
test al, al
je 0x431e00
movd xmm0, dword [ebp - 0xc]
movsd xmm1, qword [ebp - 0x1c]
mulsd xmm1, qword [0x4a4700]
mov byte [ebp - 8], 1
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
subsd xmm1, qword [0x4a4710]
movsd qword [ebp - 0x1c], xmm1
jmp 0x431e13
push 0x2e
pop ecx
cmp di, cx
je 0x431e20
cmp edi, 0x2c
jne 0x431e24
test byte [ebp + 0xc], 0x20
je 0x431e24
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov dword [esi], eax
jmp 0x431dbb
mov al, 1
jmp 0x431e27
mov eax, dword [ebp - 8]
pop edi
test al, al
jne 0x431e4c
test byte [ebp + 0xc], 8
je 0x431e3c
movsd xmm0, qword [str.v_w0]
jmp 0x431e3f
xorps xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
jmp 0x431f08
cmp word [ebp - 0x10], cx
jne 0x431eaa
mov eax, dword [ebp - 4]
movsd xmm0, qword [0x4a4700]
add eax, 2
movsd qword [ebp - 0x14], xmm0
jmp 0x431e9a
mov ecx, dword [esi]
movsd xmm2, qword [ebp - 0x14]
movzx eax, word [ecx]
sub eax, 0x30
movd xmm0, eax
lea eax, [ecx + 2]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
mulsd xmm2, qword [0x4a4700]
addsd xmm0, qword [ebp - 0x1c]
movsd qword [ebp - 0x14], xmm2
movsd qword [ebp - 0x1c], xmm0
mov dword [esi], eax
movzx eax, word [eax]
push eax
call fcn.00425275
pop ecx
test al, al
jne 0x431e67
test byte [ebp + 0xc], 2
je 0x431ec5
jmp 0x431eb5
add dword [esi], 2
mov eax, dword [esi]
movzx eax, word [eax]
push eax
call fcn.0042542d
pop ecx
test al, al
jne 0x431eb2
cmp byte [ebp + 0xb], 0
je 0x431ede
movsd xmm0, qword [ebp - 0x1c]
xorps xmm0, xmmword [0x4a3e20]
movsd qword [ebp - 0x1c], xmm0
jmp 0x431ee8
movsd xmm1, qword [ebp - 0x1c]
movsd qword [ebp - 0x1c], xmm1
fld qword [ebp - 0x1c]
jmp 0x431f08
test byte [ebp + 0xc], 8
je 0x431efd
movsd xmm0, qword [str.v_w0]
jmp 0x431f00
xorps xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
pop esi
leave
ret
Function at 0x432ac8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 4]
mov eax, edi
mov esi, dword [ebx]
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jle 0x432af4
xor dword [esi], ecx
add esi, 4
dec eax
test eax, eax
jg 0x432ae7
mov edi, dword [ebx + 4]
and edi, 3
sub edi, 1
je 0x432b0f
sub edi, 1
je 0x432b0c
sub edi, 1
jne 0x432b11
mov al, byte [ebp + 0xa]
xor byte [esi + 2], al
xor byte [esi + 1], ch
xor byte [esi], cl
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x434503
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x434588
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x434576
push 0x400
lea eax, [ebp - 0x404]
mov byte [ebp - 0x404], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00480ea0
pop ecx
pop ecx
mov ecx, eax
lea eax, [ebp - 0x404]
cmp ecx, eax
jbe 0x434576
cmp byte [ecx - 1], 0x5c
je 0x43455c
mov byte [ecx], 0x5c
inc ecx
lea eax, [ebp - 4]
push esi
sub eax, ecx
push eax
push ecx
call fcn.0048dd18
add esp, 0xc
test eax, eax
jne 0x434588
lea esi, [ebp - 0x404]
and ebx, 4
shl ebx, 3
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x43458a
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x4422da
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
and eax, 0xfffffffe
push ebx
cmp eax, 6
jg 0x4422fd
push 0xa1
call fcn.0045907c
xor bl, bl
jmp 0x44239f
xor ebx, ebx
test byte [ebp + 0x14], 1
push esi
mov esi, 0x49cb74
jne 0x44236d
cmp dword [ebp + 8], ebx
mov eax, esi
push str.thumbs.db
cmovne eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004453af
mov ecx, esi
push ebx
cmp dword [eax], ebx
cmovne ecx, dword [eax]
push ecx
call fcn.004444b6
add esp, 0x14
lea ecx, [ebp - 0xc]
call fcn.00426615
cmp dword [ebp + 8], ebx
mov eax, esi
push str.desktop.ini
cmovne eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004453af
mov ecx, esi
push ebx
cmp dword [eax], ebx
cmovne ecx, dword [eax]
push ecx
call fcn.004444b6
add esp, 0x14
lea ecx, [ebp - 0xc]
call fcn.00426615
push 0x5c
lea ecx, [ebp + 8]
call fcn.00427175
cmp dword [ebp + 8], ebx
cmovne esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
test eax, eax
je 0x44238e
mov bl, 1
jmp 0x4423a0
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jne 0x4423a0
push 3
call fcn.0045907c
pop ecx
lea ecx, [ebp + 8]
call fcn.00426615
mov al, bl
pop ebx
leave
ret

Function at 0x442ea3
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 8]
movsx eax, byte [esi]
push eax
call fcn.00442e5d
pop ecx
test al, al
je 0x442f9d
mov al, byte [esi]
xor ebx, ebx
mov byte [ebp + 8], al
lea eax, [ebp - 4]
push eax
push str.GetDiskFreeSpaceExA
mov word [ebp + 9], 0x5c3a
mov byte [ebp + 0xb], bl
mov dword [ebp - 4], ebx
call fcn.00434476
push eax
call fcn.0043448e
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x442f3f
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 8]
push ecx
call eax
test eax, eax
je 0x442f35
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x442f1d
mov ecx, dword [ebp - 0x18]
xor eax, eax
add eax, dword [ebp - 0x1c]
mov dword [edx], eax
adc ecx, ebx
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x442f99
mov ecx, dword [ebp - 0x20]
xor eax, eax
add eax, dword [ebp - 0x24]
mov dword [edx], eax
adc ecx, ebx
mov dword [edx + 4], ecx
jmp 0x442f99
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x78
jne 0x442f9d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x442f9d
mov eax, dword [ebp - 8]
mul dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov edi, eax
test esi, esi
je 0x442f80
push ebx
push edi
push 0
push dword [ebp - 0x10]
call fcn.0046cae0
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x442f98
push ebx
push edi
push 0
push dword [ebp - 0x14]
call fcn.0046cae0
mov dword [esi], eax
mov dword [esi + 4], edx
pop edi
mov al, 1
jmp 0x442f9f
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x4435c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.00432524
pop ecx
test al, al
je 0x4435d5
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ebp
ret

Function at 0x4436b5
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.00432539
pop ecx
test al, al
je 0x4436c9
xor al, al
pop ebp
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x443874
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
and eax, 1
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x443892
xor al, al
pop ebp
ret
test byte [ebp + 0x10], 0x80
je 0x4438a5
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004602f3
pop ecx
pop ecx
test dword [ebp + 0x10], 0x200
je 0x4438be
push 5
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004441d0
add esp, 0xc
mov al, 1
pop ebp
ret
Function at 0x4444b6
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00432524
pop ecx
test al, al
jne 0x444554
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, 0x100
je 0x4444e9
push esi
call fcn.00444ed0
or eax, edx
pop ecx
jne 0x444559
test bl, 1
jne 0x4444f7
push edi
push esi
call fcn.004435f9
pop ecx
pop ecx
test bl, 2
jne 0x4445c7
test bl, bl
js 0x444560
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x444682
test ebx, 0x800
je 0x444532
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
je 0x444682
cmp eax, 3
je 0x444682
test bl, 0x10
je 0x444559
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
je 0x444559
cmp eax, 3
je 0x444559
push esi
or ebx, 2
call fcn.00432524
pop ecx
test al, al
je 0x4444d6
call fcn.0045908a
xor al, al
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp - 0x10]
call fcn.00428cde
push closesocket
push esi
lea ecx, [ebp - 0x10]
call fcn.0042fedc
push edi
lea ecx, [ebp - 0x10]
call fcn.004248fa
push edi
lea eax, [ebp - 0x3c]
push 0x1e
push eax
call fcn.0042a502
add esp, 0xc
mov dword [ebp - 0x38], 3
cmp dword [ebp - 0x10], edi
mov eax, 0x49cb74
cmovne eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, 0x454
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
lea ecx, [ebp - 0x10]
neg ebx
sbb bl, bl
inc bl
jmp 0x4446be
call fcn.00457e07
test al, al
je 0x444697
mov eax, dword [0x4e085c]
test eax, eax
je 0x4445eb
push 4
push edi
push esi
call eax
test eax, eax
jne 0x444682
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045947d
mov edi, 0x49cb70
mov dword [esp], str.wininit.exe
mov ecx, edi
cmp dword [eax], 0
cmovne ecx, dword [eax]
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.004452f5
mov ecx, edi
cmp dword [eax], 0
cmovne ecx, dword [eax]
push ecx
call fcn.0044471b
add esp, 0x10
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.00426615
lea ecx, [ebp - 0x1c]
call fcn.00426615
test bl, bl
je 0x444689
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.004465ec
push 0
push 0x49ce58
lea eax, [ebp - 0x10]
push 0
push eax
push eax
call fcn.00459f4f
cmp dword [ebp - 0x10], 0
cmovne edi, dword [ebp - 0x10]
push edi
push 0x4a7b80
call fcn.00448c9a
add esp, 0x24
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.00426615
test bl, bl
je 0x444689
mov al, 1
jmp 0x44455b
push dword [ebp - 4]
call fcn.0045907c
pop ecx
jmp 0x444559
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004465ec
mov ecx, 0x49cb70
cmp dword [eax], edi
cmovne ecx, dword [eax]
push ecx
push 0x4a7b80
call fcn.00448c9a
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00426615
mov al, bl
jmp 0x44455b
Function at 0x448617
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
cmp byte [esi + 0x6b], 0
jne 0x44863f
push closesocket
push str.Read_access_denied
lea ecx, [esi + 0x44]
call fcn.0042f986
xor al, al
jmp 0x4486dc
cmp byte [esi + 0x68], 0
push ebx
push edi
je 0x44865c
push dword [ebp + 0xc]
lea ecx, [esi + 0x2c]
mov eax, dword [ecx]
push dword [ebp + 8]
mov eax, dword [eax]
call eax
test al, al
jne 0x4486b7
jmp 0x4486c6
xor edi, edi
cmp dword [esi + 0xc], edi
jne 0x44866f
push closesocket
push str.File_not_open
jmp 0x4486d0
call fcn.00448311
push edi
mov ebx, eax
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 8], edx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4486b2
lea eax, [ebp - 0x14]
push eax
call fcn.00458e13
pop ecx
push eax
lea ecx, [esi + 0x44]
call fcn.00408887
lea ecx, [ebp - 0x14]
call fcn.00426615
jmp 0x4486d8
cmp edi, dword [ebp - 4]
jne 0x4486bb
mov al, 1
jmp 0x4486da
push dword [ebp - 8]
mov ecx, esi
push ebx
call fcn.0044844a
push closesocket
push str.Read_past_end_of_file
lea ecx, [esi + 0x44]
call fcn.0042f986
xor al, al
pop edi
pop ebx
pop esi
leave
ret 8

Function at 0x448b2e
Capabilities:
Clear file content

Disassembly:
cmp byte [ecx + 0x6c], 0
je 0x448b5a
cmp byte [ecx + 0x68], 0
je 0x448b45
add ecx, 0x2c
call fcn.0042555a
mov al, 1
ret
cmp dword [ecx + 0xc], 0
je 0x448b5a
push dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
ret
xor al, al
ret
Function at 0x448de5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
je 0x448e10
jns 0x448e19
push closesocket
push str.Illegal_write_size
lea ecx, [esi + 0x40]
call fcn.0042f986
call fcn.0045908a
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
cmp byte [esi + 0x68], 0
jne 0x448e3d
push closesocket
push str.Write_access_denied
lea ecx, [esi + 0x40]
call fcn.0042f986
push 5
call fcn.0045907c
pop ecx
xor al, al
jmp 0x448e12
cmp byte [esi + 0x64], 0
je 0x448e54
lea ecx, [esi + 0x2c]
mov eax, dword [ecx]
push edi
push dword [ebp + 8]
call dword [eax]
mov byte [esi + 0x65], 1
jmp 0x448e10
cmp dword [esi + 8], 0
jne 0x448e70
push closesocket
push str.File_not_open
lea ecx, [esi + 0x40]
call fcn.0042f986
push 6
jmp 0x448e33
call fcn.00459073
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], 0x100000
push eax
call fcn.004018e2
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [ebp + 8]
jmp 0x448ec9
cmp ebx, dword [ebp - 0xc]
jne 0x448f0f
sub edi, ebx
mov dword [ebp + 0xc], edi
test edi, edi
jle 0x448ef8
add dword [ebp - 4], ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004018e2
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [ebp - 4]
push ebx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x448e9e
lea eax, [ebp - 0x18]
push eax
call fcn.00458e13
pop ecx
push eax
lea ecx, [esi + 0x40]
call fcn.00425883
lea ecx, [ebp - 0x18]
call fcn.00426615
jmp 0x448e39
cmp byte [esi + 0x66], 0
je 0x448e10
lea ecx, [esi - 4]
call fcn.0044793c
jmp 0x448e10
push closesocket
push str.Not_all_data_could_be_written
lea ecx, [esi + 0x40]
call fcn.0042f986
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x448e39
push 0x1722
jmp 0x448e33
Function at 0x4493f1
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
mov eax, 0x49b115
call fcn.0046c73c
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
xor ebx, ebx
cmp dword [edi], ebx
je 0x449415
xor eax, eax
jmp 0x4494dd
mov ecx, dword [0x4e21e8]
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x4e0870]
cmp eax, dword [esi + 4]
jg 0x4494ec
mov eax, dword [0x4e0878]
cmp eax, dword [esi + 4]
jg 0x449520
mov dword [ebp - 4], ebx
mov esi, dword [0x4e086c]
test esi, esi
jne 0x449482
mov esi, 0x4e086c
mov ecx, esi
call fcn.00402daf
push esi
push 0x4a82bc
push 1
push ebx
push 0x4a82ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [0x4e086c]
test esi, esi
jne 0x449482
push 2
pop eax
jmp 0x4494dd
mov eax, dword [0x4e0874]
test eax, eax
jne 0x4494b2
mov eax, dword [esi]
mov edi, dword [eax + 0x1c]
mov ecx, 0x4e0874
call fcn.00402daf
push 0x4e0874
push esi
call edi
mov eax, dword [0x4e0874]
test eax, eax
jne 0x4494af
push 3
jmp 0x44947f
mov edi, dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
cmp dword [edi], ebx
jne 0x4494c1
push 4
jmp 0x44947f
or dword [ebp - 4], 0xffffffff
jmp 0x4494db
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
push 0x4e0870
call fcn.0046c939
pop ecx
cmp dword [0x4e0870], 0xffffffff
jne 0x449435
push 0x49b6e6
call fcn.0046c724
mov dword [esp], 0x4e0870
call fcn.0046c8ef
pop ecx
jmp 0x449435
mov esi, 0x4e0878
push esi
call fcn.0046c939
pop ecx
cmp dword [0x4e0878], 0xffffffff
jne 0x449446
push 0x49b6f6
call fcn.0046c724
push esi
call fcn.0046c8ef
pop ecx
pop ecx
jmp 0x449446