joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c833300
Capabilities:
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov esi, dword [ecx]
mov edi, dword fs:[0x18]
mov dword [esi + 0xb0], 0
movzx eax, word [edi + 0x112]
test ax, ax
cmove ax, word [0x6c853612]
movzx eax, ax
mov dword [esp], eax
call sym.krnl386.exe16_GlobalLock16
sub esp, 4
test eax, eax
je 0x6c833494
mov ebx, eax
mov eax, dword [edi + 0x10c]
mov dword [esp], eax
call sym.krnl386.exe16_MapSL
movzx eax, word [eax + 0x10]
sub esp, 4
shl eax, 0x10
mov dword [esp], eax
call sym.krnl386.exe16_MapSL
movzx edx, word [edi + 0x10c]
mov dword [ebp - 0x1c], eax
mov edi, eax
sub esp, 4
add edx, 0x30
mov word [eax + 0xc], dx
mov word [eax + 0xe], dx
mov ecx, dword [esi + 0xa4]
mov eax, 0x96
sub eax, ecx
add eax, edx
cmp dx, cx
mov edx, 0x96
cmovbe eax, edx
mov word [edi + 0xa], ax
mov edx, dword [esi + 0xac]
test dx, dx
jne 0x6c8334e0
movzx eax, word [ebx + 0x1e]
mov dword [esp], eax
call fcn.6c82b260
movzx eax, word [ebx + 0x1e]
mov dword [esp], eax
call fcn.6c82b2f0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0x20], edx
mov dword [esp], eax
call sym.krnl386.exe16_MapSL
sub esp, 4
mov dword [esp + 4], eax
sub eax, 2
mov dword [esp + 8], 0x30
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov edx, dword [ebp - 0x20]
sub word [edx + 0x10c], 2
movzx eax, word [edx + 0x10c]
movzx edx, word [edx + 0x10e]
add eax, 0x30
shl edx, 0x10
movzx eax, ax
or eax, edx
mov dword [esp], eax
call sym.krnl386.exe16_MapSL
xor edx, edx
mov word [eax], dx
sub esp, 4
mov eax, pe_nt_image_headers32
sub dword [esi + 0xc4], 2
mov dword [esi + 0xb0], 1
cmp byte [ebx + 0x180], 0
jne 0x6c8334a8
mov dword [esi + 0xa4], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xa]
mov dword [esi + 0xac], eax
movzx eax, word [ebx + 0xa8]
mov dword [esi + 0xa8], eax
movzx eax, word [ebx + 0xe]
mov dword [esi + 0xa0], eax
movzx eax, word [ebx + 0x1c]
mov dword [esi + 0x9c], eax
movzx eax, word [ebx + 0x60]
mov dword [esi + 0x94], eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
movzx edx, byte [ebx + 0x181]
lea eax, [ebx + 0x181]
cmp dl, 0x20
jne 0x6c8334cc
lea esi, [esi]
movzx edx, byte [eax + 1]
add eax, 1
cmp dl, 0x20
je 0x6c8334c0
cmp dl, 9
je 0x6c8334c0
sub eax, ebx
sub eax, 0x100
jmp 0x6c833456
movzx eax, word [ebx + 0x1c]
mov dword [ebp - 0x20], edx
mov dword [esp], eax
call fcn.6c809c40
mov edx, dword [ebp - 0x20]
sub esp, 4
movzx eax, ax
mov dword [esp + 4], 0
mov dword [esp], eax
movzx edx, dx
mov dword [esp + 8], edx
call sym.krnl386.exe16_LocalInit16
sub esp, 0xc
jmp 0x6c8333b8
Function at 0x6c8350b0
Capabilities:
Query environment variable

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x18
movzx eax, word [0x6c853610]
test ax, ax
je 0x6c8350f0
mov dword [esp], eax
call sym.krnl386.exe16_K32WOWGlobalLock16
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsA]
cmp byte [eax], 0
mov esi, eax
mov ebx, eax
je 0x6c835116
mov edi, dword [sym.imp.ucrtbase.dll_strlen]
lea esi, [esi]
mov dword [esp], ebx
call edi
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0
jne 0x6c835108
add ebx, 1
mov dword [esp], 0
sub ebx, esi
lea eax, [ebx + 0x20]
mov dword [esp + 4], eax
call sym.krnl386.exe16_GlobalAlloc16
sub esp, 8
mov word [0x6c853610], ax
test ax, ax
jne 0x6c835158
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
movzx eax, word [0x6c853610]
sub esp, 4
jmp 0x6c8350d0
movzx eax, ax
mov dword [esp], eax
call sym.krnl386.exe16_GlobalLock16
sub esp, 4
mov edi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov eax, 1
mov word [edi + ebx], ax
mov eax, dword [str.C:WINDOWSSYSTEMKRNL386.EXE]
mov dword [edi + ebx + 2], eax
mov eax, dword [0x6c8500a8]
mov dword [edi + ebx + 6], eax
mov eax, dword [0x6c8500ac]
mov dword [edi + ebx + 0xa], eax
mov eax, dword [0x6c8500b0]
mov dword [edi + ebx + 0xe], eax
mov eax, dword [0x6c8500b4]
mov dword [edi + ebx + 0x12], eax
mov eax, dword [0x6c8500b8]
mov dword [edi + ebx + 0x16], eax
mov eax, dword [0x6c8500bc]
mov dword [edi + ebx + 0x1a], eax
movzx eax, word [0x6c8500c0]
mov word [edi + ebx + 0x1e], ax
movzx eax, word [0x6c853610]
mov dword [esp], eax
call sym.krnl386.exe16_GlobalUnlock16
sub esp, 4
jmp 0x6c83513c
Function at 0x6c835840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x4c]
sub esp, 0x64
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
mov edx, 1
sub esp, 4
test byte [ebp - 0x20], 1
je 0x6c835865
movzx edx, word [ebp - 0x1c]
mov dword [esp], 0
xor ecx, ecx
xor eax, eax
call fcn.6c8351f0
mov ebx, eax
test eax, eax
je 0x6c8358ad
or word [eax + 0x16], 0x10
xor eax, eax
xor edx, edx
mov word [ebx + 0x1c], ax
mov eax, dword fs:[0x18]
mov dword [ebx + 0x54], eax
movzx eax, word [ebx + 0xc]
mov word [ebx + 0xe], dx
call fcn.6c8327c0
movzx eax, word [ebx + 0xc]
mov ebx, dword [ebp - 4]
mov word [0x6c853612], ax
leave
ret
test byte [0x6c845a24], 2
jne 0x6c8358c3
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0xc], str.could_not_create_task_for_main_process_n
mov dword [esp + 8], str.TASK_CreateMainTask
mov dword [esp + 4], 0x6c845a24
mov dword [esp], 1
call fcn.6c832f60
jmp 0x6c8358b6

Function at 0x6c8358f0
Capabilities:
Access peb ldr_data
Create thread
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
movzx eax, byte [ebp + 0x14]
movzx edx, word [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [ebp + 8]
call fcn.6c8351f0
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6c8359a6
mov eax, ebx
call fcn.6c832910
mov edx, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, eax
test eax, eax
je 0x6c8359f1
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x6c8359b0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6c832890
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edx, dword [ebp + 0x18]
sub esp, 0x18
mov dword [edx], eax
test eax, eax
je 0x6c8359b0
movzx eax, word [ebx + 0xc]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 4]
test eax, eax
je 0x6c8359c3
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
sub esp, 4
mov dword [esp + 8], esi
mov edx, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
movzx eax, word [ebx + 0xc]
sub esp, 0xc
call fcn.6c832ab0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6c837420
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x18
mov edi, dword [ecx + 4]
mov ebx, dword fs:[0x18]
mov dword [esp + 8], 0x20
mov esi, dword [ecx]
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, 0x5266
mov dword [eax + 4], esi
sub esp, 0xc
mov dword [eax + 0xb], edi
mov dword [eax], 0x68665a66
mov word [eax + 8], dx
mov byte [eax + 0xa], 0xea
mov edx, dword [ebx + 0x20]
mov dword [eax + 0x12], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 0x20
mov dword [esp], eax
call fcn.6c8302e0
lea esp, [ebp - 0x10]
pop ecx
shl eax, 0x10
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8

Function at 0x6c838ec0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov edi, dword [ecx + 8]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
lea eax, [edi + edi]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6c838f98
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x20]
sub esp, 0x18
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
Function at 0x6c839020
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov edi, dword [ecx + 8]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
lea eax, [edi + edi]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6c8390f8
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x20]
sub esp, 0x18
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc

Function at 0x6c839f70
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x10
mov ebx, dword [ecx]
call dword [sym.imp.ntdll.dll_RtlAcquirePebLock]
mov edx, dword [0x6c853828]
test edx, edx
je 0x6c83a040
mov eax, edx
jmp 0x6c839faa
mov eax, dword [eax]
test eax, eax
je 0x6c83a040
cmp ebx, dword [eax + 4]
jne 0x6c839fa0
movzx ebx, word [eax + 8]
cmp edx, eax
jne 0x6c839fc4
jmp 0x6c83a027
cmp eax, edx
je 0x6c83a030
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x6c839fc0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
call dword [sym.imp.ntdll.dll_RtlReleasePebLock]
test bx, bx
jne 0x6c83a010
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp], ebx
call sym.krnl386.exe16_FreeLibrary16
sub esp, 4
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov ecx, 0x6c853828
lea esi, [esi]
mov edx, dword [eax]
mov dword [ecx], edx
jmp 0x6c839fcc
call dword [sym.imp.ntdll.dll_RtlReleasePebLock]
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6c83a6d0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x28]
push ebx
sub esp, 0x3c
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 6
mov dword [esp + 0xc], 8
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x6c83a7c8
mov dword [esp], 0x6c845a80
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov edi, dword [ebp - 0x28]
mov eax, 0x6c853860
mov esi, dword [ebp - 0x24]
sub esp, 4
jmp 0x6c83a748
mov edx, dword [eax + 4]
mov ecx, dword [eax]
xor edx, esi
xor ecx, edi
or edx, ecx
je 0x6c83a778
add ebx, 1
add eax, 0x18
cmp ebx, 0x20
je 0x6c83a74f
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x6c83a730
xor ebx, ebx
test byte [0x6c845ae8], 2
jne 0x6c83a798
mov dword [esp], 0x6c845a80
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + ebx*2]
mov ebx, dword [eax*8 + 0x6c853870]
test ebx, ebx
jne 0x6c83a75a
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 1
jmp 0x6c83a75a
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.handle__p_not_found_in_module_list__inherited_from_another_process__n
mov dword [esp + 8], str.__wine_vxd_get_proc
mov dword [esp + 4], 0x6c845ae8
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.6c83a680
jmp 0x6c83a75a
mov dword [esp], eax
xor ebx, ebx
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
sub esp, 4
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], edx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406294
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062b8
xor eax, eax
test eax, eax
je 0x4062ca
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4062ca
xor ecx, ecx
jmp 0x4062cd
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063b9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42229c], 0
push esi
jne 0x4063f0
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4063ca
mov dword [ecx*4 + 0x422298], eax
inc ecx
cmp ecx, 0x100
jl 0x4063c5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406421
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422298]
xor eax, esi
inc ecx
dec edx
jne 0x406403
pop edi
not eax
pop esi
ret 0xc

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x5ecd4553
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x3dd17bae
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10001dff
Capabilities:
Read clipboard data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
mov eax, esp
lea ecx, [esp + 0x110]
mov dword [eax + 4], ecx
mov dword [eax], 0x718f76
mov eax, dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
call eax
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x108]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_GetCaretPos]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xdc]
lea esi, [esp + 0xf0]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ecx
jmp 0x10001f0e

Function at 0x1000a3b2
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100591a0], 0
mov dword [0x10059198], 0x2a0
mov dword [0x1005919c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000a40d
mov dword [0x10059194], 0xefd
xor eax, eax
mov dword [0x1005919c], 0
mov dword [ebp - 0x20], eax
jmp 0x1000a435
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1005919c]
add eax, 1
mov dword [0x1005919c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000a40d
jmp 0x1000a3f2
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x100591a0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x100591a0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov dword [0x10059198], 0x1058
mov esi, dword [ebp - 0x18]
mov ch, byte [esi + edx]
mov byte [esi + edi], ch
mov edx, dword [0x100591a0]
mov byte [esi + edx], cl
mov edx, dword [0x10059194]
add edx, 0x1601
mov dword [0x10059198], edx
mov edx, dword [0x1005919c]
add edx, 1
mov dword [0x1005919c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1000a435
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a789
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10059194]
add esi, 0xffffdea2
mov dword [0x10059194], esi
mov esi, dword [0x10059198]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
jmp 0x1000a869
mov eax, dword [ebp - 0x38]
mov dword [0x10059194], 0x1204
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10059198]
add ecx, 0xfffff547
mov dword [0x10059198], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000b542
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [0x10059198], 0x4ee
mov dword [eax + 0xd0], 0x4550
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xffc00000
mov dword [0x10059194], 0x8dc
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x10], ecx
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000a8eb
jmp 0x1000a8d6
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x1000c7ca]
mov dl, byte [eax + 0x1000c79b]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x1000a869
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffff77a
mov dword [0x10059194], ecx
mov dword [ebp - 0x44], eax
call fcn.1000b64f
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1000ab83
xor ecx, ecx
mov dword [0x10059198], 0xddf
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
je 0x1000a8eb
jmp 0x1000a7c1
mov eax, dword [ebp - 0x3c]
add eax, 0x1a76
mov dword [0x10059198], 0x2003
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret

Function at 0x1000a8f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
dec ebp
adc byte [ebx + 0x758b0c55], cl
or byte [ecx], dh
inc edi
add eax, 0x10059194
pop dword [esi]
add byte [eax], al
Function at 0x1000afdd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1000b145
xor ecx, ecx
mov edx, eax
mov dword [0x10059194], 0x2395
mov esi, dword [eax + 0x3c]
jo 0x1000b03e

Function at 0x1000b7af
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x10059194], 0xdf9
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1000ad24
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x94], edx
add ecx, 0x38
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x1000b752]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0x12c600
mov edx, dword [0x10059180]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10059184]
mov dword [esp + 0x88], edx
mov edx, dword [0x10059188]
mov dword [esp + 0x8c], edx
mov edx, dword [0x1005918c]
mov dword [esp + 0x90], edx
mov edx, dword [0x10059190]
mov dword [esp + 0x5c], edx
mov dword [0x10059194], 0xfffffbee
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x1000b87b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x4550
je 0x1000b88f
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x1000b84f
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov dword [0x10059198], 0xffffeb9a
mov ecx, dword [esp + 0xc]
add ecx, 0x50
add eax, ecx
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
mov dword [0x10059194], 0x11c2
mov edx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.1000a789
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x10059194]
add ecx, 0xffffe901
mov dword [0x10059198], ecx
mov esp, ebp
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x4c9b26d5
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x6dfb7a2c
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219