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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3e68
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0049bb66
mov eax, dword [esi + 0x78]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x42c736
push eax
mov ecx, esi
call fcn.004a25a7
mov eax, dword [esi + 0xb0]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x20
push 0
push 0x1036
push eax
call edi
mov edx, dword [esi + 0xb0]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xb0]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004a3b0a
mov ecx, dword [esi + 0xb0]
push 0
push 0
push 0x31
push ecx
mov ebx, eax
call edi
push eax
call fcn.004a3dc6
test eax, eax
je 0x42c7a0
mov eax, dword [eax + 4]
test eax, eax
je 0x42c7a0
mov edx, dword [ebx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x88]
mov ecx, dword [eax - 0xc]
mov ebp, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea edx, [esp + 0x24]
push edx
push ecx
push eax
mov eax, dword [ebx + 8]
mov edi, 0x55
push eax
mov dword [esp + 0x28], edi
call ebp
mov eax, dword [esp + 0x24]
cmp eax, edi
jle 0x42c7d3
mov dword [esp + 0x18], eax
mov edi, eax
mov eax, dword [esi + 0x84]
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
jbe 0x42c885
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x7c]
mov edx, dword [esp + 0x1c]
cmp dword [edx + ecx + 8], 0
lea eax, [edx + ecx]
jne 0x42c847
push 0x606a74
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0042c610
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov eax, dword [ebx + 8]
push eax
call ebp
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c85d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42c85d
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [ebx + 8]
push eax
call ebp
mov edi, dword [esp + 0x3c]
cmp edi, dword [esp + 0x18]
jle 0x42c867
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 0xc
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x84]
jb 0x42c7eb
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0xb0]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x64]
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
add edi, 0xf
sub edx, edi
sub edx, 0x14
push edx
push eax
push edi
lea ebx, [esi + 0x90]
push ecx
mov ecx, ebx
call fcn.0042dec0
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
cmp dword [esi + 0x84], edi
jbe 0x42c990
mov eax, dword [esi + 0x7c]
add eax, edi
cmp dword [eax + 8], 0
jne 0x42c942
push 0x606a74
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0042c610
add esp, 0xc
mov ecx, dword [esi + 0x7c]
mov eax, dword [eax]
add ecx, edi
mov ecx, dword [ecx + 4]
push 1
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x84], 0
call fcn.0042e920
mov ebp, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c95a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42c95a
mov ecx, dword [esi + 0x7c]
lea eax, [edi + ecx]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push 1
push ecx
push eax
mov ecx, ebx
call fcn.0042e920
mov ebp, eax
cmp dword [esp + 0x1c], 0xffffffff
jne 0x42c972
mov edx, dword [esi + 0x7c]
mov eax, dword [edi + edx + 4]
cmp dword [eax - 0xc], 0
jne 0x42c972
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x20]
inc eax
add edi, 0xc
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x84]
jb 0x42c8d8
mov ebp, dword [esp + 0x1c]
xor edi, edi
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.0042a350
add esp, 8
push edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
push ecx
push edx
lea eax, [esp + 0x48]
push eax
call fcn.0042a6e0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 0x10
push 1
push edi
push edi
push ecx
push edx
push edi
mov ecx, esi
call fcn.004a28d8
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, 0xffffffff
je 0x42ca2f
push ebp
mov ecx, ebx
call fcn.0042e270
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret