joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1132dc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11d3598
push 0x11487b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.011310d0
test eax, eax
jne 0x1132e35
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1132e35
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x4550
je 0x1132e35
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x1132e61
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1133200
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x110]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0x11be33c
push 0x11be330
call fcn.01135770
add esp, 0x14
push 1
lea eax, [ebp - 0x110]
push eax
call fcn.01135580
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x11332a2
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x1133292
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x114], 1
jmp 0x1133298
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret 4

Function at 0x1134ea0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
cmp dword [0x11df03c], 0xffffffff
jne 0x1134f1c
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.01146830
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
ja 0x1134f06
cmp dword [ebp - 0x114], 6
jne 0x1134efa
cmp dword [ebp - 0x110], 1
ja 0x1134f06
mov dword [ebp - 0x11c], 0
jmp 0x1134f10
mov dword [ebp - 0x11c], 1
mov edx, dword [ebp - 0x11c]
mov dword [0x11df03c], edx
xor eax, eax
cmp dword [0x11df03c], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x11388f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x11389cf
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 0x4550
jne 0x11389cf
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x11389cf
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x50]
jae 0x11389cf
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
je 0x11389cf
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x11389cf
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
je 0x11389cf
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x50]
jae 0x11389cf
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x10]
je 0x11389cf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
je 0x11389c4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp + 0xc]
jne 0x11389b9
push 4
mov edx, dword [ebp - 0x14]
push edx
call fcn.0112f3a0
test eax, eax
je 0x11389b9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
jmp 0x1138990
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov dword [ebp - 0x10], eax
jmp 0x1138959
mov esp, ebp
pop ebp
ret 0xc
Function at 0x113cd40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [0x11e5e54], 0
je 0x113cd5b
cmp dword [0x11e5e58], 0
jne 0x113cdae
push 1
push 0x11be874
call fcn.01133460
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 8]
add ecx, 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x113cdac
mov edx, dword [0x11e5e50]
sub edx, dword [ebp - 8]
sub edx, 0xe
mov eax, dword [ebp - 8]
mov dword [eax + 0xa], edx
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 4
mov eax, dword [ebp - 8]
add eax, 0xa
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x113cdb9
push 0x113ca50
call dword [0x11e5e58]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4

Function at 0x1142239
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x11df584]
jne 0x1142243
repz ret
jmp fcn.0114a3ee
Function at 0x114f3bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x11df584]
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.0114a607
and dword [ebp - 0x14], 0
cmp dword [0x11e624c], 0
mov dword [ebp - 0x18], eax
jne 0x114f46f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x114f517
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x114f517
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x11e624c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x11e6250], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x11e6254], eax
call edi
push eax
call esi
mov dword [0x11e625c], eax
test eax, eax
je 0x114f46f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x11e6258], eax
mov eax, dword [0x11e6258]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x114f4c8
cmp dword [0x11e625c], ecx
je 0x114f4c8
push eax
call esi
push dword [0x11e625c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x114f4c8
test ebx, ebx
je 0x114f4c8
call edi
test eax, eax
je 0x114f4bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x114f4bf
test byte [ebp - 8], 1
jne 0x114f4c8
or dword [ebp + 0x10], 0x200000
jmp 0x114f4fb
mov eax, dword [0x11e6250]
cmp eax, dword [ebp - 0x18]
je 0x114f4fb
push eax
call esi
test eax, eax
je 0x114f4fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x114f4fb
mov eax, dword [0x11e6254]
cmp eax, dword [ebp - 0x18]
je 0x114f4fb
push eax
call esi
test eax, eax
je 0x114f4fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x11e624c]
call esi
test eax, eax
je 0x114f517
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x114f519
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01142239
leave
ret

Function at 0x115cc00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, edx
push esi
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x115cc10
sub eax, esi
add eax, edx
mov ecx, 0x811c9dc5
cmp edx, eax
je 0x115cc34
movsx esi, byte [edx]
imul ecx, ecx, 0x1000193
inc edx
xor ecx, esi
cmp edx, eax
jne 0x115cc24
and ecx, 0x7fffffff
push 0x1f31d
push ecx
call fcn.011a7b30
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
pop esi
mov eax, edx
jns 0x115cc60
add eax, 0x7fffffff
pop ebp
ret 4
Function at 0x11666e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11a8c86
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x11df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], ebx
mov dword [ebp - 4], ebx
mov byte [esi + 0x20], bl
push 0x14
mov byte [ebp - 4], 1
mov dword [esi + 0x4c], ebx
call fcn.01142640
add esp, 4
cmp eax, ebx
je 0x1166794
mov dword [esi + 0x48], eax
mov dword [eax], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x48]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x48]
mov byte [ecx + 0x11], 1
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], 0xf
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], ebx
call fcn.01142759
push 0x11d81a8
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0114abcf
int3
Function at 0x1167dc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x1167def
cmp ecx, eax
jne 0x1167def
mov ecx, ebx
call fcn.01166d70
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
cmp esi, ecx
je 0x1167ecd
push edi
mov edx, dword [esi]
mov dword [ebp + 0xc], edx
mov edx, dword [esi + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1167e05
sub eax, edi
add eax, edx
mov ecx, 0x811c9dc5
cmp edx, eax
je 0x1167e30
lea esp, [esp]
movsx edi, byte [edx]
imul ecx, ecx, 0x1000193
inc edx
xor ecx, edi
cmp edx, eax
jne 0x1167e20
and ecx, 0x7fffffff
push 0x1f31d
push ecx
call fcn.011a7b30
imul edx, edx, 0x41a7
imul eax, eax, 0xb14
add esp, 8
sub edx, eax
jns 0x1167e5a
add edx, 0x7fffffff
mov ecx, dword [ebx + 0x20]
mov eax, ecx
and eax, edx
cmp dword [ebx + 0x24], eax
ja 0x1167e6f
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0x1167e98
cmp dword [ecx], esi
jne 0x1167e90
mov edx, dword [ebx + 4]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0x1167ea0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x1167ea0
cmp dword [ecx], esi
jne 0x1167ea0
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [ebx + 4]
je 0x1167ec0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
push esi
mov dword [edx + 4], eax
call fcn.011425e4
add esp, 4
dec dword [ebx + 8]
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
jne 0x1167df8
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1183e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11aca23
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x11df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
call fcn.01142640
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x1183e95
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.google::protobuf::SourceCodeInfo_Location.0
call fcn.0117e720
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, 0x11e06e0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1184b30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11aaaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x11df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::FileDescriptorProto.0
call fcn.0117e720
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov eax, 0x11e06e0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x84], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1184fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11aaaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x11df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::DescriptorProto.0
call fcn.0117e720
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 8], 0x11e06e0
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1186fc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11aaaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x11df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
mov dword [esi], vtable.google::protobuf::UninterpretedOption.0
call fcn.0117e720
fldz
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
fstp qword [esi + 0x30]
mov eax, 0x11e06e0
mov dword [esi + 0x18], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1187110
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11aca23
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x11df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x48
call fcn.01142640
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x11871a3
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.google::protobuf::UninterpretedOption.0
call fcn.0117e720
fldz
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
fstp qword [esi + 0x30]
mov eax, 0x11e06e0
mov dword [esi + 0x18], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
and eax, 0x8000000f
jns 0x401665
dec eax
or eax, 0xfffffff0
inc eax
cmp dword [ebp + 8], 0
jne 0x401671
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0
je 0x40166b
push esi
push edi
movq mm6, qword [section..data]
pxor mm7, mm7
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
shr ecx, 4
jne 0x401693
jmp 0x4016d5
movq mm0, qword [esi]
movq mm1, qword [esi + 8]
movq mm2, mm0
movq mm3, mm1
movq mm4, qword [edi]
movq mm5, qword [edi + 8]
pcmpeqb mm0, mm7
pcmpeqb mm1, mm7
pand mm4, mm0
pand mm5, mm1
pxor mm0, mm6
pxor mm1, mm6
pand mm2, mm0
pand mm3, mm1
por mm2, mm4
por mm3, mm5
movq qword [edi], mm2
movq qword [edi + 8], mm3
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
dec ecx
jne 0x401693
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
emms
test eax, eax
jne 0x4016ec
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
mov edx, 1
jle 0x40170f
mov ecx, eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
test al, al
je 0x401705
mov esi, dword [ebp - 4]
mov byte [esi], al
add dword [ebp - 4], edx
add dword [ebp - 8], edx
sub ecx, edx
jne 0x4016f7
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4894c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
and ebx, 0x80000007
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jns 0x40174d
dec ebx
or ebx, 0xfffffff8
inc ebx
test eax, eax
jne 0x401762
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004546e4
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x401751
mov dl, byte [ebp + 0x14]
push esi
lea eax, [ebp - 0xc]
push edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xc], dl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0xa], dl
mov byte [ebp - 9], dl
mov byte [ebp - 8], dl
mov byte [ebp - 7], dl
mov byte [ebp - 6], dl
mov byte [ebp - 5], dl
movq mm6, qword [0x489008]
pxor mm7, mm7
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
shr ecx, 3
mov eax, dword [ebp - 0x18]
movq mm1, qword [eax]
jne 0x4017a9
jmp 0x4017cd
movq mm0, qword [esi]
movq mm2, mm1
movq mm4, qword [edi]
pcmpeqb mm0, mm7
pand mm4, mm0
pxor mm0, mm6
pand mm2, mm0
por mm2, mm4
movq qword [edi], mm2
lea esi, [esi + 8]
lea edi, [edi + 8]
dec ecx
jne 0x4017a9
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
emms
test ebx, ebx
pop edi
pop esi
mov eax, 1
je 0x4017f9
jle 0x4017f9
mov ecx, dword [ebp - 0x10]
cmp byte [ecx], 0
je 0x4017ef
mov ecx, dword [ebp - 0x14]
mov byte [ecx], dl
add dword [ebp - 0x14], eax
add dword [ebp - 0x10], eax
sub ebx, eax
jne 0x4017e2
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004546e4
mov esp, ebp
pop ebp
ret
Function at 0x402430
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
push esi
push edi
rdtsc
mov dword [esp + 8], eax
mov esi, dword [0x477370]
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x64
jb 0x402443
rdtsc
sub eax, dword [esp + 8]
mov dword [esp + 8], eax
fild dword [esp + 8]
mov eax, dword [esp + 8]
test eax, eax
jge 0x402468
fadd qword [0x477730]
fdiv qword [0x477728]
pop edi
pop esi
fstp dword [esp]
fld dword [esp]
pop ecx
ret
Function at 0x404c50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x17e4
call fcn.00454700
mov eax, dword [0x4894c8]
xor eax, esp
mov dword [esp + 0x17e0], eax
mov ecx, dword [str.EAGLS_SYSTEM]
mov edx, dword [0x478750]
mov eax, dword [esp + 0x17e8]
push ebx
push ebp
mov ebp, dword [esp + 0x17f4]
push esi
mov esi, dword [esp + 0x17fc]
push edi
push 0x73
xor ebx, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov eax, dword [0x478754]
mov dword [esp + 0x28], ecx
mov cl, byte [0x478758]
lea edx, [esp + 0x35]
push ebx
push edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], esi
xor edi, edi
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], cl
call fcn.00454750
lea eax, [esp + 0x30]
add esp, 0xc
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404cd0
sub eax, ecx
push 0x174b
mov dword [esp + 0x14], eax
lea eax, [esp + 0xa8]
push ebp
push eax
call fcn.004014b0
movzx ecx, byte [esi + ebp - 1]
push ecx
push 0x41d510
push 0x41d320
call fcn.0041d560
add esp, 0x18
xor esi, esi
lea esp, [esp]
call fcn.0041d580
cdq
idiv dword [esp + 0x10]
add esi, 1
mov dl, byte [esp + edx + 0x24]
xor byte [esp + esi + 0xa3], dl
cmp esi, 0x174b
jl 0x404d10
push 0x174b
lea eax, [esp + 0xa8]
push eax
push ebp
call fcn.004014b0
mov esi, 0xfee
push esi
lea ecx, [esp + 0xb4]
push 0
push ecx
mov dword [esp + 0x28], ebx
call fcn.00454750
add esp, 0x18
nop
mov eax, dword [esp + 0x10]
shr eax, 1
test eax, 0x100
mov dword [esp + 0x10], eax
jne 0x404d81
movzx eax, byte [edi + ebp]
add edi, 1
or eax, 0xff00
mov dword [esp + 0x10], eax
test byte [esp + 0x10], 1
je 0x404dab
movzx eax, byte [edi + ebp]
mov edx, dword [esp + 0x18]
mov byte [esp + esi + 0xa4], al
mov byte [edx + ebx], al
add esi, 1
add edi, 1
add ebx, 1
and esi, 0xfff
jmp 0x404e17
movzx ebp, byte [edi + ebp]
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + edi + 1]
add edi, 1
mov ecx, eax
and ecx, 0xf0
shl ecx, 4
or ebp, ecx
and eax, 0xf
add edi, 1
add eax, 2
mov dword [esp + 0x1c], eax
mov ecx, 0
js 0x404e13
lea esp, [esp]
mov eax, dword [esp + 0x18]
lea edx, [ecx + ebp]
and edx, 0xfff
mov dl, byte [esp + edx + 0xa4]
mov byte [esp + esi + 0xa4], dl
add esi, 1
mov byte [eax + ebx], dl
add ecx, 1
add ebx, 1
and esi, 0xfff
cmp ecx, dword [esp + 0x1c]
jle 0x404de0
mov ebp, dword [esp + 0x14]
cmp edi, dword [esp + 0x20]
jl 0x404d60
mov ecx, dword [esp + 0x17f0]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004546e4
add esp, 0x17e4
ret

Function at 0x408660
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x4a11f0
call fcn.00401040
mov eax, dword [esp + 0xc]
push 0x478b90
push eax
call fcn.00454e6d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40869b
push eax
call fcn.00454d2d
add esp, 4
push 0x4a11f0
call fcn.00401060
add esp, 4
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push 1
push ecx
push edx
call fcn.00455344
push esi
call fcn.00454d2d
add esp, 0x14
push 0x4a11f0
call fcn.00401060
add esp, 4
pop esi
ret