joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a0f0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049ab1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x10059008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x10053d5c
mov dword [esi + 0x1dc], 0x10053cfc
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x10053c9c
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x1dc]
mov dword [ecx + esi - 4], eax
lea eax, [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 4], 2
lea eax, [esi + 0x124]
mov byte [esi + 0x1c], 0
mov dword [esi + 0x120], esi
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10053c5c
add eax, 4
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
lea ecx, [esi + 0x13c]
lea eax, [ecx + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
mov word [ecx], 0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
add ecx, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push eax
mov dword [ebp - 0x14], 0x1000dac0
call fcn.1000cb60
lea ecx, [esi + 0x18c]
mov dword [ebp - 0x1c], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
lea eax, [ecx + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ecx + 0x28], esi
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1d0], 0
mov eax, esi
mov word [esi + 0x1d4], 0x100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cb60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100499fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10059008]
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 dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi], 0xffffffff
mov dword [esi + 0xc], 1
mov eax, dword [eax]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x34], 0xfffffffe
jne 0x1000cc08
push 0x20d
mov edx, str.D:_build_partners_boostmaster_rungoldsrc_clientpublic_tier1_utlmemory.h
mov ecx, str.Assertion_failed__IsReadOnly__
call fcn.10003340
add esp, 4
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000ce00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x1000ce29
push 0x138
mov edx, str.D:_build_partners_boostmaster_rungoldsrc_clientpublic_tier1_sys_module.h
mov ecx, str.Assertion_failed_method___nullptr
call fcn.10003340
add esp, 4
mov eax, dword [ebp + 8]
mov word [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
push dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x28]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call edi
test eax, eax
sete al
mov byte [esp + 0x18], al
test al, al
jne 0x1000cecc
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov cl, byte [esp + 0x19]
test cl, cl
jne 0x1000ced0
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call edi
test eax, eax
mov cl, 1
mov byte [esp + 0x19], cl
sete al
test al, al
mov byte [esp + 0x18], al
sete bl
jmp 0x1000ced2
mov cl, byte [esp + 0x19]
xor bl, bl
test cl, cl
jne 0x1000cee9
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call edi
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cf00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x1000cf29
push 0x11a
mov edx, str.D:_build_partners_boostmaster_rungoldsrc_clientpublic_tier1_sys_module.h
mov ecx, str.Assertion_failed_method___nullptr
call fcn.10003340
add esp, 4
mov eax, dword [ebp + 8]
mov word [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
push dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x28]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call edi
test eax, eax
sete al
mov byte [esp + 0x18], al
test al, al
jne 0x1000cfcc
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov cl, byte [esp + 0x19]
test cl, cl
jne 0x1000cfd0
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call edi
test eax, eax
mov cl, 1
mov byte [esp + 0x19], cl
sete al
test al, al
mov byte [esp + 0x18], al
sete bl
jmp 0x1000cfd2
mov cl, byte [esp + 0x19]
xor bl, bl
test cl, cl
jne 0x1000cfe9
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call edi
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100106c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x103
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1002ef30
add esp, 0xc
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x114], 0
lea eax, [ebp - 0x114]
je 0x1001072d
mov cl, byte [eax]
cmp cl, 0x2f
je 0x10010724
cmp cl, 0x5c
jne 0x10010727
mov byte [eax], 0x5c
inc eax
cmp byte [eax], 0
jne 0x10010718
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010736
lea esi, [ebp - 0x114]
sub ecx, edx
mov edi, esi
mov eax, esi
add edi, ecx
cmp eax, edi
jae 0x100107c0
nop
cmp byte [esi], 0x5c
jne 0x100107bb
lea eax, [ebp - 0x114]
mov byte [esi], 0
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov word [ebp - 0x11c], 0
mov byte [ebp - 0x11a], 0
mov dword [ebp - 0x118], 4
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.100016d0
push eax
call fcn.100384a2
add esp, 4
lea ecx, [ebp - 0x128]
call fcn.10001770
mov byte [esi], 0x5c
inc esi
cmp esi, edi
jb 0x10010750
lea eax, [ebp - 0x114]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x120], 0
mov word [ebp - 0x11c], 0
mov byte [ebp - 0x11a], 0
mov dword [ebp - 0x118], 4
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 1
call fcn.100016d0
push eax
call fcn.100384a2
add esp, 4
lea ecx, [ebp - 0x128]
call fcn.10001770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100288b6
mov esp, ebp
pop ebp
ret 4
Function at 0x10011f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
cmp dword [esi + 4], 0
jne 0x10011f51
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1008c774]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
test dl, 2
je 0x10011f7b
test cl, 0x10
setne al
test cl, 0x20
lea eax, [eax*2 + 2]
mov byte [ebx + 0x2a], al
setne al
jmp 0x10011f91
test cl, 0x10
sete al
test cl, 0x20
lea eax, [eax*2 + 2]
mov byte [ebx + 0x2a], al
sete al
lea eax, [eax*2 + 2]
mov byte [ebx + 0x29], al
test dl, 4
je 0x10011fa9
cmp byte [esi + 0x2c], 0
lea eax, [esi + 0x2c]
jne 0x10011fac
lea eax, [esi + 0x1c]
push 0x10
push eax
lea eax, [ebx + 0x68]
push eax
call fcn.1002ef30
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov ecx, ebx
call fcn.10011e90
mov ecx, dword [esi + 4]
and ecx, 0xffffff
mov eax, ecx
shr eax, 0xc
and eax, 0xf
mov dword [ebx + 8], eax
movzx eax, cx
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x10], eax
mov ecx, dword [esi + 0x48]
movzx eax, cx
test al, 0x40
je 0x10012016
and eax, 0xffffffbf
test al, 2
je 0x10012016
and eax, 0xfffffffd
test al, 1
je 0x10012005
and eax, 0xfffffffe
or eax, 0x40
jmp 0x10012016
test eax, 0x8000
je 0x10012016
and eax, 0xffff7fff
or eax, 0x80
shr ecx, 0x10
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], eax
mov ecx, dword [esi + 0x18]
movzx eax, cx
shr ecx, 0x10
mov dword [ebx + 0x30], ecx
mov ecx, ebx
mov dword [ebx + 0x2c], eax
call fcn.10011c70
mov ecx, dword [ebp - 4]
test edi, edi
je 0x10012043
mov al, byte [ecx]
mov byte [ebp - 0xc], al
jmp 0x10012047
mov byte [ebp - 0xc], 0
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
push edi
push dword [ebp + 0x10]
push dword [esi + 0xc]
push dword [esi + 0x3c]
push ebx
call fcn.100131c0
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, dword [ebp - 8]
add ecx, edx
push edi
push dword [ebp + 0x10]
sub eax, edx
mov dword [ebp - 0xc], edx
push dword [esi + 0x10]
mov edx, eax
mov dword [ebp - 4], ecx
push dword [esi + 0x40]
mov dword [ebp - 8], eax
push ebx
call fcn.100131c0
mov edx, dword [ebp - 8]
mov esi, eax
mov ecx, dword [ebp - 4]
sub edx, esi
push edi
mov edi, dword [ebp + 8]
add ecx, esi
push dword [ebp + 0x10]
push dword [edi + 0x14]
push dword [edi + 0x44]
push ebx
call fcn.100131c0
mov edx, dword [edi + 0x4c]
add esp, 0x3c
add eax, esi
mov ecx, ebx
add dword [ebp - 0xc], eax
call fcn.10011b40
test byte [ebp + 0x10], 3
je 0x100120c7
mov edx, 0x29
mov ecx, ebx
call fcn.10011b40
cmp byte [ebx + 0x2a], 2
jne 0x100120fa
mov esi, dword [ebx + 0x78]
test esi, esi
je 0x100120fa
cmp dword [esi], 1
jne 0x100120f3
cmp dword [esi + 0x1c], 4
jne 0x100120f3
test byte [esi + 0x18], 1
je 0x100120f3
mov edx, dword [esi + 0x20]
lea ecx, [esi + 0x10]
add edx, 8
call fcn.10013290
mov esi, dword [esi + 0x60]
test esi, esi
jne 0x100120d4
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov al, byte [ebx]
mov edi, 0xc870097
mov dword [ebp - 4], esi
test al, al
je 0x10015072
nop dword [eax]
push 0
movsx eax, al
cdq
push 0x73992ade
push edx
push eax
call fcn.100486f0
mov ecx, edi
lea ebx, [ebx + 1]
shrd ecx, esi, 0x17
shr esi, 0x17
xor eax, ecx
xor edx, esi
mov esi, dword [ebp - 4]
add edi, eax
mov al, byte [ebx]
adc esi, edx
mov dword [ebp - 4], esi
test al, al
jne 0x10015040
mov edx, edi
xor eax, eax
xor eax, edi
shl edx, 5
pop edi
xor edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100178a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.10015b00
mov ecx, esi
call fcn.10015bb0
mov ecx, esi
call fcn.100173c0
cmp byte [esi + 0x10], 0
je 0x100178ec
lea ecx, [esi + 0x64]
call fcn.10019700
cmp dword [esi + 0x140], 0
je 0x100178dd
cmp byte [esi + 0x6d], 0
je 0x100178ec
mov ecx, esi
call fcn.10015990
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x17c], 0
jg 0x100179c3
cmp dword [esi + 0x154], 0
je 0x1001790c
cmp byte [esi + 0x11], 0
je 0x10017a3a
mov eax, dword [esi + 0x1cc]
cmp eax, dword [esi + 0x1c8]
jne 0x10017a3a
mov eax, dword [0x1008db18]
or eax, dword [0x1008db1c]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jne 0x10017943
push 0x1008db18
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x1008db10
call edi
lea eax, [esp + 8]
push eax
call edi
mov ecx, dword [esp + 8]
sub ecx, dword [0x1008db10]
mov edx, dword [esp + 0xc]
sbb edx, dword [0x1008db14]
call fcn.100493b0
mov edx, dword [0x1008db1c]
mov ecx, dword [0x1008db18]
movsd qword [esp + 8], xmm0
call fcn.100493b0
cmp byte [esi + 0x11], 0
movsd xmm1, qword [esp + 8]
divsd xmm1, xmm0
movss xmm0, dword [esi + 0x1d0]
cvtpd2ps xmm1, xmm1
je 0x100179cb
addss xmm0, dword [0x10055280]
comiss xmm0, xmm1
jb 0x10017a3a
push 1
push 0x64
lea ecx, [esi + 0x64]
mov byte [esi + 0x15], 1
call fcn.10019910
push 1
push 0x64
lea ecx, [esi + 0x64]
call fcn.10019a40
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
addss xmm0, dword [0x1005526c]
comiss xmm1, xmm0
jbe 0x100179c3
lea edi, [esi + 0x64]
mov byte [esi + 0x11], 1
mov eax, dword [edi + 4]
test eax, eax
je 0x100179f2
cmp eax, 1
je 0x100179f2
mov eax, 0x100534f0
jmp 0x100179f9
mov eax, dword [eax*4 + 0x100518b0]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3ef
push dword [edi + 0xdc]
call esi
movsd xmm3, qword [0x100552a0]
xorps xmm2, xmm2
push ecx
mov ecx, edi
call fcn.10019830
push 0x100534f0
push 0x3f2
push dword [edi + 0xdc]
call esi
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10019600
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x9c
lea eax, [ebp - 0xa0]
mov edi, ecx
push 0
push eax
call fcn.1002af10
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10019671
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10019671
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100288b6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x9c]
cmp eax, 6
ja 0x10019687
jne 0x100196a2
cmp dword [ebp - 0x98], 0
jbe 0x100196a2
lea eax, [edi + 0xb4]
push eax
push 0x100548b4
push 0x17
push 0
push 0x1004b3b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.100288b6
mov esp, ebp
pop ebp
ret

Function at 0x1001a8c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
cmp eax, 8
je 0x1001a8e9
cmp eax, 0x14
jne 0x1001a90b
push 0
push 0
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ecx
pop ebp
ret 0x10
push 6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0xc
mov dword [edi + 0x9c], 0
mov ecx, edi
push dword [ebp + 8]
call fcn.1001a630
pop edi
pop ecx
pop ebp
ret 0x10
Function at 0x1001a9f0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
mov edi, ecx
mov dword [ebp - 0x18], 0
call esi
push 1
mov dword [ebp - 0x1c], eax
call esi
push 0x10051170
push str.Shell_TrayWnd
mov esi, eax
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0xc0]
sub eax, dword [edi + 0xb8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0xc4]
sub eax, dword [edi + 0xbc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
test ecx, ecx
jg 0x1001aa86
test eax, eax
jg 0x1001aa7a
cmp edx, dword [ebp - 0x1c]
jl 0x1001aa95
mov edx, dword [ebp - 8]
sub edx, ecx
xor ecx, ecx
jmp 0x1001aa9b
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0x18], ecx
xor ecx, ecx
jmp 0x1001aa99
test eax, eax
jg 0x1001aa95
mov edi, dword [ebp - 8]
sub edi, ecx
xor ecx, ecx
xor edx, edx
jmp 0x1001aa9d
mov ecx, edx
sub ecx, eax
xor edx, edx
xor edi, edi
lea eax, [ecx - 8]
cmp dword [ebx + 8], eax
jl 0x1001aab0
lea eax, [ecx + 8]
cmp dword [ebx + 8], eax
jg 0x1001aab0
mov dword [ebx + 8], ecx
mov ecx, dword [ebx + 0xc]
cmp ecx, 0xfffffff8
jl 0x1001aac2
lea eax, [edx + 8]
cmp ecx, eax
jg 0x1001aac2
mov dword [ebx + 0xc], edx
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
sub edx, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [edx + 8]
cmp dword [ebp - 0x20], eax
jg 0x1001aaec
lea eax, [edx - 8]
cmp dword [ebp - 0x20], eax
jl 0x1001aaec
sub ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x18]
mov dword [ebx + 8], ecx
mov edx, dword [ebp - 0x28]
mov ecx, esi
add edx, dword [ebx + 0xc]
sub ecx, edi
lea eax, [ecx + 8]
cmp edx, eax
jg 0x1001ab0c
lea eax, [ecx - 8]
cmp edx, eax
jl 0x1001ab0c
sub esi, dword [ebp - 0x28]
sub esi, edi
mov dword [ebx + 0xc], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100288b6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001b5d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a68b
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [ebp - 4], 0
push 0
mov byte [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.ValveCSLauncherMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
test eax, eax
jne 0x1001b677
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x110]
push str.Failed_to_create_mutex__error_0x_x_
push eax
call fcn.10001880
push eax
lea eax, [ebp - 0x210]
push str.Assertion_failed__s
push eax
call fcn.10001880
push 0x20
mov edx, str.D:_build_partners_boostmaster_rungoldsrc_client_apprunmsvc.._src_app_windows.cpp
mov ecx, eax
call fcn.10003340
add esp, 0x1c
cmp dword [esi], 0
je 0x1001b691
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, esi
je 0x1001b693
mov byte [esi + 8], 1
jmp 0x1001b693
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100288b6
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
mov eax, dword [0x10059008]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
call fcn.10003600
movaps xmm0, xmmword [0x100552d0]
test al, al
movups xmmword [esp + 0x28], xmm0
mov eax, 8
mov byte [esp + 0x14], 0
movaps xmm0, xmmword [0x100552e0]
paddd xmm0, xmmword [0x100552d0]
mov dword [esp + 0x18], 0xc
movups xmmword [esp + 0x38], xmm0
je 0x1001b976
mov dword [esp + 8], 0x18163a6d
mov dword [esp + 0xc], 0x20193e35
mov dword [esp + 0x10], 0x53666707
nop
mov dword [esp + eax*4 + 0x28], eax
inc eax
cmp eax, 0xc
jl 0x1001b940
mov edi, 0xc
lea edx, [esp + 0x28]
xor esi, esi
test edi, edi
je 0x1001b9c4
nop dword [eax]
mov eax, dword [edx]
lea ecx, [esp + 8]
add ecx, eax
lea edx, [edx + 4]
add al, 0x48
inc esi
xor byte [ecx], al
cmp esi, edi
jne 0x1001b960
jmp 0x1001b9c4
mov dword [esp + 8], 0x38163a6d
mov dword [esp + 0xc], 0x2a3a3e35
mov dword [esp + 0x10], 0x5360623d
nop
mov dword [esp + eax*4 + 0x28], eax
inc eax
cmp eax, 0xc
jl 0x1001b990
mov edi, 0xc
lea edx, [esp + 0x28]
xor esi, esi
test edi, edi
je 0x1001b9c4
nop dword [eax]
mov eax, dword [edx]
lea ecx, [esp + 8]
add ecx, eax
lea edx, [edx + 4]
add al, 0x48
inc esi
xor byte [ecx], al
cmp esi, edi
jne 0x1001b9b0
lea eax, [esp + 0x58]
mov byte [esp + 0x14], 1
push eax
lea eax, [esp + 0xc]
push eax
push 0x104
push 0x1008fef0
call fcn.10009df0
movaps xmm0, xmmword [0x100552d0]
lea edx, [esp + 0x18]
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [0x1008fff4], eax
xor esi, esi
mov dword [esp + 0x1c], 0x4b3a3929
mov byte [esp + 0x20], 0
mov dword [esp + 0x24], 4
movups xmmword [esp + 8], xmm0
mov eax, dword [edx]
lea ecx, [esp + 0x1c]
add ecx, eax
lea edx, [edx + 4]
add al, 0x48
inc esi
xor byte [ecx], al
cmp esi, 4
jne 0x1001ba14
cmp dword [0x10090018], 0xfffffffe
mov byte [esp + 0x20], 1
jne 0x1001ba4e
push 0xe9
mov edx, str.D:_build_partners_boostmaster_rungoldsrc_client_apprunmsvc....public_tier1utlstring.cpp
mov ecx, str.Assertion_failed__m_Storage.IsReadOnly__
call fcn.10003340
add esp, 4
lea ecx, [esp + 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ba55
sub ecx, edx
lea eax, [ecx + 1]
mov ecx, 0x1009000c
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1000fbb0
lea eax, [esp + 0x1c]
mov ecx, 0x10090020
push eax
call fcn.1000be80
mov ecx, dword [esp + 0x164]
pop edi
pop esi
xor ecx, esp
call fcn.100288b6
mov esp, ebp
pop ebp
ret 4