Function at 0x45c710
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4f3c60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x54], ebx
call fcn.004bb047
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45c756
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov byte [esp + 0x54], 1
mov edx, dword [ecx]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
push str.CDtsHPSetting::GetControlValue
lea edx, [esp + 0x34]
push str._HPX___s__s_val_d_mode_d_r_n
push edx
call fcn.00401af0
mov edi, dword [esp + 0x3c]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp], ebx
cmp dword [esi + 0xa0], ebx
jne 0x45c80b
lea eax, [edi - 0x10]
mov byte [esp + 0x54], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c7cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c7f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x54], 3
mov dword [esp + 0x2c], ebx
call fcn.004bb047
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45c83d
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x54], 4
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, ebx
jl 0x45ca43
mov dword [esp + 0x14], ebx
mov byte [esp + 0x54], 5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ebx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x18], eax
je 0x45c8af
mov edx, dword [ecx]
lea eax, [esp + 0x18]
push eax
push 0x510470
push ecx
mov ecx, dword [edx]
call ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45ca13
mov dword [esp + 0x28], ebx
mov byte [esp + 0x54], 7
mov eax, dword [esp + 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00401850
add esp, 4
lea edx, [esp + 0x14]
add eax, 0x10
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.0045bd80
mov byte [esp + 0x54], 8
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
mov edi, dword [esp + 0x18]
jle 0x45c90c
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00401a30
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x10]
push edi
call eax
mov edi, dword [esp + 0x10]
cmp edi, ebx
jne 0x45c926
xor ecx, ecx
jmp 0x45c949
mov ecx, edi
lea ebp, [ecx + 2]
jmp 0x45c930
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x45c930
sub ecx, ebp
sar ecx, 1
js 0x45cab5
mov ebp, dword [esp + 0x60]
cmp ecx, dword [edi - 8]
jg 0x45cab5
cmp eax, ebx
mov dword [edi - 0xc], ecx
mov edx, dword [esp + 0x10]
mov word [edx + ecx*2], bx
jne 0x45c9d1
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
push ebx
lea edx, [esp + 0x60]
je 0x45c99e
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401830
push esi
call fcn.0045be50
mov dword [esp + 0x2c], ebx
jmp 0x45c9d1
mov eax, dword [esp + 0x20]
push eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401830
push esi
call fcn.0045be50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov dword [ebp], eax
mov dword [esp + 0x2c], 1
mov dword [ecx], 1
mov byte [esp + 0x54], 7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c9f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 6
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x45ca0b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x54], 5
je 0x45ca28
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov byte [esp + 0x54], 4
je 0x45ca39
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
cmp dword [esp + 0x2c], ebx
jne 0x45cbb4
cmp dword [esi + 0x1c], ebx
je 0x45cb78
mov eax, dword [esp + 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.00401850
add esp, 4
lea edx, [esp + 0x14]
add eax, 0x10
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.0045bd80
mov byte [esp + 0x54], 9
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
mov edi, dword [esi + 0xa4]
jle 0x45ca9a
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00401a30
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
lea edx, [esp + 0x34]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x20]
push edi
call eax
mov edi, dword [esp + 0x10]
cmp edi, ebx
jne 0x45cabf
xor ecx, ecx
jmp 0x45cad9
push 0x80070057
call fcn.00401730
mov ecx, edi
lea ebp, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x45cac4
sub ecx, ebp
sar ecx, 1
js 0x45cab5
mov ebp, dword [esp + 0x60]
cmp ecx, dword [edi - 8]
jg 0x45cab5
cmp eax, ebx
mov dword [edi - 0xc], ecx
mov edx, dword [esp + 0x10]
mov word [edx + ecx*2], bx
je 0x45cb6a
mov eax, dword [esp + 0x3c]
push 1
push eax
push ebx
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call fcn.00401830
push esi
call fcn.0045be50
lea ecx, [esp + 0x10]
mov dword [ebp], ebx
call fcn.00401fb0
lea ecx, [esp + 0x30]
call fcn.00401fb0
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x45cb36
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x24]
call fcn.00401fb0
lea ecx, [esp + 0x5c]
call fcn.00401fb0
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 4
call fcn.00401fb0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
push 1
push ecx
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x70], esp
mov edi, esp
push eax
call fcn.00401850
add esp, 4
add eax, 0x10
push esi
mov dword [edi], eax
call fcn.0045be50
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x64]
mov dword [ebp], edx
mov dword [eax], 2
mov byte [esp + 0x54], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cbd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x45cbee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x54], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cc1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cc45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x48
ret 0xc