joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov byte [eax], 0
mov ecx, dword [ebp + 0x14]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x10], eax
push edi
mov dword [ecx], 0
mov edi, 0xbfd80
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], edx
add eax, 0xffffffe7
xor edx, edx
mov ebx, dword [ebp + 8]
div edi
mov dword [ebp - 8], ecx
mov edi, eax
shl edi, 7
cmp edx, 0x80
jbe 0x478fe7
lea ecx, [edx - 0x80]
mov eax, 0xaad56003
mul ecx
mov ecx, dword [ebp - 8]
shr edx, 0xc
add edi, edx
cmp ebx, edi
jb 0x478ff6
mov dword [ecx], 1
jmp 0x47908a
mov edi, ebx
shr edi, 7
cmp dword [esi + 0x44], edi
je 0x479065
imul eax, edi, 0xbfd80
push 0
push 0
add eax, 0x19
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x479037
pop edi
mov dword [esi + 0x28], 0xa
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0x10
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x80
lea eax, [esi + 0x48]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4790a2
cmp dword [ebp - 8], 0x80
jne 0x4790a2
mov dword [esi + 0x44], edi
and ebx, 0x7f
imul eax, edi, 0xbfd80
imul ecx, ebx, 0x17fa
add ecx, 0x99
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov al, byte [ebx + esi + 0x48]
mov byte [ecx], al
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov dword [esi + 0x28], 5
xor ecx, ebp
pop esi
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0x10
Function at 0x479430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
push 0x17fa
push 0
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
call sub.VCRUNTIME140.dll_memset
mov dword [ebx], 0xffffffff
add esp, 0xc
mov dword [edi], 0
mov ebx, dword [esi + 0x20]
xor edx, edx
mov dword [edi], 0
mov ecx, 0xbfd80
mov eax, dword [esi + 0x24]
add eax, 0xffffffe7
div ecx
mov edi, eax
shl edi, 7
cmp edx, 0x80
jbe 0x4794a7
lea ecx, [edx - 0x80]
mov eax, 0xaad56003
mul ecx
shr edx, 0xc
add edi, edx
cmp ebx, edi
jae 0x4795f0
mov edi, ebx
shr edi, 7
cmp dword [esi + 0x44], edi
je 0x479502
imul eax, edi, 0xbfd80
push 0
push 0
add eax, 0x19
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x479552
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x80
lea eax, [esi + 0x48]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x479535
cmp dword [ebp - 8], 0x80
jne 0x479535
mov dword [esi + 0x44], edi
and ebx, 0x7f
imul eax, edi, 0xbfd80
mov edi, dword [ebp - 0x10]
imul ecx, ebx, 0x17fa
add ecx, 0x99
add ecx, eax
cmp dword [edi], 0
mov al, byte [ebx + esi + 0x48]
jne 0x4795f9
cmp al, 1
je 0x47956f
inc dword [esi + 0x20]
jmp 0x479473
mov eax, 5
pop edi
mov dword [esi + 0x28], eax
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xa
pop edi
mov dword [esi + 0x28], eax
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x47959d
pop edi
mov dword [esi + 0x28], 0xa
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0x17fa
push dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4795d4
cmp dword [ebp - 0xc], 0x17fa
jne 0x4795d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
inc dword [esi + 0x20]
jmp 0x4795f9
pop edi
mov dword [esi + 0x28], 5
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0xc
Function at 0x479a90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
jne 0x479b1d
inc dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
push 0
push dword [esi]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x479ae0
mov dword [esi + 0x28], 0xa
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x19
lea eax, [esi + 4]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x479b05
cmp dword [ebp - 8], 0x19
je 0x479b1d
mov dword [esi + 0x28], 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
Function at 0x479b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfbf0
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
test ecx, ecx
je 0x479ceb
test eax, eax
je 0x479ceb
push 0xc8
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10c]
call fcn.00477aa0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
test esi, esi
je 0x479c38
push 0
push 0x20
push 3
push 0
push 1
push SysReAllocString
push esi
call fcn.00405080
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x479c6a
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call fcn.00404ff0
add esp, 8
test eax, eax
je 0x479c32
test byte [ebp - 0x14], 0x10
jne 0x479c32
xor esi, esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x20
push 3
push 0
push 1
push SysReAllocString
push dword [ebp - 0x3c]
call fcn.00405080
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x479c6a
inc esi
cmp esi, 0x32
jb 0x479c03
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x10c]
cmp eax, 0xffffffff
je 0x479c48
push eax
call edi
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x479c63
push ecx
call dword [0x5d106c]
add esp, 4
mov eax, esi
jmp 0x479ced
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 0x1c], 0
push eax
push 0x19
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x479cdd
cmp dword [ebp - 0x18], 0x19
jne 0x479cdd
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp byte [ebp - 0x1c], 1
jne 0x479c38
cmp dword [ebp - 0x34], 4
jne 0x479cc3
cmp dword [ebp - 0x28], 0x17fa
jne 0x479cc3
mov eax, 1
jmp 0x479cc5
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov esi, 1
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
jmp 0x479c3a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x479c38
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
Function at 0x479d10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
jne 0x479d46
mov dword [esi + 0x28], 0xb
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
lea eax, [esi + 0x2c]
push ebx
push eax
call fcn.004050b0
add esp, 8
test eax, eax
jne 0x479d70
mov dword [esi + 0x28], 0xc
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push edi
push 0
push 0x20
push 3
push 0
push 0
push 0xc0000000
push ebx
mov dword [esi + 0x34], eax
call fcn.00405080
add esp, 0x1c
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x479dfb
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
call fcn.00404ff0
add esp, 8
test eax, eax
je 0x479def
test byte [ebp - 8], 0x11
je 0x479dc0
mov dword [esi + 0x28], 8
jmp 0x479e99
xor edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x20
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00405080
add esp, 0x1c
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x479dfb
inc edi
cmp edi, 0x32
jb 0x479dc2
mov dword [esi + 0x28], 1
jmp 0x479e99
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
lea edi, [esi + 4]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push 0x19
movq qword [edi + 0x10], xmm0
push edi
mov byte [edi + 0x18], 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x479e3a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 5
jmp 0x479e93
cmp dword [ebp - 0xc], 0x19
jne 0x479e84
mov eax, dword [ebp + 0xc]
cmp dword [edi], eax
jne 0x479e84
cmp byte [esi + 0x1c], 1
jne 0x479e84
cmp dword [esi + 0x10], 0x17fa
jne 0x479e84
cmp dword [esi + 0x14], 0x80
jne 0x479e84
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
pop edi
mov dword [esi + 0x24], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 3
mov dword [esi], 0xffffffff
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
Function at 0x47a4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
mov ecx, 0xbfd80
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
add eax, 0xffffffe7
div ecx
mov ebx, eax
shl ebx, 7
cmp edx, 0x80
jbe 0x47a4f3
lea ecx, [edx - 0x80]
mov eax, 0xaad56003
mul ecx
shr edx, 0xc
add ebx, edx
cmp edi, ebx
jb 0x47a503
mov dword [esi + 0x28], 9
jmp 0x47a5a7
mov al, byte [ebp + 0xc]
mov ebx, edi
mov byte [ebp - 5], al
mov ecx, edi
shr ebx, 7
and ecx, 0x7f
imul eax, ebx, 0xbfd80
push 0
mov dword [ebp - 0x10], ecx
add ecx, 0x19
push 0
add eax, ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x47a53c
mov dword [esi + 0x28], 0xa
jmp 0x47a5a7
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 1
lea eax, [ebp - 5]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x47a5a0
cmp dword [ebp - 0xc], 1
jne 0x47a5a0
cmp dword [esi + 0x44], ebx
jne 0x47a570
mov ecx, dword [ebp - 0x10]
mov al, byte [ebp - 5]
mov byte [ecx + esi + 0x48], al
cmp byte [ebp + 0xc], 0
jne 0x47a580
cmp dword [esi + 0x18], edi
cmovb edi, dword [esi + 0x18]
mov dword [esi + 0x18], edi
mov ecx, esi
call fcn.00479a90
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x28], 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
Function at 0x49e520
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3ded
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
test eax, eax
jne 0x49e670
mov eax, dword [ebp + 0x10]
sub eax, 0
je 0x49e667
sub eax, 1
jne 0x49e688
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.004a2710
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.004a2710
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push str.RvGuiStarter.exe
push 2
call fcn.004c7f20
add esp, 0xc
test eax, eax
je 0x49e655
push 0
push 0x516788
lea eax, [ebp - 0x1c]
push 0x516788
push eax
call fcn.004c9190
add esp, 0x10
test eax, eax
je 0x49e655
push 0
lea ecx, [ebp - 0x1c]
call fcn.004a2830
push eax
lea ecx, [ebp - 0x28]
call fcn.004a2830
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x49e655
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
push 0
movups xmmword [ebp - 0x38], xmm0
call fcn.004c7da0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], vtable.FamRT::CProcess.0
push 0
push 0
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004a2830
push eax
lea ecx, [ebp - 0x38]
call fcn.0043cfb0
mov ecx, esi
call fcn.0049e6b0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.FamRT::CProcess.0
call fcn.004c7dc0
lea ecx, [ebp - 0x1c]
call fcn.004a2730
lea ecx, [ebp - 0x28]
call fcn.004a2730
jmp 0x49e688
mov ecx, esi
call fcn.0049e6b0
jmp 0x49e688
cmp eax, 0xa
jne 0x49e688
mov eax, dword [ecx + 4]
cmp dword [eax], fcn.0049e6b0
jne 0x49e688
mov eax, dword [ecx]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
Function at 0x4c68c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
and eax, 0xff000000
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ecx
cmp eax, 0x8000000
jne 0x4c6a9b
test ecx, ecx
je 0x4c6a9b
mov ecx, ebx
call fcn.004c6b80
test eax, eax
je 0x4c6a9b
push esi
push edi
mov ecx, ebx
call fcn.004c6d80
mov esi, eax
lea ecx, [ebp - 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
movlpd qword [ebp - 0xc], xmm0
call fcn.004c6490
lea ecx, [esi + esi]
push ecx
lea ecx, [ebp - 0xc]
call fcn.004c64b0
test eax, eax
je 0x4c6a7e
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4c6a7e
mov eax, dword [ebp - 0x10]
lea edi, [ebx + esi]
mov dword [ebp - 0x1c], edi
mov eax, dword [eax]
test esi, esi
je 0x4c6965
push esi
test eax, eax
je 0x4c6a61
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
push edi
call fcn.004ccea0
add esp, 8
test eax, eax
je 0x4c6a7e
xor ecx, ecx
test esi, esi
je 0x4c6a2e
cmp esi, 0x40
jb 0x4c6a19
lea eax, [edi - 1]
lea edx, [ebx - 1]
add eax, esi
add edx, esi
cmp ebx, eax
ja 0x4c69a0
cmp edx, edi
jae 0x4c6a19
mov eax, esi
mov edx, esi
and eax, 0x3f
mov esi, edi
sub edx, eax
sub esi, ebx
mov dword [ebp - 0x10], esi
lea eax, [ebx + 0x10]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
lea edx, [edi + 0x30]
mov edi, dword [ebp - 0x10]
nop
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea edx, [edx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 0x14]
jb 0x4c69c0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
cmp ecx, esi
jae 0x4c6a2e
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x4c6a20
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.004cb2b0
test eax, eax
je 0x4c6a7e
lea ecx, [ebp - 0xc]
call fcn.004c64a0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea ecx, [ebp - 0xc]
call fcn.004c64a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 8
Function at 0x4c6db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push esi
test ebx, ebx
je 0x4c6ecc
mov ecx, ebx
call fcn.004c6690
mov edx, eax
test edx, edx
je 0x4c6ecc
test dl, 3
jne 0x4c6ecc
mov esi, dword [ebx]
shr edx, 1
mov dword [ebp - 0xc], esi
test esi, esi
je 0x4c6ecc
xor ecx, ecx
push edi
lea edi, [esi + edx]
test edx, edx
je 0x4c6ea3
cmp edx, 0x40
jb 0x4c6e8c
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x4c6e18
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x4c6e8c
mov eax, edx
mov ebx, edi
and eax, 0xffffffc0
sub ebx, esi
mov dword [ebp - 4], ebx
lea ebx, [edi + 0x30]
mov dword [ebp - 8], eax
lea eax, [esi + 0x10]
mov esi, dword [ebp - 4]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea ebx, [ebx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ebx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 8]
jb 0x4c6e30
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, edx
jae 0x4c6ea3
lea eax, [ecx + esi]
sub edi, esi
mov esi, edx
sub esi, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x4c6e95
push 0
push edx
mov ecx, ebx
call fcn.004c66c0
pop edi
test eax, eax
je 0x4c6ecc
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.004c6bb0
test eax, eax
je 0x4c6ecc
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c74d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
push 0
xorps xmm0, xmm0
mov word [ebp - 6], 0
mov eax, 0x17
movq qword [ebp - 0xe], xmm0
mov word [ebp - 0x20], ax
mov eax, dword [0x58b0f8]
push 0
mov dword [ebp - 8], eax
lea eax, [ecx + 0x18]
push 0x28
push eax
movups xmmword [ebp - 0x1e], xmm0
push 0x1c
movups xmm0, xmmword [ecx + 4]
lea eax, [ebp - 0x20]
push eax
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
Function at 0x4c9190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4c9292
test edi, edi
je 0x4c9292
test ebx, ebx
je 0x4c9292
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004a2710
cmp word [esi], 0
jne 0x4c9207
lea eax, [ebp - 0x1c]
push eax
call fcn.004c92b0
add esp, 4
test eax, eax
je 0x4c928a
lea ecx, [ebp - 0x1c]
call fcn.004a2da0
mov esi, eax
test esi, esi
je 0x4c928a
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.004a2710
push 0x105
lea ecx, [ebp - 0x10]
call fcn.004a2980
test eax, eax
je 0x4c9282
lea ecx, [ebp - 0x10]
call fcn.004a2da0
test eax, eax
je 0x4c9282
push eax
push dword [ebp + 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4c9282
lea ecx, [ebp - 0x10]
call fcn.004a2f30
push ebx
lea ecx, [ebp - 0x10]
call fcn.004a2ee0
lea ecx, [ebp - 0x10]
call fcn.004a2730
lea ecx, [ebp - 0x1c]
call fcn.004a2730
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
call fcn.004a2730
lea ecx, [ebp - 0x1c]
call fcn.004a2730
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret

Function at 0x4c9360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4c93a1
mov esi, 0x104
mov ecx, edi
push esi
call fcn.004a2980
test eax, eax
je 0x4c93a1
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
mov ecx, edi
call fcn.004a2da0
push eax
call ebx
mov ecx, edi
cmp eax, esi
jbe 0x4c93a8
add esi, esi
push esi
call fcn.004a2980
test eax, eax
jne 0x4c9384
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
call fcn.004a2f30
push 0x50f408
mov ecx, edi
call fcn.004a29c0
test eax, eax
je 0x4c93a1
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x4c9710
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov edi, ecx
call fcn.004c9930
test eax, eax
je 0x4c97d5
mov esi, dword [ebp - 8]
test esi, esi
je 0x4c97d5
xor edx, edx
lea ecx, [edi + 0x54]
mov eax, 1
lock cmpxchg dword [ecx], edx
cmp eax, 1
jne 0x4c97d5
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
lea ebx, [edi + 8]
setne byte [ebp - 1]
test ebx, ebx
je 0x4c97ca
lea esi, [ebx + 0x24]
push esi
call fcn.004051a0
add esp, 4
test eax, eax
jne 0x4c97ca
lea ecx, [ebx + 8]
call fcn.00406040
test eax, eax
jne 0x4c979d
push 1
push esi
call fcn.004051e0
movzx eax, byte [ebp - 1]
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebx + 8]
mov edi, eax
call fcn.00406570
test eax, eax
jne 0x4c97c3
push 1
push esi
call fcn.004051e0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, byte [ebp - 1]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret