joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100545d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10054603
push esi
call fcn.10062980
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x100545fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10054689
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10054672
mov eax, dword [esi + 8]
test eax, eax
je 0x10054627
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005466e
cmp eax, 2
je 0x10054672
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005461a
cmp eax, 3
je 0x1005464d
cmp eax, 1
jne 0x1005461a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1005461a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005461a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100546b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10054698
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100546b0
add esp, 4
pop esi
ret

Function at 0x10054f20
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x10054f41
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x10054f41
mov eax, dword [eax + 0x44]
test eax, eax
je 0x10054f41
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10055390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1005539b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1005549e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x10097318]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10097318]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10097318]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10097318]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10097318]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10097318]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10097318]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10097318]
xor eax, edx
inc ecx
dec edi
jne 0x100553b6
pop edi
test esi, esi
je 0x100554c0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10097318]
xor eax, edx
inc ecx
dec esi
jne 0x100554a2
pop esi
pop ebx
not eax
ret
Function at 0x10082b75
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10082bad
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10080c19
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10080bf1
jmp 0x10082bb9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10084263
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100842a5
call fcn.10089bfa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100842a5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1008429c
xor eax, eax
jmp 0x100842ad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100842b3
pop edi
pop esi
pop ebx
ret 4
Function at 0x10036c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
jne 0x10037d7
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
push 0x40
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x10037d7
push ebx
push 4
pop ebx
cmp dword [ebp - 0x1c], ebx
ja 0x10037cd
mov esi, dword [sym.imp.msvcrt.dll___iob_func]
mov dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push edi
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x10037be
cmp dword [ebp - 0x18], ebx
jne 0x10037be
push dword [ebp - 0xc]
call esi
add eax, 0x20
push eax
call fcn.0100b4c8
test byte [ebp - 4], 1
je 0x1003783
push 0x1001358
call esi
add eax, 0x20
push eax
call fcn.0100b4c8
test byte [ebp - 4], 2
je 0x1003799
push 0x1001348
call esi
add eax, 0x20
push eax
call fcn.0100b4c8
test byte [ebp - 4], bl
je 0x10037ae
push 0x1001334
call esi
add eax, 0x20
push eax
call fcn.0100b4c8
push 0x100132c
call esi
add eax, 0x20
push eax
call fcn.0100b4c8
inc dword [ebp - 8]
cmp dword [ebp - 0x20], edi
je 0x100372c
xor esi, esi
inc esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x10037e4
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 0xc], 0xffffffff
and dword [ebp - 0x10], 0
or dword [ebp - 8], 0xffffffff
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi]
push edi
xor edi, edi
inc edi
cmp dword [ebp + 0x10], edi
jbe 0x1003851
push 0x100140c
push dword [esi + edi*4]
call fcn.01003f3b
test al, al
je 0x1003821
or dword [ebp - 4], 2
push 0x10013f8
push dword [esi + edi*4]
call fcn.01003f3b
test al, al
je 0x1003836
or dword [ebp - 4], 4
push 0x10013e8
push dword [esi + edi*4]
call fcn.01003f3b
test al, al
je 0x100384b
or dword [ebp - 4], 1
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x100380c
lea eax, [ebp - 8]
push eax
mov esi, 0x20006
push esi
push 0
push 0x1001370
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
test eax, eax
jne 0x10038c3
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10038c3
push 4
lea eax, [ebp - 4]
push eax
push 4
push edi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10038c3
call sub.POWRPROF.dll_PowerApplyPowerRequestOverride
test eax, eax
jne 0x10038c3
cmp dword [ebp - 4], edi
jne 0x10038bc
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0xffffffff
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10038dd
cmp dword [ebp - 8], edi
je 0x10038dd
push dword [ebp - 8]
call esi
or dword [ebp - 8], 0xffffffff
cmp dword [ebp - 0xc], 0xffffffff
je 0x10038ed
cmp dword [ebp - 0xc], edi
je 0x10038ed
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1003d1a
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push esi
push 0x1001ae8
mov esi, 0x80000003
push esi
call ebx
lea eax, [ebp - 4]
push eax
push 0x1001a98
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x1003daa
push edi
push eax
push dword [ebp - 4]
mov edi, 0x1001a58
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
jne 0x1003da9
push edi
push esi
call ebx
lea eax, [ebp - 4]
push eax
push 0x1001a18
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x1003da9
push eax
push dword [ebp - 4]
push 0x10019e8
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x1003db6
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, 0x10019e8
push edi
mov esi, 0x80000001
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp - 4]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x1003dff
push eax
push dword [ebp - 4]
push 0x1001a58
push 0x80000003
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x1004e94
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100e150]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x24], 0
or dword [ebp - 0x1c], 0xffffffff
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 0x20], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1004f52
test esi, esi
je 0x1004f52
push 1
mov ebx, 0x20019
push ebx
lea eax, [ebp - 0x1c]
push eax
call sub.POWRPROF.dll_PowerOpenUserPowerKey
test eax, eax
jne 0x1004f52
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.01007326
test eax, eax
jne 0x1004f52
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
lea eax, [ebp - 0x18]
push eax
push ebx
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004f52
xor ebx, ebx
inc ebx
push ebx
push 0x1001da0
call fcn.01004d24
mov esi, dword [sym.imp.ADVAPI32.dll_RegSaveKeyW]
push 0
push edi
push dword [ebp - 0x18]
call esi
cmp eax, 0xb7
jne 0x1004f49
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x1004f5e
mov dword [ebp - 0x24], ebx
jmp 0x1004f5e
push 7
call fcn.0100ba15
mov dword [0x100e7a0], eax
xor edi, edi
cmp dword [ebp - 0x20], edi
je 0x1004f6f
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
cmp dword [ebp - 0x1c], 0xffffffff
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1004f89
cmp dword [ebp - 0x1c], edi
je 0x1004f89
push dword [ebp - 0x1c]
call esi
or dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp - 0x18], 0xffffffff
je 0x1004f99
cmp dword [ebp - 0x18], edi
je 0x1004f99
push dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a786
leave
ret 8
Function at 0x1009a4c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x100e150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x41c], 0
and dword [ebp - 0x418], 0
cmp byte [ebp + 0x14], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
je 0x1009b03
lea eax, [ebp - 0x414]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ecx, ecx
cmp eax, ecx
je 0x1009b67
cmp eax, esi
jae 0x1009b67
lea eax, [ebp - 0x414]
push eax
push 0x1002ae8
push ecx
push ecx
push 0x23
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
jl 0x1009b67
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010099dd
test eax, eax
jl 0x1009b67
push 0x1002a80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1009b67
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], eax
call dword [0x100e7cc]
mov esi, eax
test esi, esi
je 0x1009b6d
movzx eax, byte [ebp + 0x14]
push eax
push 0
push dword [ebp - 0x418]
push ebx
push edi
push esi
call fcn.010095dd
test eax, eax
jl 0x1009b6d
cmp byte [ebp + 0x18], 0
je 0x1009b3d
push 0
push esi
call dword [0x100e7ec]
cmp byte [ebp + 0x14], 0
je 0x1009b5b
push 0
push dword [ebp - 0x420]
push dword [ebp - 0x418]
push esi
call fcn.010097e7
test eax, eax
jl 0x1009b6d
mov dword [ebp - 0x41c], 1
jmp 0x1009b6d
mov esi, dword [ebp - 0x418]
push esi
call dword [0x100e7d0]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x41c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a786
leave
ret 0x14
Function at 0x1009d8d
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x100e150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x414]
push eax
push 0x1002ae8
xor ebx, ebx
push ebx
push ebx
push 0x23
push ebx
mov dword [ebp - 0x668], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
mov edi, eax
cmp edi, ebx
jl 0x1009f97
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.010099dd
mov edi, eax
cmp edi, ebx
jl 0x1009f97
push 0x1002b60
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x1009e0f
mov edi, 0x80004005
jmp 0x1009f97
push esi
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x66c], eax
cmp eax, 0xffffffff
jne 0x1009e5a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x1009e43
xor edi, edi
jmp 0x1009f96
call esi
test eax, eax
jle 0x1009e53
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x1009f96
push 0x218
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1009efe
mov eax, dword [ebp - 0x65c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x660]
mov dword [esi + 8], eax
lea eax, [ebp - 0x638]
push eax
push 0x104
lea eax, [esi + 0x10]
push eax
call fcn.010099dd
mov edi, eax
test edi, edi
jl 0x1009f05
lea eax, [ebp - 0x668]
test ebx, ebx
je 0x1009ec7
mov edi, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax]
mov ebx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x1009ec7
ja 0x1009ec0
mov ebx, dword [ecx + 8]
cmp ebx, edi
jbe 0x1009ec7
mov eax, ecx
cmp dword [eax], 0
jne 0x1009eae
mov ecx, dword [eax]
mov dword [esi], ecx
mov dword [eax], esi
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [ebp - 0x668]
test eax, eax
jne 0x1009e5a
push 0x15
mov esi, ebx
pop eax
test esi, esi
je 0x1009ef9
mov esi, dword [esi]
dec eax
jne 0x1009ef3
jmp 0x1009f54
mov edi, 0x8007000e
jmp 0x1009f5a
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1009f5a
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.010099dd
mov edi, eax
test edi, edi
jl 0x1009f5a
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1009f68
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1009f6f
mov esi, dword [esi]
test esi, esi
jne 0x1009f0e
xor edi, edi
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1009f92
mov edi, 0x80004005
jmp 0x1009f5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1009f83
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x1009f5a
mov eax, ebx
mov ebx, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
jne 0x1009f87
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0100a786
leave
ret
Function at 0x1009fac
Capabilities:
Copy file
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc48
mov eax, dword [0x100e150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
xor ebx, ebx
push esi
mov dword [ebp - 0xc38], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
je 0x100a15a
cmp eax, esi
jae 0x100a15a
lea eax, [ebp - 0x20c]
push eax
push 0x1002ae8
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
jl 0x100a15a
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01009bf9
test eax, eax
jl 0x100a15a
lea eax, [ebp - 0x20c]
push eax
push 0x1002c00
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01008fa7
add esp, 0x10
test eax, eax
jl 0x100a15a
lea eax, [ebp - 0xc48]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xc42]
push eax
movzx eax, word [ebp - 0xc46]
push eax
movzx eax, word [ebp - 0xc48]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x1002bb8
lea eax, [ebp - 0xc34]
push esi
push eax
call fcn.01008fa7
add esp, 0x1c
test eax, eax
jl 0x100a15a
lea eax, [ebp - 0x20c]
push eax
push 0x1002b88
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.01008fa7
add esp, 0x10
test eax, eax
jl 0x100a15a
call dword [0x100e7cc]
mov edi, eax
cmp edi, ebx
je 0x100a15a
push 0x3c
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push eax
push edi
call fcn.01009b90
test eax, eax
jl 0x100a15a
xor esi, esi
inc esi
push esi
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push eax
push edi
call fcn.010095dd
test eax, eax
jl 0x100a15a
push ebx
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100a15a
push esi
push edi
call dword [0x100e7ec]
push esi
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.010097e7
test eax, eax
jl 0x100a15a
call fcn.01009d8d
test eax, eax
jl 0x100a15a
mov dword [ebp - 0xc38], esi
push edi
call dword [0x100e7d0]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc38]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a786
leave
ret
Function at 0x100a17b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x100e150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x830], ebx
xor edi, edi
call fcn.010098d8
test eax, eax
jl 0x100a34d
push esi
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
je 0x100a34c
cmp eax, esi
jae 0x100a34c
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01009bf9
test eax, eax
jl 0x100a34c
cmp byte [ebp + 0x10], bl
jne 0x100a205
mov eax, dword [ebp - 0x82c]
jmp 0x100a241
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.010099dd
test eax, eax
jl 0x100a34c
push 0x1002a80
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x100a34c
lea eax, [ebp - 0x414]
mov dword [ebp - 0x828], eax
call dword [0x100e7cc]
mov edi, eax
cmp edi, ebx
je 0x100a34c
cmp dword [ebp + 0xc], 0xffffffff
jne 0x100a270
lea eax, [ebp + 0xc]
push eax
push edi
call dword [0x100e7d4]
test eax, eax
jl 0x100a34c
push dword [ebp + 0xc]
push 0x5bb
call fcn.0100ba15
push eax
push 0x204
mov esi, 0x100e198
push esi
call sub.msvcrt.dll_swprintf_s
add esp, 0x10
push esi
mov esi, dword [sym.imp.msvcrt.dll___iob_func]
call esi
add eax, 0x20
push eax
call fcn.0100b4c8
push 0x5bc
call fcn.0100ba15
push eax
call esi
add eax, 0x20
push eax
call fcn.0100b4c8
push dword [ebp + 0xc]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
push edi
call fcn.01009b90
cmp eax, ebx
jge 0x100a2fa
cmp eax, 0x80040200
jne 0x100a2e2
push 0x5b9
jmp 0x100a2ee
cmp eax, 0x80040201
jne 0x100a34c
push 0x5ba
call fcn.0100ba15
mov dword [0x100e7a0], eax
jmp 0x100a34c
movzx eax, byte [ebp + 0x10]
push eax
push ebx
push dword [ebp - 0x828]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
push edi
call fcn.010095dd
test eax, eax
jl 0x100a34c
push ebx
push edi
call dword [0x100e7ec]
cmp byte [ebp + 0x10], bl
je 0x100a342
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x828]
push edi
call fcn.010097e7
test eax, eax
jl 0x100a34c
mov dword [ebp - 0x830], 1
pop esi
push edi
call dword [0x100e7d0]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x830]
pop edi
xor ecx, ebp
pop ebx
call fcn.0100a786
leave
ret 0xc
Function at 0x100a777
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x100c6d8
call fcn.0100aa64
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100ec74
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100a58c
cmp eax, esi
jne 0x100a57f
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x100a58f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100a566
xor esi, esi
inc esi
mov eax, dword [0x100ec70]
cmp eax, esi
jne 0x100a5a2
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100a5dd
mov eax, dword [0x100ec70]
test eax, eax
jne 0x100a5d7
mov dword [0x100ec70], esi
push 0x1001304
push 0x10012f8
call fcn.0100a4e3
pop ecx
pop ecx
test eax, eax
je 0x100a5dd
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100a6a7
mov dword [0x100e810], esi
mov eax, dword [0x100ec70]
cmp eax, esi
jne 0x100a601
push 0x10012f4
push 0x10012ec
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100ec70], 2
cmp dword [ebp - 0x1c], ebx
jne 0x100a60e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100ec78], ebx
je 0x100a62f
push 0x100ec78
call fcn.0100a9d9
pop ecx
test eax, eax
je 0x100a62f
push ebx
push 2
push ebx
call dword [0x100ec78]
push dword [0x100e7f8]
push dword [0x100e7fc]
push dword [0x100e7f4]
call fcn.01005768
add esp, 0xc
mov dword [0x100e80c], eax
cmp dword [0x100e800], ebx
jne 0x100a68d
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100e810], ebx
jne 0x100a69b
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100e80c]
call fcn.0100aaa9
ret
call fcn.0100abb1
jmp 0x100a544