joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008e5a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
je 0x1008e5d6
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x84]
je 0x1008e5d6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x84]
jne 0x1008e5e9
jmp 0x1008e74d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x84], 0
je 0x1008e673
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x84]
mov edx, dword [eax + 0x124]
call edx
push 0
push 0
push 0
push 0x100faf7c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
push ecx
mov ecx, dword [ebp - 4]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], 0
cmp dword [ebp + 8], 0
jne 0x1008e67e
jmp 0x1008e74d
cmp dword [ebp + 8], 0
je 0x1008e74d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x1008e74d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xe4]
call eax
movzx ecx, al
test ecx, ecx
je 0x1008e74d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xf0]
call edx
movzx eax, al
test eax, eax
je 0x1008e74d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x84], edx
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x15
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x84]
mov edx, dword [eax + 0x124]
call edx
push 0
push 0
push 0
push 0x100fafe4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
push ecx
mov ecx, dword [ebp - 4]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov esp, ebp
pop ebp
ret 4
Function at 0x10099730
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x1009975f
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.DTLUI.dll_public:_static_int___cdecl_DuiLib::CPaintManagerUI::LoadFileData_wchar_t_const___unsigned_char____bool_
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
jmp 0x100997f0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100997f0
mov edx, dword [ebp - 8]
push edx
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100997e6
mov eax, dword [ebp - 8]
push eax
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x100997e6
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.100c985a
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.100cce00
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp - 4], 0
jne 0x100998a7
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x100998a7
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x1009989d
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.100c985a
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1009989d
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx]
je 0x1009989d
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.100c9636
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x100998b1
xor eax, eax
jmp 0x100998b4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1009c8f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1009c659
sbb ch, byte [ebx + 0x458dbd6f]
test al, 0x50
call fcn.1009c669
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1009c61e
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1009c947
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1009c659
mov esi, 0x8d5f308c
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x1009cf30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
Function at 0x100bec50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 2
jne 0x100bed5b
mov eax, dword [ebp + 0x14]
push eax
movzx ecx, word [ebp + 0x10]
push ecx
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100bec86
jmp 0x100bed85
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100becb5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100bed85
mov ecx, dword [ebp - 8]
push ecx
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100becdd
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100bed85
mov eax, dword [ebp - 4]
push eax
call fcn.100c985a
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x100bed4f
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100cce00
add esp, 0xc
movzx edx, byte [ebp + 0x18]
test edx, edx
je 0x100bed2d
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sym.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetBaseResourceZip_void___unsigned_int_
add esp, 8
jmp 0x100bed3d
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sym.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetSkinExResourceZip_void___unsigned_int_
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.100c9636
add esp, 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100bed85
cmp dword [ebp + 8], 1
jne 0x100bed85
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x100bed79
push 1
mov edx, dword [ebp + 0xc]
push edx
call sym.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
add esp, 8
jmp 0x100bed85
mov eax, dword [ebp + 0xc]
push eax
call sym.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZipEx_wchar_t_const__
add esp, 4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100c5090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x100c50a0
xor eax, eax
jmp 0x100c523d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x100c51fe
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x100fbfe0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100fbfe0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x100fbfe0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x100fbfe0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100fbfe0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x100fbfe0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x100fbfe0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100fbfe0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x100c50a9
cmp dword [ebp + 0x10], 0
je 0x100c5237
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x100fbfe0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x100c5204
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x100c6260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x100c62af
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100c62a5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x100c6309
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x100c62cf
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.100cce00
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x100c7bc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x100c7bdb
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xffffffff
je 0x100c7be5
mov eax, 0x1000000
jmp 0x100c7c81
mov edx, dword [ebp - 8]
add edx, 0x138
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 8]
add eax, 0x136
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 2]
mov word [ebp - 2], dx
add dword [ebp - 0xc], 2
cmp word [ebp - 2], 0
jne 0x100c7c05
mov edi, dword [ebp - 0xc]
mov eax, dword [0x100fbca4]
mov dword [edi], eax
cmp dword [ebp + 0x10], 1
jne 0x100c7c45
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
je 0x100c7c45
mov eax, 0x2000000
jmp 0x100c7c81
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100c5f20
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100c7c6b
mov eax, dword [ebp - 0x18]
jmp 0x100c7c81
mov eax, dword [ebp - 0x10]
push eax
call fcn.100c6760
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [0x1013d578]
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100c86d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x1013a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 0xc], 0
je 0x100c86fe
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx]
test eax, eax
jne 0x100c8703
jmp 0x100c8909
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x100c875e
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x100c8741
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x100c874d
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x100c8718
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x100c87ec
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.100d1c11
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x438], ecx
cmp dword [ebp - 0x438], 0x208
jae 0x100c87b5
jmp 0x100c87ba
call fcn.100c9986
xor edx, edx
mov eax, dword [ebp - 0x438]
mov word [ebp + eax - 0x20c], dx
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100c86d0
add esp, 8
mov eax, dword [ebp - 0x43c]
add eax, 2
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x434], ecx
lea edx, [ebp - 0x414]
mov dword [ebp - 0x428], edx
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x434]
mov dx, word [ecx]
mov word [ebp - 0x41e], dx
mov eax, dword [ebp - 0x428]
mov cx, word [ebp - 0x41e]
mov word [eax], cx
mov edx, dword [ebp - 0x434]
add edx, 2
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x428]
add eax, 2
mov dword [ebp - 0x428], eax
cmp word [ebp - 0x41e], 0
jne 0x100c880d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x424]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x424]
mov cx, word [eax]
mov word [ebp - 0x42e], cx
add dword [ebp - 0x424], 2
cmp word [ebp - 0x42e], 0
jne 0x100c886a
mov edx, dword [ebp - 0x424]
sub edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x448], edx
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x42c]
mov ax, word [edx + 2]
mov word [ebp - 0x430], ax
add dword [ebp - 0x42c], 2
cmp word [ebp - 0x430], 0
jne 0x100c88b8
mov edi, dword [ebp - 0x42c]
mov esi, dword [ebp - 0x444]
mov edx, dword [ebp - 0x448]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c928c
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x14
push 8
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
jne 0x10001023
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, edx
push ebx
dec eax
mov ebx, 0x10012774
push edi
mov dword [ebp - 4], eax
sub ebx, edx
mov edi, 9
nop word [eax + eax]
mov ax, word [esi*2 + str.Kernel32.dll]
lea ecx, [ecx + 2]
xor ax, word [ebx + ecx - 2]
mov word [ecx - 2], ax
lea eax, [esi + 1]
xor esi, esi
cmp eax, dword [ebp - 4]
cmovne esi, eax
sub edi, 1
jne 0x10001040
pop edi
xor eax, eax
pop ebx
mov word [edx + 0x12], ax
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10001080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, edx
mov ebx, ecx
push edi
mov dword [ebp - 4], eax
xor esi, esi
add eax, eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x100010b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea edx, [eax - 1]
test edx, edx
jle 0x100010f4
mov eax, dword [ebp + 0xc]
mov ecx, edi
dec eax
sub ebx, edi
mov dword [ebp - 8], eax
nop word [eax + eax]
mov al, byte [esi*2 + str.Kernel32.dll]
lea ecx, [ecx + 1]
xor al, byte [ebx + ecx - 1]
mov byte [ecx - 1], al
lea eax, [esi + 1]
xor esi, esi
cmp eax, dword [ebp - 8]
cmovne esi, eax
sub edx, 1
jne 0x100010d0
mov eax, dword [ebp - 4]
mov byte [edi + eax - 1], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000802e
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10008069
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10008050
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10008061
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1000806b
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10008046
xor eax, eax
pop edi
pop esi
ret
Function at 0x100082a1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 0x50
push esi
push dword [ebp + 8]
call fcn.10007fb3
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x100082dc
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10007fee
pop ss
adc ebp, dword [edi + eax*2 + 0x50c0458d]
rcl byte [eax - 0x18], 0xc5
cld
invalid
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.10007fb3
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10007fee
int3

Function at 0x1000883a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10007ffe
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10007fb3
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9