Function at 0x515640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6204b0
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 + 0x308]
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 + 0x2cc]
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 [0x6e7b6c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x1c], ebx
cmp byte [eax + 0xc], bl
je 0x515717
lea ecx, [esp + 0xc]
push ebp
push ecx
lea ecx, [esi + 0x238]
call fcn.005f7b6e
mov edx, dword [esp + 0x10]
push edx
call fcn.005de3d3
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 + 0x1c0]
call fcn.005f7b6e
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + 0x8c]
push eax
call fcn.005de3d3
mov ecx, dword [ebp + 8]
add esp, 4
add ecx, eax
mov dword [ebp + 8], ecx
pop ebp
jmp 0x51571a
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x380]
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 + 0x3a0]
mov byte [eax + 0x18], dl
call fcn.005f7b6e
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], ebx
je 0x51576b
mov edx, dword [esi + 0x8c]
push eax
add edx, 0x14
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
jmp 0x515787
mov ecx, dword [esi + 0x8c]
push 0x6ec0c8
add ecx, 0x14
call fcn.005fa9e2
mov eax, dword [esi + 0x8c]
mov byte [eax + 0x18], bl
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 + 0x2f], 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 + 0x2e], 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 + 0x2d], dl
mov ecx, dword [esi + 0x4ac]
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 + 0xb0]
push ebx
push ebx
push 0x147
push ecx
call edi
mov edx, dword [esi + 0xb0]
push ebx
push eax
push 0x150
push edx
call edi
mov ecx, dword [esi + 0x8c]
push ebx
push ebx
push 0xf0
mov dword [ecx + 0x3c], eax
mov edx, dword [esi + 0x59c]
push edx
call edi
mov ecx, dword [esi + 0x8c]
cmp eax, ebx
setne al
mov byte [ecx + 0x1b], al
mov edx, dword [esi + 0x7b8]
push ebx
push ebx
push 0xf0
push edx
call edi
mov ecx, dword [esi + 0x8c]
cmp eax, ebx
setne al
mov byte [ecx + 0x19], al
mov edx, dword [esi + 0x77c]
push ebx
push ebx
push 0xf0
push edx
call edi
cmp eax, ebx
mov ecx, dword [esi + 0x8c]
setne al
mov byte [ecx + 0x1a], al
mov edx, dword [esi + 0x8c]
add edx, 0x1c
lea ecx, [esi + 0x508]
push edx
call fcn.005d6c10
mov eax, dword [esi + 0x8c]
lea ecx, [esi + 0x4cc]
add eax, 0x20
push eax
call fcn.005d6c10
mov ecx, dword [esi + 0x8c]
add ecx, 0x24
push ecx
lea ecx, [esi + 0x544]
call fcn.005d6c10
mov edx, dword [esi + 0x8c]
push ebx
push ebx
push 0xf0
mov dword [edx + 0x28], ebx
mov eax, dword [esi + 0x740]
push eax
call edi
cmp eax, ebx
je 0x5158e7
mov eax, dword [esi + 0x8c]
inc dword [eax + 0x28]
mov ecx, dword [esi + 0x650]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
je 0x515905
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 2
mov edx, dword [esi + 0x614]
push ebx
push ebx
push 0xf0
push edx
call edi
cmp eax, ebx
je 0x515923
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 4
mov eax, dword [esi + 0x68c]
push ebx
push ebx
push 0xf0
push eax
call edi
cmp eax, ebx
je 0x515941
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 8
mov ecx, dword [esi + 0x5d8]
push ebx
push ebx
push 0xf0
push ecx
call edi
cmp eax, ebx
je 0x51595f
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 0x10
mov edx, dword [esi + 0x704]
push ebx
push ebx
push 0xf0
push edx
call edi
cmp eax, ebx
je 0x51597d
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 0x20
mov eax, dword [esi + 0x6c8]
push ebx
push ebx
push 0xf0
push eax
call edi
cmp eax, ebx
je 0x51599b
mov eax, dword [esi + 0x8c]
add dword [eax + 0x28], 0x40
mov ecx, dword [esi + 0x8c]
push ebx
push ebx
push 0xf0
mov dword [ecx + 0x10], ebx
mov edx, dword [esi + 0x128]
push edx
call edi
cmp eax, ebx
je 0x515a0a
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
push ecx
lea ecx, [esi + 0x148]
call fcn.005f7b6e
mov edx, dword [esp + 0x10]
push edx
call fcn.005de348
add esp, 4
test eax, eax
jle 0x5159fd
mov eax, dword [esp + 0x10]
push eax
call fcn.005de348
mov ecx, dword [esi + 0x8c]
add esp, 4
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.005fa859
mov edx, dword [esi + 0xec]
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.005fa859
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret