joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100088e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1011b358]
push ebx
push esi
push edi
test eax, eax
js 0x100089ec
cmp eax, 1
jge 0x100089ec
imul edi, eax, 0x214
inc eax
push str..HackLogs
push 0x100
mov dword [0x1011b358], eax
add edi, 0x1011b144
lea ebx, [edi + 4]
mov dword [edi], 1
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
cmp dword [edi], 0
je 0x100089ec
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0xe]
lea esi, [edi + 0x110]
movzx ecx, word [ebp - 0x12]
movzx eax, word [ebp - 0x14]
push edx
push ecx
push eax
push ebx
push str.._s_04d__02d__02d.log
push esi
mov dword [edi + 0x104], edx
mov dword [edi + 0x108], ecx
mov dword [edi + 0x10c], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x210], eax
cmp eax, 0xffffffff
jne 0x100089c8
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100089ec
push dword [edi + 0x210]
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
Function at 0x10008a00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
test eax, eax
js 0x10008be6
cmp eax, dword [ecx + 0x218]
jge 0x10008be6
imul edi, eax, 0x214
add edi, ecx
cmp dword [edi + 4], 0
je 0x10008be6
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x816]
cmp eax, dword [edi + 0x108]
jne 0x10008a7f
movzx eax, word [ebp - 0x81a]
cmp eax, dword [edi + 0x10c]
jne 0x10008a7f
movzx eax, word [ebp - 0x81c]
cmp eax, dword [edi + 0x110]
je 0x10008b3e
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, word [ebp - 0x816]
lea esi, [edi + 0x114]
movzx ecx, word [ebp - 0x81a]
movzx eax, word [ebp - 0x81c]
push edx
push ecx
push eax
mov dword [edi + 0x110], eax
lea eax, [edi + 8]
push eax
push str.._s_04d__02d__02d.log
push esi
mov dword [edi + 0x108], edx
mov dword [edi + 0x10c], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x214], eax
cmp eax, 0xffffffff
jne 0x10008b09
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10010f8a
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 0x10008b3e
push dword [edi + 0x214]
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x80c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x80c]
call fcn.10008c00
add esp, 0xc
lea eax, [ebp - 0x40c]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
movzx eax, word [ebp - 0x810]
push eax
movzx eax, word [ebp - 0x812]
push eax
movzx eax, word [ebp - 0x814]
push eax
lea eax, [ebp - 0x40c]
push str._02d:_02d:_02d__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x40c]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008bc0
push 0
lea eax, [ebp - 0x820]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x40c]
push eax
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.10010f8a
mov esp, ebp
pop ebp
ret

Function at 0x10008c70
Capabilities:
Create thread

Disassembly:
cmp dword [0x10125c00], 0
je 0x10008cad
mov eax, dword [0x10125c84]
xorps xmm0, xmm0
push 0x10126064
push 0
push 0x1011b124
push 0x10008d90
push 0
push 0
mov dword [0x1011b128], eax
movups xmmword [0x1011b130], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1011b12c], eax
ret 4
Function at 0x10008cb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10125be4], 0
je 0x10008ccc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10125be4]
cmp eax, dword [ecx]
jne 0x10008d3d
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi*4 + 0x1011b130]
cmp eax, 0x1388
jb 0x10008cfc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi*4 + 0x1011b130], eax
mov dword [esi*4 + 0x1011b138], 0
mov eax, dword [0x10125bfc]
cmp eax, 5
ja case.default.0x10008d06
jmp dword [eax*4 + 0x10008d44]
push 0
jmp 0x10008d23
push 0x19
jmp 0x10008d23
push 0x14
jmp 0x10008d23
push 0xf
jmp 0x10008d23
push 0xa
jmp 0x10008d23
push 5
push esi
call fcn.10008d60
test al, al
jne 0x10008d3c
xor edx, edx
push 0
lea ecx, [edx + 9]
call fcn.10005780
add esp, 4
pop esi
pop ebp
ret 4

Function at 0x10008f30
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 0x10008fa2
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
push 0x1011b364
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x10
push eax
push 0
push str.LangSelection
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10008f99
push 0x10014bd4
push 0x10
push 0x1011b364
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x10009310
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000944b
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10009444
push ecx
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x418]
call fcn.1000f550
add esp, 4
test al, al
je 0x10009444
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100084d0
test al, al
jne 0x100093be
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
mov ecx, 1
call fcn.10005780
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100087a0
test al, al
jne 0x10009404
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
mov ecx, 2
call fcn.10005780
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [ebp - 0x210]
push eax
call fcn.10006510
test al, al
jne 0x10009444
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
mov ecx, 5
call fcn.10005780
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
Function at 0x10009630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012200
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1001800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov eax, 0xdd67c8a7
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov ecx, dword [0x10125ee0]
sub ecx, dword [0x10125edc]
imul ecx
mov eax, dword [edi + 8]
add edx, ecx
sar edx, 8
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp ebx, eax
ja 0x100096b1
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, 0x1000969d
ret
mov ecx, dword [0x10125edc]
imul edx, eax, 0x128
mov eax, dword [edx + ecx]
add edx, ecx
cmp eax, dword [edi + 0xc]
jne 0x10009701
lea ecx, [edi + 0x10]
lea eax, [edx + 0x24]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100096f0
test dl, dl
je 0x100096ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100096f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100096d0
xor eax, eax
jmp 0x100096f5
sbb eax, eax
or eax, 1
mov ecx, dword [0x10125edc]
test eax, eax
cmove esi, dword [edi + 8]
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x1000973f
cmp ebx, esi
ja 0x1000971c
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
imul eax, esi, 0x128
push dword [eax + ecx]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1000973f
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 4
Function at 0x100099a0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1584
call fcn.10012100
mov eax, dword [0x1001800c]
xor eax, esp
mov dword [esp + 0x1580], eax
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x1000
lea eax, [esp + 0x140]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x100099fc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1580]
xor ecx, esp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0xc]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x10009ae9
nop dword [eax]
mov eax, dword [esp + esi*4 + 0x138]
test eax, eax
je 0x10009ae0
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10009ad9
push 0x104
lea eax, [esp + 0x117c]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10009ad9
lea ecx, [esp + 0x1178]
call fcn.1000f7d0
push eax
lea eax, [esp + 0x113c]
push 0x10014908
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [esp + 0x1384]
lea ecx, [esp + 0x117c]
call fcn.1000f550
add esp, 4
test al, al
je 0x10009ad9
mov eax, dword [esp + esi*4 + 0x138]
movups xmm0, xmmword [esp + 0x1138]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1380]
push eax
movups xmmword [esp + 0x18], xmm0
lea eax, [esp + 0x38]
movups xmm0, xmmword [esp + 0x114c]
push 0x10014c34
push eax
movups xmmword [esp + 0x30], xmm0
call fcn.100048c0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.10009f80
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jl 0x10009a10
mov ecx, dword [esp + 0x158c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret
Function at 0x10009b00
Capabilities:
Parse pe header
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push 0
push 0
push 3
push 0
push 1
push closesocket
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009b53
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10009b66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
jne 0x10009b9b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 0xc
push esi
push dword [ebp - 0x14]
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x10009c1b
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10009c14
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10009c14
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x10009be4
mov edx, 0x8664
cmp cx, dx
jne 0x10009c14
push dword [eax + 0x28]
push dword [eax + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
mov ecx, eax
test ecx, ecx
je 0x10009c14
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x3c]
push 0
push 0
add eax, dword [ecx + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10009c3c
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push 0x20
push dword [ebp - 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x10009c15
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x28]
add eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a460
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.10012100
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1010], 0
push eax
push 0x1000
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000a4b6
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x1010]
xor esi, esi
shr ebx, 2
test ebx, ebx
jle 0x1000a521
mov edi, dword [ebp + esi*4 - 0x100c]
test edi, edi
je 0x1000a51c
push edi
lea eax, [ebp - 0x1018]
push eax
call fcn.1000a840
test al, al
jne 0x1000a51c
mov dword [ebp - 0x1018], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
mov dword [ebp - 0x1014], eax
call fcn.1000a8c0
push ecx
push dword [ebp + esi*4 - 0x100c]
call fcn.1000a540
test al, al
je 0x1000a4a1
push ecx
push dword [ebp + esi*4 - 0x100c]
call fcn.10009310
test al, al
je 0x1000a4a1
inc esi
cmp esi, ebx
jl 0x1000a4c5
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a610
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10012100
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x110c]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
mov dword [ebp - 0x110c], 0
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x1000a666
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
push esi
push edi
mov edi, dword [ebp - 0x110c]
xor esi, esi
shr edi, 2
test edi, edi
jle 0x1000a6d5
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp + esi*4 - 0x1108]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x1000a6d0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000a6c7
test dl, dl
je 0x1000a6c3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000a6c7
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000a6a7
xor eax, eax
jmp 0x1000a6cc
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000a6ea
inc esi
cmp esi, edi
jl 0x1000a680
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 8
Function at 0x1000a700
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 4
push 0x1000
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x1000a743
push 0
push ebx
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000a74c
push 0x8000
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push 0x10014d24
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000a735
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x1000a735
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push edi
push esi
test eax, eax
jne 0x1000a73d
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x40c]
push edi
call fcn.10003430
push ecx
lea eax, [ebx + 0x4ef4]
push eax
push str..HackIP.spk
lea ecx, [ebp - 0x40c]
call fcn.10003690
test al, al
je 0x1000b9b7
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str..HackIP.spk
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000b9b7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e48
je 0x1000b9cc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x410]
mov dword [ebp - 0x410], 0
push eax
push 0x4e48
lea esi, [ebx + 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000b9b0
mov ecx, 0x4e48
mov al, byte [esi]
lea esi, [esi + 1]
sub al, 0xb
xor al, 0x7d
mov byte [esi - 1], al
sub ecx, 1
jne 0x1000b9f8
call fcn.10008f30
lea eax, [ebx + 0xf4]
push eax
call fcn.10008fc0
lea eax, [ebx + 0x1abc]
push eax
call fcn.10009030
lea eax, [ebx + 0x3484]
push eax
call fcn.100090a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010f8a
mov esp, ebp
pop ebp
ret 4
Function at 0x1000bc90
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x4e4c]
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000bcb2
sub edx, ecx
cmp edx, 3
jb 0x1000bd1f
cmp dword [esi + 0x4e6c], 0
je 0x1000bcfa
lea ecx, [ebp - 0x408]
call fcn.10003430
push ecx
lea eax, [ebp - 0x40c]
push eax
push edi
lea ecx, [ebp - 0x408]
call fcn.10003690
test al, al
je 0x1000bd2f
mov eax, dword [esi + 0x4e6c]
cmp eax, dword [ebp - 0x40c]
jne 0x1000bd52
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
jne 0x1000bd88
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10010f8a
mov esp, ebp
pop ebp
ret
mov ecx, 0x10125060
call fcn.1000f210
mov ecx, 0x10125188
call fcn.1000f210
mov ecx, 0x101252b0
call fcn.1000f210
call fcn.1000f4b0
mov ecx, 0x10125060
call fcn.1000f210
mov ecx, 0x10125188
call fcn.1000f210
mov ecx, 0x101252b0
call fcn.1000f210
push 0x10
lea eax, [esi + 0x46]
push eax
push str.Launcher_not_found_or_invalid_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.1000f4b0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.1000f4b0
int3
Function at 0x1000c140
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100122f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1001800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1012505c]
cmp eax, 0x927c0
jb 0x1000c183
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012505c], eax
cmp dword [0x10120150], 0
je 0x1000c209
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push dword [0x10120154]
push eax
call fcn.1000bef0
test al, al
je 0x1000c1f8
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x1000c1f8
lea eax, [ebp - 0x1c]
push eax
call fcn.1000c220
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x1c]
call fcn.1000c460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012328
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1012505c]
cmp eax, 0x927c0
jb 0x1000c743
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012505c], eax
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x14
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.1000bef0
test al, al
jne 0x1000c7a2
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jne 0x1000c7ab
lea eax, [ebp - 0x20]
push eax
call fcn.1000c8b0
push dword [ebp - 0x14]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x20]
call fcn.1000c460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4