joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e715
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10093ee8]
sub esp, 0xc
push esi
push edi
cmp eax, 2
je 0x1000e72b
xor eax, eax
jmp 0x1000e770
call fcn.1000fb1d
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1000e727
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000fc65
cmp dword [ebp - 0xc], 0
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
je 0x1000e75b
cmp dword [ebp - 0xc], esi
je 0x1000e760
call fcn.1004cee2
cmp dword [ebp - 8], edi
je 0x1000e727
lea esi, [ebp - 0xc]
call fcn.10037af5
mov eax, dword [eax + 4]
pop edi
pop esi
leave
ret

Function at 0x1000f291
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10093ef0]
sub esp, 0x18
push ebx
push edi
xor ebx, ebx
push 2
pop edi
inc ebx
cmp eax, edi
jne 0x1000f35b
mov eax, dword [0x10093ef0]
push esi
cmp eax, edi
je 0x1000f301
push 0
push ebx
push 0x10093ef0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x1000f2f8
push 4
call fcn.1003202e
mov esi, eax
pop ecx
test esi, esi
je 0x1000f2e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x1000f2e2
xor esi, esi
mov dword [0x10093ef4], esi
mov dword [0x10093ef0], edi
jmp 0x1000f301
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10093ef0]
cmp eax, edi
jne 0x1000f2f0
mov eax, dword [0x10093ef4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
je 0x1000f35a
mov eax, dword [ebp + 8]
add eax, 8
push eax
lea eax, [ebp - 0x18]
call fcn.10010523
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
test eax, eax
je 0x1000f33a
cmp eax, dword [ebp - 0x10]
je 0x1000f33f
call fcn.1004cee2
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x1000f355
lea esi, [ebp - 8]
inc edi
call fcn.100105a9
mov eax, dword [ebp - 8]
jmp 0x1000f331
test edi, edi
sete bl
pop esi
pop edi
mov al, bl
pop ebx
leave
ret 4

Function at 0x1000ff83
Capabilities:
Allocate thread local storage

Disassembly:
push 0
push 1
push 0x10093ee0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x1000ffcb
push esi
push 4
call fcn.1003202e
mov esi, eax
pop ecx
test esi, esi
je 0x1000ffaf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x1000ffb1
xor esi, esi
mov dword [0x10093ee4], esi
mov dword [0x10093ee0], 2
pop esi
ret
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10093ee0]
cmp eax, 2
jne 0x1000ffc3
ret
Function at 0x1000ffd6
Capabilities:
Allocate thread local storage

Disassembly:
push 0
push 1
push 0x10093ee8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x1001001e
push esi
push 4
call fcn.1003202e
mov esi, eax
pop ecx
test esi, esi
je 0x10010002
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x10010004
xor esi, esi
mov dword [0x10093eec], esi
mov dword [0x10093ee8], 2
pop esi
ret
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10093ee8]
cmp eax, 2
jne 0x10010016
ret

Function at 0x100124cb
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x5c
mov esi, ecx
push 0
push esi
call fcn.10051a60
add esp, 0xc
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push esi
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
xor bl, bl
call fcn.10051a60
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x10012548
cmp byte [ebp - 6], 1
jne 0x10012555
inc bl
cmp dword [ebp - 0x11c], 6
jbe 0x1001254c
mov bl, 1
mov eax, 0x100780a0
test bl, bl
jne 0x1001255a
mov eax, str.Tahoma
push eax
push 0x20
add esi, 0x1c
push esi
call fcn.1004d03b
mov ecx, dword [ebp - 4]
add esp, 0xc
pop esi
xor ecx, ebp
pop ebx
call fcn.1004c55d
leave
ret

Function at 0x10016ab2
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea ebx, [edi + eax*4 + 4]
xor ecx, ecx
cmp dword [ebx], ecx
jne 0x10016afe
mov eax, dword [edi + eax*4 + 0xb8]
push esi
push ecx
push ecx
push ecx
push 6
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x10016afd
push dword [esi + 0xa]
lea eax, [esi + 0xe]
push dword [ebp - 4]
push 0
push 0
push eax
push dword [edi]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop esi
mov eax, dword [ebx]
pop ebx
leave
ret
Function at 0x10016b03
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006e17f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1008f210]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 4
call fcn.1003202e
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x10016b45
lea ecx, [esp + 0x34]
mov dword [eax], ecx
jmp 0x10016b47
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x58], 2
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x44]
movsd dword es:[edi], dword [esi]
call fcn.10016d30
push dword [ebp + 8]
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 1
call fcn.1002ccbd
pop ecx
test eax, eax
jne 0x10016bea
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x10016bbb
push dword [esp + 0x44]
call fcn.10016e78
push dword [esp + 0x40]
call fcn.1004dd0c
pop ecx
xor esi, esi
push dword [esp + 0x34]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.1004dd0c
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov dword [esp + 0x14], edi
push edi
lea esi, [esp + 0x38]
call fcn.10016d0d
cmp dword [eax + 4], ebx
je 0x10016caf
push ebx
push edi
call fcn.10016d0d
push dword [eax + 4]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, ebx
jne 0x10016c2e
mov eax, dword [ebp + 0xc]
mov dword [eax + edi*4], ebx
jmp 0x10016caf
push ebx
push ebx
push ebx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x10016c4b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10016c23
push edi
lea esi, [esp + 0x38]
call fcn.10016d0d
mov ebx, dword [eax + 4]
push edi
call fcn.10016d0d
mov eax, dword [eax]
push edi
mov dword [esp + 0x1c], eax
call fcn.10016d0d
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x1c]
mov edi, ebx
mov ebx, dword [esp + 0x24]
push eax
call fcn.100319fe
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea esi, [eax + ecx*4]
mov eax, dword [esi]
test eax, eax
je 0x10016ca3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov dword [esi], eax
xor ebx, ebx
inc edi
cmp edi, 0x2d
mov dword [esp + 0x14], edi
jl 0x10016bf0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x10016cd8
push dword [esp + 0x44]
call fcn.10016e78
push dword [esp + 0x40]
call fcn.1004dd0c
pop ecx
xor esi, esi
inc esi
jmp 0x10016bbd
Function at 0x100190ed
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
push esi
xor eax, eax
mov edi, 0x10094620
inc eax
push edi
push ecx
mov dword [0x10093ffc], eax
mov dword [0x10094000], ecx
mov dword [0x10091844], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push esi
push 0x10094828
call fcn.1004d03b
push 0x5c
push edi
call fcn.1004c9cc
xor edi, edi
add esp, 0x14
cmp eax, edi
je 0x1001914b
xor ecx, ecx
mov word [eax + 2], cx
push ebx
mov ebx, 0x10094008
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x100191a5
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.10051a60
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.12au_x
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1004c98d
lea eax, [ebp - 0x20c]
push eax
push esi
push ebx
call fcn.1004d464
add esp, 0x1c
mov ebx, 0x10094a30
push ebx
push edi
push edi
push 0x1a
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call edi
push 0x10076de4
push esi
push ebx
call fcn.1004d464
add esp, 0xc
xor eax, eax
mov ebx, 0x10094c38
push ebx
push eax
push eax
push 0x26
push eax
call edi
push 0x10076de4
push esi
push ebx
call fcn.1004d464
add esp, 0xc
call fcn.1001924b
pop ebx
test eax, eax
je 0x100191fa
push 0x10094210
call fcn.100193b0
pop ecx
call fcn.10019308
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x1001923d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySystemInformation
push edi
call esi
push str.NtQueryInformationProcess
push edi
mov dword [0x10093b30], eax
call esi
push str.NtQueryKey
push edi
mov dword [0x10093b2c], eax
call esi
mov dword [0x10093b28], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004c55d
leave
ret

Function at 0x1001924b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareTencentQQBrowser
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100192f9
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10051a60
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push str.InstallDir
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100192ed
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0x10094210
call fcn.1004d03b
add esp, 0xc
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1004c55d
leave
ret
Function at 0x10019829
Capabilities:
Check if file exists

Disassembly:
push 0x230
mov eax, 0x1006e91c
call fcn.100521f6
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x10019849
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10019904
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.10051a60
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x10019882
lea eax, [ebp + 0xc]
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x10019904
lea eax, [ebp - 0x21c]
lea ecx, [ebp + 8]
call fcn.100042f6
cmp dword [ebp + 0x1c], ebx
je 0x10019904
push 1
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x220], 0x5c
call fcn.1000441c
cmp eax, 0xffffffff
je 0x10019904
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 8]
push eax
lea esi, [ebp - 0x23c]
call fcn.10004135
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.1000426a
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.1000457f
lea eax, [ebp + 8]
push eax
mov eax, edi
call fcn.1000bbf5
push ebx
push 1
lea esi, [ebp + 8]
call fcn.1000457f
call fcn.10052279
ret

Function at 0x10019b1e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
mov dword [ebx], edi
cmp dword [ebp + 8], edi
jne 0x10019b2f
xor eax, eax
jmp 0x10019b6f
push esi
push dword [ebp + 8]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
jne 0x10019b4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
xor eax, eax
jmp 0x10019b6e
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
test edi, edi
jne 0x10019b65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop esi
pop edi
pop ebp
ret
Function at 0x10019b72
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x4c0], eax
xor eax, eax
push 0x3e6
mov word [ebp - 0x4bc], ax
xor ebx, ebx
lea eax, [ebp - 0x4ba]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x4c8], esi
call fcn.10051a60
xor eax, eax
mov word [ebp - 0xc], ax
lea edi, [ebp - 0xa]
push 0xc6
stosd dword es:[edi], eax
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0xd2]
push ebx
push eax
call fcn.10051a60
add esp, 0x18
cmp esi, ebx
je 0x10019ccf
cmp dword [ebp - 0x4c0], ebx
je 0x10019ccf
lea eax, [ebp - 0x4bc]
push eax
push 0x1f3
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10019cbd
mov dword [ebp - 0x4c4], ebx
cmp word [ebp - 0x4bc], bx
je 0x10019cbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea esi, [ebp - 0x4bc]
xor edi, edi
push 0x10078c80
push esi
call ebx
test eax, eax
je 0x10019c9d
push 0x10078c88
push esi
call ebx
test eax, eax
je 0x10019c9d
mov ax, word [esi]
mov word [ebp - 0xc], ax
mov ax, word [ebp + edi - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
push 0x64
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10019ccf
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x4c8]
mov esi, eax
push esi
lea eax, [ebp - 0xd4]
push eax
push edi
call fcn.1004dc45
add esp, 0xc
test eax, eax
je 0x10019ce0
add dword [ebp - 0x4c4], 4
mov edi, dword [ebp - 0x4c4]
add edi, edi
lea esi, [ebp + edi - 0x4bc]
cmp word [esi], 0
jne 0x10019c2b
push dword [ebp - 0x4c8]
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004c55d
leave
ret
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [edi + esi*2]
push eax
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
inc eax
jmp 0x10019cd1

Function at 0x10019d05
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
test esi, esi
je 0x10019d5a
push edi
push dword [ebp + 8]
mov word [esi], ax
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10019d57
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x10019d67
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1004c55d
leave
ret
push esi
lea ecx, [ebp - 0x20c]
call fcn.10019b72
xor esi, esi
pop ecx
test eax, eax
jne 0x10019d85
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x10019d59
inc esi
jmp 0x10019d7a
Function at 0x1001a07c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push str.QQBrowserMainFrame
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001a108
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001a0d2
push str.EndTask
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a0d2
push 1
push 0
push edi
call eax
jmp 0x1001a10b
push dword [ebp - 4]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1001a108
push 0xbb8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1001a101
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
leave
ret

Function at 0x1001a3c3
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x1006f3c8
call fcn.100521f6
call fcn.1001936e
mov esi, eax
call fcn.1001938f
xor ebx, ebx
mov edi, eax
cmp esi, ebx
je 0x1001a47b
cmp edi, ebx
je 0x1001a47b
push esi
lea esi, [ebp - 0x2c]
call fcn.100040e3
push edi
lea esi, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.100040e3
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
mov byte [ebp - 4], 1
call fcn.1002770a
pop ecx
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.1000457f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001a42b
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a470
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001a442
lea eax, [ebp - 0x28]
push eax
lea esi, [ebp - 0x48]
call fcn.100040e3
mov eax, esi
mov byte [ebp - 4], 2
call fcn.10027878
push ebx
push 1
movzx edi, al
call fcn.1000457f
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.1000457f
mov eax, edi
jmp 0x1001a47e
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.1000457f
xor eax, eax
inc eax
call fcn.10052279
ret
Function at 0x1001a484
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x74
mov eax, 0x1006f388
call fcn.100521f6
call fcn.1001936e
xor ebx, ebx
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x1001a5f9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a5f9
lea eax, [ebp - 0x4c]
push eax
call fcn.1002423a
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
push 0x1c
cdq
pop ecx
idiv ecx
xor edi, edi
test eax, eax
jle 0x1001a554
push dword [ebp - 0x34]
lea esi, [ebp - 0x30]
call fcn.100040e3
push edi
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1000bbd1
lea ecx, [ebp - 0x30]
push ecx
call fcn.1002770a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
jae 0x1001a502
lea eax, [ebp - 0x2c]
push eax
call fcn.10027d3b
pop ecx
test al, al
je 0x1001a535
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1001a519
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x80]
call fcn.100040e3
mov eax, esi
mov byte [ebp - 4], 2
call fcn.10027878
push ebx
push 1
call fcn.1000457f
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.1000457f
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
push 0x1c
cdq
pop ecx
idiv ecx
inc edi
cmp edi, eax
jl 0x1001a4d4
lea eax, [ebp - 0x64]
push eax
call fcn.1002427c
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
push 0x1c
cdq
pop ecx
idiv ecx
xor edi, edi
test eax, eax
jle 0x1001a5c9
push dword [ebp - 0x34]
lea esi, [ebp - 0x30]
call fcn.100040e3
push edi
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.1000bbd1
lea ecx, [ebp - 0x30]
push ecx
call fcn.1002770a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
jae 0x1001a5a2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.1000457f
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
push 0x1c
cdq
pop ecx
idiv ecx
inc edi
cmp edi, eax
jl 0x1001a574
push dword [ebp - 0x34]
call fcn.1001a601
pop ecx
lea esi, [ebp - 0x64]
call fcn.10004651
push dword [ebp - 0x64]
call fcn.1004dd0c
pop ecx
lea esi, [ebp - 0x4c]
call fcn.10004651
push dword [ebp - 0x4c]
call fcn.1004dd0c
xor eax, eax
pop ecx
inc eax
jmp 0x1001a5fb
xor eax, eax
call fcn.10052279
ret
Function at 0x1001a6ee
Capabilities:
Copy file
Move file

Disassembly:
push 0xa4
mov eax, 0x1006d0b3
call fcn.100521f6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp dword [ebp + 0x14], edi
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], edi
jle 0x1001a842
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x78]
lea eax, [eax + ecx*4]
push dword [eax]
lea esi, [ebp - 0x94]
mov dword [ebp - 0x6c], eax
call fcn.100040e3
push dword [ebp - 0x74]
mov ebx, esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call fcn.1001a6b0
pop ecx
push edi
push 1
mov byte [ebp - 4], 2
call fcn.1000457f
mov eax, dword [ebp - 0x6c]
push dword [eax]
lea esi, [ebp - 0xb0]
call fcn.100040e3
push dword [ebp - 0x70]
mov ebx, esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.1001a6b0
pop ecx
push edi
push 1
mov byte [ebp - 4], 5
call fcn.1000457f
mov ecx, dword [ebp - 0x28]
push 8
pop ebx
cmp dword [ebp - 0x14], ebx
jae 0x1001a796
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], ebx
jae 0x1001a7a1
lea eax, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
push ecx
push eax
call esi
mov dword [ebp - 0x6c], eax
cmp eax, edi
jne 0x1001a819
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x1001a819
push str..new
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1000c54c
mov ecx, dword [ebp - 0x60]
add esp, 0xc
cmp dword [ebp - 0x4c], ebx
jae 0x1001a7de
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], ebx
jae 0x1001a7e9
lea eax, [ebp - 0x44]
push edi
push ecx
push eax
call esi
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
jae 0x1001a7f9
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x4c], ebx
jae 0x1001a804
lea eax, [ebp - 0x60]
push 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
push 1
lea esi, [ebp - 0x64]
call fcn.1000457f
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.1000457f
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.1000457f
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp + 0x14]
jl 0x1001a724
mov eax, dword [ebp - 0x6c]
call fcn.10052279
ret

Function at 0x1001a8df
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x1001a963
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a963
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10051a60
push str.QBSafe.dll
push esi
push str._s_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1004c98d
add esp, 0x20
push 1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ole32.dll_CoLoadLibrary]
test eax, eax
je 0x1001a963
push str.GenInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a963
push 1
call eax
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004c55d
leave
ret