Function at 0x43e8c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x54aa40
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [edi + 0x20]
xor esi, esi
push esi
push esi
push 0x1304
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x564f30
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.00404670
mov dword [esp + 0x44], esi
cmp dword [edi + 0x74], esi
jne 0x43e959
mov dword [esp + 0x44], 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 0x43e943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret 8
mov eax, dword [edi + 0x70]
cmp eax, esi
je 0x43e91b
push esi
add eax, 0x19b4
push eax
call fcn.004a6620
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x43e98f
cmp dword [esp + 0x4c], 4
jne 0x43e98f
test dword [eax + 0xfc], 0x40000
je 0x43e98f
mov dword [esp + 0x10], 1
cmp dword [esp + 0x50], 1
jne 0x43ea27
push 0x564f30
push str.SelectedDevice
push str.General
lea ecx, [esp + 0x5c]
push ecx
mov ecx, 0x5b9548
call fcn.00507e25
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.00404ff0
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e9ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
push 0x564f30
push ecx
call fcn.00410940
add esp, 8
test al, al
je 0x43ea27
mov eax, dword [edi + 0x70]
mov ebx, dword [esp + 0xc]
add eax, 0x19b4
call fcn.004a64a0
test eax, eax
je 0x43ea27
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x43eb34
xor eax, eax
lea edx, [esp + 0x20]
push edx
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x20]
push 0x133c
push eax
xor ebx, ebx
mov dword [esp + 0x30], 8
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43eaeb
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [edi + 0x74]
add ecx, 4
call fcn.0050328d
test eax, eax
je 0x43eaeb
mov eax, dword [eax + 8]
test eax, eax
je 0x43eaeb
cmp dword [eax + 0x24], ebx
je 0x43eaeb
cmp dword [esp + 0x4c], 4
jne 0x43eaac
test dword [eax + 0xfc], 0x40000
je 0x43eaac
mov ebx, 1
cmp dword [esp + 0x14], 0
je 0x43eac8
lea edx, [esp + 0xc]
push edx
add eax, 0x14
push eax
call fcn.004167a0
add esp, 8
test al, al
jmp 0x43eae9
cmp dword [esp + 0x10], 0
je 0x43eae7
mov ecx, dword [esp + 0x1c]
add ecx, 0x14
push ecx
add eax, 0x14
push eax
call fcn.004167a0
add esp, 8
test al, al
jmp 0x43eae9
test ebx, ebx
jne 0x43eafa
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x43ea33
jmp 0x43eb34
mov edx, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push esi
push 0x8006
push edx
call ebx
push esi
lea ecx, [edi + 0x78]
call fcn.0050328d
test eax, eax
je 0x43eb34
mov eax, dword [eax + 8]
test eax, eax
je 0x43eb34
mov ecx, dword [esp + 0x4c]
mov edx, dword [eax + 0x20]
push 0
push ecx
push 0x801d
push edx
call ebx
mov dword [esp + 0x44], 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 0x43eb5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret 8