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

Disassembly:
push 0xffffffffffffffff
push 0x54aa70
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x1304
push eax
call ebp
push 0x564f30
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.00404670
mov dword [esp + 0x48], edi
cmp dword [esi + 0x74], edi
jne 0x43e6bd
mov dword [esp + 0x48], 0xffffffff
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 0x43e6a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x3c
ret 8
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x43e67e
push edi
add eax, 0x19b4
push eax
call fcn.004a6620
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x43e6e9
test byte [eax + 0xff], 1
je 0x43e6e9
mov dword [esp + 0x14], 1
cmp dword [esp + 0x54], 1
jne 0x43e781
push 0x564f30
push str.SelectedDevice
push str.General
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x5b9548
call fcn.00507e25
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 1
call fcn.00404ff0
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push 0x564f30
push ecx
call fcn.00410940
add esp, 8
test al, al
je 0x43e781
mov eax, dword [esi + 0x70]
mov ebx, dword [esp + 0x10]
add eax, 0x19b4
call fcn.004a64a0
test eax, eax
je 0x43e781
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
xor edi, edi
cmp dword [esp + 0x1c], edi
jle 0x43e875
lea ebx, [edi + 8]
xor eax, eax
lea edx, [esp + 0x24]
push edx
push edi
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 dword [esp + 0x44], eax
mov eax, dword [esi + 0x20]
push 0x133c
push eax
mov dword [esp + 0x34], ebx
call ebp
test eax, eax
je 0x43e82c
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0x74]
add ecx, 4
call fcn.0050328d
test eax, eax
je 0x43e82c
mov eax, dword [eax + 8]
test eax, eax
je 0x43e82c
cmp dword [eax + 0x24], 0
je 0x43e82c
cmp dword [esp + 0x18], 0
je 0x43e804
lea edx, [esp + 0x10]
push edx
add eax, 0x14
push eax
call fcn.004167a0
add esp, 8
test al, al
jmp 0x43e82a
cmp dword [esp + 0x14], 0
je 0x43e823
mov ecx, dword [esp + 0x20]
add ecx, 0x14
push ecx
add eax, 0x14
push eax
call fcn.004167a0
add esp, 8
test al, al
jmp 0x43e82a
test byte [eax + 0xff], 1
jne 0x43e83b
add edi, 1
cmp edi, dword [esp + 0x1c]
jl 0x43e790
jmp 0x43e875
mov edx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push edi
push 0x8006
push edx
call ebp
push edi
lea ecx, [esi + 0x78]
call fcn.0050328d
test eax, eax
je 0x43e875
mov eax, dword [eax + 8]
test eax, eax
je 0x43e875
mov ecx, dword [esp + 0x50]
mov edx, dword [eax + 0x20]
push 0
push ecx
push 0x801d
push edx
call ebp
mov dword [esp + 0x48], 0xffffffff
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 0x43e89d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x3c
ret 8