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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1011e9c0]
push ebx
push esi
push edi
test eax, eax
js 0x100055dd
cmp eax, 1
jge 0x100055dd
mov esi, eax
imul esi, esi, 0x214
add esi, 0x1011e7ac
push 0x100198f0
inc eax
lea ebx, [esi + 4]
push 0x100
mov dword [0x1011e9c0], eax
push ebx
mov dword [esi], 0
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x100055dd
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 0x100055b8
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
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 0x100055dd
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.10012836
mov esp, ebp
pop ebp
ret
Function at 0x100055f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
js 0x1000582d
cmp eax, dword [ecx + 0x218]
jge 0x1000582d
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x1000582d
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 0x10005676
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x10005676
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x10005733
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 0x100056fd
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
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 0x10005733
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.10012836
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
xor ecx, ecx
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100057c0
sub eax, edi
test eax, eax
jle 0x100057fd
lea ecx, [ecx]
mov dl, byte [ebp + ecx - 0x408]
xor dl, 0xe1
add dl, 0x12
lea eax, [ebp - 0x408]
mov byte [ebp + ecx - 0x408], dl
inc ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100057f0
sub eax, edi
cmp ecx, eax
jl 0x100057d0
lea eax, [ebp - 0x408]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005806
push 0
sub eax, edx
lea ecx, [ebp - 0x81c]
push ecx
push eax
mov eax, dword [esi + 0x210]
lea edx, [ebp - 0x408]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012836
mov esp, ebp
pop ebp
ret
Function at 0x10005870
Capabilities:
Create thread

Disassembly:
cmp dword [0x10124108], 0
je 0x100058b6
mov eax, dword [0x1012409c]
push 0x10129204
mov dword [0x1011e9c8], eax
xor eax, eax
push eax
push 0x1011e9c4
push 0x100059a0
push eax
push eax
mov dword [0x1011e9d0], eax
mov dword [0x1011e9d4], eax
mov dword [0x1011e9d8], eax
mov dword [0x1011e9dc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1011e9cc], eax
ret

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

Disassembly:
cmp dword [0x10124128], 0
je 0x100058dd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10124128]
cmp eax, dword [ecx]
jne case.0x10005913.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x1011e9d0]
cmp eax, 0x1388
jb 0x10005908
call edi
mov dword [esi*4 + 0x1011e9d0], eax
mov dword [esi*4 + 0x1011e9d8], 0
mov eax, dword [0x1012410c]
pop edi
cmp eax, 5
ja case.default.0x10005913
jmp dword [eax*4 + 0x10005980]
inc dword [esi*4 + 0x1011e9d8]
cmp dword [esi*4 + 0x1011e9d8], 0x19
jmp 0x1000596d
inc dword [esi*4 + 0x1011e9d8]
cmp dword [esi*4 + 0x1011e9d8], 0x14
jmp 0x1000596d
inc dword [esi*4 + 0x1011e9d8]
cmp dword [esi*4 + 0x1011e9d8], 0xf
jmp 0x1000596d
inc dword [esi*4 + 0x1011e9d8]
cmp dword [esi*4 + 0x1011e9d8], 0xa
jmp 0x1000596d
inc dword [esi*4 + 0x1011e9d8]
cmp dword [esi*4 + 0x1011e9d8], 5
jbe case.0x10005913.0
push 0
push 0
push 9
call fcn.100031c0
add esp, 0xc
ret

Function at 0x10005b50
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 0x10005bc3
lea ecx, [ebp - 8]
push ecx
push 0x10124274
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 0x10005bb9
push 0x10019ab0
push 0x10
push 0x10124274
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 0x10005ed0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1001e018]
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 0x10005ff4
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005fed
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
call fcn.1000f3e0
add esp, 4
test al, al
je 0x10005fed
lea edx, [ebp - 0x458]
push edx
lea ecx, [ebp - 0x210]
call fcn.10005020
test al, al
jne 0x10005f74
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 1
call fcn.100031c0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x458]
call fcn.10005390
test al, al
jne 0x10005fb4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
push edx
push 2
call fcn.100031c0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.10003bc0
test al, al
jne 0x10005fed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 5
call fcn.100031c0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
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.10012836
mov esp, ebp
pop ebp
ret
Function at 0x100061a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100135fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc40
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0xc48], ebx
mov dword [ebp - 0xc44], ebx
mov dword [ebp - 0xc40], ebx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc48]
mov dword [ebp - 4], ebx
call fcn.1000fac0
add esp, 4
mov word [ebp - 0xc34], 0xac2
mov byte [ebp - 0xc32], 0xc
call dword [sym.imp.MSVCR100.dll_rand]
and eax, 0x800000ff
jns 0x1000621b
dec eax
or eax, 0xffffff00
inc eax
mov esi, dword [ebp - 0xc48]
mov byte [ebp - 0xc31], al
mov eax, dword [ebp - 0xc44]
sub eax, esi
sar eax, 2
mov byte [ebp - 0xc30], 0x17
mov dword [ebp - 0xc4c], eax
mov dword [ebp - 0xc2c], eax
cmp eax, ebx
jbe 0x100062d7
lea ecx, [ebp - 0x728]
mov dword [ebp - 0xc38], ecx
lea esp, [esp]
cmp ebx, 0x14
jge 0x100062d7
mov eax, dword [esi + ebx*4]
push 0x104
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [esi + ebx*4]
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edi, dword [ebp - 0xc38]
mov eax, dword [ebp - 0xc38]
add edi, 0xfffffb00
mov ecx, 0x10
lea esi, [ebp - 0x11c]
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov ecx, 0x10
lea esi, [ebp - 0x224]
inc ebx
add eax, 0x40
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc48]
mov dword [ebp - 0xc38], eax
cmp ebx, dword [ebp - 0xc4c]
jb 0x10006260
mov ecx, 0xa0c
lea edx, [ebp - 0xc34]
call fcn.10001920
test esi, esi
je 0x100062f5
push esi
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
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret 4
Function at 0x100087e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100137d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x1000897d
cmp byte [ebx + 0x4a], 0
je 0x1000897d
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffff
mov ecx, ebx
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x10008971
lea esi, [ebp - 0x2c]
call fcn.10009a50
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x1000885e
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_wchar_t__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10008896
dec eax
je 0x1000889a
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x10008978
call fcn.10009860
xor al, al
jmp 0x1000897f
mov byte [ebx + 0x4a], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x100088aa
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x100088d8
cmp edi, 0x10
jae 0x100088b9
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x10008969
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x4a], 0
je 0x10008975
test esi, esi
jne 0x10008852
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x1000899a
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x1000899a
cmp edi, esi
jae 0x10008952
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.100098e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x10008852
mov ecx, eax
cmp edi, 0x10
jae 0x1000892e
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x10008949
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x1000884c
test esi, esi
jne 0x10008924
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x10008961
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x1000884c
lea esi, [ebp - 0x2c]
call fcn.10009860
xor al, al
jmp 0x1000897f
lea esi, [ebp - 0x2c]
call fcn.10009860
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10008b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100137d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x10008cb2
cmp byte [ebx + 0x49], 0
je 0x10008cb2
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x10008ca6
lea esi, [ebp - 0x2c]
call fcn.10009a50
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10008b93
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10008bcb
dec eax
je 0x10008bcf
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x10008cad
call fcn.10009860
xor al, al
jmp 0x10008cb4
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10008bdf
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x10008c0d
cmp edi, 0x10
jae 0x10008bee
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x10008c9e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x10008caa
test esi, esi
jne 0x10008b87
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x10008ccf
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x10008ccf
cmp edi, esi
jae 0x10008c87
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.100098e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x10008b87
mov ecx, eax
cmp edi, 0x10
jae 0x10008c63
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x10008c7e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x10008b81
test esi, esi
jne 0x10008c59
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x10008c96
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x10008b81
lea esi, [ebp - 0x2c]
call fcn.10009860
xor al, al
jmp 0x10008cb4
lea esi, [ebp - 0x2c]
call fcn.10009860
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x10009e70
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10013240
mov eax, dword [0x1001e018]
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 0x10009ec2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x100c]
shr eax, 2
mov dword [ebp - 0x1010], eax
cmp eax, ebx
jle 0x10009f33
mov esi, dword [ebp + ebx*4 - 0x1008]
test esi, esi
je 0x10009f2e
lea edi, [ebp - 0x1018]
call fcn.1000a240
test al, al
jne 0x10009f28
mov dword [ebp - 0x1018], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
mov dword [ebp - 0x1014], eax
call fcn.1000a2c0
mov ecx, dword [ebp + ebx*4 - 0x1008]
call fcn.10009f50
test al, al
je 0x10009eaf
mov edi, dword [ebp + ebx*4 - 0x1008]
call fcn.10005ed0
test al, al
je 0x10009eaf
mov eax, dword [ebp - 0x1010]
inc ebx
cmp ebx, eax
jl 0x10009ed5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10012836
mov esp, ebp
pop ebp
ret

Function at 0x1000a020
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10013240
mov eax, dword [0x1001e018]
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 0x1000a071
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x1000a0d6
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 0x1000a0d1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000a0c8
test dl, dl
je 0x1000a0c4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000a0c8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000a0a8
xor eax, eax
jmp 0x1000a0cd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000a0ea
inc esi
cmp esi, edi
jl 0x1000a080
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10012836
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a100
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 0x1000a13c
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 0x1000a143
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 0x10019cc8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000a12e
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 0x1000a12e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x1000a136
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea esi, [ebp - 0x408]
call section..text
lea eax, [ebp - 0x408]
push eax
lea esi, [edi + 0x4ef4]
mov eax, str..DataCustomConfigsNA.ltp
call fcn.10001210
test al, al
je 0x1000b883
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str..DataCustomConfigsNA.ltp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000b883
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4ef0
je 0x1000b895
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012836
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4ef0
lea esi, [edi + 4]
push esi
push ebx
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000b87c
mov eax, esi
mov esi, 0x4ef0
mov dl, byte [eax]
add dl, 0x78
xor dl, 0xb3
mov byte [eax], dl
inc eax
dec esi
jne 0x1000b8c3
call fcn.10005b50
lea eax, [edi + 0xd4]
call fcn.10005bd0
lea eax, [edi + 0x1a9c]
call fcn.10005c30
lea eax, [edi + 0x3464]
call fcn.10005c90
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x4efc], esi
pop esi
xor ecx, ebp
mov byte [edi + 0x4ef8], 0
mov al, 1
pop ebx
call fcn.10012836
mov esp, ebp
pop ebp
ret
Function at 0x1000b920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc8], 0
push ebx
push esi
je 0x1000ba3a
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000b9c3
push 0x100
push eax
push 0x10129548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x100187c0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10129548], dl
inc eax
cmp eax, 0x100
jb 0x1000b990
push 0x10129548
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
add esp, 8
call fcn.1000f340
lea ebx, [edi + 0x66]
push ebx
lea esi, [ebp - 0x110]
call fcn.1000f630
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000b9ff
mov eax, 0x22
call fcn.1000f9e0
push eax
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
add esp, 8
call fcn.1000f340
lea esi, [ebp - 0x510]
call section..text
mov eax, esi
push eax
lea esi, [ebp - 0x514]
mov eax, ebx
call fcn.10001210
test al, al
jne 0x1000ba25
mov eax, 0x23
jmp 0x1000b9e5
mov ecx, dword [edi + 0xc8]
cmp ecx, dword [ebp - 0x514]
je 0x1000ba3a
mov eax, 0x24
jmp 0x1000b9e5
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10012836
mov esp, ebp
pop ebp
ret

Function at 0x1000ba50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xcc], 0
push ebx
push esi
je 0x1000bb34
lea esi, [ebp - 0x408]
call section..text
mov eax, esi
lea ebx, [edi + 0x86]
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.10001210
test al, al
jne 0x1000bae3
push 0x100
push 0
push 0x10129548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x10018bc0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10129548], cl
inc eax
cmp eax, 0x100
jb 0x1000bab0
push 0x10129548
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
add esp, 8
call fcn.1000f340
mov edx, dword [edi + 0xcc]
cmp edx, dword [ebp - 0x40c]
je 0x1000bb10
mov eax, 0x26
call fcn.1000f9e0
push eax
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
add esp, 8
call fcn.1000f340
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1000bb22
mov eax, 0x27
jmp 0x1000baf6
push 0x10019d38
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000bb34
call eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10012836
mov esp, ebp
pop ebp
ret