joyce8/EMBER2024-capa huggingface dataset:
Function at 0xadd150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc7ae18
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x30], 0x10
jb 0xadd18e
mov eax, dword [esi + 0x1c]
push eax
call fcn.00c18a36
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0xadd1b4
mov eax, dword [esi]
push eax
call fcn.00c18a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret

Function at 0xade050
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.00c18a50
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push esi
push 0xade020
test edi, edi
push 0
setne cl
push 0
mov dword [esi], eax
mov byte [esi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0xade090
push esi
call fcn.00c18a36
add esp, 4
xor al, al
pop esi
ret
test edi, edi
je 0xade09a
mov dword [edi], eax
mov al, 1
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret

Function at 0xade0b0
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.00c18a50
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push esi
push 0xade020
push 0
push 0
mov dword [esi], eax
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0xade0ec
push esi
call fcn.00c18a36
add esp, 4
xor al, al
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret

Function at 0xade100
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp byte [0xd0dcbd], 0
jne 0xade1af
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
mov ecx, 1
cmp eax, 5
jne 0xade16e
mov eax, dword [esp + 8]
sub eax, 0
je 0xade166
sub eax, ecx
je 0xade15a
mov dword [0xd0dcc0], 3
jmp 0xade1a9
mov dword [0xd0dcc0], 2
jmp 0xade1a9
mov dword [0xd0dcc0], ecx
jmp 0xade1a9
cmp eax, 6
jne 0xade19d
cmp byte [esp + 0x11a], cl
je 0xade188
mov dword [0xd0dcc0], 5
jmp 0xade1a9
xor edx, edx
cmp dword [esp + 8], edx
setne dl
lea edx, [edx + edx + 4]
mov dword [0xd0dcc0], edx
jmp 0xade1a9
jbe 0xade1a9
mov dword [0xd0dcc0], 6
mov byte [0xd0dcbd], cl
mov ecx, dword [esp + 0x11c]
mov eax, dword [0xd0dcc0]
xor ecx, esp
call fcn.00c18a41
add esp, 0x120
ret
Function at 0xade900
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0xc84143
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x288]
xor esi, esi
push 0x206
lea ecx, [esp + 0x72]
xor eax, eax
push esi
mov dword [esp + 0x18], esi
push ecx
mov dword [esp + 0x20], edi
mov word [esp + 0x78], ax
call fcn.00c1e420
add esp, 0xc
lea edx, [esp + 0x6c]
push edx
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0xade99a
push esi
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
push 0xca8868
mov ecx, edi
mov word [edi], ax
call fcn.00ad1d20
jmp 0xadeaad
xor ecx, ecx
push 0x19
mov word [esp + 0x38], cx
mov ebx, 7
push str.GoogleGoogle_Input_Tools
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
call fcn.00ad1d20
mov dword [esp + 0x280], 1
xor edx, edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x2c], ebx
mov word [esp + 0x18], dx
mov dword [esp + 0x28], esi
lea edx, [eax + 2]
mov ebx, 2
mov cx, word [eax]
add eax, ebx
cmp cx, si
jne 0xade9e4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call fcn.00ad1d20
lea edx, [esp + 0x34]
lea ecx, [esp + 0x18]
lea esi, [esp + 0x50]
mov byte [esp + 0x280], bl
call fcn.00ade690
mov edx, ebp
mov ecx, eax
mov esi, edi
mov byte [esp + 0x280], 3
call fcn.00ade690
mov esi, 8
mov byte [esp + 0x280], bl
mov dword [esp + 0x10], 1
cmp dword [esp + 0x64], esi
jb 0xadea53
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00c18a36
add esp, 4
xor ebp, ebp
xor edx, edx
mov ebx, 7
mov byte [esp + 0x280], 1
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], dx
cmp dword [esp + 0x2c], esi
jb 0xadea84
mov eax, dword [esp + 0x18]
push eax
call fcn.00c18a36
add esp, 4
xor ecx, ecx
mov byte [esp + 0x280], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], cx
cmp dword [esp + 0x48], esi
jb 0xadeaad
mov edx, dword [esp + 0x34]
push edx
call fcn.00c18a36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00c18a41
add esp, 0x274
ret
Function at 0xadfe40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0xadfe57
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0xadfe86
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0xadfe82
cmp esi, eax
jae 0xadfe86
dec edi
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0xadfe74
cmp esi, eax
jb 0xadfe8c
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0xae00c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xae00f9
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8

Function at 0xae0710
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0xc82978
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0xae0741
mov eax, dword [edi]
jmp 0xae0743
mov eax, edi
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov eax, dword [ebx]
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xae083d
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0xae0792
cmp eax, 2
je 0xae0792
mov eax, 0xd
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4
mov eax, dword [esp + 0xc]
shr eax, 1
inc eax
xor ecx, ecx
mov dword [esp + 0x14], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00c17a7c
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], 0
cmp dword [edi + 0x14], 8
jb 0xae07cc
mov edi, dword [edi]
push edi
push ebx
lea edi, [esp + 0x1c]
call fcn.00ae0890
mov edi, eax
test edi, edi
je 0xae0804
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.00c19081
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xae0810
mov ecx, dword [esp + 0x2c]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.00ad1d20
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.00c19081
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 4
Function at 0xae0860
Capabilities:
Query or enumerate registry value

Disassembly:
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xae088d
mov eax, dword [esp + 8]
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xd
ret 8

Function at 0xae0890
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xae08fe
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0xae08cf
cmp eax, 2
jne 0xae08ea
mov eax, dword [esp]
test esi, esi
je 0xae08f8
test eax, eax
je 0xae08f3
test al, 1
jne 0xae08ea
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0xae08f8
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0xae09e0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x210
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00c1e420
add esp, 0xc
lea edx, [esp]
push edx
lea eax, [esp + 8]
push eax
mov dword [esp + 8], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0xae0a56
lea ecx, [esp + 4]
push str.SYSTEM
push ecx
call fcn.00c1bc3c
add esp, 8
test eax, eax
jne 0xae0a56
mov al, 1
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00c18a41
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
xor al, al
call fcn.00c18a41
add esp, 0x210
ret

Function at 0xae3410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc7ae18
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x30], 0x10
jb 0xae344e
mov eax, dword [esi + 0x1c]
push eax
call fcn.00c18a36
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0xae3474
mov eax, dword [esi]
push eax
call fcn.00c18a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0xae34b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc7bf58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea esi, [ecx + 4]
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x30], 0x10
jb 0xae34f2
mov eax, dword [esi + 0x1c]
push eax
call fcn.00c18a36
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov dword [esp + 0x18], 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0xae3518
mov eax, dword [esi]
push eax
call fcn.00c18a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0xae4810
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xc8bfc6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
push 0x180
xor esi, esi
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], esi
call fcn.00ae5010
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], esi
mov ebx, 0x40
or dword [edi + 0x28], ebx
cmp dword [edi + 0x20], esi
jne 0xae48a6
push 0x130
call fcn.00c18a50
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x38], 1
cmp eax, esi
je 0xae489c
push eax
call fcn.00b03050
jmp 0xae489e
xor eax, eax
mov byte [esp + 0x38], 0
mov dword [edi + 0x20], eax
mov esi, dword [edi + 0x20]
lea esi, [esi + 0x44]
call fcn.00ae3ff0
push 0xffffffffffffffff
push 0
push ebp
mov ecx, eax
call fcn.00ad9870
or dword [edi + 0x28], ebx
cmp dword [edi + 0x20], 0
jne 0xae48f2
push 0x130
call fcn.00c18a50
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x38], 2
test eax, eax
je 0xae48e8
push eax
call fcn.00b03050
jmp 0xae48ea
xor eax, eax
mov byte [esp + 0x38], 0
mov dword [edi + 0x20], eax
mov esi, dword [edi + 0x20]
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
cmp eax, ecx
jge 0xae490d
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x68], eax
mov esi, ecx
jmp 0xae4939
mov eax, dword [esi + 0x70]
cmp ecx, eax
jne 0xae491e
inc eax
push eax
lea eax, [esi + 0x64]
call fcn.00b91990
mov ebx, 1
add dword [esi + 0x6c], ebx
call fcn.00ae5520
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x64]
mov dword [edx + ecx*4], eax
add dword [esi + 0x68], ebx
mov esi, eax
mov ebx, dword [esp + 0x24]
cmp ebx, esi
je 0xae4953
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov edx, ebx
mov ecx, esi
call fcn.00af1130
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x20], 0
call fcn.00ae4f30
test eax, eax
jne 0xae496d
xor al, al
jmp 0xae4993
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0xae497d
mov ecx, dword [0xd0d70c]
mov ecx, dword [ecx + 0x20]
mov edx, dword [ecx + 0x18]
mov bl, byte [edx]
mov byte [esp + 0x38], 0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00c18a41
add esp, 0x28
ret 8
Function at 0xae4b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8e378
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x48], eax
fldz
fstp qword [esp + 0x24]
mov dword [esp + 0xc], vtable.ipc::proto::Variable.0
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x18], al
mov dword [esp + 0x2c], 0xcf5620
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
or eax, 1
or eax, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x28], eax
call fcn.00ae4810
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x58], 0xffffffff
call fcn.00af0640
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00c18a41
add esp, 0x54
ret 8

Function at 0xae4be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8e348
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
fldz
xor eax, eax
fstp qword [esp + 0x1c]
mov dword [esp + 4], vtable.ipc::proto::Variable.0
mov dword [esp + 8], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], al
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0xcf5620
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 4]
push eax
call fcn.00ae49c0
test al, al
jne 0xae4c78
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0xffffffff
call fcn.00af0640
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
add esp, 0x48
ret
cmp dword [esp + 0xc], 2
jne 0xae4c55
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
lea ecx, [esp + 4]
mov dword [esi + 4], edx
mov dword [esp + 0x48], 0xffffffff
call fcn.00af0640
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
add esp, 0x48
ret
Function at 0xae4cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8e318
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
fldz
xor ebx, ebx
fstp qword [esp + 0x24]
mov dword [esp + 0xc], vtable.ipc::proto::Variable.0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 0xcf5620
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x58], ebx
call fcn.00ae49c0
test al, al
jne 0xae4d4c
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.00af0640
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x50
ret 4
cmp dword [esp + 0x14], 4
jne 0xae4d26
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, dword [esp + 0x68]
call fcn.00ad9870
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.00af0640
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x50
ret 4

Function at 0xae4d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc8e2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x44], eax
fldz
fstp qword [esp + 0x24]
mov dword [esp + 0xc], vtable.ipc::proto::Variable.0
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 0xcf5620
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
or eax, 1
or eax, 2
push edx
mov dword [esp + 0x44], eax
mov al, byte [ebp + 8]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x20], al
call fcn.00ae4810
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x58], 0xffffffff
call fcn.00af0640
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret 4
Function at 0xae4e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xc8e2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
fldz
xor eax, eax
fstp qword [esp + 0x1c]
mov dword [esp + 4], vtable.ipc::proto::Variable.0
mov dword [esp + 8], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], al
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0xcf5620
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 4]
push eax
call fcn.00ae49c0
test al, al
jne 0xae4efa
lea ecx, [esp + 4]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00af0640
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
add esp, 0x4c
ret 4
cmp dword [esp + 0xc], 1
jne 0xae4ed5
mov cl, byte [esp + 0x10]
mov edx, dword [esp + 0x54]
mov byte [edx], cl
lea ecx, [esp + 4]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00af0640
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
add esp, 0x4c
ret 4

Function at 0xae58d0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xc85f38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x2c]
xor esi, esi
push esi
push esi
push esi
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x18], eax
lea ebp, [edi + 0x18]
mov dword [esp + 0x24], esi
push ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2c
mov byte [esp + 0x28], 1
call fcn.00c18a50
add esp, 4
cmp eax, esi
je 0xae595b
mov dword [eax], vtable.ipc::proto::Message.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x28], esi
jmp 0xae595d
xor eax, eax
mov byte [esp + 0x24], 2
or dword [eax + 0x28], 1
mov dword [eax + 8], 0x8000
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x10], esi
lea esi, [esp + 0x14]
push esi
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
Function at 0xae59d0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xc85f38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x2c]
xor esi, esi
push esi
push esi
push esi
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x18], eax
lea ebp, [edi + 0x18]
mov dword [esp + 0x24], esi
push ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2c
mov byte [esp + 0x28], 1
call fcn.00c18a50
add esp, 4
cmp eax, esi
je 0xae5a5b
mov dword [eax], vtable.ipc::proto::Message.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x28], esi
jmp 0xae5a5d
xor eax, eax
mov byte [esp + 0x24], 2
or dword [eax + 0x28], 1
mov dword [eax + 8], 0x8001
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x10], esi
lea esi, [esp + 0x14]
push esi
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4