joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f4e90
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x55f09d], 1
call fcn.0049a858
test al, al
jne 0x4f4ee2
push 5
mov eax, dword [0x557e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x557e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x557e7c]
mov eax, dword [eax + 0x124]
mov cl, 2
xor edx, edx
call fcn.004f4d74
ret

Function at 0x4f83dc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x4f8401
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fa188
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4fa1b4
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jae 0x4fa1bd
call fcn.004f8ea8
mov eax, 0xa
call fcn.004954c8
call fcn.004f8ea8
call fcn.004fa154
test al, al
jne 0x4fa192
pop ebx
ret

Function at 0x4fa6e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x557a08]
cmp dword [eax], 0
je 0x4fa78b
mov eax, dword [0x557a08]
mov eax, dword [eax]
call fcn.00478604
test al, al
je 0x4fa78b
mov eax, dword [0x557a08]
mov eax, dword [eax]
cmp byte [eax + 0x1e2], 0
je 0x4fa735
cmp byte [ebx + 0x389], 0
jne 0x4fa735
mov eax, dword [0x557e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4fa739
xor eax, eax
jmp 0x4fa73b
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x557a08]
mov eax, dword [eax]
call fcn.00478258
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x4fa78b
test bl, bl
je 0x4fa777
push 5
mov eax, dword [0x557a08]
mov eax, dword [eax]
call fcn.00478258
push eax
call sub.user32.dll_ShowWindow
jmp 0x4fa78b
push 0
mov eax, dword [0x557a08]
mov eax, dword [eax]
call fcn.00478258
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4fa83c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov byte [0x55f056], 0
push 0x4fa914
call sub.kernel32.dll_GetModuleHandleW_2
mov ebx, eax
push 0x4fa930
push ebx
call fcn.00409620
test eax, eax
je 0x4fa8c8
lea edx, [esp + 4]
push edx
call eax
push 0x4fa958
push ebx
call fcn.00409620
mov esi, eax
test esi, esi
je 0x4fa8d2
push esp
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x4fa8d2
cmp dword [esp], 0
je 0x4fa8d2
call fcn.004976fc
test al, al
je 0x4fa8d2
push 0x4fa978
push ebx
call fcn.00409620
test eax, eax
je 0x4fa8d2
push 0x4fa9ac
push 0x4fa9cc
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409620
test eax, eax
je 0x4fa8d2
mov byte [0x55f056], 1
jmp 0x4fa8d2
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo_1
movzx eax, word [esp + 4]
sub ax, 1
jb 0x4fa8eb
sub ax, 5
je 0x4fa8f4
sub ax, 3
je 0x4fa8fd
jmp 0x4fa906
mov byte [0x55748c], 1
jmp 0x4fa90d
mov byte [0x55748c], 3
jmp 0x4fa90d
mov byte [0x55748c], 2
jmp 0x4fa90d
mov byte [0x55748c], 0
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x4fa9e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x4faa58
mov edx, 0x80000002
xor eax, eax
call fcn.00494568
test eax, eax
jne 0x4faa51
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4faaac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4faa48
cmp dword [ebp - 0xc], 4
jne 0x4faa48
cmp dword [ebp - 8], 4
jne 0x4faa48
movzx eax, word [ebp - 0x10]
mov word [0x55f06c], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret

Function at 0x4fac54
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4fad03
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x55f068], eax
cmp byte [0x55f055], 0
je 0x4fad03
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x4facf4
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4fad03
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x55f06c], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x55f06e], al
movzx eax, word [esp + 0x22c]
mov word [0x55f070], ax
jmp 0x4fad03
cmp eax, 4
jne 0x4fad03
call fcn.004fa9e8
call fcn.004faac4
add esp, 0x230
ret
Function at 0x506020
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5061f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 4]
mov ecx, 0x200
xor edx, edx
call fcn.00406584
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x557908]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.00494568
test eax, eax
jne 0x5061d7
xor eax, eax
push ebp
push 0x5061cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.004a53b0
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x5060b1
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x5060de
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00406eb8
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x506100
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00406eb8
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 1
jb 0x506176
sub eax, 0xe9
je 0x50611a
sub eax, 0x19
je 0x5061b5
jmp 0x50616f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x506131
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x506144
call fcn.00404b68
jmp 0x5061d7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x50615b
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406584
jmp 0x5060a5
call fcn.00404b68
jmp 0x5061d7
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.004a53b0
lea eax, [ebp - 4]
call fcn.00406eb8
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.00406584
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.004b6540
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.004a3548
inc ebx
jmp 0x5060a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5061d3
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5061f9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x50bc14
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x50bc98
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x50bc80
mov ebx, esi
test ebx, ebx
je 0x50bc46
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004064d4
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x50bcb4
call fcn.00406914
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x50bc82
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bc9f
lea eax, [ebp - 8]
call fcn.00406438
ret

Function at 0x50fde0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x50ff23
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x50ff3c
mov edx, ebx
call fcn.00406914
mov eax, dword [ebp - 0x25c]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x50fefd
xor eax, eax
push ebp
push 0x50fef6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x50ff58
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.0040de48
test eax, eax
jne 0x50fec7
test byte [ebp - 0x258], 0x10
jne 0x50fec7
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.00406640
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406914
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x50feb9
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x50fe51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50fefd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ff2a
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00406440
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x50ff64
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x510064
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00406448
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0049306c
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x510080
call fcn.0040e11c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406914
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x510004
test esi, 0x10
jne 0x510034
test esi, 1
je 0x510004
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x51002e
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406448
jmp 0x510041
inc edi
cmp edi, 0xa
je 0x510041
inc ebx
cmp ebx, 0x3e8
jne 0x50ffa5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51006b
lea eax, [ebp - 0x14]
call fcn.00406438
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x510f24
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x510fcc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x510fe8
push ebx
push 0x510ff8
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004069f8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403540
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x510faa
mov eax, dword [0x557e7c]
mov eax, dword [eax + 0x1a8]
call fcn.00510e7c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510fd3
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x51196c
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x511b5a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00494110
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004988a4
test al, al
jne 0x5119d9
xor eax, eax
push ebp
push 0x5119cf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.00498d94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5119d9
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [0x55f16c]
call fcn.004064d4
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x511a08
mov eax, dword [0x557e7c]
mov eax, dword [eax + 0x1a4]
call fcn.00510e7c
push 0x80
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x55bb50]
push eax
push 0
mov ecx, 0x511b68
mov edx, 0x511b6c
xor eax, eax
call fcn.0040a124
mov dword [ebp - 8], eax
push 0x51103c
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x55f198], eax
xor eax, eax
push ebp
push 0x511b23
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x557e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00493ae4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x511b88
call fcn.0040e11c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.004939c4
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00406854
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00510f24
mov dword [ebp - 0xc], eax
call fcn.00511000
test al, al
jne 0x511b03
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x511ae1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511b2a
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x512ea8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x513162
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x557e6c]
mov eax, dword [eax]
mov edx, 0x51317c
call fcn.00490770
push 5
mov eax, dword [0x557e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x513129
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004f511c
lea eax, [ebp - 0x10]
call fcn.00493f88
mov eax, dword [ebp - 0x10]
call fcn.0040dbc8
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00493ae4
mov edx, dword [ebp - 0x14]
mov eax, 0x55f16c
call fcn.00406448
call fcn.00511234
lea ecx, [ebp - 0x18]
mov edx, 0x51319c
mov eax, dword [0x55f16c]
call fcn.00492bc8
mov edx, dword [ebp - 0x18]
mov eax, 0x55f170
call fcn.00406448
lea ecx, [ebp - 0x1c]
mov edx, 0x5131b4
mov eax, dword [0x55f16c]
call fcn.00492bc8
mov edx, dword [ebp - 0x1c]
mov eax, 0x55f174
call fcn.00406448
push 2
push 0
push 1
mov ecx, dword [0x55f16c]
mov dl, 1
mov eax, dword [0x4959e8]
call fcn.00495d28
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x513000
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.00495ce8
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.00495cc0
cmp dword [ebp - 0xc], 0x67734d49
je 0x512fdb
mov cl, 1
xor edx, edx
mov eax, dword [0x55f174]
call fcn.00496fac
jmp 0x512fea
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x55f16c]
call fcn.00496fac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x513007
mov eax, dword [ebp - 4]
call fcn.00404098
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x2aca3aeb
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x42983666
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10004682
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x10045e4f
call fcn.1002172e
call fcn.10003546
push eax
lea ecx, [ebp - 0x10]
call fcn.10002d0d
push dword [ebp + 0x10]
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.10002f71
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.100030eb
push esi
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100046f2
mov ecx, dword [ebp + 8]
push esi
call fcn.10002f71
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100035f1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100035f1
mov eax, dword [ebp + 8]
jmp 0x100047b5
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10004aa1
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.10004a7d
cmp ax, 0x5c
je 0x10004728
mov esi, 0x100501fc
push esi
call fcn.10002e3a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a6a
push dword [ebp + 0xc]
call fcn.10002e3a
pop ecx
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10002a6a
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push dword [eax - 0xc]
mov ecx, dword [esi - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [ebp + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.100049a5
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.10003634
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.100035f1
test edi, edi
je 0x1000478f
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.10002a6a
mov esi, dword [ebp - 0x10]
lea edi, [esi - 0x10]
push edi
call fcn.10002710
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov ecx, edi
call fcn.100035f1
mov eax, esi
call fcn.100216f7
ret 0xc
Function at 0x1000a2ef
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x10046184
call fcn.1002172e
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.10003546
push eax
lea ecx, [ebp - 0x10]
call fcn.10002d0d
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.100030eb
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10004aa1
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x1000a350
push 0x1004fe94
mov ecx, edi
call fcn.10002f71
lea ecx, [esi - 0x10]
jmp 0x1000a3a0
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10004a7d
cmp ax, 0x5c
je 0x1000a376
mov esi, 0x100501fc
push esi
call fcn.10002e3a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a6a
mov esi, str.VZip_
push esi
call fcn.10002e3a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a6a
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
call fcn.10002710
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.100035f1
mov eax, edi
call fcn.100216f7
ret

Function at 0x1000a44d
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x100461f3
call fcn.1002172e
lea ecx, [ebp - 0x14]
call fcn.1000a3ad
and dword [ebp - 4], 0
push str.AppTest.txt
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10004861
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.100035f1
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.100035f1
mov eax, esi
call fcn.100216f7
ret