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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b552
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
call fcn.005c2560
mov edx, dword [eax + 0x10]
test edx, edx
je 0x5c8cf8
mov ecx, accept
sub ecx, edx
cmp ecx, 0x2c
jb 0x5c8d99
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x5c8c7c
mov ecx, dword [eax]
push 0x2c
push str.GoogleChromeUser_DataDefaultExtensions_
push edx
push ecx
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.005b3710
push esi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 5
push eax
call fcn.005b3550
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push ecx
push eax
mov ebx, 7
mov dword [ebp - 0x48], 0
call fcn.005be590
mov esi, dword [ebp - 0x4c]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
mov byte [ebp - 0x41], al
test esi, esi
je 0x5c8cf0
push esi
call fcn.006637b7
mov al, byte [ebp - 0x41]
add esp, 4
mov byte [ebp - 0x41], 1
test al, al
jne 0x5c8cfc
mov byte [ebp - 0x41], 0
test bl, 2
je 0x5c8d46
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x5c8d34
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c8d2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c8d9e
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test bl, 1
je 0x5c8d7b
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x5c8d7b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c8d71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c8d9e
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
call fcn.00446f60
call fcn.0066375b
int3
Function at 0x5c99c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b652
mov eax, dword fs:[0]
push eax
mov eax, 0xfa40
call fcn.0065cc50
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xfa44], esi
mov dword [ebp - 0xfa48], 0
cmp dword [eax + 0x10], 0
mov dword [ebp - 0xfa4c], esi
jne 0x5c9a3a
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x5c9be5
push eax
lea eax, [ebp - 0xfa40]
push eax
call fcn.005c7bc0
add esp, 8
cmp dword [ebp - 0xfa2c], 8
lea ecx, [ebp - 0xfa10]
push 0x7d00
lea eax, [ebp - 0xfa40]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0xfa40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x5c9bb9
xor eax, eax
mov dword [ebp - 0xfa28], 0
lea ecx, [ebp - 0xfa10]
mov dword [ebp - 0xfa18], 0
mov dword [ebp - 0xfa14], 7
lea edx, [ecx + 2]
mov word [ebp - 0xfa28], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c9ab0
sub ecx, edx
lea eax, [ebp - 0xfa10]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xfa28]
call fcn.005cda50
push 0
push dword [ebp - 0xfa18]
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [ebp - 4], 2
mov byte [esi], 0
mov dword [ebp - 0xfa48], 2
call fcn.005a6030
cmp dword [esi + 0x14], 0x10
mov ebx, esi
jb 0x5c9b10
mov ebx, dword [esi]
cmp dword [ebp - 0xfa14], 8
lea ecx, [ebp - 0xfa28]
mov edx, dword [ebp - 0xfa28]
lea edi, [ebp - 0xfa28]
mov eax, dword [ebp - 0xfa18]
cmovae ecx, edx
cmovae edi, edx
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x5c9b64
mov esi, eax
nop
movzx eax, word [edi]
push eax
call fcn.006685c0
add edi, 2
mov byte [ebx], al
add esp, 4
lea ebx, [ebx + 1]
cmp edi, esi
jne 0x5c9b40
mov edx, dword [ebp - 0xfa28]
mov esi, dword [ebp - 0xfa4c]
mov eax, dword [ebp - 0xfa14]
cmp eax, 8
jb 0x5c9b9a
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5c9b90
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c9c03
push ecx
push edx
call fcn.0065cc27
add esp, 8
xor eax, eax
mov dword [ebp - 0xfa18], 0
mov dword [ebp - 0xfa14], 7
mov word [ebp - 0xfa28], ax
jmp 0x5c9bda
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea ecx, [ebp - 0xfa40]
call fcn.005cd260
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
call fcn.0066375b
int3
Function at 0x5c9e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
je 0x5c9ebe
push edi
mov edi, dword [ebp + 8]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop ebp
ret
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
Function at 0x5cc3b0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
push ebx
push esi
push ecx
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.005be590
add esp, 8
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x5cc40b
push 4
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x5cc42f
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x5cc41d
push eax
call fcn.006637b7
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x34]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
test edi, edi
pop edi
je 0x5cc40b
cmp dword [ebp - 0x24], 4
sete bl
jmp 0x5cc40d
Function at 0x5cc590
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x73c2e0
push 0x660500
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x745694]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 1
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
call edi
test eax, eax
jne 0x5cc71f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x5cc6ef
push dword [ebp - 0x44]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x5cc6ef
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp - 0x44]
push eax
push 1
push esi
call edi
test eax, eax
je 0x5cc6dc
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x48]
jae 0x5cc713
lea eax, [edi + edi*8]
mov ecx, dword [ebp - 0x54]
movups xmm1, xmmword [ecx + eax*4]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [ecx + eax*4 + 0x20]
mov dword [ebp - 0x64], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x5cc6dc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x5cc6dc
cmp dword [ebp - 0x3c], 1
je 0x5cc6f3
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x44]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x5cc6dc
cmp dword [ebp - 0x3c], 1
je 0x5cc6f3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x5cc6a2
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x745694
call fcn.00660660
add esp, 0xc
xor al, al
jmp 0x5cc721
mov dword [ebp - 4], 0
call fcn.005cc70b
inc edi
jmp 0x5cc64b
mov dword [ebp - 4], 0xfffffffe
call fcn.005cc73d
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
Function at 0x5cc760
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push ebx
push esi
push edi
push ecx
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.005be590
add esp, 8
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
mov dword [ebp - 0x44], esi
test esi, esi
jne 0x5cc82b
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x5cc7bf
push eax
call fcn.006637b7
add esp, 4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x3c], 0
call fcn.005be590
add esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, dword [ebp - 0x40]
mov esi, eax
test esi, esi
je 0x5cc809
push 0x10
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x5cc8a8
push esi
call ebx
xor bl, bl
test edi, edi
je 0x5cc818
push edi
call fcn.006637b7
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x38]
push 4
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x5cc850
push esi
call ebx
test edi, edi
je 0x5cc7bf
push edi
jmp 0x5cc7b7
lea ecx, [ebp - 0x3c]
push ecx
push 0x24
lea ecx, [ebp - 0x28]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push dword [ebp - 0x34]
mov esi, eax
call ebx
push dword [ebp - 0x44]
call ebx
test esi, esi
je 0x5cc842
cmp dword [ebp - 0x24], 4
sete al
mov byte [ebp - 0x29], al
test edi, edi
je 0x5cc88d
push edi
call fcn.006637b7
mov al, byte [ebp - 0x29]
add esp, 4
test al, al
je 0x5cc7bf
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push dword [ebp - 0x30]
test eax, eax
setne byte [ebp - 0x29]
call ebx
push esi
call ebx
mov bl, byte [ebp - 0x29]
jmp 0x5cc80b
Function at 0x5cdc70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bc1d
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 esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0065cbf7
mov edi, eax
add esp, 4
test edi, edi
je 0x5cdd0d
push 1
mov dword [ebp - 4], 0
call fcn.0065eb4d
add esp, 4
mov dword [edi + 4], eax
jmp 0x5cdd0f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.005a21f0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x5cdd6a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x5cdd6a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x5cdd86
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x5cdda9
cmp byte [ebp + 0xc], 0
je 0x5cdd95
push esi
call fcn.0065f03c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x5cddb5
mov esi, str.ios_base::badbit_set
jmp 0x5cddc5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.005a5d80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.005a2ff0
push 0x739684
lea eax, [ebp - 0x28]
push eax
call fcn.0065f907
int3
Function at 0x5cef00
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bd69
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 edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.005be590
add esp, 8
mov dword [0x7450d8], 0
cmp dword [0x7450dc], 0x10
mov eax, 0x7450c8
cmovae eax, dword [0x7450c8]
mov byte [eax], 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x5cef8c
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
jmp 0x5cefeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005c07e0
add esp, 8
lea eax, [ebp - 0x28]
mov ecx, 0x7450c8
push eax
call fcn.005a3660
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5cefdd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cefd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cf01a
push edx
push ecx
call fcn.0065cc27
add esp, 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x5ceffb
push ecx
call fcn.006637b7
add esp, 4
mov eax, esi
mov edx, 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 0x5d12b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c0c2
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
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 + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x72bd38
push eax
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x484], esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x484], eax
cmp eax, 0xffffffff
je 0x5d13f4
nop dword [eax + eax]
mov ax, word [ebp - 0x454]
cmp ax, 0x2e
je 0x5d13cd
test byte [ebp - 0x480], 0x10
je 0x5d13c4
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x488]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.005d12b0
add esp, 0xc
cmp dword [ebp - 0x220], 0
jne 0x5d1432
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x5d13cd
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5d13b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d1509
push edx
push ecx
call fcn.0065cc27
add esp, 8
jmp 0x5d13cd
cmp ax, word [edi]
je 0x5d145f
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x5d1330
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov eax, esi
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
movups xmm0, xmmword [ebp - 0x230]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [esi + 0x10], xmm0
jmp 0x5d1415
mov edx, dword [ebp - 0x488]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d1491
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.005cda50
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.005c7ca0
mov edx, dword [ebp - 0x21c]
add esp, 8
cmp edx, 8
jb 0x5d1415
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5d14fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d1509
push edx
push ecx
call fcn.0065cc27
add esp, 8
jmp 0x5d1415
call fcn.0066375b
int3
Function at 0x5d5160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x74b8b4]
test eax, eax
jne 0x5d51c3
push esi
push 0x10
call fcn.0065cbf7
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x5d51b8
lea eax, [ebp - 4]
mov dword [esi], vtable.Installer.0
push eax
push 0
push esi
push 0x5d8100
push 0
push 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, esi
mov dword [0x74b8b4], esi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [0x74b8b4], esi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5f0750
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x74540c]
cmp eax, 0xa
jne 0x5f07eb
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
and eax, 0x1ff
add eax, 0xfffffffe
cmp eax, 0x83
ja case.0x5f077a.3
movzx eax, byte [eax + 0x5f0814]
jmp dword [eax*4 + 0x5f07ec]
mov eax, 1
mov dword [0x74540c], eax
ret
mov eax, 2
mov dword [0x74540c], eax
ret
mov eax, 3
mov dword [0x74540c], eax
ret
mov eax, 4
mov dword [0x74540c], eax
ret
mov eax, 5
mov dword [0x74540c], eax
ret
mov eax, 6
mov dword [0x74540c], eax
ret
mov eax, 9
mov dword [0x74540c], eax
ret
mov eax, 7
mov dword [0x74540c], eax
ret
mov eax, 8
mov dword [0x74540c], eax
ret
xor eax, eax
mov dword [0x74540c], eax
ret
Function at 0x5f2790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
cmp eax, 0x201
jne 0x5f27e1
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi + 0x898]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [edi + 0xc50], 0
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret 0x10
mov ecx, 0x205
cmp ax, cx
jne 0x5f2881
push ebx
push esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov eax, dword [edi + 4]
push 0
push ebx
push esi
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
jne 0x5f286b
push 2
push ebx
push esi
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x5f286b
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x28
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push ecx
push eax
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x5f286b
mov eax, dword [ebp - 0x18]
cmp esi, eax
jge 0x5f2864
mov esi, eax
jmp 0x5f286b
cmp esi, dword [ebp - 0x10]
cmovg esi, dword [ebp - 0x10]
push 0
push dword [ebp - 0x38]
push 0
push ebx
push esi
push 4
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret 0x10