joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
js 0x10007b47
cmp eax, dword [ecx + 0x218]
jge 0x10007b47
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x10007b47
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x812]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp ecx, dword [esi + 0x104]
jne 0x100079d6
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x100079d6
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x10007a93
mov ecx, dword [esi + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0x812]
movzx ecx, word [ebp - 0x816]
movzx edx, word [ebp - 0x818]
push eax
push ecx
push edx
mov dword [esi + 0x10c], edx
lea edx, [esi + 4]
push edx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
call ebx
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10007a5d
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10007a93
mov eax, dword [esi + 0x210]
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
push 0x3ff
lea ecx, [ebp - 0x807]
push 0
push ecx
mov byte [ebp - 0x808], 0
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
push 0x3ff
lea edx, [ebp - 0x407]
push 0
push edx
mov byte [ebp - 0x408], 0
call sub.MSVCR100.dll_memset
movzx ecx, word [ebp - 0x80c]
movzx edx, word [ebp - 0x80e]
lea eax, [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x810]
push ecx
push edx
push eax
lea ecx, [ebp - 0x408]
push str._02d:_02d:_02d__s_r_n
push ecx
call ebx
lea eax, [ebp - 0x408]
add esp, 0x40
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007b20
mov ecx, dword [esi + 0x210]
sub eax, edx
push 0
lea edx, [ebp - 0x81c]
push edx
push eax
lea eax, [ebp - 0x408]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret

Function at 0x10007b90
Capabilities:
Create thread

Disassembly:
cmp dword [0x1012bea8], 0
je 0x10007bd6
mov eax, dword [0x1012bc1c]
push 0x1012c22c
mov dword [0x10121248], eax
xor eax, eax
push eax
push 0x10121244
push 0x10007cc0
push eax
push eax
mov dword [0x10121250], eax
mov dword [0x10121254], eax
mov dword [0x10121258], eax
mov dword [0x1012125c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1012124c], eax
ret
Function at 0x10007be0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x1012becc], 0
je 0x10007bfd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1012becc]
cmp eax, dword [ecx]
jne case.0x10007c33.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x10121250]
cmp eax, 0x1388
jb 0x10007c28
call edi
mov dword [esi*4 + 0x10121250], eax
mov dword [esi*4 + 0x10121258], 0
mov eax, dword [0x1012beac]
pop edi
cmp eax, 5
ja case.default.0x10007c33
jmp dword [eax*4 + 0x10007ca0]
inc dword [esi*4 + 0x10121258]
cmp dword [esi*4 + 0x10121258], 0x19
jmp 0x10007c8d
inc dword [esi*4 + 0x10121258]
cmp dword [esi*4 + 0x10121258], 0x14
jmp 0x10007c8d
inc dword [esi*4 + 0x10121258]
cmp dword [esi*4 + 0x10121258], 0xf
jmp 0x10007c8d
inc dword [esi*4 + 0x10121258]
cmp dword [esi*4 + 0x10121258], 0xa
jmp 0x10007c8d
inc dword [esi*4 + 0x10121258]
cmp dword [esi*4 + 0x10121258], 5
jbe case.0x10007c33.0
push 0
push 9
xor ecx, ecx
call fcn.10004170
add esp, 8
ret

Function at 0x10007e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007ed3
lea ecx, [ebp - 8]
push ecx
push 0x10121264
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10007ec9
push 0x10016c14
push 0x10
push 0x10121264
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x100081f0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000832c
push 0x104
lea eax, [ebp - 0x458]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10008325
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x458]
call fcn.1000fca0
add esp, 4
test al, al
je 0x10008325
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x48]
call fcn.100072a0
cmp al, 1
jne 0x10008325
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x48]
call fcn.10007420
test al, al
jne 0x100082a6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10004170
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x48]
push ecx
lea edi, [ebp - 0x250]
call fcn.10007000
test al, al
je 0x1000827f
mov edx, edi
push edx
lea ecx, [ebp - 0x48]
call fcn.100076f0
test al, al
jne 0x100082ef
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 2
lea ecx, [ebp - 0x48]
call fcn.10004170
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x250]
call fcn.10005020
test al, al
jne 0x10008325
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 5
lea ecx, [ebp - 0x48]
call fcn.10004170
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x10008590
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014080
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1001b018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov ecx, dword [0x1012c088]
sub ecx, dword [0x1012c084]
mov dword [ebp - 0x14], eax
mov eax, 0xdd67c8a7
imul ecx
mov eax, dword [ebp - 0x14]
add edx, ecx
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
or ebx, 0xffffffff
cmp edi, eax
ja 0x10008604
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, 0x10008690
ret
imul eax, eax, 0x128
add eax, dword [0x1012c084]
mov ecx, dword [eax]
cmp ecx, dword [esi + 0xc]
jne 0x1000864c
lea ecx, [esi + 0x10]
add eax, 0x24
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10008640
test dl, dl
je 0x1000863c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10008640
add eax, 2
add ecx, 2
test dl, dl
jne 0x10008620
xor eax, eax
jmp 0x10008645
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000864c
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ebx, 0xffffffff
je 0x10008690
cmp edi, ebx
ja 0x10008667
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
imul ebx, ebx, 0x128
add ebx, dword [0x1012c084]
mov edx, dword [ebx]
push edx
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x10008690
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008b50
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1594
call fcn.10013e60
mov eax, dword [0x1001b018]
xor eax, esp
mov dword [esp + 0x1590], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x150]
xor edi, edi
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10008baa
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1590]
xor ecx, esp
call fcn.10013454
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
shr esi, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
cmp esi, edi
jle 0x10008c99
lea eax, [esp + edi*4 + 0x148]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
test eax, eax
je 0x10008c8c
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x10008c85
push 0x104
lea edx, [esp + 0x118c]
push edx
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10008c85
lea esi, [esp + 0x1188]
call fcn.1000ff40
push eax
lea eax, [esp + 0x114c]
push 0x10016818
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x139c]
push ecx
mov ecx, esi
call fcn.1000fca0
add esp, 0x10
test al, al
je 0x10008c81
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, 8
lea esi, [esp + 0x1148]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1390]
push ecx
lea edx, [esp + 0x48]
push 0x10016c8c
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call fcn.100092d0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [esp + 0x10], edi
cmp edi, esi
jl 0x10008bc1
mov ecx, dword [esp + 0x159c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x10008cb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x128c
call fcn.10013e60
mov eax, dword [0x1001b018]
xor eax, esp
mov dword [esp + 0x1288], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x10008d06
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1288]
xor ecx, esp
call fcn.10013454
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x10008e12
xor esi, esi
test dword [esp + 0x14], 0xfffffffc
mov dword [esp + 0x10], esi
jbe 0x10008e12
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
mov edi, edi
lea eax, [esp + esi*4 + 0x20]
push 0x104
lea edx, [esp + 0x118c]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
push edx
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x10008dfe
lea ecx, [esp + 0x1188]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea edx, [esp + 0x114c]
push 0x10016c90
push edx
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x1194]
push edx
mov dword [esp + 0x1030], ecx
lea eax, [esp + 0x1054]
push 0x10016c90
mov ecx, 8
lea esi, [esp + 0x115c]
lea edi, [esp + 0x1038]
push eax
rep movsd dword es:[edi], dword [esi]
call ebx
mov ecx, dword [0x1012c088]
add esp, 0x18
cmp ecx, dword [0x1012c08c]
jne 0x10008dd4
call fcn.10009320
mov edi, dword [0x1012c088]
test edi, edi
je 0x10008dec
mov ecx, 0x4a
lea esi, [esp + 0x1020]
rep movsd dword es:[edi], dword [esi]
add dword [0x1012c088], 0x128
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc esi
shr edx, 2
mov dword [esp + 0x10], esi
cmp esi, edx
jb 0x10008d40
mov ecx, dword [esp + 0x1294]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x100097d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.10013e60
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
push ecx
mov dword [ebp - 0x1014], 0
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10009824
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1014]
shr eax, 2
xor ecx, ecx
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0x1010], eax
test eax, eax
jle 0x10009900
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + ecx*4 - 0x1008]
test esi, esi
je 0x100098eb
push 0x1012c1c4
mov dword [ebp - 0x101c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [ebp - 0x101c]
lea eax, [ebp - 0x1018]
mov ecx, 0x1012c1dc
call fcn.10009f00
mov eax, dword [ebp - 0x1018]
push 0x1012c1c4
cmp eax, dword [0x1012c1e0]
je 0x100098a8
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1020], edx
mov dword [ebp - 0x101c], eax
call edi
jmp 0x100098e5
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call fcn.10009c10
mov esi, dword [ebp - 0x100c]
mov ecx, dword [ebp + esi*4 - 0x1008]
call fcn.10009920
test al, al
je 0x10009811
mov ebx, dword [ebp + esi*4 - 0x1008]
call fcn.100081f0
test al, al
je 0x10009811
mov eax, dword [ebp - 0x1010]
mov ecx, dword [ebp - 0x100c]
inc ecx
mov dword [ebp - 0x100c], ecx
cmp ecx, eax
jl 0x10009849
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret

Function at 0x100099f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10013e60
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x10009a41
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x10009aa6
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x10009aa1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10009a98
test dl, dl
je 0x10009a94
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10009a98
add eax, 2
add ecx, 2
test dl, dl
jne 0x10009a78
xor eax, eax
jmp 0x10009a9d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10009aba
inc esi
cmp esi, edi
jl 0x10009a50
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10013454
mov esp, ebp
pop ebp
ret 4
Function at 0x10009ad0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x10009b0c
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10009b13
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
pop esi
pop ebp
ret 4
push 0x10016d78
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009afe
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x10009afe
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x10009b06
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x1000aba0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call fcn.10001030
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4f00]
mov eax, str..DataLocalLicense.json
call fcn.10001270
test al, al
je 0x1000ac13
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str..DataLocalLicense.json
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000ac13
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e54
je 0x1000ac25
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013454
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4e54
lea esi, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000ac0c
mov eax, esi
mov ecx, 0x4e54
mov dl, byte [eax]
add dl, 0x7d
xor dl, 0xf5
mov byte [eax], dl
inc eax
dec ecx
jne 0x1000ac53
call fcn.10007e60
lea eax, [ebx + 0x100]
call fcn.10007ee0
lea eax, [ebx + 0x1ac8]
call fcn.10007f40
lea eax, [ebx + 0x3490]
call fcn.10007fa0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x1000ae50
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x4e58]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ae73
sub eax, edx
cmp eax, 3
jb 0x1000af4b
cmp dword [edi + 0x4e78], 0
je 0x1000af18
lea esi, [ebp - 0x408]
call fcn.10001030
mov eax, esi
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.10001270
test al, al
jne 0x1000aed4
mov esi, 0x1012af78
call fcn.1000fac0
mov esi, 0x1012b0a0
call fcn.1000fac0
mov esi, 0x1012b1c8
call fcn.1000fac0
call fcn.1000fc20
mov ecx, dword [edi + 0x4e78]
cmp ecx, dword [ebp - 0x40c]
je 0x1000af18
mov esi, 0x1012af78
call fcn.1000fac0
mov esi, 0x1012b0a0
call fcn.1000fac0
mov esi, 0x1012b1c8
call fcn.1000fac0
push 0x10
add edi, 0x46
push edi
push str.Launcher_not_found_or_invalid_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.1000fc20
push str.32770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000af44
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.1000fc20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013454
mov esp, ebp
pop ebp
ret
Function at 0x1000af60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
call fcn.100068d0
call fcn.10006a40
test eax, eax
je 0x1000b0d0
mov ecx, 0x1f
call fcn.100080a0
mov esi, eax
push esi
push 1
push 2
push 0x1001b060
mov dword [ebp - 4], esi
call fcn.10010270
add esp, 4
push eax
push 0
mov ecx, 0x10121028
call fcn.10007950
add esp, 0x14
cmp byte [0x10126144], 1
jne 0x1000afe7
cmp dword [0xe609e8], 2
push esi
jle 0x1000afc5
call fcn.10010030
jmp 0x1000afca
call fcn.1000d360
add esp, 4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x1012b1c8
call fcn.1000fac0
call fcn.1000fc20
mov eax, dword [0x1012af7c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000b01e
push 0
push 0
push 0x10
push eax
call esi
mov eax, dword [0x1012bc1c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012af7c], 0
call edi
mov eax, dword [0x1012b0a4]
test eax, eax
je 0x1000b049
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x1012bc1c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012b0a4], 0
call edi
mov eax, dword [0x1012b1cc]
test eax, eax
je 0x1000b075
push 0
push 0
push 0x10
push eax
call esi
mov ecx, dword [0x1012bc1c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012b1cc], 0
call edi
mov eax, dword [ebp - 4]
push 0x2b39c0
push 0x6a
mov esi, 0x1012b1c8
call fcn.1000f8c0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000ff90
push 0
push 0
mov dword [0x1012b1d0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1012b1d0]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x1012b1d0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000afcd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b6c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100142c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1001b018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1012af74]
cmp eax, 0x927c0
jb 0x1000b703
call esi
mov dword [0x1012af74], eax
xor esi, esi
cmp dword [0x1012af58], esi
je 0x1000b775
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov edx, dword [0x1012af5c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1000b390
mov edi, dword [ebp - 0x20]
test al, al
je 0x1000b75d
cmp edi, dword [ebp - 0x1c]
je 0x1000b75d
lea ecx, [ebp - 0x20]
push ecx
call fcn.1000b790
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000b775
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10014298
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x1001b018]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1012af74]
cmp eax, 0x927c0
jb 0x1000bdd7
call esi
mov dword [0x1012af74], eax
xor esi, esi
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
push 0x14
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x48], esi
call fcn.1000b390
mov edi, dword [esp + 0x14]
test al, al
jne 0x1000be28
cmp edi, dword [esp + 0x18]
jne 0x1000be32
lea eax, [esp + 0x14]
push eax
call fcn.1000c070
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000be4b
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret