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

Disassembly:
push 0xffffffffffffffff
push 0x4ab170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x44]
push edi
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebx + 0x20]
add ebx, 0x20
lea eax, [esp + 0x48]
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x38]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
call fcn.00434680
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], ebp
add ecx, 0xe6
xor edi, edi
mov dword [esp + 0x18], ecx
mov ecx, 0x4cf6f0
call fcn.004012f0
mov ecx, eax
call fcn.00436910
mov esi, eax
mov al, byte [esi]
mov byte [esp + 0x58], al
mov ecx, dword [esi + 4]
cmp ecx, ebp
jne 0x42af1c
xor eax, eax
jmp 0x42af24
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, ebp
jge 0x42af2a
xor eax, eax
lea ecx, [eax*4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x5c], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x64]
call fcn.0040d770
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x80], 1
xor esi, esi
mov ecx, dword [esp + 0x5c]
cmp ecx, ebp
je 0x42b00d
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x42b00d
mov eax, dword [esi + ecx]
lea ebp, [esi + ecx]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
je 0x42afce
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x42af9d
mov edx, dword [0x4c0084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42afa4
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42afb4
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00404780
jmp 0x42afce
lea ecx, [esp + 0x3c]
call fcn.00404ac0
mov ebp, dword [ebp]
mov dword [esp + 0x3c], ebp
add ebp, 0xfffffff4
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x1c]
push 0
add eax, 0x19
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push 0x8000
lea edx, [esp + 0x44]
mov eax, edi
push ecx
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x58], 1
inc edi
call fcn.00438900
mov eax, dword [esp + 0x60]
add esi, 4
xor ebp, ebp
jmp 0x42af62
mov ecx, dword [esp + 0x1c]
add ecx, 5
mov dword [esp + 0x1c], ecx
mov ecx, 0x4cf6f0
call fcn.004012f0
mov ecx, eax
call fcn.00436920
mov esi, eax
mov al, byte [esi]
mov byte [esp + 0x28], al
mov ecx, dword [esi + 4]
cmp ecx, ebp
jne 0x42b03c
xor eax, eax
jmp 0x42b044
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, ebp
jge 0x42b04a
xor eax, eax
lea ecx, [eax*4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x34]
call fcn.0040d770
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x80], 2
xor esi, esi
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x42b12b
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x42b12b
mov eax, dword [ecx + esi*4]
lea ebp, [ecx + esi*4]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
je 0x42b0ee
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x42b0bd
mov edx, dword [0x4c0084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42b0c4
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42b0d4
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00404780
jmp 0x42b0ee
lea ecx, [esp + 0x3c]
call fcn.00404ac0
mov ebp, dword [ebp]
mov dword [esp + 0x3c], ebp
add ebp, 0xfffffff4
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x1c]
push 0
add eax, 0x19
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push 0x8000
lea edx, [esp + 0x44]
mov eax, edi
push ecx
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x58], 0
inc edi
call fcn.00438900
mov eax, dword [esp + 0x30]
inc esi
xor ebp, ebp
jmp 0x42b082
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
mov ecx, 0x4cf6f0
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0xf0
mov dword [esp + 0x6c], 0xe3
call fcn.004012f0
mov ecx, eax
call fcn.00436900
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebp
jl 0x42b183
mov dword [esp + 0x10], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42b199
mov ecx, dword [0x4c0080]
mov dword [esp + 0x10], ecx
mov edx, dword [eax]
push edx
lea ecx, [esp + 0x14]
call fcn.00403cc0
mov edi, dword [esp + 0x14]
push ebp
push 0x50000003
lea eax, [esp + 0x70]
mov edx, dword [edi + 4]
push 0x75
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x98], 3
call fcn.00438570
mov esi, eax
cmp esi, ebp
mov dword [edi + 0xc0], esi
je 0x42b1f3
push ebp
push 2
mov ecx, ebx
call fcn.00437680
mov ecx, eax
call fcn.00435f80
mov eax, dword [eax + 0x90]
push ebp
push eax
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b222
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42b222
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0049c000
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 1
call fcn.0040cec0
mov edx, dword [esp + 0x2c]
push edx
call fcn.0049c000
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov byte [esp + 0x80], 0
call fcn.0040cc90
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call fcn.004346a0
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret