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

Disassembly:
push 0xffffffffffffffff
push 0x4b1d10
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.00435920
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], ebp
add ecx, 0xe6
xor edi, edi
mov dword [esp + 0x18], ecx
mov ecx, 0x4d7450
call fcn.00401320
mov ecx, eax
call fcn.00437bc0
mov esi, eax
mov al, byte [esi]
mov byte [esp + 0x58], al
mov ecx, dword [esi + 4]
cmp ecx, ebp
jne 0x42c20c
xor eax, eax
jmp 0x42c214
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, ebp
jge 0x42c21a
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.0040dfd0
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 0x42c2fd
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x42c2fd
mov eax, dword [esi + ecx]
lea ebp, [esi + ecx]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
je 0x42c2be
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x42c28d
mov edx, dword [0x4c8084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42c294
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42c2a4
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00405ad0
jmp 0x42c2be
lea ecx, [esp + 0x3c]
call fcn.00405e10
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.00439e30
mov eax, dword [esp + 0x60]
add esi, 4
xor ebp, ebp
jmp 0x42c252
mov ecx, dword [esp + 0x1c]
add ecx, 5
mov dword [esp + 0x1c], ecx
mov ecx, 0x4d7450
call fcn.00401320
mov ecx, eax
call fcn.00437bd0
mov esi, eax
mov al, byte [esi]
mov byte [esp + 0x28], al
mov ecx, dword [esi + 4]
cmp ecx, ebp
jne 0x42c32c
xor eax, eax
jmp 0x42c334
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, ebp
jge 0x42c33a
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.0040dfd0
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 0x42c41b
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x42c41b
mov eax, dword [ecx + esi*4]
lea ebp, [ecx + esi*4]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
je 0x42c3de
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x42c3ad
mov edx, dword [0x4c8084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42c3b4
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42c3c4
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00405ad0
jmp 0x42c3de
lea ecx, [esp + 0x3c]
call fcn.00405e10
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.00439e30
mov eax, dword [esp + 0x30]
inc esi
xor ebp, ebp
jmp 0x42c372
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, 0x4d7450
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0xf0
mov dword [esp + 0x6c], 0xe3
call fcn.00401320
mov ecx, eax
call fcn.00437bb0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebp
jl 0x42c473
mov dword [esp + 0x10], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42c489
mov ecx, dword [0x4c8080]
mov dword [esp + 0x10], ecx
mov edx, dword [eax]
push edx
lea ecx, [esp + 0x14]
call fcn.00404b70
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.00439aa0
mov esi, eax
cmp esi, ebp
mov dword [edi + 0xc0], esi
je 0x42c4e3
push ebp
push 2
mov ecx, ebx
call fcn.00438bb0
mov ecx, eax
call fcn.00437240
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 [0x4c8084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42c512
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42c512
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0043b3d0
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.0040dae0
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043b3d0
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.0040d8b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call fcn.00435940
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