joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f890
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6168
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
mov dword [esp + 0x14], vtable.DRegistry.0
call edx
xor esi, esi
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
push 1
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
lea edi, [esp + 0x1c]
mov dword [esp + 0x38], esi
call fcn.0046a3b0
test eax, eax
je 0x44f942
mov ecx, dword [esp + 0x20]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push esi
push str.CheckInterval
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.0046a360
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
push str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
mov eax, reloc.gdiplus.dll_Ordinal_1
lea edi, [esp + 0x18]
call fcn.0046aa00
cmp eax, esi
je 0x44f984
push 1
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
call fcn.0046a3b0
test eax, eax
je 0x44f984
mov eax, dword [esp + 0x20]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push esi
push str.CheckInterval
push eax
jmp 0x44f915
lea ecx, [esp + 0x14]
call fcn.0046a360
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x44fd50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6168
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
mov dword [esp + 0x14], vtable.DRegistry.0
call edx
xor ebx, ebx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
mov dword [esp + 0x34], ebx
mov eax, dword [ebp + 0x24]
push reloc.gdiplus.dll_Ordinal_1
lea edi, [esp + 0x1c]
xor esi, esi
call fcn.0046a3b0
test eax, eax
je 0x44fdea
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov edi, dword [esp + 0x28]
push 3
push ebx
push str.Info
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x44fe2d
cmp byte [esp + 0x44], bl
je 0x44fe29
mov eax, dword [ebp + 0x24]
push eax
mov eax, reloc.gdiplus.dll_Ordinal_1
lea edi, [esp + 0x18]
call fcn.0046aa00
mov esi, eax
cmp esi, ebx
je 0x44fe29
mov eax, dword [ebp + 0x24]
push 1
push reloc.gdiplus.dll_Ordinal_1
call fcn.0046a3b0
mov esi, eax
cmp esi, ebx
je 0x44fe29
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
jmp 0x44fdce
mov edi, dword [esp + 0x20]
cmp esi, ebx
setne byte [esp + 0x44]
mov dword [esp + 0x30], 0xffffffff
cmp edi, ebx
je 0x44fe47
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fe67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
Function at 0x44fe90
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6168
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
mov dword [esp + 0x14], vtable.DRegistry.0
call edx
xor ebp, ebp
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x38]
push 1
mov dword [esp + 0x34], ebp
mov eax, dword [eax + 0x24]
push reloc.gdiplus.dll_Ordinal_1
lea edi, [esp + 0x1c]
xor esi, esi
call fcn.0046a3b0
mov edi, dword [esp + 0x20]
test eax, eax
je 0x44ff1b
push str.Info
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp esi, ebp
setne bl
mov dword [esp + 0x30], 0xffffffff
cmp edi, ebp
je 0x44ff33
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ff53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x44ff70
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d61e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x40], 1
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
lea edi, [esp + 0x28]
mov dword [esp + 0x14], ebx
call fcn.004082a0
mov edi, dword [esp + 0x28]
cmp dword [edi - 0xc], ebx
jne 0x45002e
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00405a00
lea eax, [edi - 0x10]
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450017
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push edi
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x44ffeb
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push eax
push esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4500c3
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00405a00
lea eax, [edi - 0x10]
mov byte [esp + 0x40], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4500a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x4500ab
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0x14]
shr esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x18], esi
neg ecx
or ecx, eax
push ecx
call fcn.004a3368
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edi, [esp + 0x20]
mov byte [esp + 0x48], 2
call fcn.00431ec0
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push edi
test eax, eax
jne 0x450112
mov ecx, esi
call fcn.00405a00
push esi
call fcn.004a529a
add esp, 4
lea eax, [esp + 0x24]
call fcn.00401cb0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x450138
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x450370
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8970
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 1
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
lea eax, [esi + 0xc]
lea edi, [esp + 0x1c]
call fcn.004082a0
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
jne 0x45041b
lea eax, [esi - 0x10]
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450403
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push esi
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4503e3
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
push edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x450474
cmp dword [esp + 0x18], 4
je 0x4504b7
lea eax, [esi - 0x10]
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x45049f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x20]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4504df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x4504ea
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4505a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d89a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 1
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xc]
lea edi, [esp + 0x20]
call fcn.004082a0
mov edi, dword [esp + 0x20]
cmp dword [edi - 0xc], ebx
jne 0x45064a
lea eax, [edi - 0x10]
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450633
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push ebx
push edi
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x450677
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
jmp 0x4506d1
push esi
mov edx, edi
lea esi, [esp + 0x18]
call fcn.00403bd0
test eax, eax
je 0x4506cd
lea eax, [edi - 0x10]
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4506a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4506b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push eax
push esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
test eax, eax
lea eax, [edi - 0x10]
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
je 0x450733
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450711
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x45071c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x450751
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4508a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d8940
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
push eax
lea edi, [esp + 0x24]
call fcn.0044ee10
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
or esi, 0xffffffff
test eax, eax
jne 0x450922
lea edx, [esp + 0xc]
push edx
call fcn.0046b420
add esp, 4
mov byte [esp + 0x18], 1
call fcn.004082a0
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450922
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x4efc7c
lea ecx, [esp + 0x28]
push ecx
call fcn.0040e720
push 0xb
push str.scripts.yds
lea edx, [esp + 0x28]
push edx
call fcn.0040e720
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
je 0x4509a6
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x4509a2
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x20]
call fcn.004082a0
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x45098c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x18], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4509c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4509e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d6958
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
lea edx, [eax + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], 0
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x400
or eax, ecx
jge 0x450a49
mov ecx, 0x400
lea eax, [esp + 0xc]
call fcn.00405d80
mov edx, dword [esp + 0xc]
push 0
push 0x23
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
setl bl
call fcn.004a5cf7
add esp, 8
test eax, eax
jl 0x450b3a
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x450b3a
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov word [edx + eax*2], cx
test bl, bl
je 0x450ace
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450aba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0xc]
call fcn.004082a0
push 1
push 0x4efc7c
push edi
call fcn.0040e720
push 0x14
push 0x4f08b0
push edi
call fcn.0040e720
push 1
push 0x4efc7c
push edi
call fcn.0040e720
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450b26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00405ef0
int3
Function at 0x4531f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d3943
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
push esi
mov ebx, str.CVideoParamsEncoder
call fcn.00471780
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], 0
mov eax, dword [eax]
sub eax, 0x10
call fcn.00408230
add eax, 0x10
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x14], 1
mov eax, dword [ecx]
sub eax, 0x10
call fcn.00408230
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [esi + 0x44], eax
mov edx, dword [edi]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x4c], eax
fld qword [ecx]
fstp qword [esi + 0x50]
mov dword [esi + 0x60], edx
fld qword [esp + 0x20]
mov eax, esi
fstp qword [esi + 0x58]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x1c

Function at 0x453290
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d3908
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x20]
push esi
push esi
mov ebx, str.CAudioParamsEncoder
call fcn.00471780
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 0
mov eax, dword [eax]
sub eax, 0x10
call fcn.00408230
fld qword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [esi + 0x40], eax
fstp qword [esi + 0x48]
shl edi, 8
mov dword [esi + 0x50], edx
mov eax, 0x51eb851f
mul edi
shr edx, 5
mov dword [esi + 0x44], ecx
mov dword [esi + 0x54], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x18
Function at 0x4588c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8678
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
push str.____________________Entrance____________________
lea ecx, [ebp - 0x1c]
lea eax, [edi + 0x70]
push ecx
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], str.GetStatistics
call fcn.00471a00
add esp, 0xc
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 4], edx
mov byte [ebp - 4], 1
fldz
mov dword [ebx], edx
mov dword [edi + 0x44], edx
fst qword [eax]
fstp qword [edi + 0x50]
mov dword [ecx], 0xffffffff
mov esi, dword [edi + 0x30]
mov dword [edi + 0x58], 0xffffffff
cmp esi, 6
jne 0x45894f
mov dword [ebx], 0x64
mov dword [edi + 0x44], 0x64
mov esi, dword [edi + 0x30]
cmp esi, 2
je 0x45895f
mov esi, dword [edi + 0x30]
cmp esi, 5
jne 0x458967
cmp byte [edi + 0xc0], dl
je 0x458999
push str.______________________Exit______________________
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
push edx
push eax
call fcn.00471a00
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ecx
push eax
push ebx
lea esi, [edi + 0xe8]
call fcn.004766a0
mov ecx, dword [ebx]
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x44], ecx
fld qword [edx]
mov byte [ebp + 0xb], al
fstp qword [edi + 0x50]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push str.______________________Exit______________________
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
push edx
push eax
mov dword [edi + 0x58], ecx
call fcn.00471a00
mov al, byte [ebp + 0xb]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x458c50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8648
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
push str.____________________Entrance____________________
lea ecx, [ebp - 0x1c]
lea ebx, [esi + 0x70]
mov eax, ebx
push ecx
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], str.Pause
call fcn.00471a00
add esp, 0xc
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov edx, dword [esi + 0x30]
cmp edx, 2
jne 0x458d21
mov eax, dword [esi + 0x148]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push eax
call edi
cmp eax, 0x102
jne 0x458d21
mov ecx, dword [esi + 0x14c]
push 0
push ecx
call edi
cmp eax, 0x102
jne 0x458d21
mov edx, dword [esi + 0x14c]
push edx
push str.Will_call_SuspendThread__d_
lea eax, [ebp - 0x1c]
push eax
push ebx
mov dword [esi + 0x30], 5
call fcn.004719c0
mov ecx, dword [esi + 0x14c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea edx, [ebp - 0x1c]
test eax, eax
je 0x458d51
push str.Failed__SuspendThread_return_oversuspended.
push edx
push ebx
call fcn.00471980
add esp, 0xc
push str.______________________Exit______________________
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.00471a00
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.______________________Exit______________________
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
push edx
push eax
call fcn.00471a00
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret