joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b8861
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x38
mov eax, 0x65679f
call fcn.0062856d
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
push ecx
push eax
call fcn.005b9a24
pop ecx
pop ecx
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], 1
push eax
push 8
push edi
push dword [ebp - 0x34]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5b8939
push 0x7d0
push edi
mov dword [ebp - 0x40], 0x3e8
call fcn.0062f122
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 2
jmp 0x5b8911
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005ba745
pop ecx
pop ecx
mov ecx, dword [ebx + 4]
mov byte [ebp - 4], 3
push eax
cmp ecx, dword [ebx + 8]
je 0x5b88fc
mov ecx, ebx
call fcn.005a0eff
jmp 0x5b8904
push ecx
mov ecx, ebx
call fcn.005a0f23
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00449330
inc edi
push 0x3e8
push esi
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x5b88da
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5b8939
push esi
call fcn.0062f107
pop ecx
cmp dword [ebp - 0x34], 0
je 0x5b8948
push dword [ebp - 0x34]
call fcn.0062f107
pop ecx
mov eax, ebx
call fcn.0062851c
ret

Function at 0x5b89a6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.005b9a24
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 4]
pop ecx
pop ecx
push eax
push 0x20019
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5b8a1b
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
call fcn.005b9a24
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
pop ecx
pop ecx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
push edi
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
je 0x5b8a2f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 0x14]
test esi, esi
je 0x5b8a29
push esi
call fcn.0062f107
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 8]
jmp 0x5b8a1e
Function at 0x5b8a3a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.005b9a24
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 4]
pop ecx
pop ecx
push eax
push 0x20019
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5b8a86
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x5b8af8
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
call fcn.005b9a24
push 0x800
push ebx
call fcn.0062f122
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x10], 0x400
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
je 0x5b8ade
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x5b8ae9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 8], eax
test edi, edi
je 0x5b8af7
push edi
call fcn.0062f107
pop ecx
pop edi
test esi, esi
je 0x5b8b03
push esi
call fcn.0062f107
pop ecx
mov eax, dword [ebp - 8]
mov edx, ebx
pop esi
pop ebx
leave
ret
Function at 0x5b8b0c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x6567db
call fcn.0062853a
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 0x10]
call fcn.005b9a24
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
pop ecx
pop ecx
push eax
push 0x20019
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5b8b6b
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
test edi, edi
je 0x5b8c06
push edi
jmp 0x5b8c00
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
call fcn.005b9a24
push 0x800
mov esi, 0x400
push ebx
mov dword [ebp - 0x24], esi
call fcn.0062f122
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esi
push eax
push ebx
mov ebx, dword [ebp - 0x20]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
test eax, eax
je 0x5b8bd2
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x5b8bf0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 1
je 0x5b8be4
cmp dword [ebp - 0x14], 7
jne 0x5b8bbd
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.005ba745
pop ecx
pop ecx
test edi, edi
je 0x5b8bfb
push edi
call fcn.0062f107
pop ecx
test ebx, ebx
je 0x5b8c06
push ebx
call fcn.0062f107
pop ecx
mov eax, esi
call fcn.00628508
ret

Function at 0x5b8c0e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.005b9a24
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 8]
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x5b8c80
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
call fcn.005b9a24
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 0x14]
pop ecx
pop ecx
push 4
push eax
push 4
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5b8c8b
push esi
call fcn.0062f107
pop ecx
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x5b8c91
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.005b9a24
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 8]
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x5b8d28
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
call fcn.005b9a24
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push dword [ebp + 0x14]
mov dword [ebp - 0xc], ebx
call fcn.005b9a24
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov esi, dword [ebp - 0x18]
add eax, eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
je 0x5b8d28
push dword [ebp - 0x10]
call fcn.0062f107
pop ecx
test esi, esi
je 0x5b8d33
push esi
call fcn.0062f107
pop ecx
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x5b8ea8
Capabilities:
Write file on windows

Disassembly:
push 0x40
mov eax, 0x656852
call fcn.0062856d
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005ba745
pop ecx
pop ecx
or edi, 0xffffffff
lea ecx, [ebp - 0x28]
push edi
xor ebx, ebx
push 0x6d7504
mov dword [ebp - 4], ebx
call fcn.005b6674
mov dword [ebp - 0x44], 1
cmp eax, edi
jne 0x5b8efc
push edi
push 0x6d92c0
lea ecx, [ebp - 0x28]
call fcn.005b6674
cmp eax, edi
je 0x5b8f20
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00448eb0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.005b7e34
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00449330
push ebx
push 0x80
push 2
push ebx
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x5b8f66
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x4c]
push ebx
push eax
push edi
push dword [ebp - 0x48]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5b8f59
cmp dword [ebp - 0x4c], edi
je 0x5b8f5c
mov byte [ebp - 0x44], bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.00449330
mov al, bl
call fcn.0062851c
ret
Function at 0x5b8f76
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x65689e
call fcn.0062856d
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
push ecx
push eax
call fcn.005b9a24
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.005b9a24
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.005b9a24
mov edi, dword [ebp - 0x48]
add esp, 0x18
mov esi, dword [ebp - 0x58]
push 5
push dword [ebp - 0x50]
push edi
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x5b8fe5
mov bl, 1
jmp 0x5b9033
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005b9060
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push str.ShellExecute_error:
push eax
call fcn.005a0e81
mov ecx, 0x70d09c
mov dword [ebp - 0x44], eax
add esp, 0x14
cmp eax, ecx
je 0x5b9023
call fcn.00449330
push dword [ebp - 0x44]
mov ecx, 0x70d09c
call fcn.00449550
lea ecx, [ebp - 0x28]
call fcn.00449330
lea ecx, [ebp - 0x40]
call fcn.00449330
cmp dword [ebp - 0x50], 0
je 0x5b9042
push dword [ebp - 0x50]
call fcn.0062f107
pop ecx
test edi, edi
je 0x5b904d
push edi
call fcn.0062f107
pop ecx
test esi, esi
je 0x5b9058
push esi
call fcn.0062f107
pop ecx
mov al, bl
call fcn.0062851c
ret

Function at 0x5b912a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.005b9a24
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call fcn.005b9a24
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0062b760
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x4c]
and dword [ebp - 0x44], 0
add esp, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], esi
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], 0x44c
mov dword [ebp - 0x40], 0x665694
mov dword [ebp - 0x38], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb esi, esi
and esi, dword [ebp - 0x14]
test ebx, ebx
je 0x5b91aa
push ebx
call fcn.0062f107
pop ecx
test edi, edi
je 0x5b91b5
push edi
call fcn.0062f107
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x5b91bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
je 0x5b9209
push ebx
push 5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebx
pop ebp
ret
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret

Function at 0x5b9c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x71399c]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7132f4]
cmp eax, dword [ecx + 4]
jg 0x5b9da7
cmp dword [0x70d1e4], 0
mov edi, 0x70d1d4
jne 0x5b9d97
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.005ba745
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x5b9d43
mov ecx, dword [0x70d1e8]
cmp ecx, 0x10
jb 0x5b9d23
mov eax, dword [0x70d1d4]
inc ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x22c], eax
cmp ecx, 0x1000
jb 0x5b9d1a
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x22c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
push ecx
push eax
call fcn.006284e7
pop ecx
pop ecx
and dword [0x70d1e4], 0
mov ecx, edi
push esi
mov dword [0x70d1e8], 0xf
mov byte [0x70d1d4], 0
call fcn.00449550
lea ecx, [ebp - 0x224]
call fcn.00449330
mov ecx, dword [0x70d1e4]
test ecx, ecx
je 0x5b9d97
mov edx, dword [0x70d1e8]
mov eax, edi
mov esi, dword [0x70d1d4]
cmp edx, 0x10
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x2f
je 0x5b9d97
cmp edx, 0x10
mov eax, edi
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x5b9d97
mov esi, 0x6d7504
push esi
call fcn.0062f1c0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00449070
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.006284fa
leave
ret
mov esi, 0x7132f4
push esi
call fcn.006287aa
cmp dword [0x7132f4], 0xffffffff
pop ecx
jne 0x5b9c95
push 0x65b2a0
call fcn.00628bdf
push esi
call fcn.00628760
pop ecx
pop ecx
jmp 0x5b9c95
Function at 0x5b9dd7
Capabilities:
Terminate process
Write file on windows

Disassembly:
push 0x40
mov eax, 0x656c85
call fcn.0062856d
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], ebx
call fcn.005b943c
push eax
lea eax, [ebp - 0x28]
push str..pipe_
push eax
call fcn.005a0eb7
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.005b9a24
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.00449330
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5b9e57
push ebx
lea eax, [ebp - 0x4c]
mov edi, str.__quit_application
push eax
push edi
call fcn.0062f1c0
pop ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.005b7623
mov esi, eax
test esi, esi
je 0x5b9f54
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2710
push esi
call edi
test eax, eax
je 0x5b9faf
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x5b9f5a
push 0x2710
push esi
call edi
test eax, eax
je 0x5b9f54
cmp eax, 0x102
je 0x5b9f3a
cmp eax, 0xffffffff
je 0x5b9ed7
mov esi, str.WaitForSingleObject_unknown_error
push esi
call fcn.0062f1c0
pop ecx
push eax
push esi
mov ecx, 0x70d09c
call fcn.00448f70
call fcn.005b7623
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x5b9fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9b0e
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push str.WaitForSingleObject_failed:
push eax
call fcn.005a0e81
mov edi, eax
mov esi, 0x70d09c
add esp, 0x14
cmp edi, esi
je 0x5b9f1a
mov ecx, esi
call fcn.00449330
push edi
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x40]
call fcn.00449330
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00449330
call fcn.005b7623
neg eax
sbb al, al
inc al
jmp 0x5b9f56
mov esi, str.WaitForSingleObject_timed_out
push esi
call fcn.0062f1c0
pop ecx
push eax
push esi
mov ecx, 0x70d09c
call fcn.00448f70
jmp 0x5b9f2d
mov al, 1
mov bl, al
jmp 0x5b9fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9b0e
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push str.TerminateProcess_failed:
push eax
call fcn.005a0e81
mov edi, eax
mov esi, 0x70d09c
add esp, 0x14
cmp edi, esi
je 0x5b9f9d
mov ecx, esi
call fcn.00449330
push edi
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x40]
call fcn.00449330
lea ecx, [ebp - 0x28]
call fcn.00449330
jmp 0x5b9fb1
mov bl, 1
cmp dword [ebp - 0x48], 0
je 0x5b9fc0
push dword [ebp - 0x48]
call fcn.0062f107
pop ecx
mov al, bl
call fcn.0062851c
ret
Function at 0x5b9fc9
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x656cbc
call fcn.0062856d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x71399c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7132f8]
cmp eax, dword [ecx + 4]
jg 0x5ba13f
cmp dword [0x70d1fc], 0
mov edi, 0x70d1ec
jne 0x5ba137
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.005ba745
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x5ba0a5
mov eax, dword [0x70d200]
cmp eax, 0x10
jb 0x5ba085
mov ecx, dword [0x70d1ec]
inc eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x250], ecx
cmp eax, 0x1000
jb 0x5ba07c
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x24c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x250]
push eax
push ecx
call fcn.006284e7
pop ecx
pop ecx
and dword [0x70d1fc], 0
mov ecx, edi
push esi
mov dword [0x70d200], 0xf
mov byte [0x70d1ec], 0
call fcn.00449550
lea ecx, [ebp - 0x230]
call fcn.00449330
mov ecx, dword [0x70d1fc]
test ecx, ecx
je 0x5ba0f9
mov edx, dword [0x70d200]
mov eax, edi
mov esi, dword [0x70d1ec]
cmp edx, 0x10
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x2f
je 0x5ba0f9
cmp edx, 0x10
mov eax, edi
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x5ba0f9
mov esi, 0x6d7504
push esi
call fcn.0062f1c0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00449070
push str._installer_tmp_
call fcn.005b95fa
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.005a615f
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5ba121
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00449070
lea ecx, [ebp - 0x248]
call fcn.00449330
mov eax, edi
call fcn.0062851c
ret
mov esi, 0x7132f8
push esi
call fcn.006287aa
cmp dword [0x7132f8], 0xffffffff
pop ecx
jne 0x5b9ff8
push 0x65b2aa
call fcn.00628bdf
push esi
call fcn.00628760
pop ecx
pop ecx
jmp 0x5b9ff8
Function at 0x5ba1b2
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x6565fd
call fcn.0062856d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x71399c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7132c8]
cmp eax, dword [ecx + 4]
jg 0x5ba2c0
cmp dword [0x70d124], 0
mov ebx, 0x70d114
jne 0x5ba2b8
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.0062f122
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
push 1
push 0x10
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005ba745
push 0x6d7504
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005a0e4e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x5ba29d
mov eax, dword [0x70d128]
cmp eax, 0x10
jb 0x5ba27d
mov ecx, dword [0x70d114]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x5ba274
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.006284e7
pop ecx
pop ecx
and dword [0x70d124], 0
mov ecx, ebx
push edi
mov dword [0x70d128], 0xf
mov byte [0x70d114], 0
call fcn.00449550
lea ecx, [ebp - 0x28]
call fcn.00449330
lea ecx, [ebp - 0x40]
call fcn.00449330
test esi, esi
je 0x5ba2b8
push esi
call fcn.0062f107
pop ecx
mov eax, ebx
call fcn.0062851c
ret
mov esi, 0x7132c8
push esi
call fcn.006287aa
cmp dword [0x7132c8], 0xffffffff
pop ecx
jne 0x5ba1de
push 0x65b2b4
call fcn.00628bdf
push esi
call fcn.00628760
pop ecx
pop ecx
jmp 0x5ba1de
Function at 0x5ba415
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x6565fd
call fcn.0062856d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x71399c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7132cc]
cmp eax, dword [ecx + 4]
jg 0x5ba523
cmp dword [0x70d13c], 0
mov ebx, 0x70d12c
jne 0x5ba51b
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.0062f122
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
push 1
push 2
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005ba745
push 0x6d7504
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005a0e4e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x5ba500
mov eax, dword [0x70d140]
cmp eax, 0x10
jb 0x5ba4e0
mov ecx, dword [0x70d12c]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x5ba4d7
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.006284e7
pop ecx
pop ecx
and dword [0x70d13c], 0
mov ecx, ebx
push edi
mov dword [0x70d140], 0xf
mov byte [0x70d12c], 0
call fcn.00449550
lea ecx, [ebp - 0x28]
call fcn.00449330
lea ecx, [ebp - 0x40]
call fcn.00449330
test esi, esi
je 0x5ba51b
push esi
call fcn.0062f107
pop ecx
mov eax, ebx
call fcn.0062851c
ret
mov esi, 0x7132cc
push esi
call fcn.006287aa
cmp dword [0x7132cc], 0xffffffff
pop ecx
jne 0x5ba441
push 0x65b2c8
call fcn.00628bdf
push esi
call fcn.00628760
pop ecx
pop ecx
jmp 0x5ba441