joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d328
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4210db
call fcn.00417780
sub esp, 0x1c
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_3
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push str.SoftwareTencentPlatForm_Type_List_d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40d39b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_5
mov dword [ebp - 0x18], ebx
jmp 0x40d477
mov esi, 0x104
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
push eax
lea eax, [ebp - 0x28]
push edi
push eax
push 0
push str.TypePath
push dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40d3e0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_5
mov dword [ebp - 0x18], ebx
jmp 0x40d477
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.0041738e
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_2
push 0x5c
lea ecx, [ebp - 0x10]
or esi, 0xffffffff
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40d425
mov esi, eax
inc eax
push eax
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find
jmp 0x40d410
inc esi
lea eax, [ebp + 0xc]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_5
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40f53f
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 0x20]
call edi
test eax, eax
jne 0x40f569
push dword [esi + 0xd4]
call edi
test eax, eax
je 0x40f6b9
xor edi, edi
cmp dword [esi + 0x88], edi
je 0x40f6b9
cmp dword [esi + 0x78], edi
je 0x40f58b
mov ecx, esi
call fcn.004102c6
push 1
pop eax
jmp 0x40f6bb
mov ecx, esi
mov dword [esi + 0x7c], edi
call fcn.004102a9
test eax, eax
je 0x40f5da
mov dword [esi + 0x84], edi
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x40f9ff
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0xa4], eax
je 0x40f6b9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 8]
mov dword [esi + 0x78], 1
mov dword [esi + 0x7c], eax
jmp 0x40f583
mov eax, dword [esi + 0xac]
cmp eax, edi
je 0x40f6b9
cmp dword [esi + 0xd0], edi
je 0x40f5fb
push 1
pop eax
mov dword [esi + 0x78], eax
jmp 0x40f6bb
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xac]
lea edx, [ebp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, dword [esi + 0xe0]
cmp ebx, edi
jl 0x40f629
cmp dword [esi + 0x80], edi
mov eax, ebx
jne 0x40f62c
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0xe4]
mov dword [ebp - 4], eax
cmp ecx, edi
jl 0x40f641
cmp dword [esi + 0x80], edi
jne 0x40f644
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp dword [esi + 0x80], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
je 0x40f669
cmp ebx, edi
jl 0x40f669
cmp dword [esi + 0xe4], edi
jl 0x40f669
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
neg edx
push edx
mov eax, dword [esi + 0xac]
push dword [ebp - 8]
mov ebx, dword [eax]
push dword [ebp + 8]
push edi
push ecx
push dword [ebp - 4]
push edi
push edi
push dword [esi + 0x8c]
push eax
call dword [ebx + 0x20]
test eax, eax
jne 0x40f583
mov eax, dword [esi + 0xd4]
push 1
pop ebx
cmp eax, edi
push edi
mov dword [esi + 0x78], ebx
push edi
je 0x40f6ac
push eax
jmp 0x40f6af
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, ebx
jmp 0x40f6bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40f6c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov dword [ebp - 4], ecx
call sub.MFC42.DLL_AfxGetModuleState
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40f76b
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x40f76b
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40f76b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40f767
test ebx, ebx
je 0x40f767
push edi
push eax
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0040f085
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop ebx
jmp 0x40f76d
xor edi, edi
jmp 0x40f75b
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x410080
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
and dword [esi + 0x74], 0
mov dword [esi + 0x84], 1
push dword [esi + 0xa8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4100cc
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4100cc
push 1
push dword [esi + 0xa4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 0xa4], 0
push dword [esi + 0xa8]
and dword [esi + 0x78], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop esi
ret

Function at 0x410ecd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4214d4
call fcn.00417780
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call sub.MFC42.DLL_CString::CString_3
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_3
push 0x10
lea eax, [esi + 0x20]
push edi
push eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi + 0x1c], edi
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret
Function at 0x411a5a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x74], edi
jne 0x411a8d
cmp dword [esi + 0x68], edi
je 0x411a92
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp eax, edi
je 0x411a8a
push dword [esi + 0x6c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, edi
mov dword [esi + 0x74], eax
jne 0x411a8d
mov dword [esi + 0x68], edi
cmp dword [esi + 0x68], edi
jne 0x411abe
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x411ad6
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x411ad6
cmp dword [ebp + 0xc], eax
je 0x411af0
jmp 0x411ad6
mov eax, dword [esi + 0x70]
mov edi, dword [ebp + 0xc]
add eax, edi
cmp eax, dword [esi + 0x6c]
jbe 0x411ada
mov ecx, esi
call fcn.00411af9
test eax, eax
jne 0x411ada
xor eax, eax
jmp 0x411af3
mov eax, dword [esi + 0x70]
push edi
push dword [ebp + 8]
add eax, dword [esi + 0x74]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [esi + 0x70], edi
push 1
pop eax
pop edi
pop esi
leave
ret 8
Function at 0x411bd6
Capabilities:
Connect to http server

Disassembly:
mov eax, 0x42166c
call fcn.00417780
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x78], ebx
je 0x411bf3
cmp dword [esi + 0x7c], ebx
je 0x411bfb
push 3
pop eax
jmp 0x411d49
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x18]
push 0x20000000
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
mov eax, dword [esi + 0xb0]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
call sub.MFC42.DLL_AfxParseURLEx
test eax, eax
je 0x411d15
cmp dword [ebp - 0x20], 3
jne 0x411d15
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x58]
push eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x5c]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push esi
push ebx
mov eax, dword [ecx - 8]
push 3
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx - 8]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [esi + 0x78]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [esi + 0x7c], eax
jne 0x411cf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x411cc5
push eax
push ebx
call sub.MFC42.DLL_AfxThrowInternetException
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push 1
push eax
mov ecx, esi
call fcn.00415b47
test eax, eax
je 0x411cdc
push 6
jmp 0x411d17
mov eax, dword [ebp - 0x28]
cmp eax, dword [esi + 0x144]
jne 0x411d09
mov eax, dword [esi + 0x13c]
cmp eax, ebx
je 0x411cf8
push eax
push ebx
call sub.MFC42.DLL_AfxThrowInternetException
push dword [esi + 0x144]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [esi + 0x7c], ebx
jne 0x411d57
push 0x429c30
mov ecx, esi
call fcn.004126cb
push 3
pop esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push 2
jmp 0x411d17
Function at 0x41278e
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0xc8]
push dword [esi + 0xb8]
call fcn.00412ba6
mov ecx, esi
call fcn.00411883
test eax, eax
je 0x412898
push 0x28
lea ebx, [esi + 0x88]
pop edi
push edi
push 0
push ebx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x64]
add esp, 0xc
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0xc8]
mov dword [ebx], edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x60]
cmp eax, dword [ebp - 4]
jbe 0x4127ec
mov eax, dword [ebp - 4]
push esi
push 1
push ebx
mov dword [esi + 0xa0], eax
push dword [esi + 0x80]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x41284d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41281b
push eax
push 0
call sub.MFC42.DLL_AfxThrowInternetException
push 0xffffffffffffffff
lea eax, [ebp - 8]
push 1
push eax
mov ecx, esi
call fcn.00415b47
test eax, eax
jne 0x41289c
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x140]
jne 0x41288c
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x41285a
push eax
push 0
call sub.MFC42.DLL_AfxThrowInternetException
jmp 0x41285a
push 0
mov ecx, esi
call fcn.00415b96
test eax, eax
jne 0x41289c
mov edi, dword [esi + 0xa0]
test edi, edi
je 0x4128a0
add dword [esi + 0xc4], edi
sub dword [ebp - 4], edi
push edi
mov ecx, esi
push dword [esi + 0x9c]
call fcn.00411a5a
test eax, eax
je 0x4128d1
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x18]
jmp 0x4127e1
push 0x429c30
mov ecx, esi
call fcn.004126cb
push 3
jmp 0x4128de
push 6
jmp 0x4128de
mov ecx, esi
call fcn.00411af9
test eax, eax
je 0x4128d1
mov eax, dword [esi + 0xc8]
cmp eax, 0xffffffff
je 0x4128c2
cmp eax, dword [esi + 0xc4]
je 0x4128c2
push 3
jmp 0x4128d3
push 0
push 2
mov ecx, esi
call fcn.00411f58
xor eax, eax
jmp 0x4128df
push 4
push 3
mov ecx, esi
call fcn.00411f58
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x415a65
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 4], ebx
je 0x415a79
xor eax, eax
jmp 0x415acf
push dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call edi
push dword [esi + 0x18]
call edi
lea eax, [esi + 0xc]
push eax
push ebx
push esi
push 0x41593a
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
jle 0x415a75
cmp dword [esi + 0x10], ebx
mov dword [esi + 4], eax
je 0x415ab4
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xffffffffffffffff
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x14]
mov dword [ebp - 4], eax
call edi
xor eax, eax
cmp dword [ebp - 4], ebx
sete al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415ad4
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x415b0e
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415afd
push dword [esi + 0x18]
jmp 0x415b11
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 4], 0
pop esi
ret
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop esi
ret

Function at 0x4164da
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call sub.MSVCRT.dll_memset
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
add esp, 0xc
and dword [esi + 0x58], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x417f9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x417fe3
cmp edx, 0x10
jl 0x417fcf
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x417fbc
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x417fe3
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x417fdb
and edx, 3
cmp edx, 3
jne 0x417ff7
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x417ffc
cmp edx, 2
jne 0x418008
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x41800d
cmp edx, 1
jne 0x418013
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x661648
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmc
add edi, eax
pushal
movzx ecx, word [edi + ecx*2]
shld edi, esi, 2
mov edi, dword [edx + 0x1c]
add esp, 0x24
jge 0x664419
push ebx
clc
mov byte [esp], ch
add edi, eax
bt si, sp
call fcn.006e3619

Function at 0x66441e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
sub ecx, dword [edx + 0x10]
jmp 0x6e6851
add ebx, eax
adc ecx, edx
push 0x2eb4af81
sub ch, al
ror cl, 3
mov dword [ebp - 8], 0
bsr cx, ax
rcl ch, cl
sbb ecx, 0x40671e02
mov ecx, dword [edx + 0x18]
cmp bh, 0x87
call fcn.006e1cf5
pushfd
jmp 0x6e5f33
or byte [eax], al
call fcn.00663925
pushfd
lea esp, [esp + 0x24]
je 0x6634d2
rol si, 4
xchg esi, edx
xchg edx, esi
mov esi, dword [eax + 0x3c]
xor dl, bh
movzx edx, al
add esi, eax
dec dx
rol dh, cl
shrd dx, sp, 0xe
mov edx, dword [esi + 0x78]
test ah, bl
bt esi, ebx
test edx, edx
pushfd
lea esp, [esp + 4]
je 0x6634d2
bswap ecx
clc
add edx, eax
rcr cx, 0xe
mov ecx, dword [esi + 0x7c]
pushal
stc
clc
mov word [esp], di
add ecx, edx
lea esp, [esp + 0x20]
jnp 0x6eedf5
call fcn.006c54b2
stosb byte es:[edi], al
daa
cmp dl, byte [esi + edx*4]
adc byte [esi], al
add byte [edx - 0x69ebc5d9], ch
and al, 0x6e
dec ah
cmp bl, bh
inc eax
jno 0x66447b
pop esp
cmpsb byte [esi], byte es:[edi]
cvtps2pi mm7, qword [eax]
jl 0x664417
wait
dec eax
inc ebp
xchg edx, eax
ficomp dword [eax]
pushfd
push esi
invalid
shl di, 2
btc di, di
sbb edi, 0x1c558459
mov edi, dword [edx + 0x1c]
inc dword [ecx + 0x558459df]
sbb al, 0x8b
jp 0x664c91
test eax, ebx
call fcn.006e49be
push ebx
jne 0x664cef
inc ebx
cmp byte [eax], ah
jnp 0x664c80
mov eax, 0xedc85490
dec ecx
lea edx, [eax + 0x79737432]
je 0x664d03
jns 0x664c6b
fnstenv [ebp + edi*4 + 0x9ab69ed]
mov ah, 0xbd
in eax, dx
imul ebp, dword [ebx - 0x4fb60af7], 0xc44e87be
mov ebp, 0x9ab69ed
cmc
dec ecx
mov al, 0xbe
xchg dword [esi - 0x3c], ecx
lodsd eax, dword [esi]
int3
dec ebp
adc byte [ebp + 0x329dd194], cl
das
dec edx
mov edi, 0x425967c6
jae 0x664c8e
in al, dx
int1
je 0x664c93
pop es
or dword [eax], esp
push ecx
push ss
inc esi
lea eax, [eax + eax*2 + 0x37b63886]
daa
dec edi
scasd eax, dword es:[edi]
or byte [edi + ecx*4 + 0x22f80363], bl
imul si, word [ebx - 0x69], 0x4b71
and al, 0xa5
xor byte [esi], bh
enter 0xffffffffffff9a1b, 0xffffffffffffff9a
hlt
lea esp, [esp + 0x24]
ret 0x28
cmp ecx, dword [edx + 0x14]
jmp 0x6ee12e
mov word [esp], ax
lea esp, [esp + 0x24]
jae 0x6634d2
pushal
pushal
lea esp, [esp + 0x40]
jmp 0x664c64
pushal
jmp 0x6ed3bc
bt si, 0xa
test di, bx
pushfd
mov dword [ebp - 0x10], ecx
sub cx, 0x8dc0
sub cx, cx
shr ecx, cl
mov ecx, dword [ebp + 0xc]
cmp bp, sp
cmp dl, 0x2c
bt di, 1
stc
cmp ecx, 0xffff
pushfd
jmp 0x6f00a6
push eax
pushal
lea esp, [esp + 0x2c]
jbe 0x5d3832
and edi, esp
mov edi, dword [edx + 0x24]
stc
add edi, eax
shr cl, 4
bts cx, si
mov ebx, dword [edx + 0x20]
jmp 0x662c3a
Function at 0x6ecbbc
Capabilities:
Encode data using xor

Disassembly:
pushfd
call 0x6e5994
xor al, byte [ebx]
mov gs, word [esi]
daa
in eax, dx
sbb al, 0x70
bsr ebx, dword [edi]
jae 0x6e1a65
lcall 0x28f4, 0xb154e3db
scasd eax, dword es:[edi]
fsubr qword [edx - 0x3c]
push 0xffffffffffffffc4
cmp dword [ecx + 0x159ff7e5], edi
xor dword [eax + 0x3b510e7e], 0xc108d52c
sub eax, 0x7fd3e9a6
shr ah, cl
xchg dword [ebx], edx
cdq
push ebp
jo 0x6e19fe
jne 0x6e1a3a
lodsd eax, dword [esi]
push es
cdq
xor ah, bh
inc esp
pop ecx
cmpsb byte [esi], byte es:[edi]
sal dword [edi], 1
xchg edx, eax
mov ah, 0x11
or bl, byte [ebx + edi*8]
insb byte es:[edi], dx
pop ss
sub dword [ebp + esi - 0x45], edi
sbb eax, 0x29f67f7a
imul byte [ecx]
retf 0x4c08
mov ecx, 0xa293348a
cwde
lahf
lahf
loopne 0x6e1ac8
sahf
fild word [ebp - 0x6b]
invalid
retf
cmp ebx, 2
jmp 0x6e19e2
Function at 0x505ff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb1000]
push edi
jmp 0x50600a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x506011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x506000
mov eax, 1
add ebx, ebx
jne 0x506023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x506034
jne 0x506053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x506053
dec eax
add ebx, ebx
jne 0x506040
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x506018
add ebx, ebx
jne 0x50604f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5060a5
xor ecx, ecx
sub eax, 3
jb 0x50606b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5060da
sar eax, 1
mov ebp, eax
jmp 0x506076
add ebx, ebx
jne 0x506076
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x506044
inc ecx
add ebx, ebx
jne 0x506084
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x506044
add ebx, ebx
jne 0x506091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x506086
jne 0x5060a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x506086
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5060c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5060b6
jmp 0x506006
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5060c4
add edi, ecx
jmp 0x506006
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5060e2
cmp byte [edi], 0x11
jne 0x5060e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5060e7
lea edi, [esi + 0xfe000]
mov eax, dword [edi]
or eax, eax
je 0x50615f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1333c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x133544]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x506114
mov ecx, edi
jns 0x506143
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x133548]
or eax, eax
je 0x506159
mov dword [ebx], eax
add ebx, 4
jmp 0x506131
call dword [esi + 0x133558]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x506190
cmp al, 0xef
ja 0x506183
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x506165
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x506172
mov ebp, dword [esi + 0x13354c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5061c4
sub esp, 0xffffff80
jmp 0x426bf7