Function at 0x507560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6086e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x2cc]
push ebx
push ebx
push 0xf0
push eax
call edi
mov edx, dword [esi + 0x8c]
cmp eax, ebx
setne cl
mov byte [edx + 4], cl
mov eax, dword [esi + 0x290]
push ebx
push ebx
push 0xf0
push eax
call edi
mov edx, dword [esi + 0x8c]
cmp eax, ebx
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [0x6cc564]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x1c], ebx
cmp byte [eax + 0xc], bl
je 0x507637
lea ecx, [esp + 0xc]
push ebp
push ecx
lea ecx, [esi + 0x1fc]
call fcn.005e0bce
mov edx, dword [esp + 0x10]
push edx
call fcn.005c7603
mov ecx, dword [esi + 0x8c]
lea eax, [eax + eax*2]
add esp, 4
lea edx, [esp + 0x10]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [ecx + 8], eax
push edx
lea ecx, [esi + 0x184]
call fcn.005e0bce
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + 0x8c]
push eax
call fcn.005c7603
mov ecx, dword [ebp + 8]
add esp, 4
add ecx, eax
mov dword [ebp + 8], ecx
pop ebp
jmp 0x50763a
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x344]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
mov eax, dword [esi + 0x8c]
lea ecx, [esp + 0xc]
setne dl
push ecx
lea ecx, [esi + 0x364]
mov byte [eax + 0x18], dl
call fcn.005e0bce
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], ebx
je 0x50768b
mov edx, dword [esi + 0x8c]
push eax
add edx, 0x14
push 0x6a1fe8
push edx
call fcn.005dc6eb
add esp, 0xc
jmp 0x5076a7
mov ecx, dword [esi + 0x8c]
push 0x6d0ab8
add ecx, 0x14
call fcn.005e3a42
mov eax, dword [esi + 0x8c]
mov byte [eax + 0x18], bl
mov ecx, dword [esi + 0x3bc]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
mov eax, dword [esi + 0x8c]
setne dl
mov byte [eax + 0x2f], dl
mov ecx, dword [esi + 0x3f8]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
mov eax, dword [esi + 0x8c]
setne dl
mov byte [eax + 0x2e], dl
mov ecx, dword [esi + 0x434]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
mov eax, dword [esi + 0x8c]
setne dl
mov byte [eax + 0x2d], dl
mov ecx, dword [esi + 0x470]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
mov eax, dword [esi + 0x8c]
setne dl
mov byte [eax + 0x2c], dl
mov ecx, dword [esi + 0x560]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
mov eax, dword [esi + 0x8c]
setne dl
mov byte [eax + 0x1b], dl
mov ecx, dword [esi + 0x77c]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
mov eax, dword [esi + 0x8c]
setne dl
mov byte [eax + 0x19], dl
mov ecx, dword [esi + 0x740]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
mov eax, dword [esi + 0x8c]
setne dl
mov byte [eax + 0x1a], dl
mov ecx, dword [esi + 0x8c]
add ecx, 0x1c
push ecx
lea ecx, [esi + 0x4cc]
call fcn.005bfe32
mov edx, dword [esi + 0x8c]
lea ecx, [esi + 0x490]
add edx, 0x20
push edx
call fcn.005bfe32
mov eax, dword [esi + 0x8c]
add eax, 0x24
lea ecx, [esi + 0x508]
push eax
call fcn.005bfe32
mov ecx, dword [esi + 0x8c]
push ebx
push ebx
push 0xf0
mov dword [ecx + 0x28], ebx
mov edx, dword [esi + 0x704]
push edx
call edi
cmp eax, ebx
je 0x5077de
mov eax, dword [esi + 0x8c]
inc dword [eax + 0x28]
mov eax, dword [esi + 0x614]
push ebx
push ebx
push 0xf0
push eax
call edi
cmp eax, ebx
je 0x5077fc
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 2
mov ecx, dword [esi + 0x5d8]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
je 0x50781a
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 4
mov edx, dword [esi + 0x650]
push ebx
push ebx
push 0xf0
push edx
call edi
cmp eax, ebx
je 0x507838
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 8
mov eax, dword [esi + 0x59c]
push ebx
push ebx
push 0xf0
push eax
call edi
cmp eax, ebx
je 0x507856
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 0x10
mov ecx, dword [esi + 0x6c8]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
je 0x507874
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 0x20
mov edx, dword [esi + 0x68c]
push ebx
push ebx
push 0xf0
push edx
call edi
cmp eax, ebx
je 0x507892
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 0x40
mov eax, dword [esi + 0x8c]
push ebx
push ebx
push 0xf0
mov dword [eax + 0x10], ebx
mov ecx, dword [esi + 0xec]
push ecx
call edi
cmp eax, ebx
je 0x507902
mov edx, dword [0x6cc564]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
lea ecx, [esi + 0x10c]
push eax
mov byte [esp + 0x20], 1
call fcn.005e0bce
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005c7578
add esp, 4
test eax, eax
jle 0x5078f5
mov edx, dword [esp + 0x10]
push edx
call fcn.005c7578
mov ecx, dword [esi + 0x8c]
add esp, 4
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.005e38b9
mov edx, dword [esi + 0xb0]
push ebx
push ebx
push 0xf0
push edx
call edi
mov ecx, dword [esi + 0x8c]
cmp eax, ebx
setne al
mov byte [ecx + 0x30], al
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005e38b9
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret