joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b363
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100da130]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CScreenManager.0
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
lea eax, [ebx + 0x14]
push eax
mov dword [ebp - 4], 1
call esi
push 0
lea eax, [ebx + 0xc]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebx + 0x2c]
call esi
push 0xffffffffffffffff
push dword [ebx + 0x30]
call esi
push dword [ebx + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebx + 0x30]
call esi
push dword [ebx + 0x28]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.10002f50
push 0
call dword [sym.imp.USER32.dll_BlockInput]
mov ecx, dword [ebx + 0xb8]
test ecx, ecx
je 0x1000271f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0x34], vtable.CCursorInfo.0
lea esi, [ebx + 0x78]
mov edi, 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyCursor]
lea esi, [esi + 4]
dec edi
jne 0x10002738
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.10001db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002ec0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10002f48
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x10002ef2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
lea ebx, [eax + 1]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call fcn.1000524c
mov edi, eax
lea ecx, [ebx - 1]
push ecx
lea ecx, [edi + 1]
push esi
push ecx
mov byte [edi], 0xd
call fcn.10004b20
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 8]
push ebx
push edi
call fcn.10001e80
push edi
call fcn.10004132
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002f50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x100da130]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Dwmapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10002f85
push str.Dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1000305d
push esi
push str.DwmEnableComposition
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1000305c
mov eax, dword [0x100e5de8]
xor ecx, ecx
cmp dword [ebp + 8], ecx
push str.SoftwareMicrosoftWindowsDWM
sete cl
mov dword [ebp - 0x40c], ecx
test eax, eax
je 0x10002fcf
push eax
lea eax, [ebp - 0x404]
push str._s_s
push eax
call fcn.10005e05
add esp, 0x10
jmp 0x10002fe3
lea eax, [ebp - 0x404]
push 0x1009a408
push eax
call fcn.10005e05
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 2
push 0
lea eax, [ebp - 0x404]
push eax
xor eax, eax
cmp dword [0x100e5de8], eax
setne al
lea eax, [eax*2 - 0x7fffffff]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000305c
push 4
lea eax, [ebp - 0x40c]
push eax
push 4
push 0
push str.SuppressDisableCompositionUI
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x408]
test eax, eax
je 0x10003051
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100052c0
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100052c0
mov esp, ebp
pop ebp
ret 4
Function at 0x10003070
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100030ce
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 0xc]
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x100030c7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.10004b20
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
ret 8
Function at 0x10003260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b3fc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100da130]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0
push 0
lea ecx, [ebx + 0x84]
push 0x10305
mov dword [ebx], vtable.CScreenSpy.0
call fcn.10003f70
lea ecx, [ebx + 0x168]
mov dword [ebp - 4], 0
call fcn.10002450
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
lea eax, [ecx - 1]
cmp eax, 0x1f
ja case.0x100032cd.2
movzx eax, byte [eax + 0x10003460]
jmp dword [eax*4 + 0x10003458]
mov dword [ebx + 8], ecx
jmp 0x100032e0
mov dword [ebx + 8], 0x20
call fcn.10002280
movzx eax, al
test eax, eax
je 0x100032f7
push dword [ebx + 0x48]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call dword [sym.imp.USER32.dll_GetDC]
lea esi, [ebx + 0x30]
push esi
mov dword [ebx + 0x48], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [ebp + 0x10]
push 0
push eax
push dword [esi + 4]
mov dword [ebx + 0xc], 0xcc0020
push dword [esi]
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x14], eax
call fcn.10005ec0
mov dword [esi], eax
mov al, byte [ebp + 0xc]
push 0x76
push dword [ebx + 0x48]
mov dword [esi + 4], edx
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov byte [ebx + 0x18], al
call esi
push 0x75
push dword [ebx + 0x48]
mov dword [ebx + 0x1c], eax
call esi
mov dword [ebx + 0x20], eax
mov eax, 0x20
cdq
idiv dword [ebx + 8]
push dword [ebx + 0x48]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x28], 0
mov byte [ebx + 0x24], al
call esi
push dword [ebx + 0x48]
mov dword [ebx + 0x4c], eax
call esi
push dword [ebx + 0x48]
mov dword [ebx + 0x50], eax
call esi
push dword [ebx + 0x20]
lea esi, [ebx + 0x58]
push dword [ebx + 0x1c]
lea edi, [ebx + 0x5c]
push dword [ebx + 8]
mov ecx, ebx
mov dword [ebx + 0x54], eax
mov dword [esi], 0
mov dword [edi], 0
call fcn.10003750
push dword [ebx + 0x20]
mov ecx, ebx
push dword [ebx + 0x1c]
mov dword [ebx + 0x64], eax
push dword [ebx + 8]
call fcn.10003750
push 0
push 0
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateDIBSection]
push 0
push dword [ebx + 0x64]
mov dword [ebx + 0x68], eax
push dword [ebx + 0x48]
call esi
push 0
push 0
push edi
push 0
push dword [ebx + 0x64]
mov dword [ebx + 0x6c], eax
push dword [ebx + 0x48]
call esi
push dword [ebx + 0x6c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x4c]
mov dword [ebx + 0x70], eax
call esi
push dword [ebx + 0x70]
push dword [ebx + 0x50]
call esi
mov eax, dword [ebx + 0x64]
mov eax, dword [eax + 0x14]
add eax, eax
push eax
call fcn.1000524c
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x7c], 0
mov eax, dword [eax + 0x14]
xor edx, edx
div esi
add esp, 4
lea ecx, [ebx + 0x84]
push 6
push dword [ebx + 8]
push dword [ebx + 0x14]
push esi
push dword [ebx + 0x1c]
mov dword [ebx + 0x80], eax
call fcn.10004040
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003d70
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x10003f08
cmp dword [esi + 0x78], 0
je 0x10003f08
call fcn.10002280
test al, al
je 0x10003dae
push dword [esi + 0x48]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x78]
push ebx
mov bl, byte [esi + 0x10]
mov dword [esi + 0x7c], 0
mov byte [eax], bl
inc dword [esi + 0x7c]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [esi + 0x1c]
cvtdq2ps xmm0, xmm0
push 0
movss dword [ebp + 8], xmm0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm2, dword [ebp + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lea ecx, [esi + 0x168]
divss xmm2, xmm0
movd xmm0, dword [ebp - 8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm0, dword [0x1009a438]
cvttss2si eax, xmm0
movd xmm0, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 8], eax
mulss xmm0, xmm2
addss xmm0, dword [0x1009a438]
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x78]
movq xmm0, qword [ebp - 8]
movq qword [eax], xmm0
add dword [esi + 0x7c], 8
call fcn.10003be0
mov ecx, dword [esi + 0x7c]
add ecx, dword [esi + 0x78]
mov byte [ecx], al
push dword [esi + 0xc]
inc dword [esi + 0x7c]
push 0
push 0
push dword [esi + 0x48]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push 0
push 0
push dword [esi + 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp bl, 1
jne 0x10003e7c
push 1
mov ecx, esi
call fcn.100039f0
jmp 0x10003ea5
cmp bl, 2
jne 0x10003ea5
mov eax, dword [esi + 0x64]
lea ecx, [esi + 0x84]
push dword [eax + 0x14]
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x78]
push eax
push dword [esi + 0x5c]
call fcn.10003ff0
mov dword [edi], eax
test eax, eax
je 0x10003ea5
add dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
mov dword [edi], eax
lea edi, [esi + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi]
sub ecx, dword [esi + 0x38]
mov eax, dword [edi + 4]
lea ebx, [esi + 0x38]
sbb eax, dword [ebx + 4]
cmp eax, dword [esi + 0x34]
jg 0x10003ef5
jl 0x10003ed0
cmp ecx, dword [esi + 0x30]
jae 0x10003ef5
mov edi, edi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi]
sub ecx, dword [ebx]
mov eax, dword [edi + 4]
sbb eax, dword [ebx + 4]
cmp eax, dword [esi + 0x34]
jl 0x10003ed0
jg 0x10003ef5
cmp ecx, dword [esi + 0x30]
jb 0x10003ed0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x78]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10010f99
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100da130]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.100091fd
mov dword [ebp - 0x14], eax
cmp dword [0x100e6ab8], edi
jne 0x1001108a
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10011017
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1001116a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1001116a
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001116a
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x100e6ab8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x100e6abc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100e6ac0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100e6ac8], eax
test eax, eax
je 0x10011087
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100e6ac4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100110af
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100110a2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x100110c4
push 4
pop eax
jmp 0x1001116c
cmp dword [ebp - 0x14], edi
je 0x100110c4
push dword [0x100e6ab8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100110a9
mov eax, dword [0x100e6ac4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10011122
cmp dword [0x100e6ac8], esi
je 0x10011122
push eax
call ebx
push dword [0x100e6ac8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10011122
test eax, eax
je 0x10011122
call ecx
test eax, eax
je 0x10011117
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10011117
test byte [ebp - 8], 1
jne 0x10011122
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10011152
mov eax, dword [0x100e6abc]
cmp eax, esi
je 0x1001114f
push eax
call ebx
test eax, eax
je 0x1001114f
call eax
mov edi, eax
test edi, edi
je 0x1001114f
mov eax, dword [0x100e6ac0]
cmp eax, esi
je 0x1001114f
push eax
call ebx
test eax, eax
je 0x1001114f
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100e6ab8]
call ebx
test eax, eax
je 0x1001116a
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1001116c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100052c0
leave
ret
Function at 0x1003cfe0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
cmp byte [esi + 2], 1
je 0x1003cff8
mov eax, 0xfffffffc
pop esi
add esp, 0x24
ret
mov dword [esi + 4], 0x10305
mov dword [esi + 8], str.xvid_1.3.5
call fcn.1003cf00
mov dword [esi + 0xc], eax
lea eax, [esp + 4]
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x10], ecx
pop esi
add esp, 0x24
ret

Function at 0x10054960
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edi
mov edi, 1
sub edi, edx
test eax, eax
jbe 0x10054a4c
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [esi]
mov ebp, edi
add ebp, edx
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax], bl
mov dl, byte [ecx + 1]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 1]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 1], bl
mov dl, byte [ecx + 2]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 2]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 2], bl
mov dl, byte [ecx + 3]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 3]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 3], bl
mov dl, byte [ecx + 4]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 4]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 4], bl
mov dl, byte [ecx + 5]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 5]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 5], bl
mov dl, byte [ecx + 6]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 6]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 6], bl
mov dl, byte [ecx + 7]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 7]
mov edx, dword [esp + 0x20]
add ebx, ebp
add ecx, edx
sar ebx, 1
mov byte [eax + 7], bl
add eax, edx
add esi, edx
mov edx, dword [esp + 0x24]
dec edx
mov dword [esp + 0x24], edx
jne 0x1005498b
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x100664a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
lea eax, [eax + eax*2]
push ebp
xor ebp, ebp
push esi
lea eax, [eax + eax*4]
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ecx + eax*2 + 0x20]
mov ax, word [edx]
imul ax, word [esp + 0x24]
cmp ax, 0xf800
mov word [ecx], ax
jge 0x100664da
mov eax, 0xfffff800
jmp 0x100664ea
cmp ax, 0x7ff
jle 0x100664e7
mov eax, 0x7ff
jmp 0x100664ea
movsx eax, ax
mov edi, edx
mov word [ecx], ax
lea esi, [edx + 0x10]
lea eax, [ecx + 2]
sub edi, ecx
mov dword [esp + 0x20], esi
mov ecx, 7
mov bx, word [edi + eax]
add esi, 0x10
mov word [eax], bx
mov bx, word [esi - 0x10]
mov word [eax + 0xe], bx
add eax, 2
dec ecx
jne 0x10066500
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov esi, 1
mov ax, word [edi]
sub word [edx], ax
mov eax, dword [esp + 0x1c]
cmp dword [ecx + eax*4 + 0xd4], esi
jne 0x10066582
mov ebx, edx
lea esi, [edi + 2]
sub ebx, edi
mov edi, 7
mov cx, word [ebx + esi]
add esi, 2
movsx eax, cx
cdq
xor eax, edx
mov dword [esp + 0x18], ecx
sub cx, word [esi - 2]
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
mov word [esi - 2], cx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
dec edi
mov dword [esp + 0x10], edx
jne 0x10066544
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov dx, word [ebx]
add ebx, 0x10
mov cx, dx
mov dword [esp + 0x18], edx
movsx eax, cx
sub cx, word [edi + esi*2]
cdq
xor eax, edx
mov word [edi + esi*2], cx
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
inc esi
cmp esi, 8
mov dword [esp + 0x10], edx
jb 0x10066586
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
Function at 0x57e770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x121000]
push edi
jmp 0x57e78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57e791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e780
mov eax, 1
add ebx, ebx
jne 0x57e7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57e7b4
jne 0x57e7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7d3
dec eax
add ebx, ebx
jne 0x57e7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57e798
add ebx, ebx
jne 0x57e7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57e825
xor ecx, ecx
sub eax, 3
jb 0x57e7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57e85a
sar eax, 1
mov ebp, eax
jmp 0x57e7f6
add ebx, ebx
jne 0x57e7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7c4
inc ecx
add ebx, ebx
jne 0x57e804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7c4
add ebx, ebx
jne 0x57e811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57e806
jne 0x57e822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57e806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57e844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57e836
jmp 0x57e786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57e844
add edi, ecx
jmp 0x57e786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57e862
cmp byte [edi], 0x11
jne 0x57e862
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 0x57e867
lea edi, [esi + 0x177000]
mov eax, dword [edi]
or eax, eax
je 0x57e8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x217964]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x217ae0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57e894
mov ecx, edi
jns 0x57e8c3
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 + 0x217ae4]
or eax, eax
je 0x57e8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57e8b1
call dword [esi + 0x217af4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57e910
cmp al, 0xef
ja 0x57e903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57e8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57e8f2
mov ebp, dword [esi + 0x217ae8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x57e944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x40e430
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax]
cmp edx, 1
jbe 0x40e4b0
movsx edx, byte [eax + 0xb]
mov ecx, ebx
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [0x5d41ec]
mov edx, dword [ebx]
sub esp, 8
mov eax, dword [edx + 4]
mov edi, dword [edx + 0xc]
test ax, ax
mov esi, eax
je 0x40e4c4
xor ecx, ecx
mov eax, 0xffffffff
mov ebx, 0xffffffff
add edi, edx
nop
movzx edx, cx
add ecx, 1
xor al, byte [edi + edx]
movzx edx, al
movzx eax, byte [edx + 0x4fd3e0]
xor eax, ebx
cmp si, cx
movzx ebx, byte [edx + 0x4fd2e0]
jne 0x40e480
add esp, 0x10
movzx edx, bl
shl eax, 8
pop ebx
or eax, edx
pop esi
pop edi
ret
mov edi, dword [eax + 0xc]
mov edx, eax
cmp edi, 0x10
jne 0x40e443
mov eax, dword [edx + 4]
test ax, ax
mov esi, eax
jne 0x40e471
add esp, 0x10
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
ret

Function at 0x4103a0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax]
cmp edx, 1
jbe 0x410420
movsx edx, byte [eax + 0xb]
mov ecx, ebx
shr edx, 0x1f
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call dword [0x5d41ec]
mov edx, dword [ebx]
sub esp, 8
mov eax, dword [edx + 4]
mov edi, dword [edx + 0xc]
test ax, ax
mov esi, eax
je 0x410434
xor ecx, ecx
mov eax, 0xffffffff
mov ebx, 0xffffffff
add edi, edx
nop
movzx edx, cx
add ecx, 1
xor al, byte [edi + edx]
movzx edx, al
movzx eax, byte [edx + 0x4fd680]
xor eax, ebx
cmp si, cx
movzx ebx, byte [edx + 0x4fd580]
jne 0x4103f0
add esp, 0x10
movzx edx, bl
shl eax, 8
pop ebx
or eax, edx
pop esi
pop edi
ret
mov edi, dword [eax + 0xc]
mov edx, eax
cmp edi, 0x10
jne 0x4103b3
mov eax, dword [edx + 4]
test ax, ax
mov esi, eax
jne 0x4103e1
add esp, 0x10
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
ret