joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003a64
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
movzx eax, word [ebp + eax*2 - 0x7e]
cmp ax, 0x5c
je 0x10003acc
cmp ax, 0x2f
je 0x10003acc
lea eax, [ebp - 0x7c]
push 0x1001b988
push eax
call dword [sym.imp.MSVCR90.dll_wcscat]
pop ecx
pop ecx
test esi, esi
je 0x10003adb
push esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, edi
call fcn.10018dd2
add ebp, 0x190
leave
ret

Function at 0x10003afe
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
push 0x118
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call esi
test eax, eax
jne 0x10003b55
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x10003b5c
cmp dword [ebp - 0x7c], 6
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.10018dd2
add ebp, 0xa0
leave
ret

Function at 0x10003b72
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x10003c1e
cmp dword [ebp + 0xc], ebx
je 0x10003c1e
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jbe 0x10003c19
push edi
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10013188
pop ecx
mov edi, eax
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10003c11
and dword [ebp + 8], ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 0x1001b988
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10003c11
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR90.dll__swprintf]
add esp, 0x18
inc ebx
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, ebx
pop esi
jmp 0x10003c20
xor eax, eax
pop ebx
leave
ret
Function at 0x10003da1
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.MSVCR90.dll_memset
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy]
add esp, 0x14
push 0x1001d314
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10003e44
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003e44
lea eax, [ebp - 0x430]
push edi
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10003e54
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10003e11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10018dd2
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x10003e46

Function at 0x100045a1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x100045f9
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push esi
push dword [ebp + 8]
push esi
push esi
call edi
mov ebx, eax
jmp 0x100045f3
lea eax, [ebp - 4]
push eax
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push dword [ebp + 8]
mov dword [ebp - 8], eax
push ebx
push esi
call edi
push esi
push dword [ebp - 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp ebx, esi
jne 0x100045c2
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100047d9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push ebx
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerExtensions
push reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004901
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x78]
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10004901
cmp dword [ebp - 0x70], ebx
je 0x10004901
push edi
push 0x13
pop ecx
mov esi, str.24C1D00E_0B92_4379_880B_444FA2D740DD
lea edi, [ebp + 0x14]
rep movsd dword es:[edi], dword [esi]
push 0x32
lea eax, [ebp + 0x62]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.MSVCR90.dll_memset
xor eax, eax
push 0x7e
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0x18
push 0x40
mov dword [ebp - 0x74], ebx
pop edi
cmp dword [ebp - 0x70], ebx
jbe 0x100048ec
mov esi, dword [sym.imp.MSVCR90.dll__wcslwr]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100048e1
lea eax, [ebp + 0x14]
push eax
call esi
lea eax, [ebp - 0x6c]
push eax
call esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.MSVCR90.dll_wcscmp]
add esp, 0x10
test eax, eax
jl 0x100048e1
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1000477d
pop ecx
pop ecx
inc dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x70]
jb 0x10004892
push edi
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.MSVCR90.dll_wcsncpy]
add esp, 0xc
xor esi, esi
inc esi
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x94]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018dd2
add ebp, 0x98
leave
ret
Function at 0x1000620f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
xor edi, edi
lea eax, [ebp - 0x412]
push edi
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1c
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
pop edi
pop esi
test eax, eax
jl 0x100062bd
push str.VirtualStore
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x100062bd
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10005c72
pop ecx
pop ecx
test eax, eax
je 0x100062bd
lea eax, [ebp - 0x414]
push eax
call fcn.10003e60
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018dd2
leave
ret
Function at 0x10006c32
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x290]
sub esp, 0x31c
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp + 0x28c], eax
mov eax, dword [ebp + 0x298]
push ebx
push esi
mov dword [ebp + 0x78], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp + 0x7c], ebx
push 0x206
mov word [ebp + 0x84], ax
lea eax, [ebp + 0x86]
mov esi, ecx
push ebx
push eax
mov dword [ebp + 0x80], esi
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
jne 0x10006ca2
push ebx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, esi
jmp 0x10006ddf
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10006d1b
lea ecx, [ebp + 0x7c]
push ecx
push ebx
push ebx
push 0x10023fa8
mov dword [ebp + 0x7c], ebx
call eax
test eax, eax
jl 0x10006c92
push dword [ebp + 0x7c]
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
call fcn.10005ec8
push dword [ebp - 0x8c]
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy]
lea eax, [ebp - 0x88]
pop ecx
pop ecx
cmp dword [ebp - 0x8c], eax
je 0x10006d10
push dword [ebp - 0x8c]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
push dword [ebp + 0x7c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10006d2d
lea eax, [ebp + 0x84]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
push str.Thunder_Network_
lea eax, [ebp + 0x84]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp + 0x84]
push eax
call edi
cmp eax, 0xffffffff
je 0x10006d67
test al, 0x10
jne 0x10006d7c
push ebx
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10006d7c
push ebx
jmp 0x10006dcc
push str.XMP4_
lea eax, [ebp + 0x84]
push eax
call esi
lea eax, [ebp + 0x84]
push eax
call edi
cmp eax, 0xffffffff
je 0x10006d9c
test al, 0x10
jne 0x10006dae
push ebx
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10006d79
cmp dword [ebp + 0x78], ebx
je 0x10006dc5
push dword [ebp + 0x78]
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.MSVCR90.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp + 0x84]
push eax
mov ecx, dword [ebp + 0x80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [ebp + 0x80]
pop edi
mov ecx, dword [ebp + 0x28c]
pop esi
xor ecx, ebp
pop ebx
call fcn.10018dd2
add ebp, 0x290
leave
ret
Function at 0x10009cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [0x1002ce2c]
push ebp
push esi
mov esi, ecx
test eax, eax
je 0x10009ce2
xor eax, eax
jmp 0x10009d9a
mov eax, dword [esi + 0x24]
push ebx
or ebx, 0xffffffff
push edi
cmp eax, ebx
jne 0x10009d42
push 0x11
push 0
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x10009d95
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, str.C:TSLOG_CONFIGTSLOG.ini
push ebp
call edi
cmp eax, ebx
jne 0x10009d37
mov ebx, str.C:TSLOG_CONFIGTSLOG.txt
push ebx
call edi
cmp eax, 0xffffffff
jne 0x10009d37
push ebp
call edi
cmp eax, 0xffffffff
jne 0x10009d37
push ebx
call edi
cmp eax, 0xffffffff
je 0x10009d68
push 0
mov ecx, esi
call fcn.10008f0d
jmp 0x10009d95
xor edi, edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x10009d6c
cmp eax, 0x102
je 0x10009d68
push 0x11
push edi
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
xor eax, eax
jmp 0x10009d98
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
push edi
mov ecx, esi
mov dword [esi + 0x24], ebx
call fcn.10008f0d
test eax, eax
je 0x10009d95
push 0x11
push edi
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x1000c5f9
Capabilities:
Terminate thread

Disassembly:
push 0x20
mov eax, 0x1001a0d4
call fcn.10018de1
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], ebp
push edi
push dword [ebp - 0x10]
push str.int___thiscall_OpenGetter::GetOpenUrl_wchar_t__wchar_t__wchar_t__wchar_t__
call fcn.1000b484
mov esi, eax
add esp, 0xc
mov eax, 0x1001f628
cmp esi, edi
jne 0x1000c630
mov esi, eax
push edi
push edi
push edi
push ebx
push eax
push 0x1001f5f4
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000a370
mov dword [ebp - 4], edi
cmp esi, edi
jne 0x1000c64c
push ebp
pop ebp
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [0x1002b428], edi
je 0x1000c798
cmp dword [ebp + 8], edi
je 0x1000c798
mov esi, dword [0x1002b448]
sub esi, dword [0x1002b444]
sar esi, 2
cmp esi, edi
jle 0x1000c798
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR90.dll_srand]
call dword [sym.imp.MSVCR90.dll_rand]
cdq
idiv esi
mov edi, 0x1001f5c4
push edi
mov esi, edx
call fcn.10005425
pop ecx
pop ecx
test eax, eax
jne 0x1000c6d1
push 1
push esi
push str.index
push ebx
push edi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000152a
mov ecx, eax
call fcn.1000a33f
push esi
mov ecx, 0x1002b438
call fcn.10004a4f
mov esi, dword [eax]
cmp dword [esi + 0x18], 8
jb 0x1000c6e9
mov eax, dword [esi + 4]
jmp 0x1000c6ec
lea eax, [esi + 4]
mov ebx, dword [sym.imp.MSVCR90.dll_wcscpy]
push eax
push dword [ebp + 0xc]
call ebx
cmp dword [esi + 0x34], 8
pop ecx
pop ecx
jb 0x1000c705
mov eax, dword [esi + 0x20]
jmp 0x1000c708
lea eax, [esi + 0x20]
push eax
push dword [ebp + 0x10]
call ebx
cmp dword [esi + 0x50], 8
pop ecx
pop ecx
jb 0x1000c71b
mov esi, dword [esi + 0x3c]
jmp 0x1000c71e
add esi, 0x3c
push esi
push dword [ebp + 0x14]
call ebx
push edi
call fcn.10005425
add esp, 0xc
test eax, eax
jne 0x1000c787
push 1
push dword [ebp + 0x14]
push str.__szUrl
push dword [ebp + 0x10]
push str.__szText
push dword [ebp + 0xc]
push str.szId
push dword [ebp - 0x14]
push edi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000a33f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1000be71
xor eax, eax
inc eax
jmp 0x1000c7a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1000be71
xor eax, eax
call fcn.10018eb9
ret 0x10
Function at 0x1000db98
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 4], ebp
push 1
push dword [ebp - 4]
push str.void___cdecl_GetXLProfileFolder_wchar_t__wchar_t__
call fcn.1000b484
mov esi, eax
add esp, 0xc
mov eax, 0x10020380
cmp esi, edi
jne 0x1000dbcb
mov esi, eax
push edi
push edi
push edi
push edi
push eax
push 0x10020358
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000a370
cmp esi, edi
jne 0x1000dbe4
push ebp
pop ebp
mov esi, dword [ebp + 8]
xor eax, eax
push str.shell32.dll
mov word [esi], ax
mov word [esi + 2], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x1000dccf
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x1000dc7a
lea ecx, [ebp + 8]
push ecx
push edi
push edi
push 0x10023fa8
mov dword [ebp + 8], edi
call eax
test eax, eax
jl 0x1000dccf
push dword [ebp + 8]
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], eax
call fcn.10005ec8
push dword [ebp - 0x120]
push esi
call dword [sym.imp.MSVCR90.dll_wcscpy]
lea eax, [ebp - 0x11c]
pop ecx
pop ecx
cmp dword [ebp - 0x120], eax
je 0x1000dc6f
push dword [ebp - 0x120]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1000dc86
push esi
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Thunder_Network_
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 0xffffffff
je 0x1000dcb1
test al, 0x10
jne 0x1000dcba
push 0
push esi
call edi
test eax, eax
je 0x1000dccf
push dword [ebp + 0xc]
push esi
call ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000dccf
push eax
push esi
call edi
lea ecx, [ebp - 0x1c]
call fcn.1000be71
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000dcdc
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 4], ebp
push 1
push dword [ebp - 4]
push str.void___cdecl_GetProfileFolder_wchar_t__wchar_t__
call fcn.1000b484
mov esi, eax
add esp, 0xc
mov eax, 0x10020458
cmp esi, edi
jne 0x1000dd0c
mov esi, eax
push edi
push edi
push edi
push edi
push eax
push 0x10020430
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000a370
cmp esi, edi
jne 0x1000dd25
push ebp
pop ebp
mov esi, dword [ebp + 8]
push 0x1001d410
push esi
call sym.XmpSetupHelper.dll_GetXLProfileFolder
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
pop ecx
pop ecx
push str.XMP4
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 0xffffffff
je 0x1000dd59
test al, 0x10
jne 0x1000dd62
push 0
push esi
call edi
test eax, eax
je 0x1000dd77
push dword [ebp + 0xc]
push esi
call ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000dd77
push eax
push esi
call edi
lea ecx, [ebp - 0x1c]
call fcn.1000be71
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000df96
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xdc], ebp
push 1
push dword [ebp - 0xdc]
push str.void___cdecl_GetMaxFreeSpaceDisk_wchar_t__
call fcn.1000b484
mov edi, eax
add esp, 0xc
mov eax, 0x10020790
cmp edi, esi
jne 0x1000dfdf
mov edi, eax
push esi
push esi
push esi
push esi
push eax
push 0x10020760
push edi
lea ecx, [ebp - 0x104]
call fcn.1000a370
cmp edi, esi
jne 0x1000dffb
push ebp
pop ebp
xor eax, eax
mov edi, 0x10020738
push edi
mov word [ebx], ax
mov word [ebx + 2], ax
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000e032
push 1
push str.::GetLogicalDriveStrings
push esi
push edi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000a33f
lea eax, [ebp - 0xd8]
push eax
push 0xd0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000e110
cmp word [ebp - 0xd8], 0
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], esi
lea esi, [ebp - 0xd8]
je 0x1000e0df
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1000e0cd
and dword [ebp - 0xec], 0
xor eax, eax
push eax
push eax
lea edi, [ebp - 0xe8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xec]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1000e0c8
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [ebp - 0xe0]
jb 0x1000e0c8
mov eax, dword [ebp - 0xec]
ja 0x1000e0b6
cmp eax, dword [ebp - 0xe4]
jbe 0x1000e0c8
mov dword [ebp - 0xe4], eax
mov ax, word [esi]
mov dword [ebp - 0xe0], ecx
mov word [ebx], ax
mov edi, 0x10020738
push esi
call dword [sym.imp.MSVCR90.dll_wcslen]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x1000e068
push edi
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000e110
push 1
push ebx
push str.MaxFreeSpaceDisk:
push eax
push edi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000a33f
lea ecx, [ebp - 0x104]
call fcn.1000be71
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018dd2
leave
ret
Function at 0x1000e5bd
Capabilities:
Terminate process

Disassembly:
push 0x20
mov eax, 0x1001a0d4
call fcn.10018de1
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], ebp
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x10]
push str.void___cdecl_KillProcessById_long_
call fcn.1000b484
mov esi, eax
add esp, 0xc
mov eax, 0x10020e18
cmp esi, edi
jne 0x1000e5f2
mov esi, eax
push edi
push edi
push edi
push edi
push eax
push 0x10020df0
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000a370
mov dword [ebp - 4], edi
cmp esi, edi
jne 0x1000e60e
push ebp
pop ebp
push dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, 0x10020dd0
mov dword [ebp - 0x14], eax
push esi
cmp eax, edi
je 0x1000e6b0
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000e651
push ebx
push str.Try_to_Terminate_process.
push edi
push esi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000a33f
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, edi
je 0x1000e69a
push esi
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000e672
push ebx
push str.Terminate_process_okay.
jmp 0x1000e683
push esi
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000e69a
push ebx
push str.Terminate_process_failed.
push edi
push esi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000a33f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000e6d7
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000e6d7
push ebx
push str.Open_process_failed.
push edi
push esi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000a33f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1000be71
call fcn.10018eb9
ret