joyce8/EMBER2024-capa huggingface dataset:
Function at 0x77ca30c8
Capabilities:
Query environment variable

Disassembly:
push 0x18
push 0x77ca3188
call fcn.77cc73d0
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
cmp dword [ebp + 8], 0x80000004
je 0x77cd76cb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.77cc741a
mov ebx, eax
cmp ebx, esi
je 0x77cd76d3
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x77ccae71
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0x14]
cmp edi, esi
je 0x77ccaeb0
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push dword [ebp - 0x1c]
call sym.ADVAPI32.dll_RegQueryValueExA
mov dword [ebp + 8], eax
cmp dword [ebp - 0x1c], ebx
jne 0x77ccae98
cmp dword [ebp + 8], esi
jne 0x77ca3151
cmp dword [ebp - 0x20], 1
jne 0x77cd771b
cmp dword [ebp + 8], 2
je 0x77cd7731
cmp dword [ebp + 8], esi
jne 0x77ca316a
cmp dword [ebp - 0x20], 2
je 0x77cd774d
cmp dword [ebp - 0x24], esi
jne 0x77cd77d2
cmp dword [ebp - 0x28], esi
jne 0x77ccaeb8
mov eax, dword [ebp + 8]
call fcn.77cc73b0
ret 0x10
cmp byte [eax], 0
je 0x77ca3111
lea ecx, [ebp - 0x1c]
push ecx
push 1
push esi
push eax
push ebx
call sym.ADVAPI32.dll_RegOpenKeyExA
mov dword [ebp + 8], eax
cmp eax, esi
jne 0x77ca316a
jmp 0x77ca3114
test byte [ebp - 0x1c], 1
jne 0x77cd76df
lea eax, [ebp - 0x1c]
push eax
call fcn.77cc7890
jmp 0x77ca3142
mov dword [ebp + 0xc], esi
jmp 0x77ca3124
mov esi, 0x77d1a580
push esi
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push dword [ebp - 0x28]
call fcn.77cc7d61
push esi
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
jmp 0x77ca317c
push 6
pop eax
jmp 0x77ca317f
mov dword [ebp + 8], 6
jmp 0x77ca316a
push 0xfffffffffffffffe
pop ebx
and dword [ebp - 0x1c], ebx
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
call fcn.77d059d8
mov dword [ebp - 4], ebx
jmp 0x77ca3142
cmp dword [ebp - 0x20], 2
je 0x77ca3151
mov dword [ebp + 8], 0xd
jmp 0x77ca3151
cmp edi, esi
je 0x77cd773b
mov dword [edi], 1
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x77cd7745
mov byte [eax], 0
mov dword [ebp + 8], esi
jmp 0x77ca315b
cmp edi, esi
je 0x77cd77c6
cmp dword [ebp + 0x10], esi
je 0x77cd77c6
mov ebx, dword [edi]
cmp dword [ebp + 0xc], ebx
jle 0x77cd7760
mov ebx, dword [ebp + 0xc]
mov eax, dword fs:[0x18]
push ebx
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
jne 0x77cd7788
mov dword [ebp + 8], 8
xor esi, esi
jmp 0x77ca316a
push dword [edi]
push dword [ebp + 0x10]
push esi
call sub.ntdll.dll_memcpy
add esp, 0xc
push ebx
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp eax, dword [ebp + 0xc]
jle 0x77cd77ad
mov dword [ebp + 8], 0xea
mov dword [edi], eax
push esi
push 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x77cd7781
mov dword [ebp + 8], 0xd
jmp 0x77ca316a
lea eax, [ebp - 0x24]
push eax
call fcn.77cc7890
jmp 0x77ca3173
Function at 0x77ca37d3
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
movzx eax, word [esi]
cmp ax, 2
jb 0x77ccbd8f
mov ecx, dword [esi + 4]
xor ebx, ebx
cmp ecx, ebx
je 0x77ccbd8f
test al, 1
jne 0x77ccbd8f
movzx edx, ax
shr edx, 1
cmp word [ecx + edx*2 - 2], bx
jne 0x77ccbd8f
cmp dword [ebp + 0x14], ebx
jne 0x77ccbd8f
add eax, 0xfffffffe
test byte [ebp + 8], 2
push edi
mov edi, dword [ebp + 0x18]
mov word [esi], ax
jne 0x77ccbd59
test byte [0x77d20b00], 2
jne 0x77cdb4cd
cmp edi, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x20]
jne 0x77cc988e
push eax
mov eax, dword [ebp + 0x10]
and eax, 0x300
or eax, 0x10000
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKey]
mov edi, eax
mov eax, dword [0x77d1f258]
cmp eax, ebx
jne 0x77cdb4dd
cmp edi, ebx
jl 0x77ca38af
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtDeleteKey]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
push edi
mov dword [esi + 4], eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
pop edi
pop esi
pop ebx
leave
ret 0x14
push edi
push eax
mov eax, dword [ebp + 0x10]
and eax, 0x300
or eax, 0x10000
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKeyTransacted]
jmp 0x77ca3888
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
and eax, 0x300
or eax, 0x2000000
push eax
push ebx
push esi
push dword [ebp + 8]
call fcn.77cc83fc
mov edi, eax
cmp edi, ebx
jge 0x77ca388a
jmp 0x77ca38af
test eax, eax
je 0x77ca3847
jmp 0x77ccbd59
push 0x57
pop eax
jmp 0x77ca38c2
push edi
push esi
lea eax, [ebp + 8]
push eax
call fcn.77d0ff24
jmp 0x77ccbd85
push dword [ebp + 0xc]
call eax
jmp 0x77ca3897
Function at 0x77ca3f24
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x77cca071
movzx eax, word [edi]
cmp ax, 2
jb 0x77cca071
test al, 1
jne 0x77cca071
mov esi, dword [ebp + 8]
add eax, 0xfffffffe
mov word [edi], ax
mov eax, dword [0x77d1f25c]
test eax, eax
jne 0x77cdb4e7
mov ebx, esi
and ebx, 2
jne 0x77cca03f
cmp dword [ebp - 8], 0
jne 0x77cdb4f6
push edi
push esi
mov esi, dword [sym.imp.ntdll.dll_NtDeleteValueKey]
call esi
test ebx, ebx
mov dword [ebp + 0xc], eax
jne 0x77cca061
mov eax, dword [ebp - 8]
test eax, eax
jne 0x77cdb52a
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x2000000
push esi
push 0
call fcn.77cc8869
test eax, eax
jge 0x77ca3f77
jmp 0x77cdb4f0
cmp eax, 0xc0000034
jne 0x77ca3f96
jmp 0x77cdb508
push 0x57
pop eax
jmp 0x77ca3faa
push edi
push esi
call eax
jmp 0x77ca3f6c
push eax
jmp 0x77ca3fa4
cmp dword [ebp - 4], 0
je 0x77ca3f81
mov esi, dword [ebp - 8]
jmp 0x77ca3f81
cmp dword [ebp - 8], 0
je 0x77ca3fa1
cmp dword [ebp - 4], 0
je 0x77ca3f96
push edi
push dword [ebp - 4]
call esi
mov dword [ebp + 0xc], eax
jmp 0x77ca3f96
cmp dword [ebp - 4], 0
je 0x77ca3fa1
cmp eax, dword [ebp + 8]
je 0x77cdb53c
push eax
jmp 0x77cdb53f
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x77ca3fa1

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

Disassembly:
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.77ca33ba
test eax, eax
je 0x77ca4101
cmp eax, 0xea
je 0x77ca4101
jmp 0x77ca40c8
push 2
pop edi
jmp 0x77ca40ff
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 1
call esi
mov edi, dword [ebp + 8]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ebx
mov dword [ebp + 8], ecx
call esi
cmp dword [ebp + 8], 0
je 0x77cd703a
call fcn.77ca4298
cmp al, 1
mov byte [ebp + 8], al
je 0x77ca3380
push 0x22
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x77ca33ad
push edi
push dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.77ca410d
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
push 2
pop eax
jmp 0x77ca4101
Function at 0x77ca4298
Capabilities:
Identify system language via api

Disassembly:
push ebx
push edi
call sym.ADVAPI32.dll_RegDeleteKeyW
test eax, eax
jne 0x77ca3263
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push 1
push esi
push esi
push ebx
push edi
call sym.ADVAPI32.dll_RegCreateKeyExW
test eax, eax
jne 0x77ca3263
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push 0x77ca348c
push dword [ebp - 4]
call sym.ADVAPI32.dll_RegSetValueExW
push dword [ebp - 4]
mov edi, eax
call sym.ADVAPI32.dll_RegCloseKey
cmp edi, esi
je 0x77ca3484
jmp 0x77ca3263
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push esi
movzx eax, ax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push esi
push 1
push 1
push esi
push esi
mov ebx, 0x77ca326c
push ebx
mov edi, 0x80000007
push edi
call sym.ADVAPI32.dll_RegCreateKeyExW
test eax, eax
je 0x77ca344d
xor al, al
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x18
push 0x77ca348c
push esi
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call sym.ADVAPI32.dll_RegGetValueW
push dword [ebp - 4]
call sym.ADVAPI32.dll_RegCloseKey
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jne 0x77c89f33
mov al, 1
jmp 0x77ca3265
mov eax, dword fs:[0x18]
cmp dword [eax + 0xf9c], 0
je 0x77ca3222
xor al, al
ret
Function at 0x77ca6e67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x77d1a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
or ebx, 0xffffffff
cmp byte [0x77d1a0a8], 0
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x218], eax
je 0x77cd23e0
push 0x77d1a480
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov eax, dword [0x77d1e6a8]
test eax, eax
jne 0x77cd23ea
cmp dword [ebp + 8], 1
jne 0x77cd23f3
lea ecx, [ebp - 0x214]
push ecx
push 0
push 0x20019
push 0x77cbea80
push eax
push dword [ebp + 8]
call fcn.77cbeaa7
test eax, eax
jl 0x77ca6f92
push esi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x21c]
push eax
push 0x20c
lea eax, [ebp - 0x210]
push eax
push 1
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
test esi, esi
jl 0x77ca6f3f
cmp dword [ebp - 0x20c], 4
jne 0x77ca6f8b
cmp dword [ebp - 0x204], 4
jne 0x77ca6f8b
mov eax, dword [ebp - 0x208]
mov ebx, dword [ebp + eax - 0x210]
push dword [ebp - 0x214]
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jl 0x77ca6f92
test edi, edi
je 0x77ca6f96
cmp dword [ebp + 0x10], 4
jb 0x77ca6f96
mov dword [edi], ebx
xor esi, esi
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x77ca6f6d
mov dword [eax], 4
push 0x77d1a480
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.77cc744e
leave
ret 0x14
mov esi, 0xc0000225
jmp 0x77ca6f3f
xor ebx, ebx
jmp 0x77ca6f4f
mov esi, 0xc0000023
jmp 0x77ca6f5d
mov esi, 0xc0000001
jmp 0x77ca6f78
cmp dword [ebp + 8], 3
jmp 0x77ca6eba
mov esi, 0xc0000030
jmp 0x77ca6f6d

Function at 0x77ca7099
Capabilities:
Check if file exists

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x77ca70e6
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], edi
call fcn.77c817ef
cmp eax, edi
jne 0x77ca70e6
mov eax, dword [ebp - 4]
push esi
push edi
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
jne 0x77ca70c3
jmp 0x77cd7b58
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventW]
push esi
push edi
mov esi, 0x77ca70f0
push esi
push 0
push 0x100000
call ebx
mov edi, eax
test edi, edi
je 0x77c81788
push 0x2bf20
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x102
je 0x77cd7b84
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 8]
cmp eax, 0xb7
jne 0x77ca70e6
push esi
push edi
push 0x100000
call ebx
mov edi, eax
test edi, edi
jne 0x77ca70c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x77ca70e6
mov eax, 0x5b4
jmp 0x77ca70e6
Function at 0x77ca865b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push 0xe
pop esi
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.77ca86c9
mov edi, eax
test edi, edi
je 0x77ca86bc
cmp byte [ebp + 0x14], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
jne 0x77cd6e40
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, eax
test ecx, ecx
jbe 0x77cd6e4b
cmp dword [ebp + 0xc], ecx
sbb esi, esi
and esi, 0xea
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x77ca868d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x77ca86a7
Function at 0x77cac73e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
shr edx, 3
je 0x77cac767
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
push esi
mov esi, dword [ecx + eax]
xor dword [eax], esi
mov esi, dword [ecx + eax + 4]
xor dword [eax + 4], esi
add eax, 8
dec edx
jne 0x77cac754
pop esi
pop ebp
ret 0xc

Function at 0x77caccbb
Capabilities:
Check systemkerneldebuggerinformation
Get system information on windows

Disassembly:
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x228]
call fcn.77c8b323
test eax, eax
je 0x77ca2c6c
mov dword [ebp - 0x22c], edi
jmp 0x77ca2c6c
mov dword [ebp - 0x220], 8
jmp 0x77cacd7f
lea eax, [ebp - 0x25c]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x77cacd9e
cmp dword [ebp - 0x240], ebx
jne 0x77cacd9e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x23c]
lea eax, [ebp - 0x21c]
push eax
call fcn.77ca2c8e
test eax, eax
jne 0x77c8b2f5
cmp dword [ebp - 0x228], ebx
je 0x77cacd9e
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x77cacd9e
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x77d1a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
lea eax, [ebp - 0x224]
push eax
push 0x23
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x220], 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp byte [ebp - 0x224], 1
jne 0x77cacd14
cmp byte [ebp - 0x223], bl
je 0x77ccdd06
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
mov esi, dword [sym.imp.ntdll.dll_NtSetInformationThread]
je 0x77cacd9f
push edi
push ebx
push 4
lea eax, [ebp - 0x220]
push eax
push 0x18
push 0xfffffffffffffffe
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
xor edi, edi
inc edi
test eax, eax
jl 0x77cacd7f
cmp dword [ebp - 0x220], edi
mov dword [ebp - 0x230], edi
jbe 0x77c8ebde
push 4
lea eax, [ebp - 0x230]
push eax
push 0x18
push 0xfffffffffffffffe
call esi
test eax, eax
jl 0x77c8ebde
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
push edi
call fcn.77cacdd2
test eax, eax
jne 0x77ca2c17
mov dword [ebp - 0x22c], edi
pop edi
cmp dword [ebp - 0x220], 8
je 0x77cacdb7
push 4
lea eax, [ebp - 0x220]
push eax
push 0x18
push 0xfffffffffffffffe
call esi
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.77cc744e
leave
ret 4
xor eax, eax
inc eax
jmp 0x77cacdbd
Function at 0x77cacf91
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [ebp - 4], esi
je 0x77cacfa9
or dword [eax], 0xffffffff
mov eax, dword [ebp + 8]
dec eax
mov edi, dword [ebp + 0x10]
je 0x77cad08f
dec eax
jne 0x77cb213c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp + 0x14], eax
je 0x77cb2157
cmp dword [ebp + 0x10], esi
jne 0x77cda99e
push esi
push esi
push esi
push 2
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp ebx, esi
je 0x77cb2157
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 4], esi
je 0x77cb2157
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x77cb2157
push esi
push edi
push ebx
push 2
call fcn.77cacf91
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x77cb2162
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
jmp 0x77cad01f
dec eax
jne 0x77cda995
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, edi
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x77cad01f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x77cda9a7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x77cad01f
mov dword [ebp - 4], 0x57
jmp 0x77cda9b5
mov dword [ebp - 4], 0x3ee
jmp 0x77cda9b5
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x77cda9b5
mov dword [ebp - 4], 0x6e
mov dword [edi + 4], esi
mov dword [edi], esi
jmp 0x77cad01f

Function at 0x77cad02e
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ecx]
cmp ebx, 4
jb 0x77cad086
push esi
push edi
push 2
pop ecx
mov edi, 0x77cad08c
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
jne 0x77cda862
test edx, edx
jne 0x77cad086
cmp ebx, 0x40
jb 0x77cad086
cmp word [eax], 0x5a4d
jne 0x77cad086
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0x40]
cmp ebx, edx
jb 0x77cad086
xor edx, edx
cmp dword [ecx + eax], 0x4550
sete dl
mov eax, edx
pop ebx
pop ebp
ret 4
xor eax, eax
jmp 0x77cad081
sbb edx, edx
sbb edx, 0xffffffff
jmp 0x77cad059
Function at 0x77cad10e
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push 0xc
push 0x77cad1b8
call fcn.77cc73d0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
movzx edx, word [ecx]
cmp dx, 0x5a4d
jne 0x77cdabc2
mov edx, dword [ecx + 0x3c]
cmp edx, ebx
je 0x77cad199
add edx, ecx
mov dword [eax + 0xc], edx
mov esi, dword [eax + 0x2c]
add esi, ecx
lea edi, [edx + 0xf8]
cmp edi, esi
ja 0x77cad199
add ecx, 0x40
cmp edx, ecx
jb 0x77cad199
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0x4550
jne 0x77cad199
mov byte [eax + 0x21], bl
cmp word [ecx + 0x14], bx
je 0x77cad199
cmp byte [ecx + 0x1a], 3
jb 0x77cad1ab
lea ecx, [eax + 0x24]
mov dword [eax + 0x28], ecx
mov dword [ecx], ecx
mov ecx, dword [eax + 0xc]
movzx ecx, word [ecx + 6]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0xc]
movzx edx, word [ecx + 0x14]
lea ecx, [edx + ecx + 0x18]
mov dword [eax + 0x18], ecx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.77cc73b0
ret 4
cmp byte [ecx + 0x1b], 5
jb 0x77cad199
jmp 0x77cad172
cmp dx, 0x4550
jne 0x77cad199
cmp dx, 0x5a4d
je 0x77cad136
mov dword [eax + 0xc], ecx
jmp 0x77cad158
Function at 0x77cadc0b
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x77d1e250], 0
push ebx
je 0x77cb2597
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov dword [eax + 0x50], 0xc3d2e1f0
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
push ebx
push ecx
push edx
xor eax, eax
cpuid
xor eax, eax
xor ebx, 0x756e6547
sete al
xor ebx, ebx
xor ecx, 0x6c65746e
sete bl
and eax, ebx
xor ecx, ecx
xor edx, 0x49656e69
sete cl
and eax, ecx
mov dword [ebp - 4], eax
mov eax, 1
cpuid
xor ecx, ecx
xor edx, edx
mov ebx, 0xff0
and ebx, eax
mov dword [ebp - 8], ebx
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 4], 0
mov eax, 1
jne 0x77ce077a
mov eax, dword [eax*4 + 0x77d1a1a0]
mov dword [0x77d1e250], eax
jmp 0x77cadc21
cmp dword [ebp - 8], 0x660
jae 0x77cb25ef
xor eax, eax
jmp 0x77cb25ef

Function at 0x77cb225a
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x40
jb 0x77cb2294
mov edx, dword [ebp + 8]
cmp word [edx], 0x5a4d
jne 0x77cb2294
mov ecx, dword [edx + 0x3c]
push esi
lea esi, [eax - 0x40]
cmp esi, ecx
pop esi
jb 0x77cb2294
sub eax, ecx
cmp eax, 0xf8
jbe 0x77cb2294
cmp dword [ecx + edx], 0x4550
sete al
pop ebp
ret 8
xor al, al
jmp 0x77cb2290