joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426ed0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54aaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
cmp edi, ebp
je 0x427000
mov dword [esp + 0x20], ebp
mov esi, edx
lea ebx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call fcn.00423300
lea eax, [esp + 0x18]
push eax
push 3
push ebp
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x426fe0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
push ecx
mov edi, 4
push esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x426f7f
cmp dword [esp + 0x24], edi
jne 0x426f7f
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x38]
je 0x427016
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x28]
push ecx
push edi
push ebp
push edx
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x427016
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426fbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebp
je 0x426fca
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427000
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427036
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebp
je 0x427041
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x427060
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54aa78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
test edi, edi
je 0x42711a
mov dword [esp + 0xc], 0
mov esi, ecx
lea ebx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.00423300
lea eax, [esp + 0x14]
push eax
push 2
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4270d3
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], esi
jmp 0x427132
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov edx, 0x20006
lea esi, [esp + 0x14]
call fcn.004170d0
test eax, eax
je 0x42712e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42710b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42711a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push eax
push esi
mov dword [esp + 0x2c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x10]
je 0x427194
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427175
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x427180
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4271ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4271b8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x4279f0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x547732
mov eax, dword fs:[0]
push eax
mov eax, 0x1000c
call fcn.00528ef0
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x10008], eax
push esi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x10014]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x1001c], esi
push 0x566c94
mov ecx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
call fcn.00405ee0
push 0xfffe
lea eax, [esp + 0x14]
push esi
mov dword [esp + 0x10024], esi
push eax
mov dword [esp + 0x14], 1
call fcn.00526c60
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x427adc
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x427a86
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0xe], 0x5c
jne 0x427ab8
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x427aa4
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0xe], si
lea eax, [esp + 0x10]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x427ac0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.004062a0
mov eax, edi
mov ecx, dword [esp + 0x10014]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x10008]
xor ecx, esp
call fcn.00524c67
add esp, 0x10018
ret

Function at 0x427c40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x545149
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
push 0x566c94
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.00405ee0
lea eax, [esp + 0x10]
push eax
push esi
push esi
mov dword [esp + 0x2c], esi
push 0x5648f0
mov dword [esp + 0x24], 1
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edx, dword [esp + 0x10]
cmp edx, esi
jne 0x427cad
xor eax, eax
jmp 0x427cc1
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x427cb2
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, ebx
call fcn.004062a0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x428240
Capabilities:
Check os version

Disassembly:
cmp dword [0x5bef2c], 0
jne 0x42825e
push 0x5bef28
mov dword [0x5bef28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x5bef2c], 6
jne 0x428276
cmp dword [0x5bef30], 2
jne 0x428276
mov eax, 1
ret
xor eax, eax
ret
Function at 0x4291c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
xor ebx, ebx
cmp dword [edi], ebx
push esi
mov esi, eax
mov dword [esp + 8], ebx
jne 0x4291d9
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
lea eax, [esp + 8]
push eax
call fcn.00428e50
add esp, 4
test eax, eax
jl 0x429230
xor eax, eax
mov dword [esi], eax
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x14]
mov eax, dword [edi]
push ebx
push esi
push eax
mov dword [esp + 0x24], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x429229
cmp dword [esp + 8], 3
jne 0x429229
mov ebx, 1
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x42a0a0
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 0x42a0cd
mov eax, dword [esp + 8]
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xd
ret 8

Function at 0x42a0f0
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 0x42a129
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8

Function at 0x42a160
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SOFTWAREReal_Sound_LabCONEQAPOSettings
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a200
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.DisableSpeakerModeMonitoring
push esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42a1c4
mov edi, eax
jmp 0x42a1d2
mov edi, dword [esp + 0x18]
sub edi, 4
neg edi
sbb edi, edi
and edi, 0xd
test esi, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x42a1e1
push esi
call ebx
xor esi, esi
test edi, edi
jne 0x42a1f9
test esi, esi
mov edi, dword [esp + 0x10]
je 0x42a1f0
push esi
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x10
ret
test esi, esi
je 0x42a200
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x42e270
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x542273
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
push edi
call fcn.00473300
xor ebp, ebp
mov dword [esp + 0x1c], ebp
lea esi, [edi + 0xfc]
push 0xa
mov ecx, esi
mov dword [edi], vtable.CDeviceSettingDlg.0
mov dword [edi + 0x78], vtable.CDeviceSettingDlg.1.0
call fcn.00506d99
mov dword [esi], vtable.CTypedPtrList_class_CPtrList__class_CMMLineControl__.0
lea esi, [edi + 0x120]
mov ebx, 1
mov ecx, esi
mov byte [esp + 0x1c], bl
call fcn.004ffdf5
mov dword [esi], vtable.CButton.0
lea eax, [edi + 0x174]
push eax
mov byte [esp + 0x20], 2
call fcn.00480ad0
lea ecx, [edi + 0x248]
push ecx
mov byte [esp + 0x20], 3
call fcn.004c55f0
lea esi, [edi + 0x2d8]
call fcn.004621a0
mov dword [esi], vtable.CImageEx.0
mov dword [esi + 0x30], ebp
lea esi, [edi + 0x30c]
call fcn.004621a0
mov dword [esi], vtable.CImageEx.0
mov dword [esi + 0x30], ebp
mov byte [edi + 0x24], bl
mov dword [edi + 0xf4], ebp
mov dword [edi + 0xf8], ebp
mov dword [edi + 0x118], ebp
mov dword [edi + 0x11c], ebp
mov dword [edi + 0x2cc], ebp
cmp dword [0x5bef2c], ebp
jne 0x42e36a
push 0x5bef28
mov dword [0x5bef28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x5bef2c], 6
jne 0x42e37b
cmp dword [0x5bef30], ebp
je 0x42e37d
xor ebx, ebx
mov dword [edi + 0x2d4], ebx
mov dword [edi + 0x2d0], ebp
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x439800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54e3cf
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
call fcn.00472ab0
mov dword [esp + 0x14], 0
lea esi, [edi + 0x22c]
mov ecx, esi
mov dword [edi], vtable.CDolbyHpOnlySettingDlg.0
mov dword [edi + 0x78], vtable.CDolbyHpOnlySettingDlg.1.0
call fcn.004ffdf5
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x280]
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.004ffdf5
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x2d4]
mov ecx, esi
mov byte [esp + 0x14], 2
call fcn.004ffdf5
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x328]
call fcn.004621a0
mov dword [esi], vtable.CImageEx.0
mov dword [esi + 0x30], 0
lea esi, [edi + 0x35c]
mov ecx, esi
mov byte [esp + 0x14], 4
call fcn.004ffdf5
mov dword [esi], vtable.CStatic.0
mov dword [edi + 0x228], 0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x442290
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x54a71e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0x34]
lea ebp, [ebx + 0x40c]
call fcn.005081a0
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4422df
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
cmp edi, esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x404], ecx
mov dword [ebx + 0x400], edx
mov dword [ebx + 0x408], esi
je 0x4423b9
push esi
push 0x566c94
mov ecx, ebp
call fcn.004062a0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x442326
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebx + 0x40c]
call fcn.00405e50
xor ebp, ebp
mov edi, ebx
push esi
push esi
push esi
push esi
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi], eax
je 0x44237a
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
mov ecx, ebp
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.00442510
mov edx, dword [eax]
mov dword [edi + 8], edx
mov eax, dword [eax + 4]
mov dword [edi + 0xc], eax
xor esi, esi
add ebp, 1
add edi, 0x10
cmp ebp, 0x3f
jl 0x442346
push esi
push esi
push esi
push esi
mov dword [ebx + 0x3f4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [ebx + 0x3f0], eax
je 0x4423b9
lea ecx, [esp + 0x38]
push ecx
push esi
push ebx
push 0x442600
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x408], eax
mov eax, dword [ebx + 0x40c]
push 1
push ecx
sub eax, 0x10
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.00402380
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004426a0
add esp, 8
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x44e1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54df34
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
call fcn.00472ab0
mov dword [esp + 0x14], 0
lea esi, [edi + 0x22c]
mov ecx, esi
mov dword [edi], vtable.CDtsS2MainSettingDlg.0
mov dword [edi + 0x78], vtable.CDtsS2MainSettingDlg.1.0
call fcn.004ffdf5
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x280]
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.004ffdf5
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x2d4]
mov ecx, esi
mov byte [esp + 0x14], 2
call fcn.004ffdf5
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x328]
call fcn.004621a0
mov dword [esi], vtable.CImageEx.0
mov dword [esi + 0x30], 0
mov dword [edi + 0x228], 0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x458460
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x54da18
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x78]
xor ebx, ebx
push ebx
add eax, 0x1a5c
push eax
call fcn.004ab290
cmp eax, ebx
je 0x4585a7
mov ecx, dword [eax + 0x88]
mov edi, dword [ecx + 8]
cmp edi, ebx
mov edx, dword [esi + 0x78]
mov ebp, dword [edx + 0x208]
je 0x4585a7
cmp dword [edi + 0x24], ebx
je 0x4585a7
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x18], ebx
call edx
test eax, eax
je 0x4585a7
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fe909
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4585a7
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
push ecx
push esi
mov ecx, edi
call edx
mov edx, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
jbe 0x458547
nop
cmp dword [esi + ecx*4], ebp
jle 0x458531
mov dword [esi + ecx*4], ebp
mov edx, dword [esp + 0x14]
mov ebx, 1
add ecx, 1
cmp ecx, edx
jb 0x458520
test ebx, ebx
je 0x458547
mov eax, dword [edi]
push edx
mov edx, dword [eax + 0x48]
push esi
mov ecx, edi
call edx
test eax, eax
jne 0x45859e
lea ecx, [esp + 0x18]
call fcn.004025c0
push ebp
lea eax, [esp + 0x1c]
push str._CPL__CLineVolumeDlg::InitVolumeCtrls____SetVolume_fail____d__n
push eax
mov dword [esp + 0x30], 0
call fcn.00402620
mov edi, dword [esp + 0x24]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45859e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.004fe90e
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4591b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x546473
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.004b9160
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CFormatSetting.0
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x459202
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x58], eax
mov byte [esp + 0x14], 1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
push 0xe
push 0x574bfc
lea ecx, [esi + 4]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
call fcn.004062a0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x45a1a0
Capabilities:
Check os version

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push edi
mov edi, eax
jne 0x45a1b5
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x45a1ad
push esi
mov esi, dword [eax + 0x1b8]
cmp esi, ebx
jne 0x45a1d4
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
push ebp
xor ebp, ebp
cmp edi, ebx
je 0x45a1f4
mov edx, dword [esi]
call fcn.004d7140
cmp eax, edi
jne 0x45a1f9
cmp ebp, ebx
jge 0x45a20e
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
cmp dword [esi + 4], ebx
jne 0x45a1e6
add ebp, 1
add esi, 8
cmp ebp, 7
jl 0x45a1d7
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov ecx, dword [0x5bef2c]
mov dword [esp + 0x10], ebx
xor edi, edi
mov esi, 0x5b5cc8
nop
test ecx, ecx
jne 0x45a23f
push 0x5bef28
mov dword [0x5bef28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [0x5bef2c]
cmp ecx, 6
jne 0x45a250
cmp dword [0x5bef30], 0
lea eax, [ecx + 0x12]
je 0x45a255
mov eax, 0x1b
cmp edi, eax
jge 0x45a2ba
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + 0x1b8]
mov eax, dword [edx + ebp*8 + 4]
test dword [esi - 8], eax
je 0x45a294
mov edx, dword [esp + 0x1c]
cmp dword [esi - 4], edx
jne 0x45a294
test bx, bx
mov dword [esp + 0x10], 1
jne 0x45a288
movzx ebx, word [esi]
mov ax, word [esi]
mov edx, dword [esp + 0x20]
cmp ax, word [edx]
je 0x45a29c
add edi, 1
add esi, 0x14
jmp 0x45a220
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
movzx ebx, word [eax*4 + 0x5b5cc8]
mov eax, dword [esp + 0x10]
pop ebp
pop esi
pop edi
mov word [ecx], bx
pop ebx
pop ecx
ret 0xc
cmp dword [esp + 0x10], 0
je 0x45a2c8
mov ecx, dword [esp + 0x20]
mov word [ecx], bx
mov eax, dword [esp + 0x10]
pop ebp
pop esi
pop edi
pop ebx
pop ecx
ret 0xc
Function at 0x45e0f0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test edi, edi
je 0x45e199
test ebx, ebx
je 0x45e199
push esi
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esp + 4], eax
jbe 0x45e18f
push eax
call fcn.004fe909
mov esi, eax
add esp, 4
test esi, esi
jne 0x45e130
mov eax, 0x8007000e
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 4]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45e186
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0x56a3d4
push esi
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45e186
mov eax, dword [esp + 8]
test eax, eax
je 0x45e186
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.004fe90e
add esp, 4
xor eax, eax
pop esi
add esp, 0xc
ret
push esi
call fcn.004fe90e
add esp, 4
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
mov eax, 0x80070057
add esp, 0xc
ret

Function at 0x45e1f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x54d847
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push esi
call fcn.004c3700
push 0x4ad360
push fcn.004b25d0
push 0xa
push 0xf0
lea eax, [esi + 0x1c4]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
push eax
mov dword [esi], vtable.CGraphicEqDlg.0
mov dword [esi + 0x78], vtable.CGraphicEqDlg.1.0
call fcn.00525f40
lea edi, [esi + 0xb24]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.004ffdf5
mov dword [edi], vtable.CButton.0
lea edi, [esi + 0xb78]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.004ffdf5
mov dword [edi], vtable.CButton.0
push 0x4edf80
push 0x4edf20
push 0xa
push 0x64
lea ecx, [esi + 0xbcc]
push ecx
mov byte [esp + 0x30], 3
call fcn.00525f40
lea edi, [esi + 0xfb4]
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.004ffdf5
xor eax, eax
mov dword [edi + 0x54], eax
xor ecx, ecx
xor edx, edx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], edx
mov dword [edi], vtable.CStaticEx.0
mov dword [edi + 0x60], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4