joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1a40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65bf40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00437550
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xbf0], 0x67a2a0
push 8
mov dword [esi + 0xbf4], ecx
lea edi, [esi + 0x88]
push str.Continue
lea ecx, [ebp - 0x28]
mov dword [esi], vtable.Sexy::IntroScreen.0
mov dword [edi], vtable.Sexy::IntroScreen.1.0
mov dword [esi + 0x8c], vtable.Sexy::IntroScreen.2.0
mov dword [esi + 0xbf0], 0x67acd4
mov dword [esi + 0x4c], 3
mov dword [esi + 0xc04], 1
mov dword [esi + 0xc08], ebx
mov byte [esi + 0x86c], bl
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
call fcn.00402300
lea eax, [ebp - 0x28]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00428360
mov byte [ebp - 4], bl
cmp dword [ebp - 0x10], 0x10
mov dword [esi + 0xc14], eax
jb 0x4d1b15
mov edx, dword [ebp - 0x24]
push edx
call fcn.0062493b
add esp, 4
mov ecx, dword [esi + 0xc14]
mov eax, dword [ecx + 0x38]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x190
sub edx, eax
mov dword [esi + 0xc0c], edx
mov dword [esi + 0xc10], 0x21a
mov eax, dword [ecx]
mov eax, dword [eax + 0xa4]
push 0x21a
push edx
call eax
mov ecx, dword [esi + 0xc14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
push ebx
call eax
mov eax, dword [esi + 0xc14]
mov ecx, 0xffffff9c
sub ecx, dword [eax + 0x38]
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0xc14]
push edx
mov ecx, esi
mov dword [esi + 0xb4], 0x64
call fcn.00558dd0
mov eax, 1
mov ecx, esi
mov dword [esi + 0xc04], ebx
mov dword [esi + 0xbf8], ebx
mov dword [esi + 0xbfc], eax
mov dword [esi + 0xc00], ebx
mov byte [esi + 0x8ac], bl
mov dword [esi + 0xc18], ebx
mov dword [esi + 0xc1c], 0xfffffffb
call fcn.004d2300
push esi
call fcn.004d1c10
push ebx
mov ecx, esi
call fcn.0043b250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x648f93
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.00613e49
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x4d84a1
mov eax, dword [esi + 0x1c]
push eax
call fcn.0062493b
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4d8e80
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x104
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [0x6b9cf4], 0
jne 0x4d8efd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 4]
push str.gPakInterfaceP__d
push eax
call fcn.0062635f
add esp, 0xc
lea ecx, [esp]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x6b9cf4], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x6b9cf8], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00624940
add esp, 0x104
ret
mov ecx, dword [esp + 0x100]
mov edx, dword [0x6b9cf8]
mov eax, dword [edx]
xor ecx, esp
call fcn.00624940
add esp, 0x104
ret
Function at 0x4dcae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x64e59d
mov eax, dword fs:[0]
push eax
sub esp, 0x950
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x94c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x964]
mov dword fs:[0], eax
mov eax, dword [esp + 0x974]
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], esi
mov dword [esp + 0x1c], ecx
mov byte [ecx + 4], 0
mov dword [esp + 0x96c], esi
mov ebp, dword [eax + 0xb8]
mov ebx, dword [eax + 0xb4]
mov dword [esp + 0x20], 1
jmp 0x4dcb62
xor esi, esi
push 0x103
lea eax, [esp + 0x61]
push esi
push eax
mov byte [esp + 0x68], 0
call fcn.0062a710
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x70]
push 0x104
push eax
mov eax, ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.004dd110
lea eax, [esp + 0x78]
add esp, 0x1c
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4dcbb5
sub eax, edx
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402300
lea esi, [esp + 0x24]
lea edi, [esp + 0x40]
mov dword [esp + 0x96c], 1
call fcn.004dd1c0
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x4dcbf6
mov eax, dword [eax + 4]
jmp 0x4dcbf9
add eax, 4
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
push ebx
push ebp
lea ecx, [esp + 0x174]
push str._08X___08X___04X:_08X__s_r_n
push ecx
call fcn.0062635f
add esp, 0x1c
cmp dword [esp + 0x58], esi
jb 0x4dcc2e
mov edx, dword [esp + 0x44]
push edx
call fcn.0062493b
add esp, 4
mov byte [esp + 0x96c], 0
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x4dcc5e
mov eax, dword [esp + 0x28]
push eax
call fcn.0062493b
add esp, 4
lea eax, [esp + 0x160]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4dcc68
mov esi, dword [esp + 0x1c]
sub eax, edx
push eax
lea ecx, [esp + 0x164]
push ecx
mov ecx, esi
call fcn.00446130
mov ebp, dword [ebx + 4]
mov eax, ebx
mov ebx, dword [ebx]
test bl, 3
jne 0x4dccac
cmp ebx, eax
jbe 0x4dccac
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x4dcb60
mov eax, esi
jmp 0x4dccae
mov eax, esi
mov ecx, dword [esp + 0x964]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94c]
xor ecx, esp
call fcn.00624940
add esp, 0x95c
ret
Function at 0x4dd110
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, eax
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4dd12f
xor al, al
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0xc]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4dd151
pop esi
xor al, al
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [ecx + eax + 0x18]
jbe 0x4dd192
lea eax, [ecx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
cmp edx, esi
mov ecx, dword [eax - 4]
ja 0x4dd17e
mov edx, esi
cmp edi, ecx
jb 0x4dd188
add edx, ecx
cmp edi, edx
jbe 0x4dd19c
add ebx, 1
add eax, 0x28
cmp ebx, ebp
jb 0x4dd170
pop ebp
pop ebx
pop esi
xor al, al
pop edi
add esp, 0x1c
ret
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add ebx, 1
pop ebp
mov dword [edx], ebx
pop ebx
sub edi, ecx
mov dword [eax], edi
pop esi
mov al, 1
pop edi
add esp, 0x1c
ret
Function at 0x4e0f40
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
mov ebp, eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x4e0f7c
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0
push 0x64
push edx
push eax
call fcn.00636ff0
add dword [esp + 0x18], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ecx
adc dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x14]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea edx, [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x1c]
jl 0x4e0fb7
jg 0x4e0fd4
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x18]
jb 0x4e0fb7
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x14]
rdtsc
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
push 0x64
push eax
push ecx
call fcn.0063a380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x4e12a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x18
push ebx
push esi
lea eax, [esp + 0x18]
push edi
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor esi, esi
cmp dword [0x6b9d60], esi
jle 0x4e1311
xor ebx, ebx
mov edi, dword [0x6ba098]
test edi, edi
je 0x4e12ec
mov ecx, dword [0x6ba09c]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4e12f7
call fcn.0062492b
mov edi, dword [0x6ba098]
lea ecx, [ebx + edi]
push ecx
call fcn.004e1150
add esi, 1
add esp, 4
add ebx, 0x18
cmp esi, dword [0x6b9d60]
jl 0x4e12c5
lea edx, [esp + 0x14]
mov dword [0x6b9d60], 0
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x10]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sbb ecx, dword [esp + 0x20]
add dword [0x6b8b50], eax
pop edi
pop esi
adc dword [0x6b8b54], ecx
pop ebx
add esp, 0x18
ret
Function at 0x4e3ba0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x328
push ebx
xor ebx, ebx
cmp byte [esi + 0xf6], bl
jne 0x4e3c85
cmp byte [esp + 0x330], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x118], ebx
je 0x4e3bdb
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x4e3be0
mov eax, 1
cmp byte [esp + 0x334], bl
je 0x4e3bfa
mov ecx, dword [esi + 8]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x118], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x220], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x224]
push ecx
mov dword [esp + 0x22c], edx
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x40
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x186a0
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
je 0x4e3c91
mov edx, dword [esi + 8]
lea ecx, [esp + 0x220]
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4e3c91
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4e3c85
mov eax, dword [esi + 8]
lea edx, [esp + 0x118]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4e3c85
cmp byte [esi + 0xf6], bl
je 0x4e3bb5
mov al, 1
pop ebx
add esp, 0x328
ret 8
mov ecx, 6
mov eax, esi
call fcn.004e3b90
xor al, al
pop ebx
add esp, 0x328
ret 8

Function at 0x4e4780
Capabilities:
Create thread

Disassembly:
mov dl, 1
mov byte [eax + 0xf4], dl
mov ecx, dword [0x6b9d90]
test ecx, ecx
je 0x4e479b
cmp byte [ecx + 0x511], 0
jne 0x4e47b1
push eax
push 0
push 0x4e44e0
mov byte [eax + 0xf5], dl
call fcn.00627877
add esp, 0xc
ret
Function at 0x4e5d70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x202c
call fcn.0062ab60
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x2028], eax
cmp byte [0x6b9d53], 0
push ebx
push esi
push edi
je 0x4e5f80
push 0x6ba0c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x67ea84
push str.mem_leaks.txt
mov dword [esp + 0x18], 0
call fcn.006262fc
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x14], esi
je 0x4e5f75
push 0
call fcn.006263f6
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2c], edx
call fcn.0062684d
push eax
call fcn.006285ec
push eax
lea ecx, [esp + 0x40]
push str.Memory_Leak_Report_for__s_n
push ecx
call fcn.0062635f
lea edx, [esp + 0x48]
push edx
push esi
call fcn.00625a7d
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x20
push 0x66fb7c
call ebx
lea eax, [esp + 0x30]
push eax
call ebx
mov ecx, dword [0x6ba0c0]
mov esi, dword [ecx]
mov edi, 0x6ba0bc
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
jmp 0x4e5e40
test edi, edi
mov edx, dword [0x6ba0c0]
mov dword [esp + 0x2c], edx
je 0x4e5e56
cmp edi, 0x6ba0bc
je 0x4e5e5b
call fcn.0062492b
cmp esi, dword [esp + 0x2c]
je 0x4e5f12
test edi, edi
jne 0x4e5e6e
call fcn.0062492b
cmp esi, dword [edi + 4]
jne 0x4e5e78
call fcn.0062492b
cmp dword [esi + 0x10], 1
mov ebx, 0x66fc14
jg 0x4e5e88
mov ebx, 0x66f61c
cmp esi, dword [edi + 4]
jne 0x4e5ea6
call fcn.0062492b
cmp esi, dword [edi + 4]
jne 0x4e5ea6
call fcn.0062492b
cmp esi, dword [edi + 4]
jne 0x4e5ea6
call fcn.0062492b
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x11c]
push ebx
push eax
push ecx
lea edx, [esi + 0x14]
push edx
lea eax, [esp + 0x40]
push str._s__d__:_Leak__d_byte_s_n
push eax
call fcn.0062635f
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.00625a7d
add esp, 8
cmp esi, dword [edi + 4]
jne 0x4e5eef
call fcn.0062492b
mov ecx, dword [esi + 0x10]
add dword [esp + 0x10], ecx
lea esi, [esp + 0x18]
call fcn.004fb790
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4e5e40
lea edx, [esp + 0x30]
push str.____________________________________________________________n
push edx
call fcn.0062635f
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00625a7d
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
push ecx
lea edx, [esp + 0x38]
push str.Total_Unfreed:__d_bytes___dKB__n_n
push edx
call fcn.0062635f
add esp, 0x10
lea eax, [esp + 0x30]
push eax
call ebx
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.00625a7d
add esp, 8
push 0x6ba0c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x2034]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret
Function at 0x4e5fa0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x20
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.004e7890
mov eax, dword [esp + 0xc]
add esp, 8
cmp dword [esp + 0x18], 0x10
jae 0x4e5fd3
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x18], 0x10
jb 0x4e5fee
mov edx, dword [esp + 4]
push edx
call fcn.0062493b
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00624940
add esp, 0x20
ret

Function at 0x4e6020
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x4e1750
mov eax, dword [0x6baaa0]
cmp eax, 0x270
jl 0x4e1815
xor ecx, ecx
mov eax, dword [ecx*4 + 0x6ba0e4]
xor eax, dword [ecx*4 + 0x6ba0e0]
add ecx, 1
and eax, 0x7fffffff
xor eax, dword [ecx*4 + 0x6ba0dc]
mov edx, eax
shr eax, 1
and edx, 1
xor eax, dword [edx*4 + 0x6b6f98]
xor eax, dword [ecx*4 + 0x6ba710]
cmp ecx, 0xe3
mov dword [ecx*4 + 0x6ba0dc], eax
jl 0x4e1762
cmp ecx, 0x26f
jge 0x4e17e1
lea ecx, [ecx*4 + 0x6ba0e0]
mov eax, dword [ecx + 4]
xor eax, dword [ecx]
add ecx, 4
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
shr eax, 1
and edx, 1
xor eax, dword [edx*4 + 0x6b6f98]
xor eax, dword [ecx - 0x390]
cmp ecx, 0x6baa9c
mov dword [ecx - 4], eax
jl 0x4e17b2
mov ecx, dword [0x6baa9c]
mov eax, dword [0x6ba0e0]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x6b6f98]
xor eax, dword [0x6ba710]
mov dword [0x6baa9c], eax
xor eax, eax
mov dword [0x6baaa0], eax
mov ecx, dword [eax*4 + 0x6ba0e0]
add eax, 1
mov edx, ecx
mov dword [0x6baaa0], eax
shr edx, 0xb
xor ecx, edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
and eax, 0x7fffffff
ret
jmp 0x4e1740

Function at 0x4e60f0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp byte [0x6b6fa1], 0
push esi
je 0x4e6179
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call fcn.0062a710
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x4e6166
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
test eax, eax
jne 0x4e6166
xor al, al
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00624940
add esp, 0xa0
ret
cmp dword [esp + 8], 6
mov byte [0x6b6fa1], 0
setae byte [0x6f30dd]
mov ecx, dword [esp + 0xa0]
mov al, byte [0x6f30dd]
pop esi
xor ecx, esp
call fcn.00624940
add esp, 0xa0
ret
Function at 0x4e7150
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x48
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
push str.advapi32.dll
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4e730e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetFileSecurityA
push edi
call esi
push str.SetSecurityDescriptorDacl
push edi
mov dword [esp + 0x24], eax
call esi
push str.InitializeSecurityDescriptor
push edi
mov dword [esp + 0x20], eax
call esi
push str.AllocateAndInitializeSid
push edi
mov dword [esp + 0x2c], eax
call esi
push str.SetEntriesInAclA
push edi
mov ebp, eax
call esi
push str.FreeSid
push edi
mov dword [esp + 0x1c], eax
call esi
cmp dword [esp + 0x1c], ebx
je 0x4e7307
cmp dword [esp + 0x18], ebx
je 0x4e7307
cmp dword [esp + 0x24], ebx
je 0x4e7307
cmp ebp, ebx
je 0x4e7307
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4e7307
cmp eax, ebx
je 0x4e7307
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], bl
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], 1
call ebp
test eax, eax
je 0x4e72eb
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
push edx
push 1
mov dword [esp + 0x3c], 0x1fffff
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 3
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 5
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], ebx
call esi
test eax, eax
jne 0x4e72eb
push 0x14
call fcn.00613caa
add esp, 4
mov ebp, eax
push 1
push ebp
call dword [esp + 0x2c]
test eax, eax
je 0x4e72eb
mov eax, dword [esp + 0x14]
push ebx
push eax
push 1
push ebp
call dword [esp + 0x28]
test eax, eax
je 0x4e72eb
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x18], 0x10
jb 0x4e72da
mov eax, dword [eax + 4]
jmp 0x4e72dd
add eax, 4
push ebp
push 4
push eax
call dword [esp + 0x28]
test eax, eax
je 0x4e72eb
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00624940
add esp, 0x48
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.00624940
add esp, 0x48
ret
Function at 0x4e86b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x64abb3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 0x28]
mov dword [esi], vtable.Sexy::BetaSupport.0
call fcn.004e36a0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, 0xf
mov dword [esi + 0x144], eax
mov dword [esi + 0x140], ebx
mov byte [esi + 0x130], bl
mov dword [esi + 0x160], eax
mov dword [esi + 0x15c], ebx
mov byte [esi + 0x14c], bl
mov dword [esi + 0x17c], eax
mov dword [esi + 0x178], ebx
mov byte [esi + 0x168], bl
mov dword [esi + 0x198], eax
mov dword [esi + 0x194], ebx
mov byte [esi + 0x184], bl
mov byte [esp + 0x1c], 4
call fcn.004fbb20
mov dword [esi + 0x1a4], eax
mov cl, 1
mov byte [eax + 0x49], cl
mov eax, dword [esi + 0x1a4]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x1a4]
mov dword [eax], eax
mov eax, dword [esi + 0x1a4]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1a8], ebx
mov dword [esi + 4], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x128], bl
mov byte [esi + 0x129], cl
mov dword [esi + 0x18], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x48
push 0x60
push 8
mov dword [esp + 0x30], eax
call ebp
push str.Tahoma
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0x48
push 0x60
push 8
mov dword [esi + 8], eax
call ebp
push str.Arial
push ebx
push ebx
push ebx
push ebx
push ebx
neg eax
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0x48
push 0x60
push 0xa
mov dword [esi + 0xc], eax
call ebp
push str.Tahoma
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
neg eax
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, dword [esp + 0x24]
push ecx
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esi + 0x19c], bl
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8