joyce8/EMBER2024-capa huggingface dataset:
Function at 0x77d0f6dd
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x77d1a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 8]
xor edi, edi
push 0x77d0f834
mov word [ebp - 0x198], di
mov word [ebp - 0x196], di
mov dword [ebp - 0x194], edi
call sub.ntdll.dll_DbgPrint
pop ecx
lea eax, [ebp - 0x190]
pop ecx
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x198]
push eax
push dword [esi + 8]
mov dword [ebp - 0x1a0], 0x18a
call fcn.77cc8145
cmp eax, edi
jge 0x77d0f754
push eax
push 0x77d0f800
jmp 0x77d0f763
mov eax, dword [ebp - 0x19c]
add eax, 4
push eax
push 0x77d0f7ec
call sub.ntdll.dll_DbgPrint
pop ecx
pop ecx
lea eax, [ebp - 0x1ac]
push eax
call fcn.77cc8097
push dword [esi + 0xc]
push 0x77d0f7e0
call sub.ntdll.dll_DbgPrint
cmp dword [esi + 0xc], edi
pop ecx
pop ecx
jbe 0x77d0f7a4
mov eax, dword [esi + 0x10]
push dword [eax + edi*4]
push edi
push 0x77d0f7c4
call sub.ntdll.dll_DbgPrint
add esp, 0xc
inc edi
cmp edi, dword [esi + 0xc]
jb 0x77d0f78a
push 0x77d0f7c0
call sub.ntdll.dll_DbgPrint
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.77cc744e
leave
ret 4

Function at 0x77d0fc97
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp ecx, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
mov eax, 0xc0000034
je 0x77d0fcc0
mov dword [ecx], edi
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x77d0fcc9
mov dword [ecx], edi
mov ecx, dword [ebp + 0x20]
cmp ecx, edi
je 0x77d0fcd2
mov dword [ecx], edi
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x77d0fcdb
mov dword [ecx], edi
mov ecx, dword [ebp + 0x1c]
cmp ecx, edi
je 0x77d0fce4
mov dword [ecx], edi
cmp dword [ebp + 8], edi
mov esi, dword [sym.imp.ntdll.dll_NtQueryKey]
je 0x77d0fd13
lea eax, [ebp + 8]
push eax
push 0x28
lea eax, [ebp - 0x38]
push eax
push 4
push dword [ebp + 8]
call esi
cmp eax, edi
jl 0x77d0fd7a
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], edi
je 0x77d0fd41
lea eax, [ebp + 8]
push eax
push 0x28
lea eax, [ebp - 0x38]
push eax
push 4
push dword [ebp + 0xc]
call esi
cmp eax, edi
jl 0x77d0fd7a
cmp dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
jbe 0x77d0fd41
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x77d0fd4d
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x77d0fd59
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x20]
cmp ecx, edi
je 0x77d0fd62
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x77d0fd6e
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x1c]
cmp ecx, edi
je 0x77d0fd7a
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x77d0fd86
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
test byte [ebx], 4
mov dword [ebp - 4], 0xc0000022
mov dword [ebp - 8], edi
je 0x77d0ff15
mov eax, dword [ebp + 0x14]
cmp dword [eax], edi
je 0x77d0ff15
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, edi
je 0x77d0fdc6
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [esi], edi
mov eax, dword [ebp + 0x14]
mov esi, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [eax], edi
mov eax, dword [ebx + 0x10]
mov ax, word [eax]
add ax, 0x80
mov word [ebp - 0xa], ax
mov eax, dword fs:[0x18]
movzx ecx, word [ebp - 0xa]
mov eax, dword [eax + 0x30]
push ecx
push edi
push dword [eax + 0x18]
call esi
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x77d0fe04
mov eax, 0xc0000017
jmp 0x77d0ff18
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.77cc87cf
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x77d0fefa
mov eax, dword [ebp - 0xa]
sub eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov ecx, dword fs:[0x18]
add eax, 2
mov word [ebx + 2], ax
movzx eax, ax
push eax
mov eax, dword [ecx + 0x30]
push edi
push dword [eax + 0x18]
call esi
cmp eax, edi
mov dword [ebx + 4], eax
jne 0x77d0fe54
mov dword [ebp - 4], 0xc0000017
jmp 0x77d0fefa
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
movzx esi, di
inc esi
mov eax, 0xfffe
sub eax, edi
add word [ebp - 0xc], ax
inc esi
lea eax, [ebp - 0xc]
shr esi, 1
push eax
add esi, esi
add dword [ebp - 8], esi
push ebx
mov word [ebp - 0x14], di
call dword [sym.imp.ntdll.dll_RtlCopyUnicodeString]
sub dword [ebp - 8], esi
xor esi, esi
add edi, 2
add word [ebp - 0xc], di
cmp dword [ebp + 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x2c]
je 0x77d0fec8
push dword [ebp + 0x18]
push eax
push 0x2000000
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtOpenKeyTransacted]
jmp 0x77d0fed7
push eax
push 0x2000000
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtOpenKey]
cmp eax, esi
mov dword [ebp - 4], eax
jge 0x77d0fef8
push dword [ebx + 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
and dword [ebx + 4], esi
xor edi, edi
cmp dword [ebp - 8], edi
je 0x77d0ff15
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x77d0ff24
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp word [esi], 0xe
push edi
jb 0x77d10056
push 7
push dword [0x77d1a188]
push dword [esi + 4]
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x77d0ff62
cmp word [esi], 0xe
jbe 0x77d0ff9e
mov eax, dword [esi + 4]
cmp word [eax + 0xe], 0x5c
je 0x77d0ff9e
xor ebx, ebx
inc ebx
cmp word [esi], 0x20
jb 0x77d10056
push 0x10
push dword [0x77d1a18c]
push dword [esi + 4]
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x77d10056
cmp word [esi], 0x20
jbe 0x77d0ff9e
mov eax, dword [esi + 4]
cmp word [eax + 0x20], 0x5c
jne 0x77d10056
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0x3e
push 0x77d286c4
push 3
push dword [eax]
call dword [sym.imp.ntdll.dll_NtQueryKey]
test eax, eax
jl 0x77d10056
lea edi, [ebx + ebx]
movzx eax, word [edi + 0x77d10064]
cmp dword [0x77d286c4], eax
jne 0x77d10056
movzx eax, word [edi + 0x77d10060]
push eax
push dword [ebx*4 + 0x77d1a270]
push 0x77d286c8
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x77d10056
xor ebx, ebx
cmp dword [0x77d1f284], ebx
jne 0x77d10015
push dword [ebp + 0x10]
push 0x77d1f284
push 0x2000000
push ebx
call fcn.77cb3569
test eax, eax
jne 0x77d10056
movzx eax, word [esi]
movzx ecx, word [edi + 0x77d10068]
cmp ax, cx
ja 0x77d10029
mov word [esi], bx
jmp 0x77d10047
sub eax, ecx
mov word [esi], ax
mov ax, word [edi + 0x77d10068]
sub word [esi + 2], ax
movzx eax, word [edi + 0x77d10068]
shr eax, 1
add eax, eax
add dword [esi + 4], eax
mov eax, dword [0x77d1f284]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x77d10058
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x77d106a2
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x77d10804
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x77d10804
mov edx, dword [eax + 4]
cmp edx, ebx
je 0x77d10804
movzx ecx, word [eax]
test cl, 1
jne 0x77d10804
cmp cx, bx
jbe 0x77d106e3
add ecx, 0xfffffffe
mov word [eax], cx
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push edx
call dword [sym.imp.ntdll.dll_RtlDosPathNameToRelativeNtPathName_U]
test al, al
je 0x77d10804
mov eax, dword [ebp - 0x2c]
cmp ax, bx
push esi
push edi
mov edi, dword [ebp - 8]
je 0x77d10713
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
jmp 0x77d10716
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
push 0x20
lea eax, [ebp - 0xc]
mov dword [ebp - 0x3c], eax
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x80100000
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 0x44], 0x18
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp esi, ebx
jl 0x77d107f9
test byte [ebp + 8], 2
mov edi, dword [sym.imp.ntdll.dll_NtClose]
je 0x77d107c5
push ebx
lea eax, [ebp - 4]
push eax
push 0x2000000
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov word [ebp - 0x14], bx
mov word [ebp - 0x12], bx
mov dword [ebp - 0x10], ebx
call fcn.77cc83fc
mov esi, eax
cmp esi, ebx
jl 0x77d107d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtRestoreKey]
push dword [ebp - 4]
mov esi, eax
call edi
jmp 0x77d107d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtRestoreKey]
mov esi, eax
push dword [ebp + 0xc]
call edi
cmp esi, ebx
jl 0x77d107f9
test byte [ebp + 0x10], 1
jne 0x77d107f9
mov eax, dword [0x77d28760]
cmp eax, ebx
je 0x77d107f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
push esi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
pop edi
pop esi
jmp 0x77d10807
push 0x57
pop eax
pop ebx
leave
ret 0xc
Function at 0x77d10c16
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp dword [0x77d28720], ebx
je 0x77d10c2e
xor eax, eax
inc eax
jmp 0x77d10c78
push 0x77d1e76c
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
cmp dword [0x77d28720], ebx
jne 0x77d10c29
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x77d28784], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edi, 0x3e8
push edi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
cmp eax, ebx
mov dword [0x77d1e764], eax
jne 0x77d10c7b
mov dword [0x77d1e768], ebx
xor eax, eax
pop edi
pop ebx
leave
ret
push esi
push 0x28
push 0x77d10d70
mov esi, 0x77d10d60
push esi
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
push edi
push dword [0x77d1e764]
mov dword [0x77d1e760], eax
push 0x77ce1010
push 0x77d10d54
push esi
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
mov eax, dword [0x77d1e764]
cmp byte [eax], bl
pop esi
jne 0x77d10cd0
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [0x77d1e764], ebx
call fcn.77d10af4
test eax, eax
jne 0x77d10cee
mov dword [0x77d1e768], ebx
push 0x77d1e76c
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov eax, ebx
jmp 0x77d10c77
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x24]
dec eax
je 0x77d10d29
dec eax
je 0x77d10d1d
dec eax
je 0x77d10d11
mov dword [0x77d28780], 0x14c
jmp 0x77d10d33
mov dword [0x77d28780], 0x1f0
jmp 0x77d10d33
mov dword [0x77d28780], 0x184
jmp 0x77d10d33
mov dword [0x77d28780], 0x166
push ebx
push dword [0x77d1e764]
push dword [0x77d28784]
call dword [0x77d28704]
xor eax, eax
inc eax
mov dword [0x77d28720], eax
mov ebx, eax
jmp 0x77d10cdf

Function at 0x77d1112c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp dword [ebp + 0x18], 0
mov ebx, eax
je 0x77d111b0
cmp ebx, 0x80000005
jne 0x77d111b0
mov eax, dword fs:[0x18]
push dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
jne 0x77d11183
mov eax, 0xc0000017
jmp 0x77d111bf
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
test ebx, ebx
jge 0x77d111b4
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]
test ebx, ebx
jl 0x77d111bd
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x77d111bd
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x77d111cb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi]
push eax
push dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x77d111fd
mov eax, 0xc0000005
jmp 0x77d11351
mov eax, dword [ebp + 0x14]
mov ecx, dword fs:[0x18]
shl eax, 4
add eax, dword [esi]
push edi
push eax
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
jne 0x77d1122e
mov eax, 0xc0000017
jmp 0x77d11350
and dword [ebp - 0xc], ebx
cmp dword [ebp + 0x14], ebx
jbe 0x77d1130d
mov esi, dword [ebp + 0x10]
add esi, 8
mov eax, dword [ebp - 4]
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
add ebx, 3
push edi
push 2
push dword [esi - 8]
and ebx, 0xfffffffc
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
mov dword [ebp + 0x10], eax
jge 0x77d112a7
cmp eax, 0x80000005
je 0x77d112ad
cmp eax, 0xc0000034
jne 0x77d11311
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push edi
push 2
push dword [esi - 8]
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
mov dword [ebp + 0x10], eax
jge 0x77d112a7
cmp eax, 0x80000005
je 0x77d112ad
jmp 0x77d11311
mov eax, dword [edi + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 8]
add eax, ecx
cmp eax, ecx
jb 0x77d1133f
cmp eax, dword [ebp - 0x18]
ja 0x77d112f1
cmp dword [ebp - 0x10], 0
jne 0x77d112f1
mov eax, dword [ebp - 8]
push eax
mov dword [esi - 4], eax
lea eax, [edi + 0xc]
push eax
mov eax, dword [ebp + 0x18]
mov dword [esi], ebx
mov ecx, dword [edi + 4]
add eax, ebx
push eax
mov dword [esi + 4], ecx
call sub.ntdll.dll_memcpy
mov eax, dword [edi + 8]
add esp, 0xc
add dword [ebp - 4], eax
jmp 0x77d112f8
mov dword [ebp - 0x10], 1
add ebx, dword [ebp - 8]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add esi, 0x10
cmp eax, dword [ebp + 0x14]
jb 0x77d11240
and dword [ebp + 0x10], 0
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]
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x77d11350
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x20]
mov dword [ecx], ebx
je 0x77d11348
mov eax, 0x80000005
jmp 0x77d11350
mov dword [ebp + 0x10], 0xc0000017
jmp 0x77d11311
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x77d149a2
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [ebp - 8], ebx
mov byte [ebp - 1], 1
jne 0x77d149dd
mov dword [ebp - 8], 0x57
push ebx
push 0xac3
push 0x77ce208c
call fcn.77c9e3db
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [eax], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x77d149f1
cmp word [eax], bx
jne 0x77d149f8
mov eax, 0x105
jmp 0x77d149ff
push eax
call edi
inc eax
mov byte [ebp - 1], bl
add eax, 7
and eax, 0xfffffff8
lea eax, [eax + eax + 0x2c]
push eax
push 0xaa3
push 0x77ce208c
call fcn.77c9e393
mov esi, eax
cmp esi, ebx
je 0x77d14a97
xor eax, eax
cmp byte [ebp + 0xc], bl
sete al
or dword [esi + 0x10], eax
call fcn.77cbdb5b
cmp byte [ebp - 1], bl
mov dword [esi + 0x14], eax
lea eax, [esi + 0x2c]
mov dword [esi + 8], ebx
mov dword [esi + 4], eax
jne 0x77d14a54
push dword [ebp + 8]
push dword [ebp + 8]
call edi
inc eax
push eax
push dword [esi + 4]
call fcn.77c9e187
jmp 0x77d14a66
lea ecx, [ebp + 0xc]
push ecx
push eax
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi], eax
jne 0x77d14aa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0xab4
push 0x77ce208c
mov dword [ebp - 8], eax
call fcn.77c9e3db
cmp dword [ebp - 8], ebx
jne 0x77d149c3
mov dword [ebp - 8], 0xe
jmp 0x77d149c3
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x77d149d3

Function at 0x77d1506e
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x77d1a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x414]
push ecx
push 0x208
push edi
push eax
push edi
mov word [ebp - 0x414], di
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jbe 0x77d15145
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x77d15145
push edi
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x77d15134
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push esi
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x424], eax
je 0x77d15134
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x420]
mov dword [esi + 0xc], eax
jmp 0x77d1513c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x77d1514d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.77cc744e
leave
ret 8
Function at 0x77d156f1
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 0x13
mov eax, esi
shl eax, 2
push eax
push 0x24d
push 0x77ca01f4
call fcn.77c9e393
mov edi, eax
test edi, edi
je 0x77d157d9
cmp dword [ebp + 0xc], 4
lea eax, [edi + esi*2]
push ebx
mov dword [ebp - 4], eax
jne 0x77d15749
cmp byte [ebp + 0x14], 0
je 0x77d15741
mov ebx, dword [0x77d1a118]
jmp 0x77d1575b
mov ebx, dword [0x77d1a100]
jmp 0x77d1575b
cmp byte [ebp + 0x14], 0
mov ebx, dword [0x77d1a0ec]
jne 0x77d1575b
mov ebx, dword [0x77d1a15c]
push ebx
push dword [ebp + 8]
push 0x77d15808
push esi
push edi
call fcn.77c9e2c6
add esp, 0x14
cmp dword [ebp + 0x10], 0
je 0x77d157b0
cmp byte [ebp + 0x14], 0
mov eax, dword [0x77d1a0f8]
jne 0x77d15784
mov eax, dword [0x77d1a0fc]
push dword [0x77d1a138]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push 0x77c9f8c4
push esi
push dword [ebp - 4]
call fcn.77c9e2c6
add esp, 0x1c
push 0
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x77d157d8
push ebx
push dword [ebp + 8]
push 0x77d157f0
push esi
push dword [ebp - 4]
call fcn.77c9e2c6
add esp, 0x14
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop ebx
push edi
push 0x269
push 0x77ca01f4
call fcn.77c9e3db
pop edi
pop esi
leave
ret 0x10
Function at 0xef2aac
Capabilities:
Encode data using xor

Disassembly:
jmp 0xef2ab6
pushal
call 0xef2abc
pop ebp
sub ebp, 0x10
sub ebp, 0xaf2aac
jmp 0xef2ad2
mov eax, 0xaf2aac
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a9
mov edx, 0xa37c6d00
xor byte [eax], dl
inc eax
dec ecx
jne 0xef2ae9
jmp 0xef2afc
mov ecx, ebp
mov ecx, dword [ecx + 0x3c]
add ecx, 0xf8
add ecx, ebp
mov eax, 6
mov edx, 0x28
mul edx
add ecx, eax
mov eax, dword [ecx + 0xc]
add eax, ebp
lea esp, [esp - 4]
mov dword [esp], eax
push eax
push 0x219444
push 0x8d9667
add dword [esp], ebp
push 0x36eb21f0
call fcn.00ef2b46
jmp 0xef2b6e
mov ecx, dword [esp + 4]
push 0x219444
push 0x8d9667
add dword [esp], ebp
push ecx
call fcn.00ef2b8d
jmp 0xef2dd4
mov edi, dword [esp]
lea esp, [esp + 4]
mov esi, dword [esp]
lea esp, [esp + 4]
jmp 0xef2deb
mov eax, 0xaf2aac
add eax, ebp
add eax, 0x365
mov ecx, 0x290
mov edx, 0x1d1f5409
xor byte [eax], dl
inc eax
dec ecx
jne 0xef2e02
jmp 0xef2e15
invalid

Function at 0xef2b46
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
shr ecx, 2
xor dword [edx], eax
add edx, 4
dec ecx
jne 0xef2b5e
pop ebp
ret 0xc
Function at 0xef2c15
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebp
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0xef2c46
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xef2c24
add dl, dl
jne 0xef2c59
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xef2cc9
xor eax, eax
add dl, dl
jne 0xef2c6e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xef2d9e
add dl, dl
jne 0xef2c81
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xef2c90
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xef2c9f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xef2cae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xef2cbc
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xef2c39
mov eax, 1
add dl, dl
jne 0xef2cdb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xef2cea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xef2cce
sub eax, ebx
mov ebx, 1
jne 0xef2d31
mov ecx, 1
add dl, dl
jne 0xef2d0f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xef2d1e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xef2d02
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xef2c39
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xef2d4c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xef2d5b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xef2d3f
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xef2c39
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xef2dc6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xef2c39
pop ebp
sub edi, dword [ebp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8