joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a6d4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00012b38
pop ecx
pop ebp
ret

Function at 0x6b29c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.000144cc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x6b2c2
test byte [ebp - 0xc], 0x10
jne 0x6b2c6
xor eax, eax
jmp 0x6b2c8
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x6b2d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.000144cc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x6b2fa
test byte [ebp - 0xc], 0x10
je 0x6b2fe
xor eax, eax
jmp 0x6b300
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x6b30c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
call fcn.000144cc
push eax
call sub.kernel32.dll_CreateDirectoryW
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
call sub.kernel32.dll_GetLastError_1
mov dword [0xf5e1c], eax
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x6b69c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, 0x400
call fcn.0007b580
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6b6fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0007ac04
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0007ac40
push eax
call sub.advapi32.dll_GetUserNameW
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0007ac20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b705
lea eax, [ebp - 0xc]
call fcn.0007b5a4
ret
Function at 0x6b714
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, 0x400
call fcn.0007b580
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6b778
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0007ac04
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0007ac40
push eax
push 2
call sub.secur32.dll_GetUserNameExW
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0007ac20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b77f
lea eax, [ebp - 8]
call fcn.0007b5a4
ret

Function at 0x6b784
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.000142a8
mov eax, pe_nt_image_headers32
call fcn.0007b580
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6b801
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0007ac04
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0007ac40
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x6b7de
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0007ac20
jmp 0x6b7eb
mov eax, dword [ebp - 4]
mov edx, 0x6b810
call fcn.000142e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b808
lea eax, [ebp - 0xc]
call fcn.0007b5a4
ret
Function at 0x6b840
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6b9bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00013c78
mov eax, dword [ebp - 8]
call fcn.00013c78
lea eax, [ebp - 0x24]
mov edx, 0x400
call fcn.000763a0
mov eax, 0x400
call fcn.0007b580
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x6b99f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 0x400
mov eax, dword [ebp - 0x18]
call fcn.0007ac04
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0007ac40
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.000144cc
push eax
push 0
call sub.advapi32.dll_LookupAccountNameW
test eax, eax
je 0x6b971
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
call fcn.00013c78
xor eax, eax
push ebp
push 0x6b96a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_ConvertSidToStringSidA
test al, al
je 0x6b948
xor eax, eax
push ebp
push 0x6b936
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
call fcn.00076578
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x20]
call fcn.00013d60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b971
cmp dword [ebp - 0x20], 0
je 0x6b964
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_LocalFree_1
xor eax, eax
mov dword [ebp - 0x20], eax
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00013ccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b9a6
lea eax, [ebp - 0x18]
call fcn.0007b5a4
lea eax, [ebp - 0x24]
mov edx, 0x400
call fcn.000763dc
ret
Function at 0x73d24
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x73e71
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x73e45
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x73d7b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xf627c], 0
je 0x73d71
mov eax, dword [0xf627c]
push eax
call sub.kernel32.dll_UnmapViewOfFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x73d85
xor eax, eax
mov dword [0xf627c], eax
xor eax, eax
push ebp
push 0x73db8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xf6268], 0
je 0x73dae
mov eax, dword [0xf6268]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x73dc2
xor eax, eax
mov dword [0xf6268], eax
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.00076650
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x73e88
call fcn.00013f44
mov eax, dword [ebp - 8]
call fcn.000140bc
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov dword [0xf6268], eax
cmp dword [0xf6268], 0
je 0x73e3b
push 0
push 0
push 0
push 4
mov eax, dword [0xf6268]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0xf627c], eax
cmp dword [0xf627c], 0
jne 0x73e3b
mov eax, dword [0xf6268]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [0xf6268], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x73e56
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x73e78
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00013c9c
ret

Function at 0x73fac
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x74045
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [0xfb1e0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0x740ec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x74023
push 0x74100
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov dword [ebp - 4], eax
push 0x74110
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov dword [ebp - 4], eax
push 0x7411c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7404c
cmp dword [ebp - 8], 0
je 0x7403f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret
Function at 0x74168
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [0xf6294]
call fcn.000763a0
xor eax, eax
push ebp
push 0x742b9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [0xf6294]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
push eax
call sub.kernel32.dll_ReadFile_1
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp + 8]
mov dword [edx - 0x24], eax
lea edx, [ebp - 8]
mov eax, 0xf627c
mov ecx, 4
call fcn.00012824
add dword [ebp - 8], 0x138
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp eax, dword [0xf6294]
jne 0x7429a
mov eax, dword [0xfdf94]
add eax, 0x107884
add eax, 0x400
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
push 0
mov eax, dword [0xf6294]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov eax, dword [ebp + 8]
lea edx, [eax - 0xc]
mov eax, dword [ebp - 8]
call fcn.00072664
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x28], 0
jne 0x7429a
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
xor ecx, ecx
mov edx, 0x10
call fcn.00012b38
cmp dword [0xfdf90], 7
jne 0x7426d
lea ecx, [ebp - 0x18]
mov edx, dword [0xfdf94]
add edx, 0x107884
mov eax, dword [ebp - 8]
call fcn.0006a890
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
lea edi, [eax - 0x1c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, 0xfdf80
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
mov ecx, 0x10
call fcn.00076590
test al, al
je 0x7429a
mov byte [ebp - 1], 1
mov eax, 0xf6264
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
call fcn.000142e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x742c0
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [0xf6294]
call fcn.000763dc
ret

Function at 0x761a4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x76255
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x76238
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [0xf63d0]
add eax, 0xf003f
push eax
push 0
lea eax, [ebp - 0xc]
call fcn.00075e10
mov eax, dword [ebp - 0xc]
call fcn.000140bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x76216
push 0x76264
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7623f
cmp dword [ebp - 8], 0
je 0x76232
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret
Function at 0x7628c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x7636a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x7634d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0xf63d0]
add eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00075e10
mov eax, dword [ebp - 0x18]
call fcn.000140bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x7632b
mov dword [ebp - 0xc], 4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x76378
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x7632b
cmp dword [ebp - 8], 4
jne 0x7632b
cmp dword [ebp - 0x14], 1
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x76354
cmp dword [ebp - 0x10], 0
je 0x76347
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x10], eax
ret

Function at 0x768b0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.000140bc
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x768df
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x769d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, 0x400
call fcn.0007b534
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x76a67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0007aa4c
push eax
mov eax, dword [ebp - 8]
call fcn.0007aa88
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x76a44
mov eax, dword [ebp - 8]
call fcn.0007aa4c
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
cmp edx, dword [esp + 4]
jne 0x76a33
cmp eax, dword [esp]
pop edx
pop eax
jae 0x76a44
jmp 0x76a37
pop edx
pop eax
jge 0x76a44
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0007aa68
jmp 0x76a51
mov eax, dword [ebp - 4]
mov edx, 0x76a7c
call fcn.00013ccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x76a6e
lea eax, [ebp - 8]
call fcn.0007b558
ret
Function at 0x76a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, 0x76b24
call fcn.000142e4
mov eax, 0x400
call fcn.0007b580
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x76b15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0007ac40
push eax
mov eax, dword [ebp - 0xc]
call fcn.0007ac04
push eax
call sub.kernel32.dll_GetTempPathW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x76aff
mov eax, dword [ebp - 0xc]
call fcn.0007ac04
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
cdq
cmp edx, dword [esp + 4]
jne 0x76af0
cmp eax, dword [esp]
pop edx
pop eax
jae 0x76aff
jmp 0x76af4
pop edx
pop eax
jge 0x76aff
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0007ac20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x76b1c
lea eax, [ebp - 0xc]
call fcn.0007b5a4
ret
Function at 0x76df0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x77061
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, 0x77070
call fcn.0007a2b0
xor eax, eax
push ebp
push 0x7701c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x76ffa
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.000763a0
xor eax, eax
push ebp
push 0x76ff3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x76fcd
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x77074
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x76fbe
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.00017e88
movzx eax, ax
lea edx, [ebp - 0x124]
call fcn.00012bd0
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x18]
call fcn.00013e9c
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 8]
call fcn.00012bd0
lea edx, [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.00013e9c
push dword [ebp - 0x18]
lea edx, [ebp - 0x128]
mov eax, 0x77070
call fcn.0007a2b0
push dword [ebp - 0x128]
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00013fb8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.00017e88
movzx eax, ax
lea edx, [ebp - 0x124]
call fcn.00012bd0
lea edx, [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.00013e9c
push dword [ebp - 0x18]
lea edx, [ebp - 0x12c]
mov eax, 0x77070
call fcn.0007a2b0
push dword [ebp - 0x12c]
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00013fb8
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0xc]
call fcn.00012bd0
lea edx, [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.00013e9c
push dword [ebp - 0x18]
lea edx, [ebp - 0x130]
mov eax, 0x77070
call fcn.0007a2b0
push dword [ebp - 0x130]
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00013fb8
jmp 0x76fda
lea edx, [ebp - 0x18]
mov eax, 0x77078
call fcn.0007a2b0
jmp 0x76fda
lea edx, [ebp - 0x18]
mov eax, 0x770b0
call fcn.0007a2b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77007
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.000763dc
ret
lea edx, [ebp - 0x18]
mov eax, 0x770c8
call fcn.0007a2b0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00013ccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x77033
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77068
lea eax, [ebp - 0x130]
mov edx, 3
call fcn.00013c9c
lea eax, [ebp - 0x18]
call fcn.00013c78
lea eax, [ebp - 0xc]
call fcn.00013c78
ret
Function at 0x77294
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.000140bc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x772ba
test byte [ebp - 0xc], 0x10
jne 0x772be
xor eax, eax
jmp 0x772c0
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x77ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
xor eax, eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x77f0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x77ee1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0xf63d0]
add eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x14]
call fcn.00075e10
mov eax, dword [ebp - 0x14]
call fcn.000140bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x77ebf
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x77f1c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x77ebf
cmp dword [ebp - 8], 4
jne 0x77ebf
mov eax, dword [ebp - 0xc]
mov dword [0xf6410], eax
mov eax, dword [ebp - 0xc]
and eax, 0xff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x118]
call fcn.00076650
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.00013ed4
lea edx, [ebp - 0x114]
mov eax, 0xf63c4
mov cl, 0xb
call fcn.00012a14
shr dword [ebp - 0xc], 8
lea eax, [ebp - 0x120]
mov edx, 0xf63c4
call fcn.00013e9c
push dword [ebp - 0x120]
lea edx, [ebp - 0x124]
mov eax, 0x77f30
call fcn.0007a2b0
push dword [ebp - 0x124]
mov eax, dword [ebp - 0xc]
and eax, 0xff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x128]
call fcn.00076650
push dword [ebp - 0x128]
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00013fb8
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.00013ed4
lea edx, [ebp - 0x114]
mov eax, 0xf63c4
mov cl, 0xb
call fcn.00012a14
shr dword [ebp - 0xc], 8
lea eax, [ebp - 0x130]
mov edx, 0xf63c4
call fcn.00013e9c
push dword [ebp - 0x130]
lea edx, [ebp - 0x134]
mov eax, 0x77f30
call fcn.0007a2b0
push dword [ebp - 0x134]
mov eax, dword [ebp - 0xc]
and eax, 0xff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x138]
call fcn.00076650
push dword [ebp - 0x138]
lea eax, [ebp - 0x12c]
mov edx, 3
call fcn.00013fb8
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.00013ed4
lea edx, [ebp - 0x114]
mov eax, 0xf63c4
mov cl, 0xb
call fcn.00012a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77ee8
cmp dword [ebp - 0x10], 0
je 0x77edb
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x10], eax
ret
Function at 0x78b58
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, 0x78c2c
call fcn.0007a2b0
mov eax, 0x400
call fcn.0007b534
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x78c1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0007aa4c
push eax
mov eax, dword [ebp - 8]
call fcn.0007aa88
push eax
push 0x78c38
call sub.kernel32.dll_GetEnvironmentVariableA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jb 0x78bc8
mov eax, dword [ebp - 8]
call fcn.0007aa4c
cmp eax, dword [ebp - 0xc]
jb 0x78bc8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0007aa68
jmp 0x78c08
mov eax, dword [ebp - 8]
call fcn.0007aa10
mov eax, dword [ebp - 8]
call fcn.0007aa4c
push eax
mov eax, dword [ebp - 8]
call fcn.0007aa88
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jb 0x78c08
mov eax, dword [ebp - 8]
call fcn.0007aa4c
cmp eax, dword [ebp - 0xc]
jb 0x78c08
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0007aa68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78c25
lea eax, [ebp - 8]
call fcn.0007b558
ret

Function at 0x78c40
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, 0x78d18
call fcn.000142e4
mov eax, 0x400
call fcn.0007b580
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x78d06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0007ac04
push eax
mov eax, dword [ebp - 8]
call fcn.0007ac40
push eax
push 0x78d30
call sub.kernel32.dll_GetEnvironmentVariableW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jb 0x78cb0
mov eax, dword [ebp - 8]
call fcn.0007ac04
cmp eax, dword [ebp - 0xc]
jb 0x78cb0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0007ac20
jmp 0x78cf0
mov eax, dword [ebp - 8]
call fcn.0007abc8
mov eax, dword [ebp - 8]
call fcn.0007ac04
push eax
mov eax, dword [ebp - 8]
call fcn.0007ac40
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jb 0x78cf0
mov eax, dword [ebp - 8]
call fcn.0007ac04
cmp eax, dword [ebp - 0xc]
jb 0x78cf0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0007ac20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78d0d
lea eax, [ebp - 8]
call fcn.0007b5a4
ret