Function at 0x405760
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d7c8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x485370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push str.click
mov ecx, esi
call fcn.00420112
test al, al
je 0x405960
mov eax, dword [esi + 0x108]
cmp eax, dword [edi + 0x3d4]
jne 0x40584f
push 0x38
call fcn.004507d8
mov esi, eax
add esp, 4
test esi, esi
je 0x4057eb
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
jmp 0x4057ed
xor esi, esi
mov eax, dword [edi + 0x3c0]
mov dword [esi], eax
mov ecx, dword [edi + 0x3c4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x3c8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0x3e0]
mov dword [esi + 0xc], eax
mov ecx, dword [edi - 0x1c]
mov dword [esi + 0x30], ecx
mov ecx, dword [edi + 0x3d4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
push 0
call eax
push 0
push 0
push esi
push 0x4051e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, dword [edi + 0x3dc]
jne 0x4058d4
push 0x38
call fcn.004507d8
add esp, 4
test eax, eax
je 0x405870
mov esi, eax
call fcn.004059e0
mov esi, eax
jmp 0x405872
xor esi, esi
mov ecx, dword [edi + 0x3c0]
mov dword [esi], ecx
mov edx, dword [edi + 0x3c4]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x3c8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x3e0]
mov dword [esi + 0xc], ecx
mov edx, dword [edi - 0x1c]
mov dword [esi + 0x30], edx
mov ecx, dword [edi + 0x3dc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
push 0
call edx
push 0
push 0
push esi
push 0x4053b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, dword [edi + 0x3d0]
jne 0x405937
lea ecx, [ebp + 8]
call fcn.004114d0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
je 0x40590d
call fcn.0040f510
mov ecx, dword [edi + 0x3cc]
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
push edx
call eax
mov esi, dword [ebp + 8]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
jmp 0x4059cb
cmp eax, dword [edi + 0x3d8]
jne 0x4059cd
push 1
lea ecx, [edi - 0x20]
call fcn.0041bd17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push str.selectchanged
mov ecx, esi
call fcn.00420112
test al, al
je 0x4059cd
mov eax, dword [esi + 0x108]
mov ecx, dword [edi + 0x3c0]
cmp eax, ecx
je 0x405990
cmp eax, dword [edi + 0x3c8]
je 0x405990
cmp eax, dword [edi + 0x3c4]
jne 0x4059cd
call fcn.0041aff3
test al, al
jne 0x4059bb
mov ecx, dword [edi + 0x3c8]
call fcn.0041aff3
test al, al
jne 0x4059bb
mov ecx, dword [edi + 0x3c4]
call fcn.0041aff3
test al, al
jne 0x4059bb
push 0
jmp 0x4059bd
push 1
mov ecx, dword [edi + 0x3d4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4