joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006200
Capabilities:
Check mutex on windows

Disassembly:
push edi
xor edi, edi
mov eax, 1
cmp dword [0x10120004], edi
jle 0x1000626a
push ebx
xor ebx, ebx
push esi
mov eax, dword [0x10120008]
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x10006223
mov eax, dword [eax]
push eax
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 0x10006259
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add ebx, 0x1c
cmp edi, dword [0x10120004]
jl 0x10006214
pop esi
pop ebx
mov eax, 1
pop edi
ret
inc edi
mov dword [0x1012001c], esi
pop esi
mov dword [0x10120018], edi
xor eax, eax
pop ebx
pop edi
ret
Function at 0x100065d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x10120024]
mov dword [ebp - 0x48], eax
xor al, al
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x25], al
cmp edi, dword [0x10120028]
je 0x100066ee
mov ebx, dword [ebp - 0x38]
mov ecx, 4
lea edx, [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x44], ecx
cmp byte [edi], 0
jne 0x100066bf
test al, al
jne 0x10006645
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
push ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x30]
lea ebx, [ebp - 0x2c]
call fcn.10006750
test al, al
je 0x100066ee
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 0x25], 1
mov esi, dword [edi + 4]
mov eax, dword [ebx + 0x34]
mov edx, esi
sub edx, eax
push edx
push eax
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
test eax, eax
je 0x100066bc
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
push 0
sub ecx, dword [ebx + 0x34]
push 0
add ecx, esi
mov esi, dword [ebp - 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x100066bc
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100066bc
mov edx, dword [ebp - 0x44]
mov ecx, 0x20
lea eax, [ebp - 0x24]
lea edx, [edx + edi + 4]
cmp ecx, 4
jb 0x10006703
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x100066bc
sub ecx, 4
add eax, 4
jmp 0x100066a8
mov al, byte [ebp - 0x25]
add edi, 0x48
cmp edi, dword [0x10120028]
jne 0x10006613
test al, al
je 0x100066ee
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x34]
lea esi, [edi + 0x28]
mov edi, dword [ebp - 0x40]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10012204
mov esp, ebp
pop ebp
ret 4
Function at 0x10006750
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0xc]
push closesocket
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100067a3
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x100067b6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x100067ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x1000682b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10006824
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10006824
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x1000684b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10012204
mov esp, ebp
pop ebp
ret 8
Function at 0x100069e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10120298]
push ebx
push esi
push edi
test eax, eax
js 0x10006aed
cmp eax, 1
jge 0x10006aed
mov esi, eax
imul esi, esi, 0x214
add esi, 0x10120084
push str..DataLogs
inc eax
lea ebx, [esi + 4]
push 0x100
mov dword [0x10120298], eax
push ebx
mov dword [esi], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x10006aed
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 eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
push eax
push ecx
push edx
push ebx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call dword [sym.imp.USER32.dll_wsprintfA]
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 0x10006ac8
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
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 0x10006aed
mov ecx, dword [esi + 0x210]
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012204
mov esp, ebp
pop ebp
ret
Function at 0x10006b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
js 0x10006cf7
cmp eax, dword [ecx + 0x218]
jge 0x10006cf7
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x10006cf7
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 0x10006b86
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x10006b86
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x10006c43
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 0x10006c0d
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
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 0x10006c43
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.10012204
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 0x10006cd0
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.10012204
mov esp, ebp
pop ebp
ret

Function at 0x10006d40
Capabilities:
Create thread

Disassembly:
cmp dword [0x10125ff0], 0
je 0x10006d86
mov eax, dword [0x10125e7c]
push 0x1012b0ec
mov dword [0x101202a0], eax
xor eax, eax
push eax
push 0x1012029c
push 0x10006e70
push eax
push eax
mov dword [0x101202a8], eax
mov dword [0x101202ac], eax
mov dword [0x101202b0], eax
mov dword [0x101202b4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x101202a4], eax
ret
Function at 0x10006d90
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x10126014], 0
je 0x10006dad
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10126014]
cmp eax, dword [ecx]
jne case.0x10006de3.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x101202a8]
cmp eax, 0x1388
jb 0x10006dd8
call edi
mov dword [esi*4 + 0x101202a8], eax
mov dword [esi*4 + 0x101202b0], 0
mov eax, dword [0x10125ff4]
pop edi
cmp eax, 5
ja case.default.0x10006de3
jmp dword [eax*4 + 0x10006e50]
inc dword [esi*4 + 0x101202b0]
cmp dword [esi*4 + 0x101202b0], 0x19
jmp 0x10006e3d
inc dword [esi*4 + 0x101202b0]
cmp dword [esi*4 + 0x101202b0], 0x14
jmp 0x10006e3d
inc dword [esi*4 + 0x101202b0]
cmp dword [esi*4 + 0x101202b0], 0xf
jmp 0x10006e3d
inc dword [esi*4 + 0x101202b0]
cmp dword [esi*4 + 0x101202b0], 0xa
jmp 0x10006e3d
inc dword [esi*4 + 0x101202b0]
cmp dword [esi*4 + 0x101202b0], 5
jbe case.0x10006de3.0
push 0
push 0
push 9
call fcn.10004600
add esp, 0xc
ret

Function at 0x10007020
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 getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007093
lea ecx, [ebp - 8]
push ecx
push 0x1012615c
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 0x10007089
push 0x10015ba8
push 0x10
push 0x1012615c
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 0x100073b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100074d4
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x100074cd
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
call fcn.1000ebf0
add esp, 4
test al, al
je 0x100074cd
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x458]
call fcn.100065d0
test al, al
jne 0x10007454
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 1
call fcn.10004600
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x458]
call fcn.100068a0
test al, al
jne 0x10007494
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
push edx
push 2
call fcn.10004600
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.10004f10
test al, al
jne 0x100074cd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 5
call fcn.10004600
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.10012204
mov esp, ebp
pop ebp
ret
Function at 0x10007740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012de0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1001a018]
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 [0x1012af48]
sub ecx, dword [0x1012af44]
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 0x100077b4
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, 0x10007840
ret
imul eax, eax, 0x128
add eax, dword [0x1012af44]
mov ecx, dword [eax]
cmp ecx, dword [esi + 0xc]
jne 0x100077fc
lea ecx, [esi + 0x10]
add eax, 0x24
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100077f0
test dl, dl
je 0x100077ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100077f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100077d0
xor eax, eax
jmp 0x100077f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100077fc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ebx, 0xffffffff
je 0x10007840
cmp edi, ebx
ja 0x10007817
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 [0x1012af44]
mov edx, dword [ebx]
push edx
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x10007840
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 0x10007a80
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1594
call fcn.10012c10
mov eax, dword [0x1001a018]
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 0x10007ada
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1590]
xor ecx, esp
call fcn.10012204
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 0x10007bc9
lea eax, [esp + edi*4 + 0x148]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
test eax, eax
je 0x10007bbc
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x10007bb5
push 0x104
lea edx, [esp + 0x118c]
push edx
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10007bb5
lea esi, [esp + 0x1188]
call fcn.1000ee90
push eax
lea eax, [esp + 0x114c]
push 0x100158f8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x139c]
push ecx
mov ecx, esi
call fcn.1000ebf0
add esp, 0x10
test al, al
je 0x10007bb1
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 0x10015c08
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call fcn.10008080
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 0x10007af1
mov ecx, dword [esp + 0x159c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10012204
mov esp, ebp
pop ebp
ret
Function at 0x10008670
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10012c10
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x100c]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
xor ebx, ebx
push ecx
mov dword [ebp - 0x100c], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x100086c2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x100c]
shr eax, 2
mov dword [ebp - 0x1010], eax
cmp eax, ebx
jle 0x10008733
mov esi, dword [ebp + ebx*4 - 0x1008]
test esi, esi
je 0x1000872e
lea edi, [ebp - 0x1018]
call fcn.10008a40
test al, al
jne 0x10008728
mov dword [ebp - 0x1018], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
mov dword [ebp - 0x1014], eax
call fcn.10008ac0
mov ecx, dword [ebp + ebx*4 - 0x1008]
call fcn.10008750
test al, al
je 0x100086af
mov edi, dword [ebp + ebx*4 - 0x1008]
call fcn.100073b0
test al, al
je 0x100086af
mov eax, dword [ebp - 0x1010]
inc ebx
cmp ebx, eax
jl 0x100086d5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10012204
mov esp, ebp
pop ebp
ret

Function at 0x10008820
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10012c10
mov eax, dword [0x1001a018]
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 0x10008871
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x100088d6
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 0x100088d1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100088c8
test dl, dl
je 0x100088c4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100088c8
add eax, 2
add ecx, 2
test dl, dl
jne 0x100088a8
xor eax, eax
jmp 0x100088cd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100088ea
inc esi
cmp esi, edi
jl 0x10008880
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10012204
mov esp, ebp
pop ebp
ret 4
Function at 0x10008900
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 0x1000893c
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 0x10008943
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 0x10015cfc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000892e
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 0x1000892e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x10008936
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call fcn.10001080
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4ef4]
mov eax, str..DataItemShieId03.bmd
call fcn.10001290
test al, al
je 0x1000a093
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str..DataItemShieId03.bmd
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a093
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e48
je 0x1000a0a5
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.10012204
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4e48
lea esi, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000a08c
mov eax, esi
mov ecx, 0x4e48
mov dl, byte [eax]
sub dl, 0xb
xor dl, 0x7d
mov byte [eax], dl
inc eax
dec ecx
jne 0x1000a0d3
call fcn.10007020
lea eax, [ebx + 0xf4]
call fcn.100070a0
lea eax, [ebx + 0x1abc]
call fcn.10007100
lea eax, [ebx + 0x3484]
call fcn.10007160
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.10012204
mov esp, ebp
pop ebp
ret
Function at 0x1000a360
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x4e4c]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a383
sub eax, edx
cmp eax, 3
jb 0x1000a45b
cmp dword [edi + 0x4e6c], 0
je 0x1000a428
lea esi, [ebp - 0x408]
call fcn.10001080
mov eax, esi
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.10001290
test al, al
jne 0x1000a3e4
mov esi, 0x101251d8
call fcn.1000e8c0
mov esi, 0x10125300
call fcn.1000e8c0
mov esi, 0x10125428
call fcn.1000e8c0
call fcn.1000eb50
mov ecx, dword [edi + 0x4e6c]
cmp ecx, dword [ebp - 0x40c]
je 0x1000a428
mov esi, 0x101251d8
call fcn.1000e8c0
mov esi, 0x10125300
call fcn.1000e8c0
mov esi, 0x10125428
call fcn.1000e8c0
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.1000eb50
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 0x1000a454
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.1000eb50
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.10012204
mov esp, ebp
pop ebp
ret