joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57cae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
xor edx, edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x57ccb3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x41]
xor ecx, ecx
mov edx, 0x21
call fcn.00402b14
lea eax, [ebp - 0x62]
xor ecx, ecx
mov edx, 0x21
call fcn.00402b14
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x41]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
add eax, 0x2c
mov dword [ebp - 4], eax
lea eax, [ebp - 0x62]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x1ff
pushal
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor edx, edx
mov ebx, 0x3617e418
mov eax, ebx
xor byte [esi + edx], al
ror ebx, 1
xor ebx, 0xa5a5a5a5
inc edx
dec ecx
jne 0x57cb5b
popal
lea edx, [ebp - 0x41]
mov eax, dword [ebp - 0x20]
add eax, 0x2c
mov ecx, 0x20
call fcn.004027e0
pushal
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov eax, dword [edi]
xor eax, dword [edi + 4]
mov ebx, dword [edi + 8]
xor ebx, dword [edi + 0xc]
mov eax, 0x3617e418
xor dword [edi], eax
mov eax, 0xa935fc2e
xor dword [edi + 4], eax
mov eax, 0x57d872b9
xor dword [edi + 8], eax
mov eax, 0x493db437
xor dword [edi + 0xc], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xc]
mov eax, 0x3617e418
xor dword [edi], eax
mov eax, 0xa935fc2e
xor dword [edi + 4], eax
mov eax, 0x57d872b9
xor dword [edi + 8], eax
mov eax, 0x493db437
xor dword [edi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [edi + 4]
mov ebx, dword [edi + 8]
xor ebx, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
popal
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
jne 0x57cc78
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jne 0x57cc78
mov eax, 0x5a57b0
lea edx, [ebp - 0x62]
mov ecx, 0x21
call fcn.00403c3c
lea ecx, [ebp - 0x68]
mov edx, 8
mov eax, dword [ebp - 0x1c]
call fcn.00407424
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
mov edx, 8
mov eax, dword [ebp - 0x18]
call fcn.00407424
mov edx, dword [ebp - 0x6c]
mov eax, 0x5a57b4
pop ecx
call fcn.00403cd8
jmp 0x57cc98
mov eax, 0x5a57b0
mov edx, dword [0x5a57c8]
call fcn.00403a64
mov eax, 0x5a57b4
mov edx, dword [0x5a57cc]
call fcn.00403a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ccba
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00403a34
ret
Function at 0x59848c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [0x5a6450]
cmp dword [eax], 0
je 0x5984fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5dc]
cmp byte [eax + 0xc0], 0
je 0x5984ca
push 0
mov eax, dword [0x5a6450]
mov eax, dword [eax]
call fcn.0042771c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5984fa
mov eax, dword [0x5a6450]
mov eax, dword [eax]
call fcn.004319f0
push 4
mov eax, dword [0x5a6450]
mov eax, dword [eax]
call fcn.0042771c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5ac9cc]
call fcn.0042771c
push eax
call sub.user32.dll_SetForegroundWindow
pop ecx
pop ecx
pop ebp
ret
Function at 0x42c1d3
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x435770
call fcn.0042c958
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x436574
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x42c218
cmp eax, esi
jne 0x42c20b
xor esi, esi
inc esi
mov edi, esi
jmp 0x42c21b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42c1ef
xor esi, esi
inc esi
cmp dword [0x436578], esi
jne 0x42c22d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x42c267
cmp dword [0x436578], ebx
jne 0x42c261
mov dword [0x436578], esi
push 0x40141c
push 0x401410
call fcn.0042c34c
pop ecx
pop ecx
test eax, eax
je 0x42c267
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42c33c
mov dword [0x436124], esi
cmp dword [0x436578], esi
jne 0x42c28a
push 0x40140c
push 0x4013f4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x436578], 2
test edi, edi
jne 0x42c297
xor eax, eax
mov ecx, 0x436574
xchg dword [ecx], eax
cmp dword [0x43657c], 0
je 0x42c2c3
push 0x43657c
call fcn.0042c7b0
pop ecx
test eax, eax
je 0x42c2c3
push ebx
push 2
push ebx
mov esi, dword [0x43657c]
mov ecx, esi
call dword [0x437220]
call esi
push dword [0x436130]
push dword [0x43612c]
push dword [0x436128]
call fcn.0040d66e
add esp, 0xc
mov dword [0x436120], eax
cmp dword [0x436138], 0
jne 0x42c321
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x436124], 0
jne 0x42c335
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x436120]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0055f000
jmp 0x42c1d3

Function at 0x42c6a4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x435790
call fcn.0042c958
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x42c704
cmp eax, 0xffffffff
je 0x42c704
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x42c6fd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x42c6fd
cmp edx, 0x10000000
jae 0x42c6fd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x42c6fa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42c760
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x42c79e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42c796
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42c7a0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42c786
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e004]
jne 0x40100a
repz ret
jmp fcn.004017a7

Function at 0x408585
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404264
and dword [ebp - 4], 0
cmp dword [0x470188], 0
mov ebx, eax
jne 0x408636
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4086e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4086e7
push eax
call fcn.004041f2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x470188], eax
call esi
push eax
call fcn.004041f2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47018c], eax
call esi
push eax
call fcn.004041f2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x470190], eax
call esi
push eax
call fcn.004041f2
pop ecx
mov dword [0x470198], eax
test eax, eax
je 0x408636
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004041f2
pop ecx
mov dword [0x470194], eax
mov eax, dword [0x470194]
cmp eax, ebx
je 0x40868e
cmp dword [0x470198], ebx
je 0x40868e
push eax
call fcn.0040426d
push dword [0x470198]
mov esi, eax
call fcn.0040426d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40868e
test edi, edi
je 0x40868e
call esi
test eax, eax
je 0x408685
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408685
test byte [ebp - 0xc], 1
jne 0x40868e
or dword [ebp + 0x10], 0x200000
jmp 0x4086c7
mov eax, dword [0x47018c]
cmp eax, ebx
je 0x4086c7
push eax
call fcn.0040426d
pop ecx
test eax, eax
je 0x4086c7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4086c7
mov eax, dword [0x470190]
cmp eax, ebx
je 0x4086c7
push eax
call fcn.0040426d
pop ecx
test eax, eax
je 0x4086c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x470188]
call fcn.0040426d
pop ecx
test eax, eax
je 0x4086e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4086e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a31
Capabilities:
Access the windows event log
Clear file content
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45bc085
jg 0x401a5a
inc edi
cmp edi, 0x323bbf1
jl 0x401a40
cmp dword [0x283743c], 0x400
jne 0x401a9a
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
call dword [sym.imp.USER32.dll_ShowCursor]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call fcn.00401ea1
push esi
call fcn.00402043
push esi
call fcn.00402052
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x401ab9
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x401adf
inc edi
cmp edi, 0x263ff
jl 0x401a9c
mov eax, dword [0x449574]
mov dword [0x283743c], eax
call fcn.004017c2
mov edi, 0x3078f
cmp dword [0x283743c], 0x51f
jne 0x401b0d
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401af3
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x40418b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f310]
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.00403143
and dword [ebp - 0x14], 0
cmp dword [0x4540e4], 0
mov dword [ebp - 0x18], eax
jne 0x40423e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4042e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4042e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4540e4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4540e8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4540ec], eax
call edi
push eax
call esi
mov dword [0x4540f4], eax
test eax, eax
je 0x40423e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4540f0], eax
mov eax, dword [0x4540f0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404297
cmp dword [0x4540f4], ecx
je 0x404297
push eax
call esi
push dword [0x4540f4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404297
test ebx, ebx
je 0x404297
call edi
test eax, eax
je 0x40428e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40428e
test byte [ebp - 8], 1
jne 0x404297
or dword [ebp + 0x10], 0x200000
jmp 0x4042ca
mov eax, dword [0x4540e8]
cmp eax, dword [ebp - 0x18]
je 0x4042ca
push eax
call esi
test eax, eax
je 0x4042ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4042ca
mov eax, dword [0x4540ec]
cmp eax, dword [ebp - 0x18]
je 0x4042ca
push eax
call esi
test eax, eax
je 0x4042ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4540e4]
call esi
test eax, eax
je 0x4042e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4042e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004044f6
leave
ret

Function at 0x4044f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f310]
jne 0x404500
repz ret
jmp fcn.004053c6
Function at 0x10001000
Capabilities:
Get common file path

Disassembly:
cmp dword [0x1000c8f0], 0
push esi
je 0x1000100f
push 1
pop eax
pop esi
ret
mov esi, 0x1000c504
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100099b4
push esi
call fcn.100030e0
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x1000c8f0], eax
jne 0x1000103f
pop esi
ret
push edi
mov edi, 0x1000c4f0
mov esi, str.vSetDdrawflag
push esi
push dword [0x1000c8f0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi], eax
add esi, 0x32
add edi, 4
cmp esi, 0x1000912a
jl 0x1000104a
push 1
pop eax
pop edi
pop esi
ret

Function at 0x10001ed0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10007110
push 0x100035f8
mov eax, dword fs:[0]

Function at 0x10001fe2
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1000c908], eax
je 0x10001ff8
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x1000c918]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x10002045
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x10002036
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x10002036
push eax
call fcn.100020ac
pop ecx
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.100036d0
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x10002007
mov dword [0x1000c918], ebx
call fcn.10002085
mov esi, dword [0x1000c914]
cmp esi, ebx
je 0x10002072
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.100036d0
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x1000205a
pop edi
mov dword [0x1000c914], ebx
mov dword [0x1000c908], ebx
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x1000265b
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x7ff80000
mov ebx, 0x10000
jbe 0x1000267f
lea eax, [esi - 0x7ff80000]
mov dword [ebp + 8], eax
jmp 0x10002682
mov dword [ebp + 8], ebx
cmp esi, 0x80000000
jae 0x10002695
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x1000269c
mov dword [ebp - 4], 0xfff80000
mov eax, dword [0x1000c900]
mov ecx, dword [0x1000c8fc]
test eax, eax
jne 0x100026b6
test ecx, ecx
je 0x100026cb
mov eax, ecx
mov dword [0x1000c900], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100026cb
cmp edx, dword [ebp + 8]
jb 0x100026cb
cmp edx, dword [ebp - 4]
jbe 0x10002824
mov eax, ecx
test ecx, ecx
mov dword [0x1000c900], eax
je 0x100026fb
test eax, eax
je 0x100026ef
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100026ef
cmp ecx, dword [ebp + 8]
jb 0x100026ef
cmp ecx, dword [ebp - 4]
jbe 0x10002824
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x1000c900], eax
jne 0x100026da
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp + 8]
mov edi, esi
jbe 0x10002763
cmp edi, 0x70000000
jb 0x10002720
cmp edi, 0x80000000
ja 0x10002720
mov edi, 0x6fff0000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10002763
cmp dword [ebp - 0x10], ebx
jne 0x1000273b
cmp dword [ebp - 0x14], ebx
jae 0x1000274b
mov eax, dword [ebp - 0x1c]
lea edi, [eax - 0x10000]
cmp edi, dword [ebp + 8]
ja 0x1000270b
jmp 0x10002763
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x1000c900], eax
jne 0x100027da
cmp esi, dword [ebp - 4]
jae 0x1000284b
cmp esi, 0x70000000
jb 0x10002781
cmp esi, 0x80000000
ja 0x10002781
mov esi, 0x80010000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000284b
cmp dword [ebp - 0x10], ebx
jne 0x100027cf
cmp dword [ebp - 0x14], ebx
jb 0x100027cf
mov ecx, esi
and ecx, 0xffff
je 0x100027b7
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x14], eax
add dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x1000c900], eax
jne 0x100027da
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
lea esi, [eax + ecx]
jmp 0x10002763
mov dword [eax], 0x52727464
mov eax, dword [0x1000c900]
xor ecx, ecx
mov dword [eax + 8], ecx
mov eax, dword [0x1000c900]
mov edx, dword [0x1000c8fc]
mov dword [eax + 4], edx
mov eax, dword [0x1000c900]
mov dword [0x1000c8fc], eax
add eax, 0xffe0
mov edx, 0x7fd
mov dword [eax + 0x18], ecx
mov ecx, eax
sub eax, 0x20
dec edx
jne 0x1000280c
mov eax, dword [0x1000c900]
mov dword [eax + 8], ecx
mov eax, dword [0x1000c900]
mov esi, dword [eax + 8]
cmp esi, dword [ebp + 8]
jb 0x1000284b
cmp esi, dword [ebp - 4]
ja 0x1000284b
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.10003270
add esp, 0xc
mov eax, esi
jmp 0x1000284d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002852
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10007120
push 0x100035f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100028c7
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x5a4d
jne 0x100028c3
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x100028c3
cmp word [eax + 0x14], 0
jne 0x100028b8
xor eax, eax
or dword [ebp - 4], 0xffffffff
jmp 0x100028c9
mov eax, ecx
jmp 0x100028b2
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001cae0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x1001cb3b
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
sub dword [ebp + 8], 1
mov byte [edi - 1], dl
jne 0x1001cb00
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret

Function at 0x1006b504
Capabilities:
Authenticate hmac
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
call fcn.10062680
mov edi, 0x2ce21164
setnp byte [ebx + edx - 0x15790000]
lea esp, [esp - 4]
mov dword [esp], edx
mov edx, ebp
mov ebp, dword [esp]
xchg ebp, edx
mov edx, esp
push ebp
xchg ebp, edx
pop edx
xchg esi, ebx
lea esp, [esp - 4]
mov dword [esp], esi
mov esi, ebx
mov ebx, dword [esp]
xchg ecx, esi
lea esp, [esp - 4]
mov dword [esp], ecx
mov ecx, esi
mov esi, dword [esp]
xchg ebx, edi
lea esp, [esp - 4]
mov dword [esp], ebx
mov ebx, edi
mov edi, dword [esp]
pushfd
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x79]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
call fcn.1001d151
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x23]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
add dword [esp], 0xfffb1c03
xchg dword [esp], eax
push ebp
mov ebp, esp
leave
xchg dword [esp + 4], eax
pushfd
add ebp, 0x79
popfd
lea ebp, [ebp - 0x79]
xchg dword [esp], eax
mov ecx, ecx
popfd
mov eax, eax
jmp 0x1001d0e4

Function at 0x1068ed78
Capabilities:
Authenticate hmac
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
leave
add dword [esp], 0xff98d314
xchg dword [esp], eax
push ebp
mov ebp, esp
leave
xchg dword [esp + 4], eax
push ebp
mov ebp, esp
leave
xchg dword [esp], eax
pushfd
add ebp, 0x1c
popfd
lea ebp, [ebp - 0x1c]
popfd
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x2c]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
jmp 0x100147ec
Function at 0x4374d5
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x75
movsb byte es:[edi], byte [esi]
dec ebp
pop esi
rcr dword [eax], cl
sbb dword [ebx + 0x65], 0x52e1d279
sbb al, 0x6d
in al, dx
or byte [edi], bl
jae 0x43753c
insb byte es:[edi], dx
shl byte [0x801cddfa], 0x3f
in eax, 0xa
out dx, ax
daa
retf 0x56e2
xor esp, ebp
pop edx
adc eax, dword [ecx]
fidivr dword [edx - 0x2fbe3b16]
sbb al, byte [edx + 0xb2d34d1]
xchg edi, eax
aad 0x1f
or eax, dword [0xa7589453]
cmpsd dword [esi], dword es:[edi]
and eax, 0x7bf1eeb4
movsb byte es:[edi], byte [esi]
scasd eax, dword es:[edi]
in eax, 0x84
adc al, 6
add eax, 0xb57ef524
mov byte [0x30e56f58], al
sal byte [eax - 0x79f53d38], 1
mov bl, 0x76
push ecx
add dh, cl
and al, 0xf5
inc edi
js 0x437523
inc ebx
or al, 0x4d
pop edi
inc ecx
mov dh, 0xc
push 0xffffffffffffff94
xchg esp, eax
and eax, 0x25e04a92
pop edi
cmp eax, 0xc2dc66b3
insd dword es:[edi], dx
stosd dword es:[edi], eax
xchg ebp, eax
test byte [ebx + 0x31], dl
scasd eax, dword es:[edi]
div dword [ecx - 0x5e7bb0e1]
invalid

Function at 0x48a291
Capabilities:
Authenticate hmac

Disassembly:
xchg ebp, eax
salc
push es
aad 0xbf
in eax, 0x42
in al, dx
invalid

Function at 0x48a2b1
Capabilities:
Authenticate hmac

Disassembly:
push 0x63f2bfd6
movsb byte es:[edi], byte [esi]
mov esp, 0x95855a39
pop edx
invalid
xchg ebp, eax
jl fcn.0048a241
mov edi, 0x1ad072a2
ficom dword [ebx + 0x50]
mov bl, 0x79
imul ebp, dword [esi - 0x3f], 0xffffffbf
outsb dx, byte [esi]
sar dword [edi + 0x53b9358d], 0xda
invalid

Function at 0x48a2b9
Capabilities:
Authenticate hmac

Disassembly:
push 0x63f2bfd6
movsb byte es:[edi], byte [esi]
mov esp, 0x95855a39
pop edx
invalid
xchg ebp, eax
jl fcn.0048a241
mov edi, 0x1ad072a2
ficom dword [ebx + 0x50]
mov bl, 0x79
imul ebp, dword [esi - 0x3f], 0xffffffbf
outsb dx, byte [esi]
sar dword [edi + 0x53b9358d], 0xda
invalid

Function at 0x48a2c9
Capabilities:
Authenticate hmac

Disassembly:
push 0x63f2bfd6
movsb byte es:[edi], byte [esi]
mov esp, 0x95855a39
pop edx
invalid
xchg ebp, eax
jl fcn.0048a241
mov edi, 0x1ad072a2
ficom dword [ebx + 0x50]
mov bl, 0x79
imul ebp, dword [esi - 0x3f], 0xffffffbf
outsb dx, byte [esi]
sar dword [edi + 0x53b9358d], 0xda
invalid

Function at 0x48a2d1
Capabilities:
Authenticate hmac

Disassembly:
push 0x63f2bfd6
movsb byte es:[edi], byte [esi]
mov esp, 0x95855a39
pop edx
invalid
xchg ebp, eax
jl fcn.0048a241
mov edi, 0x1ad072a2
ficom dword [ebx + 0x50]
mov bl, 0x79
imul ebp, dword [esi - 0x3f], 0xffffffbf
outsb dx, byte [esi]
sar dword [edi + 0x53b9358d], 0xda
invalid

Function at 0x48a311
Capabilities:
Authenticate hmac

Disassembly:
mov edx, cs
pop eax
push ebx
sub dh, byte [ebx]
push esi
test cl, bl
out 0x34, eax
invalid