Function at 0x42ce10
Capabilities:
Access peb ldr_data
Get graphical window text
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4739d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push ebp
mov esi, ecx
mov eax, dword [esi + 0x1c]
push 0x1037
push eax
call ebx
mov ecx, dword [esi + 0x1c]
or eax, 0x20
push eax
push ebp
push 0x1036
push ecx
call ebx
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
sub edi, edx
sub edi, eax
mov eax, dword [0x48a220]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
sub edi, 6
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x212
mov dword [esp + 0x7c], ebp
call fcn.0046bf4c
cmp eax, ebp
je 0x42cee4
push 0x212
push eax
lea ecx, [esp + 0x18]
call fcn.00403cd0
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x42ceff
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00401120
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push ebp
push 0x101b
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x3c], ebp
call ebx
mov ecx, dword [esp + 0x14]
xor eax, eax
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 dword [esp + 0x44], eax
mov eax, dword [0x48a224]
add ecx, eax
push 0x213
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
call fcn.0046bf4c
cmp eax, ebp
je 0x42cf76
push 0x213
push eax
lea ecx, [esp + 0x18]
call fcn.00403cd0
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 4]
mov ecx, 1
cmp edx, ecx
jle 0x42cf9c
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401120
mov eax, dword [esp + 0x10]
mov ecx, 1
lea edx, [esp + 0x28]
push edx
push ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
push 0x101b
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], ecx
call ebx
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp edi, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], 0xf
jbe 0x42cff3
sub edi, eax
mov dword [esp + 0x30], edi
jmp 0x42cff7
mov dword [esp + 0x30], ebp
push 0x214
call fcn.0046bf4c
cmp eax, ebp
je 0x42d014
push 0x214
push eax
lea ecx, [esp + 0x18]
call fcn.00403cd0
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x42d02f
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.00401120
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push 2
push 0x101b
push ecx
mov dword [esp + 0x4c], 2
mov dword [esp + 0x3c], ebp
call ebx
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x30]
xor edi, edi
cmp ecx, ebp
jle 0x42d0e8
cmp edi, ebp
jl 0x42d121
cmp edi, dword [eax + 0x30]
jge 0x42d121
mov edx, dword [eax + 0x2c]
xor ecx, ecx
lea eax, [edx + edi*4]
mov eax, dword [eax]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
push ebp
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x1c]
push 0x1007
push eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], 0xd
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x70], ebp
call ebx
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x30]
inc edi
cmp edi, ecx
jl 0x42d061
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d10e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret
jmp fcn.00465031