joyce8/EMBER2024-capa huggingface dataset:
Function at 0x583740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa0
call fcn.0065cc50
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov dword [ebp - 0xa0], ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub ecx, edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x98], ecx
cmp edx, edi
jb 0x58392b
cmp edi, 0x40
ja 0x58392b
lea eax, [ebp - 0x84]
neg eax
lea ecx, [ebp - 0x84]
and eax, 0x3f
add ecx, eax
lea eax, [edi + 0x100]
mov dword [ebp - 0x9c], ecx
cmp edx, eax
jbe 0x5837b8
mov ebx, edx
sub ebx, edi
sub ebx, 0x100
push esi
push edi
xor esi, esi
mov dword [ebp - 0x90], 0
push esi
push ecx
call fcn.006602b0
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x94], esi
cmp ebx, dword [eax + 0xc]
jae 0x58388f
mov ecx, ebx
sub ecx, dword [eax + 8]
mov dword [ebp - 0x88], ecx
mov edi, dword [ebp - 0x8c]
mov eax, ebx
xor eax, dword [ebp - 0x98]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [ebp - 0x8c]
neg edx
xor ecx, dword [eax + 8]
mov eax, ebx
xor eax, dword [edi + 8]
or ecx, eax
mov eax, edx
or eax, dword [ebp - 0x90]
xor ecx, ebx
and edx, dword [ebp - 0x94]
shr ecx, 0x1f
or esi, edx
mov edx, dword [ebp - 0x94]
neg ecx
and ecx, eax
mov eax, dword [edi + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x90], ecx
mov al, byte [eax + ebx]
inc ebx
and al, cl
mov ecx, dword [ebp - 0x9c]
or byte [edx + ecx], al
inc edx
mov ecx, edx
mov eax, edx
sub ecx, edi
xor eax, edi
xor ecx, edi
or ecx, eax
mov eax, dword [ebp - 0x8c]
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov ecx, dword [ebp - 0x88]
inc ecx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x88], ecx
cmp ebx, dword [eax + 0xc]
jb 0x5837f0
mov dword [ebp - 0x88], 0
test edi, edi
je 0x583915
mov ecx, dword [ebp - 0x9c]
mov eax, esi
and eax, 0xffffffdf
mov bl, byte [eax + ecx]
mov eax, esi
or eax, 0x20
mov dl, byte [eax + ecx]
mov eax, esi
and eax, 0x20
inc esi
dec eax
shr eax, 0x1f
neg al
movzx eax, al
mov dword [ebp - 0x90], eax
not eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
and cl, dl
mov edx, dword [ebp - 0x88]
and al, bl
or al, cl
mov ecx, dword [ebp - 0xa0]
mov byte [ecx + edx], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
mov dword [ebp - 0x88], edx
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x5838a1
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
Function at 0x5bc350
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x5bc392
push 2
push dword [esi + 0x12c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xb8]
mov byte [esi + 0x20], 0
test eax, eax
je 0x5bc386
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0xb8], 0
push dword [esi + 0x158]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x5bc520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 0xc8]
mov dword [eax + 0x10], 0
mov byte [esi + 0xe0], 1
mov byte [esi + 0x21], 0
mov dword [esi + 0x104], 0
cmp dword [eax + 0x14], 0x10
jb 0x5bc551
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x24]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x5bc566
mov eax, dword [eax]
mov byte [eax], 0
lea ecx, [esi + 0xe4]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
je 0x5bc589
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x5bc580
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004484a0
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x5bc5ac
lea ecx, [esi + 0x10c]
cmp ecx, eax
je 0x5bc5ac
cmp dword [eax + 0x14], 0x10
jb 0x5bc5a5
mov eax, dword [eax]
push edx
push eax
call fcn.004484a0
push dword [ebp + 8]
mov ecx, esi
call fcn.005bd090
cmp dword [esi + 0x11c], 0
je 0x5bc5df
push edi
lea edi, [esi + 0x10c]
push edi
call fcn.005c0790
add esp, 4
test al, al
je 0x5bc5de
push 1
push edi
call fcn.005be6a0
add esp, 8
pop edi
lea eax, [ebp - 4]
mov byte [esi + 0x20], 1
push eax
push 0
push esi
push 0x5bbb20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi + 0x150], 0
mov dword [esi + 0x12c], eax
jne 0x5bc611
cmp dword [esi + 0x154], 0
je 0x5bc618
mov ecx, esi
call fcn.005bcdd0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5bd3f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x11c], 0
je 0x5bd420
push edi
lea edi, [esi + 0x10c]
push edi
call fcn.005c0790
add esp, 4
test al, al
je 0x5bd41f
push 1
push edi
call fcn.005be6a0
add esp, 8
pop edi
lea eax, [ebp - 4]
mov byte [esi + 0x20], 1
push eax
push 0
push esi
push 0x5bade0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi + 0x150], 0
mov dword [esi + 0x12c], eax
jne 0x5bd452
cmp dword [esi + 0x154], 0
je 0x5bd459
mov ecx, esi
call fcn.005bcdd0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5bf4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a409
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x745694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
call fcn.005be590
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
add esp, 8
push eax
push 0x20019
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5bf573
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test edi, edi
je 0x5bf55f
push edi
call fcn.006637b7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
call fcn.005be590
push 0x800
push 0
mov dword [ebp - 0x24], 0x400
call fcn.006637d2
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
test eax, eax
je 0x5bf5e6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
jmp 0x5bf606
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x5bf5f9
cmp eax, 7
jne 0x5bf5ca
mov edi, dword [ebp + 8]
push esi
push edi
call fcn.005be600
add esp, 8
test esi, esi
je 0x5bf613
push esi
call fcn.006637b7
add esp, 4
test ebx, ebx
je 0x5bf620
push ebx
call fcn.006637b7
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5bf640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call fcn.005be590
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 4]
add esp, 8
push eax
push 0x20019
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5bf6c4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
call fcn.005be590
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
add esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
je 0x5bf6db
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
test esi, esi
je 0x5bf6d3
push esi
call fcn.006637b7
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 8]
jmp 0x5bf6c6
Function at 0x5bf6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call fcn.005be590
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5bf740
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
jmp 0x5bf7b2
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
call fcn.005be590
push 0x800
push 0
call fcn.006637d2
add esp, 0x10
mov dword [ebp - 8], 0x400
mov ebx, eax
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
je 0x5bf799
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
jmp 0x5bf7a4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
test ebx, ebx
je 0x5bf7b1
push ebx
call fcn.006637b7
add esp, 4
pop ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5bf7c2
push eax
call fcn.006637b7
add esp, 4
mov eax, edi
mov edx, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5bf7d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0
call fcn.005be590
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 8]
add esp, 8
push eax
lea eax, [ebp - 4]
push eax
push 0
push 2
push 0
push 0
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x5bf81c
xor bl, bl
jmp 0x5bf87d
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
call fcn.005be590
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp + 0x14]
mov dword [ebp - 0x14], 0
call fcn.005be590
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov edi, dword [ebp - 0x18]
add eax, eax
mov esi, dword [ebp - 0x10]
push eax
push edi
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x5bf87c
push edi
call fcn.006637b7
add esp, 4
pop edi
test esi, esi
je 0x5bf88a
push esi
call fcn.006637b7
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bf8a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0
call fcn.005be590
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 8]
add esp, 8
push eax
lea eax, [ebp - 4]
push eax
push 0
push 2
push 0
push 0
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x5bf8ec
xor bl, bl
jmp 0x5bf920
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
call fcn.005be590
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 0x14]
add esp, 8
push 4
push eax
push 4
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5bf92d
push esi
call fcn.006637b7
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5bfd50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a491
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x745694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5bfe07
push 0x7d0
push eax
mov dword [ebp - 0x14], 0x3e8
call fcn.006637d2
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x3e8
push esi
push 0
push dword [ebp - 0x10]
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x5bfdf1
nop word [eax + eax]
push esi
push dword [ebp - 0x10]
call fcn.005bfd50
add esp, 8
test al, al
je 0x5bfe29
push 0x3e8
push esi
push 0
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x5bfdd0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5bfe07
push esi
call fcn.006637b7
add esp, 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x5bfe36
push esi
call fcn.006637b7
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5bfec0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a4e4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
push ecx
push eax
call fcn.005be590
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x40], 1
push eax
push 8
push 0
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5c0059
push 0x7d0
push eax
mov dword [ebp - 0x30], 0x3e8
call fcn.006637d2
add esp, 8
mov dword [ebp - 0x34], eax
push 0x3e8
push eax
xor esi, esi
mov byte [ebp - 4], 2
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x5c0040
nop word [eax + eax]
push dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
call fcn.005be600
add esp, 8
mov ecx, eax
mov eax, dword [edi + 4]
mov byte [ebp - 4], 3
cmp eax, dword [edi + 8]
je 0x5bffe8
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
add dword [edi + 4], 0x18
jmp 0x5bfff1
push ecx
push eax
mov ecx, edi
call fcn.005ccc50
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x5c0025
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c001b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c0086
push edx
push ecx
call fcn.0065cc27
add esp, 8
push 0x3e8
push dword [ebp - 0x34]
inc esi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x5bff90
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5c0059
push eax
call fcn.006637b7
add esp, 4
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x5c0069
push eax
call fcn.006637b7
add esp, 4
mov eax, edi
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.0065cc3a
mov esp, ebp
pop ebp
ret
call fcn.0066375b
int3
Function at 0x5c01f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a518
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x745694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], 0
call fcn.005be590
mov esi, dword [ebp - 0x14]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
test esi, esi
je 0x5c0251
push esi
call fcn.006637b7
add esp, 4
test bl, bl
je 0x5c0268
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
call fcn.005be590
lea eax, [ebp - 0x14]
push eax
call fcn.005c02c0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov bl, al
test ecx, ecx
je 0x5c02a7
push ecx
call fcn.006637b7
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c0790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.005be590
mov esi, dword [ebp - 8]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
test esi, esi
je 0x5c07d2
push esi
call fcn.006637b7
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5c0d70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a608
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
push ecx
push eax
call fcn.005be590
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.005be590
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.005be590
mov edi, dword [ebp - 0x54]
add esp, 0x18
mov esi, dword [ebp - 0x5c]
push 5
push dword [ebp - 0x4c]
push edi
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x5c0e1e
mov byte [ebp - 0x41], 1
jmp 0x5c0ed7
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005c0940
add esp, 8
push 0x14
push str.ShellExecute_error:
push 0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.005a5ba0
mov ecx, 0x7450c8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
movq qword [ebp - 0x18], xmm0
call fcn.005a3660
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5c0ea3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c0e99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c0f1f
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x5c0ed3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c0ec9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c0f1f
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x5c0ee7
push eax
call fcn.006637b7
add esp, 4
test edi, edi
je 0x5c0ef4
push edi
call fcn.006637b7
add esp, 4
test esi, esi
je 0x5c0f01
push esi
call fcn.006637b7
add esp, 4
mov al, byte [ebp - 0x41]
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.0065cc3a
mov esp, ebp
pop ebp
ret
call fcn.0066375b
int3
Function at 0x5c1370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x74bb34]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x74b490]
cmp eax, dword [ecx + 4]
jg 0x5c14e7
cmp dword [0x745120], 0
jne 0x5c14c7
push 0x208
push 0
mov dword [ebp - 0x2c], 0x104
call fcn.006637d2
mov edi, eax
add esp, 8
mov dword [ebp - 0x30], edi
push 1
push 0x28
push edi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.005be600
mov esi, eax
add esp, 8
cmp esi, 0x745110
je 0x5c148a
mov edx, dword [0x745124]
cmp edx, 0x10
jb 0x5c1447
mov ecx, dword [0x745110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c143d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c151d
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov dword [0x745120], 0
mov dword [0x745124], 0xf
mov byte [0x745110], 0
movups xmm0, xmmword [esi]
movups xmmword [0x745110], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x745120], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5c14ba
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c14b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c151d
push edx
push ecx
call fcn.0065cc27
add esp, 8
test edi, edi
je 0x5c14c7
push edi
call fcn.006637b7
add esp, 4
mov eax, 0x745110
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.0065cc3a
mov esp, ebp
pop ebp
ret
push 0x74b490
call fcn.0065cdda
add esp, 4
cmp dword [0x74b490], 0xffffffff
jne 0x5c13ba
push 0x691d20
call fcn.0065d20f
push 0x74b490
call fcn.0065cd90
add esp, 8
jmp 0x5c13ba
call fcn.0066375b
int3
Function at 0x5c1ea0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a7f1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x74bb34]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x74b498]
cmp eax, dword [ecx + 4]
jg 0x5c2014
cmp dword [0x745150], 0
jne 0x5c1ff5
push 0x208
push 0
mov dword [ebp - 0x2c], 0x104
call fcn.006637d2
mov esi, eax
add esp, 8
mov dword [ebp - 0x30], esi
push 1
push 0x10
push esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005be600
add esp, 8
push 1
push 0x70df74
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004485a0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [0x745154]
movq qword [ebp - 0x30], xmm1
movups xmmword [ebp - 0x40], xmm0
cmp edx, 0x10
jb 0x5c1fa9
mov ecx, dword [0x745140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1f96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c204a
push edx
push ecx
call fcn.0065cc27
movups xmm0, xmmword [ebp - 0x40]
add esp, 8
movq xmm1, qword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
movq qword [0x745150], xmm1
movups xmmword [0x745140], xmm0
cmp edx, 0x10
jb 0x5c1fe8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1fde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c204a
push edx
push ecx
call fcn.0065cc27
add esp, 8
test esi, esi
je 0x5c1ff5
push esi
call fcn.006637b7
add esp, 4
mov eax, 0x745140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
push 0x74b498
call fcn.0065cdda
add esp, 4
cmp dword [0x74b498], 0xffffffff
jne 0x5c1ee9
push 0x691cc0
call fcn.0065d20f
push 0x74b498
call fcn.0065cd90
add esp, 8
jmp 0x5c1ee9
call fcn.0066375b
int3